From c8f442b9c6582dbc6f3bbcab87d152aad4f5d1e2 Mon Sep 17 00:00:00 2001 From: fivetran-sheringuyen <94874400+fivetran-sheringuyen@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:20:45 -0900 Subject: [PATCH 1/5] updating pkg dependencies --- CHANGELOG.md | 7 ++++++ README.md | 36 +++++++++++++++---------------- dbt_project.yml | 2 +- integration_tests/dbt_project.yml | 2 +- packages.yml | 2 +- 5 files changed, 28 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 703b41a..6bdc24f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,10 @@ +# dbt_ad_reporting v1.2.1 + +## Updates +PR # +- Updated package dependencies for Linkedin Ads v0.7.0, for more information please refer to Linkedin Ads [PR #28](https://github.com/fivetran/dbt_linkedin/pull/28) +- Updated `README` package dependencies to reflect current package versions + # dbt_ad_reporting v1.2.0 ## 🚨 Breaking Changes 🚨 and 🎉 Feature Enhancements 🎉 [PR #75](https://github.com/fivetran/dbt_ad_reporting/pull/75) includes the following new features: diff --git a/README.md b/README.md index 41a20ed..4f7d9cd 100644 --- a/README.md +++ b/README.md @@ -305,58 +305,58 @@ packages: version: [">=0.1.0", "<0.2.0"] - package: fivetran/apple_search_ads - version: [">=0.1.0", "<0.2.0"] + version: [">=0.2.0", "<0.3.0"] - package: fivetran/apple_search_ads_source - version: [">=0.1.0", "<0.2.0"] + version: [">=0.2.0", "<0.3.0"] - package: fivetran/facebook_ads - version: [">=0.5.0", "<0.6.0"] + version: [">=0.6.0", "<0.7.0"] - package: fivetran/facebook_ads_source - version: [">=0.5.0", "<0.6.0"] + version: [">=0.6.0", "<0.7.0"] - package: fivetran/google_ads - version: [">=0.8.0", "<0.9.0"] + version: [">=0.9.0", "<0.10.0"] - package: fivetran/google_ads_source - version: [">=0.8.0", "<0.9.0"] + version: [">=0.9.0", "<0.10.0"] - package: fivetran/pinterest - version: [">=0.6.0", "<0.7.0"] + version: [">=0.7.0", "<0.8.0"] - package: fivetran/pinterest_source - version: [">=0.6.0", "<0.7.0"] + version: [">=0.7.0", "<0.8.0"] - package: fivetran/microsoft_ads - version: [">=0.5.0", "<0.6.0"] + version: [">=0.6.0", "<0.7.0"] - package: fivetran/microsoft_ads_source - version: [">=0.6.0", "<0.7.0"] + version: [">=0.7.0", "<0.8.0"] - package: fivetran/linkedin - version: [">=0.5.0", "<0.6.0"] + version: [">=0.7.0", "<0.8.0"] - package: fivetran/linkedin_source - version: [">=0.5.0", "<0.6.0"] + version: [">=0.7.0", "<0.8.0"] - package: fivetran/twitter_ads - version: [">=0.5.0", "<0.6.0"] + version: [">=0.6.0", "<0.7.0"] - package: fivetran/twitter_ads_source - version: [">=0.5.0", "<0.6.0"] + version: [">=0.6.0", "<0.7.0"] - package: fivetran/snapchat_ads - version: [">=0.4.0", "<0.5.0"] + version: [">=0.5.0", "<0.6.0"] - package: fivetran/snapchat_ads_source - version: [">=0.4.0", "<0.5.0"] + version: [">=0.5.0", "<0.6.0"] - package: fivetran/tiktok_ads - version: [">=0.2.0", "<0.3.0"] + version: [">=0.3.0", "<0.4.0"] - package: fivetran/tiktok_ads_source - version: [">=0.2.0", "<0.3.0"] + version: [">=0.3.0", "<0.4.0"] ``` # 🙌 How is this package maintained and can I contribute? ## Package Maintenance diff --git a/dbt_project.yml b/dbt_project.yml index 88c665a..b6e2af1 100644 --- a/dbt_project.yml +++ b/dbt_project.yml @@ -1,5 +1,5 @@ name: 'ad_reporting' -version: '1.2.0' +version: '1.2.1' config-version: 2 diff --git a/integration_tests/dbt_project.yml b/integration_tests/dbt_project.yml index d45d0ca..2f58eb4 100644 --- a/integration_tests/dbt_project.yml +++ b/integration_tests/dbt_project.yml @@ -1,5 +1,5 @@ name: 'ad_reporting_integration_tests' -version: '1.2.0' +version: '1.2.1' profile: 'integration_tests' config-version: 2 diff --git a/packages.yml b/packages.yml index be89a37..511ae66 100644 --- a/packages.yml +++ b/packages.yml @@ -15,7 +15,7 @@ packages: version: [">=0.7.0", "<0.8.0"] - package: fivetran/linkedin - version: [">=0.6.0", "<0.7.0"] + version: [">=0.7.0", "<0.8.0"] - package: fivetran/microsoft_ads version: [">=0.6.0", "<0.7.0"] From 3b887505b60dff38b9a4e9f9a0965a74bd0af1af Mon Sep 17 00:00:00 2001 From: fivetran-sheringuyen <94874400+fivetran-sheringuyen@users.noreply.github.com> Date: Tue, 7 Feb 2023 15:22:38 -0900 Subject: [PATCH 2/5] updating changelog --- CHANGELOG.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6bdc24f..ae11207 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ # dbt_ad_reporting v1.2.1 ## Updates -PR # +[PR #79](https://github.com/fivetran/dbt_ad_reporting/pull/79) includes the following updates: - Updated package dependencies for Linkedin Ads v0.7.0, for more information please refer to Linkedin Ads [PR #28](https://github.com/fivetran/dbt_linkedin/pull/28) - Updated `README` package dependencies to reflect current package versions From 9644f81d921e3a23dca84e08047fd408ac1bf876 Mon Sep 17 00:00:00 2001 From: fivetran-sheringuyen <94874400+fivetran-sheringuyen@users.noreply.github.com> Date: Thu, 23 Mar 2023 10:02:28 -0800 Subject: [PATCH 3/5] updating docs --- docs/catalog.json | 2 +- docs/index.html | 2 +- docs/manifest.json | 2 +- docs/run_results.json | 2 +- packages.yml | 7 +++++-- 5 files changed, 9 insertions(+), 6 deletions(-) diff --git a/docs/catalog.json b/docs/catalog.json index 6b42b93..1e9b734 100644 --- a/docs/catalog.json +++ b/docs/catalog.json @@ -1 +1 @@ -{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.4.5", "generated_at": "2023-03-21T19:13:40.993225Z", "invocation_id": "68c909e6-a9b9-43ee-8490-30580dd9d005", "env": {}}, "nodes": {}, "sources": {"source.linkedin_source.linkedin.ad_analytics_by_campaign": {"metadata": {"type": "table", "schema": "linkedin_ads", "name": "ad_analytics_by_campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "day": {"type": "TIMESTAMP", "index": 2, "name": "day", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "action_clicks": {"type": "INT64", "index": 4, "name": "action_clicks", "comment": null}, "ad_unit_clicks": {"type": "INT64", "index": 5, "name": "ad_unit_clicks", "comment": null}, "card_clicks": {"type": "INT64", "index": 6, "name": "card_clicks", "comment": null}, "card_impressions": {"type": "INT64", "index": 7, "name": "card_impressions", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "comments": {"type": "INT64", "index": 9, "name": "comments", "comment": null}, "comments_likes": {"type": "INT64", "index": 10, "name": "comments_likes", "comment": null}, "company_page_clicks": {"type": "INT64", "index": 11, "name": "company_page_clicks", "comment": null}, "conversion_value_in_local_currency": {"type": "NUMERIC", "index": 12, "name": "conversion_value_in_local_currency", "comment": null}, "cost_in_local_currency": {"type": "NUMERIC", "index": 13, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "NUMERIC", "index": 14, "name": "cost_in_usd", "comment": null}, "external_website_conversions": {"type": "INT64", "index": 15, "name": "external_website_conversions", "comment": null}, "external_website_post_click_conversions": {"type": "INT64", "index": 16, "name": "external_website_post_click_conversions", "comment": null}, "external_website_post_view_conversions": {"type": "INT64", "index": 17, "name": "external_website_post_view_conversions", "comment": null}, "follows": {"type": "INT64", "index": 18, "name": "follows", "comment": null}, "full_screen_plays": {"type": "INT64", "index": 19, "name": "full_screen_plays", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "landing_page_clicks": {"type": "INT64", "index": 21, "name": "landing_page_clicks", "comment": null}, "lead_generation_mail_contact_info_shares": {"type": "INT64", "index": 22, "name": "lead_generation_mail_contact_info_shares", "comment": null}, "lead_generation_mail_interested_clicks": {"type": "INT64", "index": 23, "name": "lead_generation_mail_interested_clicks", "comment": null}, "likes": {"type": "INT64", "index": 24, "name": "likes", "comment": null}, "one_click_lead_form_opens": {"type": "INT64", "index": 25, "name": "one_click_lead_form_opens", "comment": null}, "one_click_leads": {"type": "INT64", "index": 26, "name": "one_click_leads", "comment": null}, "opens": {"type": "INT64", "index": 27, "name": "opens", "comment": null}, "other_engagements": {"type": "INT64", "index": 28, "name": "other_engagements", "comment": null}, "shares": {"type": "INT64", "index": 29, "name": "shares", "comment": null}, "text_url_clicks": {"type": "INT64", "index": 30, "name": "text_url_clicks", "comment": null}, "total_engagements": {"type": "INT64", "index": 31, "name": "total_engagements", "comment": null}, "video_completions": {"type": "INT64", "index": 32, "name": "video_completions", "comment": null}, "video_first_quartile_completions": {"type": "INT64", "index": 33, "name": "video_first_quartile_completions", "comment": null}, "video_midpoint_completions": {"type": "INT64", "index": 34, "name": "video_midpoint_completions", "comment": null}, "video_starts": {"type": "INT64", "index": 35, "name": "video_starts", "comment": null}, "video_third_quartile_completions": {"type": "INT64", "index": 36, "name": "video_third_quartile_completions", "comment": null}, "video_views": {"type": "INT64", "index": 37, "name": "video_views", "comment": null}, "viral_card_clicks": {"type": "INT64", "index": 38, "name": "viral_card_clicks", "comment": null}, "viral_card_impressions": {"type": "INT64", "index": 39, "name": "viral_card_impressions", "comment": null}, "viral_clicks": {"type": "INT64", "index": 40, "name": "viral_clicks", "comment": null}, "viral_comment_likes": {"type": "INT64", "index": 41, "name": "viral_comment_likes", "comment": null}, "viral_comments": {"type": "INT64", "index": 42, "name": "viral_comments", "comment": null}, "viral_company_page_clicks": {"type": "INT64", "index": 43, "name": "viral_company_page_clicks", "comment": null}, "viral_extrernal_website_conversions": {"type": "INT64", "index": 44, "name": "viral_extrernal_website_conversions", "comment": null}, "viral_extrernal_website_post_click_conversions": {"type": "INT64", "index": 45, "name": "viral_extrernal_website_post_click_conversions", "comment": null}, "viral_extrernal_website_post_view_conversions": {"type": "INT64", "index": 46, "name": "viral_extrernal_website_post_view_conversions", "comment": null}, "viral_follows": {"type": "INT64", "index": 47, "name": "viral_follows", "comment": null}, "viral_full_screen_plays": {"type": "INT64", "index": 48, "name": "viral_full_screen_plays", "comment": null}, "viral_impressions": {"type": "INT64", "index": 49, "name": "viral_impressions", "comment": null}, "viral_landing_page_clicks": {"type": "INT64", "index": 50, "name": "viral_landing_page_clicks", "comment": null}, "viral_likes": {"type": "INT64", "index": 51, "name": "viral_likes", "comment": null}, "viral_one_click_lead_form_opens": {"type": "INT64", "index": 52, "name": "viral_one_click_lead_form_opens", "comment": null}, "viral_one_click_leads": {"type": "INT64", "index": 53, "name": "viral_one_click_leads", "comment": null}, "viral_other_engagements": {"type": "INT64", "index": 54, "name": "viral_other_engagements", "comment": null}, "viral_shares": {"type": "INT64", "index": 55, "name": "viral_shares", "comment": null}, "viral_total_engagements": {"type": "INT64", "index": 56, "name": "viral_total_engagements", "comment": null}, "viral_video_completions": {"type": "INT64", "index": 57, "name": "viral_video_completions", "comment": null}, "viral_video_first_quartile_completions": {"type": "INT64", "index": 58, "name": "viral_video_first_quartile_completions", "comment": null}, "viral_video_midpoint_completions": {"type": "INT64", "index": 59, "name": "viral_video_midpoint_completions", "comment": null}, "viral_video_starts": {"type": "INT64", "index": 60, "name": "viral_video_starts", "comment": null}, "viral_video_third_quartile_completions": {"type": "INT64", "index": 61, "name": "viral_video_third_quartile_completions", "comment": null}, "viral_video_views": {"type": "INT64", "index": 62, "name": "viral_video_views", "comment": null}, "comment_likes": {"type": "INT64", "index": 63, "name": "comment_likes", "comment": null}, "viral_external_website_conversions": {"type": "INT64", "index": 64, "name": "viral_external_website_conversions", "comment": null}, "viral_external_website_post_click_conversions": {"type": "INT64", "index": 65, "name": "viral_external_website_post_click_conversions", "comment": null}, "viral_external_website_post_view_conversions": {"type": "INT64", "index": 66, "name": "viral_external_website_post_view_conversions", "comment": null}, "approximate_unique_impressions": {"type": "INT64", "index": 67, "name": "approximate_unique_impressions", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13869480.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 32850.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_campaign"}, "source.linkedin_source.linkedin.ad_analytics_by_creative": {"metadata": {"type": "table", "schema": "linkedin_ads", "name": "ad_analytics_by_creative", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "INT64", "index": 1, "name": "creative_id", "comment": null}, "day": {"type": "TIMESTAMP", "index": 2, "name": "day", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "action_clicks": {"type": "INT64", "index": 4, "name": "action_clicks", "comment": null}, "ad_unit_clicks": {"type": "INT64", "index": 5, "name": "ad_unit_clicks", "comment": null}, "card_clicks": {"type": "INT64", "index": 6, "name": "card_clicks", "comment": null}, "card_impressions": {"type": "INT64", "index": 7, "name": "card_impressions", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "comments": {"type": "INT64", "index": 9, "name": "comments", "comment": null}, "comments_likes": {"type": "INT64", "index": 10, "name": "comments_likes", "comment": null}, "company_page_clicks": {"type": "INT64", "index": 11, "name": "company_page_clicks", "comment": null}, "conversion_value_in_local_currency": {"type": "NUMERIC", "index": 12, "name": "conversion_value_in_local_currency", "comment": null}, "cost_in_local_currency": {"type": "NUMERIC", "index": 13, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "NUMERIC", "index": 14, "name": "cost_in_usd", "comment": null}, "external_website_conversions": {"type": "INT64", "index": 15, "name": "external_website_conversions", "comment": null}, "external_website_post_click_conversions": {"type": "INT64", "index": 16, "name": "external_website_post_click_conversions", "comment": null}, "external_website_post_view_conversions": {"type": "INT64", "index": 17, "name": "external_website_post_view_conversions", "comment": null}, "follows": {"type": "INT64", "index": 18, "name": "follows", "comment": null}, "full_screen_plays": {"type": "INT64", "index": 19, "name": "full_screen_plays", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "landing_page_clicks": {"type": "INT64", "index": 21, "name": "landing_page_clicks", "comment": null}, "lead_generation_mail_contact_info_shares": {"type": "INT64", "index": 22, "name": "lead_generation_mail_contact_info_shares", "comment": null}, "lead_generation_mail_interested_clicks": {"type": "INT64", "index": 23, "name": "lead_generation_mail_interested_clicks", "comment": null}, "likes": {"type": "INT64", "index": 24, "name": "likes", "comment": null}, "one_click_lead_form_opens": {"type": "INT64", "index": 25, "name": "one_click_lead_form_opens", "comment": null}, "one_click_leads": {"type": "INT64", "index": 26, "name": "one_click_leads", "comment": null}, "opens": {"type": "INT64", "index": 27, "name": "opens", "comment": null}, "other_engagements": {"type": "INT64", "index": 28, "name": "other_engagements", "comment": null}, "shares": {"type": "INT64", "index": 29, "name": "shares", "comment": null}, "text_url_clicks": {"type": "INT64", "index": 30, "name": "text_url_clicks", "comment": null}, "total_engagements": {"type": "INT64", "index": 31, "name": "total_engagements", "comment": null}, "video_completions": {"type": "INT64", "index": 32, "name": "video_completions", "comment": null}, "video_first_quartile_completions": {"type": "INT64", "index": 33, "name": "video_first_quartile_completions", "comment": null}, "video_midpoint_completions": {"type": "INT64", "index": 34, "name": "video_midpoint_completions", "comment": null}, "video_starts": {"type": "INT64", "index": 35, "name": "video_starts", "comment": null}, "video_third_quartile_completions": {"type": "INT64", "index": 36, "name": "video_third_quartile_completions", "comment": null}, "video_views": {"type": "INT64", "index": 37, "name": "video_views", "comment": null}, "viral_card_clicks": {"type": "INT64", "index": 38, "name": "viral_card_clicks", "comment": null}, "viral_card_impressions": {"type": "INT64", "index": 39, "name": "viral_card_impressions", "comment": null}, "viral_clicks": {"type": "INT64", "index": 40, "name": "viral_clicks", "comment": null}, "viral_comment_likes": {"type": "INT64", "index": 41, "name": "viral_comment_likes", "comment": null}, "viral_comments": {"type": "INT64", "index": 42, "name": "viral_comments", "comment": null}, "viral_company_page_clicks": {"type": "INT64", "index": 43, "name": "viral_company_page_clicks", "comment": null}, "viral_extrernal_website_conversions": {"type": "INT64", "index": 44, "name": "viral_extrernal_website_conversions", "comment": null}, "viral_extrernal_website_post_click_conversions": {"type": "INT64", "index": 45, "name": "viral_extrernal_website_post_click_conversions", "comment": null}, "viral_extrernal_website_post_view_conversions": {"type": "INT64", "index": 46, "name": "viral_extrernal_website_post_view_conversions", "comment": null}, "viral_follows": {"type": "INT64", "index": 47, "name": "viral_follows", "comment": null}, "viral_full_screen_plays": {"type": "INT64", "index": 48, "name": "viral_full_screen_plays", "comment": null}, "viral_impressions": {"type": "INT64", "index": 49, "name": "viral_impressions", "comment": null}, "viral_landing_page_clicks": {"type": "INT64", "index": 50, "name": "viral_landing_page_clicks", "comment": null}, "viral_likes": {"type": "INT64", "index": 51, "name": "viral_likes", "comment": null}, "viral_one_click_lead_form_opens": {"type": "INT64", "index": 52, "name": "viral_one_click_lead_form_opens", "comment": null}, "viral_one_click_leads": {"type": "INT64", "index": 53, "name": "viral_one_click_leads", "comment": null}, "viral_other_engagements": {"type": "INT64", "index": 54, "name": "viral_other_engagements", "comment": null}, "viral_shares": {"type": "INT64", "index": 55, "name": "viral_shares", "comment": null}, "viral_total_engagements": {"type": "INT64", "index": 56, "name": "viral_total_engagements", "comment": null}, "viral_video_completions": {"type": "INT64", "index": 57, "name": "viral_video_completions", "comment": null}, "viral_video_first_quartile_completions": {"type": "INT64", "index": 58, "name": "viral_video_first_quartile_completions", "comment": null}, "viral_video_midpoint_completions": {"type": "INT64", "index": 59, "name": "viral_video_midpoint_completions", "comment": null}, "viral_video_starts": {"type": "INT64", "index": 60, "name": "viral_video_starts", "comment": null}, "viral_video_third_quartile_completions": {"type": "INT64", "index": 61, "name": "viral_video_third_quartile_completions", "comment": null}, "viral_video_views": {"type": "INT64", "index": 62, "name": "viral_video_views", "comment": null}, "comment_likes": {"type": "INT64", "index": 63, "name": "comment_likes", "comment": null}, "viral_external_website_conversions": {"type": "INT64", "index": 64, "name": "viral_external_website_conversions", "comment": null}, "viral_external_website_post_click_conversions": {"type": "INT64", "index": 65, "name": "viral_external_website_post_click_conversions", "comment": null}, "viral_external_website_post_view_conversions": {"type": "INT64", "index": 66, "name": "viral_external_website_post_view_conversions", "comment": null}, "approximate_unique_impressions": {"type": "INT64", "index": 67, "name": "approximate_unique_impressions", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 14304800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 34397.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_creative"}, "source.linkedin_source.linkedin.campaign_group_history": {"metadata": {"type": "table", "schema": "linkedin_ads", "name": "campaign_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "backfilled": {"type": "BOOL", "index": 5, "name": "backfilled", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 6, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 7, "name": "name", "comment": null}, "run_schedule_end": {"type": "TIMESTAMP", "index": 8, "name": "run_schedule_end", "comment": null}, "run_schedule_start": {"type": "TIMESTAMP", "index": 9, "name": "run_schedule_start", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 542.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 7.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.campaign_group_history"}, "source.linkedin_source.linkedin.creative_history": {"metadata": {"type": "table", "schema": "linkedin_ads", "name": "creative_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "call_to_action_label_type": {"type": "STRING", "index": 4, "name": "call_to_action_label_type", "comment": null}, "call_to_action_target": {"type": "STRING", "index": 5, "name": "call_to_action_target", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "click_uri": {"type": "STRING", "index": 7, "name": "click_uri", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 8, "name": "created_time", "comment": null}, "follow_company_call_to_action": {"type": "STRING", "index": 9, "name": "follow_company_call_to_action", "comment": null}, "follow_company_organization_logo": {"type": "STRING", "index": 10, "name": "follow_company_organization_logo", "comment": null}, "follow_company_organization_name": {"type": "STRING", "index": 11, "name": "follow_company_organization_name", "comment": null}, "jobs_company_name": {"type": "STRING", "index": 12, "name": "jobs_company_name", "comment": null}, "jobs_logo": {"type": "STRING", "index": 13, "name": "jobs_logo", "comment": null}, "jobs_organization": {"type": "STRING", "index": 14, "name": "jobs_organization", "comment": null}, "reference": {"type": "STRING", "index": 15, "name": "reference", "comment": null}, "review_status": {"type": "STRING", "index": 16, "name": "review_status", "comment": null}, "sponsored_in_mail_content": {"type": "STRING", "index": 17, "name": "sponsored_in_mail_content", "comment": null}, "sponsored_update_activity": {"type": "STRING", "index": 18, "name": "sponsored_update_activity", "comment": null}, "sponsored_update_carousel_activity": {"type": "STRING", "index": 19, "name": "sponsored_update_carousel_activity", "comment": null}, "sponsored_update_carousel_direct_sponsored_content": {"type": "BOOL", "index": 20, "name": "sponsored_update_carousel_direct_sponsored_content", "comment": null}, "sponsored_update_carousel_share": {"type": "STRING", "index": 21, "name": "sponsored_update_carousel_share", "comment": null}, "sponsored_update_direct_sponsored_content": {"type": "BOOL", "index": 22, "name": "sponsored_update_direct_sponsored_content", "comment": null}, "sponsored_update_share": {"type": "STRING", "index": 23, "name": "sponsored_update_share", "comment": null}, "sponsored_video_media_asset": {"type": "STRING", "index": 24, "name": "sponsored_video_media_asset", "comment": null}, "sponsored_video_user_generated_content_post": {"type": "STRING", "index": 25, "name": "sponsored_video_user_generated_content_post", "comment": null}, "spotlight_call_to_action": {"type": "STRING", "index": 26, "name": "spotlight_call_to_action", "comment": null}, "spotlight_custom_background": {"type": "STRING", "index": 27, "name": "spotlight_custom_background", "comment": null}, "spotlight_description": {"type": "STRING", "index": 28, "name": "spotlight_description", "comment": null}, "spotlight_forum_name": {"type": "STRING", "index": 29, "name": "spotlight_forum_name", "comment": null}, "spotlight_headline": {"type": "STRING", "index": 30, "name": "spotlight_headline", "comment": null}, "spotlight_logo": {"type": "STRING", "index": 31, "name": "spotlight_logo", "comment": null}, "spotlight_show_member_profile_photo": {"type": "BOOL", "index": 32, "name": "spotlight_show_member_profile_photo", "comment": null}, "status": {"type": "STRING", "index": 33, "name": "status", "comment": null}, "text_ad_text": {"type": "STRING", "index": 34, "name": "text_ad_text", "comment": null}, "text_ad_title": {"type": "STRING", "index": 35, "name": "text_ad_title", "comment": null}, "type": {"type": "STRING", "index": 36, "name": "type", "comment": null}, "version_tag": {"type": "STRING", "index": 37, "name": "version_tag", "comment": null}, "sponsored_update_carousel_share_content_description": {"type": "STRING", "index": 38, "name": "sponsored_update_carousel_share_content_description", "comment": null}, "sponsored_update_carousel_share_content_share_media_category": {"type": "STRING", "index": 39, "name": "sponsored_update_carousel_share_content_share_media_category", "comment": null}, "sponsored_update_carousel_share_content_title": {"type": "STRING", "index": 40, "name": "sponsored_update_carousel_share_content_title", "comment": null}, "sponsored_update_carousel_share_subject": {"type": "STRING", "index": 41, "name": "sponsored_update_carousel_share_subject", "comment": null}, "sponsored_update_share_content_description": {"type": "STRING", "index": 42, "name": "sponsored_update_share_content_description", "comment": null}, "sponsored_update_share_content_share_media_category": {"type": "STRING", "index": 43, "name": "sponsored_update_share_content_share_media_category", "comment": null}, "sponsored_update_share_content_title": {"type": "STRING", "index": 44, "name": "sponsored_update_share_content_title", "comment": null}, "sponsored_update_share_subject": {"type": "STRING", "index": 45, "name": "sponsored_update_share_subject", "comment": null}, "sponsored_update_carousel_share_content_content_entities": {"type": "STRING", "index": 46, "name": "sponsored_update_carousel_share_content_content_entities", "comment": null}, "sponsored_update_share_content_content_entities": {"type": "STRING", "index": 47, "name": "sponsored_update_share_content_content_entities", "comment": null}, "sponsored_video_user_generated_content_post_value_specific_content_share_content_media": {"type": "STRING", "index": 48, "name": "sponsored_video_user_generated_content_post_value_specific_content_share_content_media", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 567705.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2581.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.creative_history"}, "source.linkedin_source.linkedin.account_history": {"metadata": {"type": "table", "schema": "linkedin_ads", "name": "account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 4, "name": "created_time", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "notified_on_campaign_optimization": {"type": "BOOL", "index": 7, "name": "notified_on_campaign_optimization", "comment": null}, "notified_on_creative_approval": {"type": "BOOL", "index": 8, "name": "notified_on_creative_approval", "comment": null}, "notified_on_creative_rejection": {"type": "BOOL", "index": 9, "name": "notified_on_creative_rejection", "comment": null}, "notified_on_end_of_campaign": {"type": "BOOL", "index": 10, "name": "notified_on_end_of_campaign", "comment": null}, "reference": {"type": "STRING", "index": 11, "name": "reference", "comment": null}, "status": {"type": "STRING", "index": 12, "name": "status", "comment": null}, "total_budget_amount": {"type": "FLOAT64", "index": 13, "name": "total_budget_amount", "comment": null}, "total_budget_currency_code": {"type": "STRING", "index": 14, "name": "total_budget_currency_code", "comment": null}, "total_budget_ends_at": {"type": "INT64", "index": 15, "name": "total_budget_ends_at", "comment": null}, "type": {"type": "STRING", "index": 16, "name": "type", "comment": null}, "version_tag": {"type": "STRING", "index": 17, "name": "version_tag", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2142.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 21.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.account_history"}, "source.linkedin_source.linkedin.campaign_history": {"metadata": {"type": "table", "schema": "linkedin_ads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "associated_entity": {"type": "STRING", "index": 5, "name": "associated_entity", "comment": null}, "audience_expansion_enabled": {"type": "BOOL", "index": 6, "name": "audience_expansion_enabled", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 7, "name": "campaign_group_id", "comment": null}, "cost_type": {"type": "STRING", "index": 8, "name": "cost_type", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 9, "name": "created_time", "comment": null}, "creative_selection": {"type": "STRING", "index": 10, "name": "creative_selection", "comment": null}, "daily_budget_amount": {"type": "FLOAT64", "index": 11, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency_code": {"type": "STRING", "index": 12, "name": "daily_budget_currency_code", "comment": null}, "format": {"type": "STRING", "index": 13, "name": "format", "comment": null}, "locale_country": {"type": "STRING", "index": 14, "name": "locale_country", "comment": null}, "locale_language": {"type": "STRING", "index": 15, "name": "locale_language", "comment": null}, "name": {"type": "STRING", "index": 16, "name": "name", "comment": null}, "objective_type": {"type": "STRING", "index": 17, "name": "objective_type", "comment": null}, "offsite_delivery_enabled": {"type": "BOOL", "index": 18, "name": "offsite_delivery_enabled", "comment": null}, "optimization_target_type": {"type": "STRING", "index": 19, "name": "optimization_target_type", "comment": null}, "run_schedule_end": {"type": "TIMESTAMP", "index": 20, "name": "run_schedule_end", "comment": null}, "run_schedule_start": {"type": "TIMESTAMP", "index": 21, "name": "run_schedule_start", "comment": null}, "status": {"type": "STRING", "index": 22, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 23, "name": "type", "comment": null}, "unit_cost_amount": {"type": "FLOAT64", "index": 24, "name": "unit_cost_amount", "comment": null}, "unit_cost_currency_code": {"type": "STRING", "index": 25, "name": "unit_cost_currency_code", "comment": null}, "version_tag": {"type": "STRING", "index": 26, "name": "version_tag", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15364566.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 53138.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.campaign_history"}, "source.amazon_ads_source.amazon_ads.profile": {"metadata": {"type": "table", "schema": "amazon_ads", "name": "profile", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "account_marketplace_string_id": {"type": "STRING", "index": 5, "name": "account_marketplace_string_id", "comment": null}, "account_name": {"type": "STRING", "index": 6, "name": "account_name", "comment": null}, "account_sub_type": {"type": "STRING", "index": 7, "name": "account_sub_type", "comment": null}, "account_type": {"type": "STRING", "index": 8, "name": "account_type", "comment": null}, "account_valid_payment_method": {"type": "BOOL", "index": 9, "name": "account_valid_payment_method", "comment": null}, "country_code": {"type": "STRING", "index": 10, "name": "country_code", "comment": null}, "currency_code": {"type": "STRING", "index": 11, "name": "currency_code", "comment": null}, "daily_budget": {"type": "INT64", "index": 12, "name": "daily_budget", "comment": null}, "timezone": {"type": "STRING", "index": 13, "name": "timezone", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 332.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.profile"}, "source.reddit_ads_source.reddit_ads.campaign": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "configured_status": {"type": "STRING", "index": 4, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 5, "name": "effective_status", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 6, "name": "funding_instrument_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 7, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 9, "name": "objective", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 975.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.campaign"}, "source.reddit_ads_source.reddit_ads.ad": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "ad", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "ad_group_id": {"type": "STRING", "index": 4, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "click_url": {"type": "STRING", "index": 6, "name": "click_url", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "is_processing": {"type": "BOOL", "index": 9, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "post_id": {"type": "STRING", "index": 11, "name": "post_id", "comment": null}, "post_url": {"type": "STRING", "index": 12, "name": "post_url", "comment": null}, "preview_expiry": {"type": "STRING", "index": 13, "name": "preview_expiry", "comment": null}, "preview_url": {"type": "STRING", "index": 14, "name": "preview_url", "comment": null}, "rejection_reason": {"type": "STRING", "index": 15, "name": "rejection_reason", "comment": null}, "search_term": {"type": "STRING", "index": 16, "name": "search_term", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10755.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 32.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad"}, "source.reddit_ads_source.reddit_ads.account": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "account", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "attribution_type": {"type": "STRING", "index": 3, "name": "attribution_type", "comment": null}, "click_attribution_window": {"type": "STRING", "index": 4, "name": "click_attribution_window", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "time_zone_id": {"type": "STRING", "index": 8, "name": "time_zone_id", "comment": null}, "view_attribution_window": {"type": "STRING", "index": 9, "name": "view_attribution_window", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 67.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.account"}, "source.reddit_ads_source.reddit_ads.campaign_report": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "FLOAT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "STRING", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "STRING", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "STRING", "index": 34, "name": "priority", "comment": null}, "region": {"type": "STRING", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 23542.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 79.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.campaign_report"}, "source.reddit_ads_source.reddit_ads.ad_group_report": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "STRING", "index": 2, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "FLOAT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "STRING", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "STRING", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "STRING", "index": 34, "name": "priority", "comment": null}, "region": {"type": "STRING", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 47680.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 160.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad_group_report"}, "source.reddit_ads_source.reddit_ads.ad_group": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "ad_group", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "id": {"type": "STRING", "index": 2, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "bid_strategy": {"type": "STRING", "index": 4, "name": "bid_strategy", "comment": null}, "bid_value": {"type": "INT64", "index": 5, "name": "bid_value", "comment": null}, "campaign_id": {"type": "STRING", "index": 6, "name": "campaign_id", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 9, "name": "end_time", "comment": null}, "expand_targeting": {"type": "BOOL", "index": 10, "name": "expand_targeting", "comment": null}, "goal_type": {"type": "STRING", "index": 11, "name": "goal_type", "comment": null}, "goal_value": {"type": "INT64", "index": 12, "name": "goal_value", "comment": null}, "is_processing": {"type": "BOOL", "index": 13, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "optimization_strategy_type": {"type": "STRING", "index": 15, "name": "optimization_strategy_type", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 16, "name": "start_time", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3304.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad_group"}, "source.reddit_ads_source.reddit_ads.ad_report": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "ad_id": {"type": "STRING", "index": 2, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "FLOAT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "STRING", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "STRING", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "STRING", "index": 34, "name": "priority", "comment": null}, "region": {"type": "STRING", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 56322.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 189.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad_report"}, "source.reddit_ads_source.reddit_ads.account_report": {"metadata": {"type": "table", "schema": "reddit_ads", "name": "account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 4, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 6, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 7, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 8, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 9, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 10, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 11, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 12, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 13, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 15, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 17, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 18, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 19, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "FLOAT64", "index": 20, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 21, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 22, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 23, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "STRING", "index": 24, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "STRING", "index": 25, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 26, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 27, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 30, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "STRING", "index": 33, "name": "priority", "comment": null}, "region": {"type": "STRING", "index": 34, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 35, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 36, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 37, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 38, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 39, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 40, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 41, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 42, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 43, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 44, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 45, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 46, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 47, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 48, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 49, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 50, "name": "viewer_comments", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15512.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 56.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.account_report"}, "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": {"metadata": {"type": "table", "schema": "bingads", "name": "search_query_performance_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 3, "name": "ad_id", "comment": null}, "bid_match_type": {"type": "STRING", "index": 4, "name": "bid_match_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "customer_id": {"type": "INT64", "index": 6, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 7, "name": "date", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 8, "name": "delivered_match_type", "comment": null}, "device_os": {"type": "STRING", "index": 9, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 10, "name": "device_type", "comment": null}, "keyword_id": {"type": "INT64", "index": 11, "name": "keyword_id", "comment": null}, "language": {"type": "STRING", "index": 12, "name": "language", "comment": null}, "network": {"type": "STRING", "index": 13, "name": "network", "comment": null}, "search_query": {"type": "STRING", "index": 14, "name": "search_query", "comment": null}, "top_vs_other": {"type": "STRING", "index": 15, "name": "top_vs_other", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 16, "name": "_fivetran_synced", "comment": null}, "account_number": {"type": "STRING", "index": 17, "name": "account_number", "comment": null}, "all_conversion_rate": {"type": "STRING", "index": 18, "name": "all_conversion_rate", "comment": null}, "all_conversions": {"type": "INT64", "index": 19, "name": "all_conversions", "comment": null}, "all_return_on_ad_spend": {"type": "FLOAT64", "index": 20, "name": "all_return_on_ad_spend", "comment": null}, "all_revenue": {"type": "FLOAT64", "index": 21, "name": "all_revenue", "comment": null}, "assists": {"type": "INT64", "index": 22, "name": "assists", "comment": null}, "average_cpc": {"type": "FLOAT64", "index": 23, "name": "average_cpc", "comment": null}, "average_position": {"type": "FLOAT64", "index": 24, "name": "average_position", "comment": null}, "clicks": {"type": "INT64", "index": 25, "name": "clicks", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 26, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 27, "name": "conversions", "comment": null}, "ctr": {"type": "FLOAT64", "index": 28, "name": "ctr", "comment": null}, "impressions": {"type": "INT64", "index": 29, "name": "impressions", "comment": null}, "return_on_ad_spend": {"type": "FLOAT64", "index": 30, "name": "return_on_ad_spend", "comment": null}, "revenue": {"type": "FLOAT64", "index": 31, "name": "revenue", "comment": null}, "spend": {"type": "FLOAT64", "index": 32, "name": "spend", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1897779.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 6589.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report"}, "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": {"metadata": {"type": "table", "schema": "bingads", "name": "account_performance_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_distribution": {"type": "STRING", "index": 2, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 3, "name": "bid_match_type", "comment": null}, "currency_code": {"type": "STRING", "index": 4, "name": "currency_code", "comment": null}, "date": {"type": "DATE", "index": 5, "name": "date", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 6, "name": "delivered_match_type", "comment": null}, "device_os": {"type": "STRING", "index": 7, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 8, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 9, "name": "network", "comment": null}, "top_vs_other": {"type": "STRING", "index": 10, "name": "top_vs_other", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 11, "name": "_fivetran_synced", "comment": null}, "assists": {"type": "INT64", "index": 12, "name": "assists", "comment": null}, "average_cpc": {"type": "FLOAT64", "index": 13, "name": "average_cpc", "comment": null}, "average_position": {"type": "FLOAT64", "index": 14, "name": "average_position", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 16, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 17, "name": "conversions", "comment": null}, "ctr": {"type": "FLOAT64", "index": 18, "name": "ctr", "comment": null}, "impressions": {"type": "INT64", "index": 19, "name": "impressions", "comment": null}, "low_quality_clicks": {"type": "INT64", "index": 20, "name": "low_quality_clicks", "comment": null}, "low_quality_clicks_percent": {"type": "FLOAT64", "index": 21, "name": "low_quality_clicks_percent", "comment": null}, "low_quality_conversion_rate": {"type": "FLOAT64", "index": 22, "name": "low_quality_conversion_rate", "comment": null}, "low_quality_conversions": {"type": "INT64", "index": 23, "name": "low_quality_conversions", "comment": null}, "low_quality_general_clicks": {"type": "INT64", "index": 24, "name": "low_quality_general_clicks", "comment": null}, "low_quality_impressions": {"type": "INT64", "index": 25, "name": "low_quality_impressions", "comment": null}, "low_quality_impressions_percent": {"type": "FLOAT64", "index": 26, "name": "low_quality_impressions_percent", "comment": null}, "low_quality_sophisticated_clicks": {"type": "INT64", "index": 27, "name": "low_quality_sophisticated_clicks", "comment": null}, "phone_calls": {"type": "INT64", "index": 28, "name": "phone_calls", "comment": null}, "phone_impressions": {"type": "INT64", "index": 29, "name": "phone_impressions", "comment": null}, "ptr": {"type": "FLOAT64", "index": 30, "name": "ptr", "comment": null}, "return_on_ad_spend": {"type": "FLOAT64", "index": 31, "name": "return_on_ad_spend", "comment": null}, "revenue": {"type": "FLOAT64", "index": 32, "name": "revenue", "comment": null}, "spend": {"type": "FLOAT64", "index": 33, "name": "spend", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2313384.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 8958.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report"}, "source.microsoft_ads_source.microsoft_ads.ad_group_history": {"metadata": {"type": "table", "schema": "bingads", "name": "ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 2, "name": "modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_rotation": {"type": "STRING", "index": 4, "name": "ad_rotation", "comment": null}, "bid_adjustment": {"type": "FLOAT64", "index": 5, "name": "bid_adjustment", "comment": null}, "bid_boost_value": {"type": "FLOAT64", "index": 6, "name": "bid_boost_value", "comment": null}, "bid_option": {"type": "STRING", "index": 7, "name": "bid_option", "comment": null}, "bid_strategy_type": {"type": "STRING", "index": 8, "name": "bid_strategy_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "cpc_bid": {"type": "FLOAT64", "index": 10, "name": "cpc_bid", "comment": null}, "end_date": {"type": "DATE", "index": 11, "name": "end_date", "comment": null}, "inherited_bid_strategy_type": {"type": "STRING", "index": 12, "name": "inherited_bid_strategy_type", "comment": null}, "language": {"type": "STRING", "index": 13, "name": "language", "comment": null}, "maximum_bid": {"type": "FLOAT64", "index": 14, "name": "maximum_bid", "comment": null}, "name": {"type": "STRING", "index": 15, "name": "name", "comment": null}, "network_distribution": {"type": "STRING", "index": 16, "name": "network_distribution", "comment": null}, "privacy_status": {"type": "STRING", "index": 17, "name": "privacy_status", "comment": null}, "start_date": {"type": "DATE", "index": 18, "name": "start_date", "comment": null}, "status": {"type": "STRING", "index": 19, "name": "status", "comment": null}, "target_setting": {"type": "STRING", "index": 20, "name": "target_setting", "comment": null}, "tracking_template": {"type": "STRING", "index": 21, "name": "tracking_template", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13873.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 90.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_history"}, "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": {"metadata": {"type": "table", "schema": "bingads", "name": "ad_performance_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_distribution": {"type": "STRING", "index": 2, "name": "ad_distribution", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 4, "name": "ad_id", "comment": null}, "bid_match_type": {"type": "STRING", "index": 5, "name": "bid_match_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 7, "name": "currency_code", "comment": null}, "date": {"type": "DATE", "index": 8, "name": "date", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 9, "name": "delivered_match_type", "comment": null}, "device_os": {"type": "STRING", "index": 10, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 11, "name": "device_type", "comment": null}, "language": {"type": "STRING", "index": 12, "name": "language", "comment": null}, "network": {"type": "STRING", "index": 13, "name": "network", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 15, "name": "_fivetran_synced", "comment": null}, "ad_description": {"type": "STRING", "index": 16, "name": "ad_description", "comment": null}, "ad_description_2": {"type": "STRING", "index": 17, "name": "ad_description_2", "comment": null}, "all_conversion_rate": {"type": "STRING", "index": 18, "name": "all_conversion_rate", "comment": null}, "all_conversions": {"type": "INT64", "index": 19, "name": "all_conversions", "comment": null}, "all_return_on_ad_spend": {"type": "FLOAT64", "index": 20, "name": "all_return_on_ad_spend", "comment": null}, "all_revenue": {"type": "FLOAT64", "index": 21, "name": "all_revenue", "comment": null}, "assists": {"type": "INT64", "index": 22, "name": "assists", "comment": null}, "average_cpc": {"type": "FLOAT64", "index": 23, "name": "average_cpc", "comment": null}, "average_position": {"type": "FLOAT64", "index": 24, "name": "average_position", "comment": null}, "clicks": {"type": "INT64", "index": 25, "name": "clicks", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 26, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 27, "name": "conversions", "comment": null}, "ctr": {"type": "FLOAT64", "index": 28, "name": "ctr", "comment": null}, "impressions": {"type": "INT64", "index": 29, "name": "impressions", "comment": null}, "return_on_ad_spend": {"type": "FLOAT64", "index": 30, "name": "return_on_ad_spend", "comment": null}, "revenue": {"type": "FLOAT64", "index": 31, "name": "revenue", "comment": null}, "spend": {"type": "FLOAT64", "index": 32, "name": "spend", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 33, "name": "view_through_conversions", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6024653.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 17740.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report"}, "source.microsoft_ads_source.microsoft_ads.ad_history": {"metadata": {"type": "table", "schema": "bingads", "name": "ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 2, "name": "modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_format_preference": {"type": "STRING", "index": 4, "name": "ad_format_preference", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "app_id": {"type": "STRING", "index": 6, "name": "app_id", "comment": null}, "app_platform": {"type": "STRING", "index": 7, "name": "app_platform", "comment": null}, "business_name": {"type": "STRING", "index": 8, "name": "business_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 9, "name": "call_to_action", "comment": null}, "device_preference": {"type": "STRING", "index": 10, "name": "device_preference", "comment": null}, "display_url": {"type": "STRING", "index": 11, "name": "display_url", "comment": null}, "domain": {"type": "STRING", "index": 12, "name": "domain", "comment": null}, "editorial_appeal_status": {"type": "STRING", "index": 13, "name": "editorial_appeal_status", "comment": null}, "editorial_location": {"type": "STRING", "index": 14, "name": "editorial_location", "comment": null}, "editorial_reason_code": {"type": "INT64", "index": 15, "name": "editorial_reason_code", "comment": null}, "editorial_status": {"type": "STRING", "index": 16, "name": "editorial_status", "comment": null}, "editorial_term": {"type": "STRING", "index": 17, "name": "editorial_term", "comment": null}, "final_url": {"type": "STRING", "index": 18, "name": "final_url", "comment": null}, "head_line": {"type": "STRING", "index": 19, "name": "head_line", "comment": null}, "landscape_image_media_id": {"type": "STRING", "index": 20, "name": "landscape_image_media_id", "comment": null}, "landscape_logo_media_id": {"type": "STRING", "index": 21, "name": "landscape_logo_media_id", "comment": null}, "long_head_line": {"type": "STRING", "index": 22, "name": "long_head_line", "comment": null}, "mobile_final_url": {"type": "STRING", "index": 23, "name": "mobile_final_url", "comment": null}, "path_1": {"type": "STRING", "index": 24, "name": "path_1", "comment": null}, "path_2": {"type": "STRING", "index": 25, "name": "path_2", "comment": null}, "square_image_media_id": {"type": "STRING", "index": 26, "name": "square_image_media_id", "comment": null}, "square_logo_media_id": {"type": "STRING", "index": 27, "name": "square_logo_media_id", "comment": null}, "status": {"type": "STRING", "index": 28, "name": "status", "comment": null}, "text": {"type": "STRING", "index": 29, "name": "text", "comment": null}, "title": {"type": "STRING", "index": 30, "name": "title", "comment": null}, "title_part_1": {"type": "STRING", "index": 31, "name": "title_part_1", "comment": null}, "title_part_2": {"type": "STRING", "index": 32, "name": "title_part_2", "comment": null}, "title_part_3": {"type": "STRING", "index": 33, "name": "title_part_3", "comment": null}, "tracking_template": {"type": "STRING", "index": 34, "name": "tracking_template", "comment": null}, "type": {"type": "STRING", "index": 35, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 82904.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 311.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_history"}, "source.microsoft_ads_source.microsoft_ads.keyword_history": {"metadata": {"type": "table", "schema": "bingads", "name": "keyword_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 2, "name": "modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "bid": {"type": "FLOAT64", "index": 5, "name": "bid", "comment": null}, "bid_strategy_type": {"type": "STRING", "index": 6, "name": "bid_strategy_type", "comment": null}, "destination_url": {"type": "STRING", "index": 7, "name": "destination_url", "comment": null}, "editorial_appeal_status": {"type": "STRING", "index": 8, "name": "editorial_appeal_status", "comment": null}, "editorial_location": {"type": "STRING", "index": 9, "name": "editorial_location", "comment": null}, "editorial_reason_code": {"type": "STRING", "index": 10, "name": "editorial_reason_code", "comment": null}, "editorial_status": {"type": "STRING", "index": 11, "name": "editorial_status", "comment": null}, "editorial_term": {"type": "STRING", "index": 12, "name": "editorial_term", "comment": null}, "final_url": {"type": "STRING", "index": 13, "name": "final_url", "comment": null}, "inherited_bid_strategy_type": {"type": "STRING", "index": 14, "name": "inherited_bid_strategy_type", "comment": null}, "language": {"type": "STRING", "index": 15, "name": "language", "comment": null}, "match_type": {"type": "STRING", "index": 16, "name": "match_type", "comment": null}, "mobile_final_url": {"type": "STRING", "index": 17, "name": "mobile_final_url", "comment": null}, "name": {"type": "STRING", "index": 18, "name": "name", "comment": null}, "param_1": {"type": "STRING", "index": 19, "name": "param_1", "comment": null}, "param_2": {"type": "STRING", "index": 20, "name": "param_2", "comment": null}, "param_3": {"type": "STRING", "index": 21, "name": "param_3", "comment": null}, "status": {"type": "STRING", "index": 22, "name": "status", "comment": null}, "tracking_template": {"type": "STRING", "index": 23, "name": "tracking_template", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 135246.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1075.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_history"}, "source.microsoft_ads_source.microsoft_ads.account_history": {"metadata": {"type": "table", "schema": "bingads", "name": "account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_financial_status": {"type": "STRING", "index": 4, "name": "account_financial_status", "comment": null}, "account_life_cycle_status": {"type": "STRING", "index": 5, "name": "account_life_cycle_status", "comment": null}, "auto_tag_type": {"type": "STRING", "index": 6, "name": "auto_tag_type", "comment": null}, "back_up_payment_instrument_id": {"type": "INT64", "index": 7, "name": "back_up_payment_instrument_id", "comment": null}, "bill_to_customer_id": {"type": "INT64", "index": 8, "name": "bill_to_customer_id", "comment": null}, "billing_threshold_amount": {"type": "FLOAT64", "index": 9, "name": "billing_threshold_amount", "comment": null}, "business_address_city": {"type": "STRING", "index": 10, "name": "business_address_city", "comment": null}, "business_address_country_code": {"type": "STRING", "index": 11, "name": "business_address_country_code", "comment": null}, "business_address_id": {"type": "INT64", "index": 12, "name": "business_address_id", "comment": null}, "business_address_line_1": {"type": "STRING", "index": 13, "name": "business_address_line_1", "comment": null}, "business_address_line_2": {"type": "STRING", "index": 14, "name": "business_address_line_2", "comment": null}, "business_address_line_3": {"type": "STRING", "index": 15, "name": "business_address_line_3", "comment": null}, "business_address_line_4": {"type": "STRING", "index": 16, "name": "business_address_line_4", "comment": null}, "business_address_postal_code": {"type": "STRING", "index": 17, "name": "business_address_postal_code", "comment": null}, "business_address_state_or_province": {"type": "STRING", "index": 18, "name": "business_address_state_or_province", "comment": null}, "business_name": {"type": "STRING", "index": 19, "name": "business_name", "comment": null}, "currency_code": {"type": "STRING", "index": 20, "name": "currency_code", "comment": null}, "language": {"type": "STRING", "index": 21, "name": "language", "comment": null}, "last_modified_by_user_id": {"type": "INT64", "index": 22, "name": "last_modified_by_user_id", "comment": null}, "name": {"type": "STRING", "index": 23, "name": "name", "comment": null}, "number": {"type": "STRING", "index": 24, "name": "number", "comment": null}, "parent_customer_id": {"type": "INT64", "index": 25, "name": "parent_customer_id", "comment": null}, "pause_reason": {"type": "INT64", "index": 26, "name": "pause_reason", "comment": null}, "payment_method_id": {"type": "INT64", "index": 27, "name": "payment_method_id", "comment": null}, "payment_method_type": {"type": "STRING", "index": 28, "name": "payment_method_type", "comment": null}, "primary_user_id": {"type": "INT64", "index": 29, "name": "primary_user_id", "comment": null}, "sales_house_customer_id": {"type": "INT64", "index": 30, "name": "sales_house_customer_id", "comment": null}, "sold_to_payment_instrument_id": {"type": "INT64", "index": 31, "name": "sold_to_payment_instrument_id", "comment": null}, "time_zone": {"type": "STRING", "index": 32, "name": "time_zone", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 713.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.account_history"}, "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": {"metadata": {"type": "table", "schema": "bingads", "name": "campaign_performance_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_distribution": {"type": "STRING", "index": 2, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 3, "name": "bid_match_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "date": {"type": "DATE", "index": 6, "name": "date", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 7, "name": "delivered_match_type", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "top_vs_other": {"type": "STRING", "index": 11, "name": "top_vs_other", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 12, "name": "_fivetran_synced", "comment": null}, "ad_relevance": {"type": "INT64", "index": 13, "name": "ad_relevance", "comment": null}, "all_conversion_rate": {"type": "STRING", "index": 14, "name": "all_conversion_rate", "comment": null}, "all_conversions": {"type": "INT64", "index": 15, "name": "all_conversions", "comment": null}, "all_return_on_ad_spend": {"type": "FLOAT64", "index": 16, "name": "all_return_on_ad_spend", "comment": null}, "all_revenue": {"type": "FLOAT64", "index": 17, "name": "all_revenue", "comment": null}, "assists": {"type": "INT64", "index": 18, "name": "assists", "comment": null}, "average_cpc": {"type": "FLOAT64", "index": 19, "name": "average_cpc", "comment": null}, "average_position": {"type": "FLOAT64", "index": 20, "name": "average_position", "comment": null}, "budget_association_status": {"type": "STRING", "index": 21, "name": "budget_association_status", "comment": null}, "clicks": {"type": "INT64", "index": 22, "name": "clicks", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 23, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 24, "name": "conversions", "comment": null}, "ctr": {"type": "FLOAT64", "index": 25, "name": "ctr", "comment": null}, "expected_ctr": {"type": "INT64", "index": 26, "name": "expected_ctr", "comment": null}, "historical_ad_relevance": {"type": "INT64", "index": 27, "name": "historical_ad_relevance", "comment": null}, "historical_expected_ctr": {"type": "INT64", "index": 28, "name": "historical_expected_ctr", "comment": null}, "historical_landing_page_experience": {"type": "INT64", "index": 29, "name": "historical_landing_page_experience", "comment": null}, "historical_quality_score": {"type": "INT64", "index": 30, "name": "historical_quality_score", "comment": null}, "impressions": {"type": "INT64", "index": 31, "name": "impressions", "comment": null}, "landing_page_experience": {"type": "INT64", "index": 32, "name": "landing_page_experience", "comment": null}, "low_quality_clicks": {"type": "INT64", "index": 33, "name": "low_quality_clicks", "comment": null}, "low_quality_clicks_percent": {"type": "FLOAT64", "index": 34, "name": "low_quality_clicks_percent", "comment": null}, "low_quality_conversion_rate": {"type": "FLOAT64", "index": 35, "name": "low_quality_conversion_rate", "comment": null}, "low_quality_conversions": {"type": "INT64", "index": 36, "name": "low_quality_conversions", "comment": null}, "low_quality_general_clicks": {"type": "INT64", "index": 37, "name": "low_quality_general_clicks", "comment": null}, "low_quality_impressions": {"type": "INT64", "index": 38, "name": "low_quality_impressions", "comment": null}, "low_quality_impressions_percent": {"type": "FLOAT64", "index": 39, "name": "low_quality_impressions_percent", "comment": null}, "low_quality_sophisticated_clicks": {"type": "INT64", "index": 40, "name": "low_quality_sophisticated_clicks", "comment": null}, "phone_calls": {"type": "INT64", "index": 41, "name": "phone_calls", "comment": null}, "phone_impressions": {"type": "INT64", "index": 42, "name": "phone_impressions", "comment": null}, "ptr": {"type": "FLOAT64", "index": 43, "name": "ptr", "comment": null}, "quality_score": {"type": "INT64", "index": 44, "name": "quality_score", "comment": null}, "return_on_ad_spend": {"type": "FLOAT64", "index": 45, "name": "return_on_ad_spend", "comment": null}, "revenue": {"type": "FLOAT64", "index": 46, "name": "revenue", "comment": null}, "spend": {"type": "FLOAT64", "index": 47, "name": "spend", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 48, "name": "view_through_conversions", "comment": null}, "campaign_name": {"type": "STRING", "index": 49, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 50, "name": "campaign_status", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4468627.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 12245.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report"}, "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": {"metadata": {"type": "table", "schema": "bingads", "name": "keyword_performance_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_distribution": {"type": "STRING", "index": 2, "name": "ad_distribution", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 4, "name": "ad_id", "comment": null}, "bid_match_type": {"type": "STRING", "index": 5, "name": "bid_match_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 7, "name": "currency_code", "comment": null}, "date": {"type": "DATE", "index": 8, "name": "date", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 9, "name": "delivered_match_type", "comment": null}, "device_os": {"type": "STRING", "index": 10, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 11, "name": "device_type", "comment": null}, "keyword_id": {"type": "INT64", "index": 12, "name": "keyword_id", "comment": null}, "language": {"type": "STRING", "index": 13, "name": "language", "comment": null}, "network": {"type": "STRING", "index": 14, "name": "network", "comment": null}, "top_vs_other": {"type": "STRING", "index": 15, "name": "top_vs_other", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 16, "name": "_fivetran_synced", "comment": null}, "ad_relevance": {"type": "INT64", "index": 17, "name": "ad_relevance", "comment": null}, "all_conversion_rate": {"type": "STRING", "index": 18, "name": "all_conversion_rate", "comment": null}, "all_conversions": {"type": "INT64", "index": 19, "name": "all_conversions", "comment": null}, "all_return_on_ad_spend": {"type": "FLOAT64", "index": 20, "name": "all_return_on_ad_spend", "comment": null}, "all_revenue": {"type": "FLOAT64", "index": 21, "name": "all_revenue", "comment": null}, "assists": {"type": "INT64", "index": 22, "name": "assists", "comment": null}, "average_cpc": {"type": "FLOAT64", "index": 23, "name": "average_cpc", "comment": null}, "average_position": {"type": "FLOAT64", "index": 24, "name": "average_position", "comment": null}, "clicks": {"type": "INT64", "index": 25, "name": "clicks", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 26, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 27, "name": "conversions", "comment": null}, "ctr": {"type": "FLOAT64", "index": 28, "name": "ctr", "comment": null}, "current_max_cpc": {"type": "FLOAT64", "index": 29, "name": "current_max_cpc", "comment": null}, "expected_ctr": {"type": "INT64", "index": 30, "name": "expected_ctr", "comment": null}, "historical_ad_relevance": {"type": "INT64", "index": 31, "name": "historical_ad_relevance", "comment": null}, "historical_expected_ctr": {"type": "INT64", "index": 32, "name": "historical_expected_ctr", "comment": null}, "historical_landing_page_experience": {"type": "INT64", "index": 33, "name": "historical_landing_page_experience", "comment": null}, "historical_quality_score": {"type": "INT64", "index": 34, "name": "historical_quality_score", "comment": null}, "impressions": {"type": "INT64", "index": 35, "name": "impressions", "comment": null}, "landing_page_experience": {"type": "INT64", "index": 36, "name": "landing_page_experience", "comment": null}, "quality_impact": {"type": "INT64", "index": 37, "name": "quality_impact", "comment": null}, "quality_score": {"type": "INT64", "index": 38, "name": "quality_score", "comment": null}, "return_on_ad_spend": {"type": "FLOAT64", "index": 39, "name": "return_on_ad_spend", "comment": null}, "revenue": {"type": "FLOAT64", "index": 40, "name": "revenue", "comment": null}, "spend": {"type": "FLOAT64", "index": 41, "name": "spend", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 42, "name": "view_through_conversions", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7409920.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 21464.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report"}, "source.microsoft_ads_source.microsoft_ads.campaign_history": {"metadata": {"type": "table", "schema": "bingads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 2, "name": "modified_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "bid_adjustment": {"type": "FLOAT64", "index": 5, "name": "bid_adjustment", "comment": null}, "bid_strategy_max_cpc": {"type": "FLOAT64", "index": 6, "name": "bid_strategy_max_cpc", "comment": null}, "bid_strategy_target_cpa": {"type": "FLOAT64", "index": 7, "name": "bid_strategy_target_cpa", "comment": null}, "bid_strategy_type": {"type": "STRING", "index": 8, "name": "bid_strategy_type", "comment": null}, "budget": {"type": "FLOAT64", "index": 9, "name": "budget", "comment": null}, "budget_id": {"type": "INT64", "index": 10, "name": "budget_id", "comment": null}, "country_code": {"type": "STRING", "index": 11, "name": "country_code", "comment": null}, "domain_language": {"type": "STRING", "index": 12, "name": "domain_language", "comment": null}, "language": {"type": "STRING", "index": 13, "name": "language", "comment": null}, "local_inventory_ads_enabled": {"type": "BOOL", "index": 14, "name": "local_inventory_ads_enabled", "comment": null}, "name": {"type": "STRING", "index": 15, "name": "name", "comment": null}, "priority": {"type": "INT64", "index": 16, "name": "priority", "comment": null}, "status": {"type": "STRING", "index": 17, "name": "status", "comment": null}, "store_id": {"type": "INT64", "index": 18, "name": "store_id", "comment": null}, "sub_type": {"type": "STRING", "index": 19, "name": "sub_type", "comment": null}, "time_zone": {"type": "STRING", "index": 20, "name": "time_zone", "comment": null}, "tracking_template": {"type": "STRING", "index": 21, "name": "tracking_template", "comment": null}, "type": {"type": "STRING", "index": 22, "name": "type", "comment": null}, "website": {"type": "STRING", "index": 23, "name": "website", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 5882.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 28.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_history"}, "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": {"metadata": {"type": "table", "schema": "bingads", "name": "ad_group_performance_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_distribution": {"type": "STRING", "index": 2, "name": "ad_distribution", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "bid_match_type": {"type": "STRING", "index": 4, "name": "bid_match_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "date": {"type": "DATE", "index": 7, "name": "date", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 8, "name": "delivered_match_type", "comment": null}, "device_os": {"type": "STRING", "index": 9, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 10, "name": "device_type", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "network": {"type": "STRING", "index": 12, "name": "network", "comment": null}, "top_vs_other": {"type": "STRING", "index": 13, "name": "top_vs_other", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 14, "name": "_fivetran_synced", "comment": null}, "ad_relevance": {"type": "INT64", "index": 15, "name": "ad_relevance", "comment": null}, "all_conversion_rate": {"type": "STRING", "index": 16, "name": "all_conversion_rate", "comment": null}, "all_conversions": {"type": "INT64", "index": 17, "name": "all_conversions", "comment": null}, "all_return_on_ad_spend": {"type": "FLOAT64", "index": 18, "name": "all_return_on_ad_spend", "comment": null}, "all_revenue": {"type": "FLOAT64", "index": 19, "name": "all_revenue", "comment": null}, "assists": {"type": "INT64", "index": 20, "name": "assists", "comment": null}, "average_cpc": {"type": "FLOAT64", "index": 21, "name": "average_cpc", "comment": null}, "average_position": {"type": "FLOAT64", "index": 22, "name": "average_position", "comment": null}, "clicks": {"type": "INT64", "index": 23, "name": "clicks", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 24, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 25, "name": "conversions", "comment": null}, "ctr": {"type": "FLOAT64", "index": 26, "name": "ctr", "comment": null}, "expected_ctr": {"type": "INT64", "index": 27, "name": "expected_ctr", "comment": null}, "historical_ad_relevance": {"type": "INT64", "index": 28, "name": "historical_ad_relevance", "comment": null}, "historical_expected_ctr": {"type": "INT64", "index": 29, "name": "historical_expected_ctr", "comment": null}, "historical_landing_page_experience": {"type": "INT64", "index": 30, "name": "historical_landing_page_experience", "comment": null}, "historical_quality_score": {"type": "INT64", "index": 31, "name": "historical_quality_score", "comment": null}, "impressions": {"type": "INT64", "index": 32, "name": "impressions", "comment": null}, "landing_page_experience": {"type": "INT64", "index": 33, "name": "landing_page_experience", "comment": null}, "phone_calls": {"type": "INT64", "index": 34, "name": "phone_calls", "comment": null}, "phone_impressions": {"type": "INT64", "index": 35, "name": "phone_impressions", "comment": null}, "ptr": {"type": "FLOAT64", "index": 36, "name": "ptr", "comment": null}, "quality_score": {"type": "INT64", "index": 37, "name": "quality_score", "comment": null}, "return_on_ad_spend": {"type": "FLOAT64", "index": 38, "name": "return_on_ad_spend", "comment": null}, "revenue": {"type": "FLOAT64", "index": 39, "name": "revenue", "comment": null}, "spend": {"type": "FLOAT64", "index": 40, "name": "spend", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 41, "name": "view_through_conversions", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3617436.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 10951.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report"}, "source.facebook_ads_source.facebook_ads.account_history": {"metadata": {"type": "table", "schema": "facebook_ads", "name": "account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_status": {"type": "STRING", "index": 3, "name": "account_status", "comment": null}, "age": {"type": "FLOAT64", "index": 4, "name": "age", "comment": null}, "agency_client_declaration_agency_representing_client": {"type": "INT64", "index": 5, "name": "agency_client_declaration_agency_representing_client", "comment": null}, "agency_client_declaration_client_based_in_france": {"type": "INT64", "index": 6, "name": "agency_client_declaration_client_based_in_france", "comment": null}, "agency_client_declaration_client_city": {"type": "STRING", "index": 7, "name": "agency_client_declaration_client_city", "comment": null}, "agency_client_declaration_client_country_code": {"type": "STRING", "index": 8, "name": "agency_client_declaration_client_country_code", "comment": null}, "agency_client_declaration_client_email_address": {"type": "STRING", "index": 9, "name": "agency_client_declaration_client_email_address", "comment": null}, "agency_client_declaration_client_name": {"type": "STRING", "index": 10, "name": "agency_client_declaration_client_name", "comment": null}, "agency_client_declaration_client_postal_code": {"type": "STRING", "index": 11, "name": "agency_client_declaration_client_postal_code", "comment": null}, "agency_client_declaration_client_province": {"type": "STRING", "index": 12, "name": "agency_client_declaration_client_province", "comment": null}, "agency_client_declaration_client_street": {"type": "STRING", "index": 13, "name": "agency_client_declaration_client_street", "comment": null}, "agency_client_declaration_client_street_2": {"type": "STRING", "index": 14, "name": "agency_client_declaration_client_street_2", "comment": null}, "agency_client_declaration_has_written_mandate_from_advertiser": {"type": "INT64", "index": 15, "name": "agency_client_declaration_has_written_mandate_from_advertiser", "comment": null}, "agency_client_declaration_is_client_paying_invoices": {"type": "INT64", "index": 16, "name": "agency_client_declaration_is_client_paying_invoices", "comment": null}, "amount_spent": {"type": "INT64", "index": 17, "name": "amount_spent", "comment": null}, "balance": {"type": "INT64", "index": 18, "name": "balance", "comment": null}, "business_city": {"type": "STRING", "index": 19, "name": "business_city", "comment": null}, "business_country_code": {"type": "STRING", "index": 20, "name": "business_country_code", "comment": null}, "business_manager_created_by": {"type": "STRING", "index": 21, "name": "business_manager_created_by", "comment": null}, "business_manager_created_time": {"type": "TIMESTAMP", "index": 22, "name": "business_manager_created_time", "comment": null}, "business_manager_manager_id": {"type": "INT64", "index": 23, "name": "business_manager_manager_id", "comment": null}, "business_manager_name": {"type": "STRING", "index": 24, "name": "business_manager_name", "comment": null}, "business_manager_primary_page": {"type": "STRING", "index": 25, "name": "business_manager_primary_page", "comment": null}, "business_manager_timezone_id": {"type": "INT64", "index": 26, "name": "business_manager_timezone_id", "comment": null}, "business_manager_update_time": {"type": "TIMESTAMP", "index": 27, "name": "business_manager_update_time", "comment": null}, "business_manager_updated_by": {"type": "STRING", "index": 28, "name": "business_manager_updated_by", "comment": null}, "business_name": {"type": "STRING", "index": 29, "name": "business_name", "comment": null}, "business_state": {"type": "STRING", "index": 30, "name": "business_state", "comment": null}, "business_street": {"type": "STRING", "index": 31, "name": "business_street", "comment": null}, "business_street_2": {"type": "STRING", "index": 32, "name": "business_street_2", "comment": null}, "business_zip": {"type": "STRING", "index": 33, "name": "business_zip", "comment": null}, "can_create_brand_lift_study": {"type": "BOOL", "index": 34, "name": "can_create_brand_lift_study", "comment": null}, "capabilities": {"type": "STRING", "index": 35, "name": "capabilities", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 36, "name": "created_time", "comment": null}, "currency": {"type": "STRING", "index": 37, "name": "currency", "comment": null}, "disable_reason": {"type": "STRING", "index": 38, "name": "disable_reason", "comment": null}, "end_advertiser": {"type": "INT64", "index": 39, "name": "end_advertiser", "comment": null}, "end_advertiser_name": {"type": "STRING", "index": 40, "name": "end_advertiser_name", "comment": null}, "has_migrated_permissions": {"type": "BOOL", "index": 41, "name": "has_migrated_permissions", "comment": null}, "id": {"type": "INT64", "index": 42, "name": "id", "comment": null}, "io_number": {"type": "INT64", "index": 43, "name": "io_number", "comment": null}, "is_attribution_spec_system_default": {"type": "BOOL", "index": 44, "name": "is_attribution_spec_system_default", "comment": null}, "is_direct_deals_enabled": {"type": "BOOL", "index": 45, "name": "is_direct_deals_enabled", "comment": null}, "is_notifications_enabled": {"type": "BOOL", "index": 46, "name": "is_notifications_enabled", "comment": null}, "is_personal": {"type": "INT64", "index": 47, "name": "is_personal", "comment": null}, "is_prepay_account": {"type": "BOOL", "index": 48, "name": "is_prepay_account", "comment": null}, "is_tax_id_required": {"type": "BOOL", "index": 49, "name": "is_tax_id_required", "comment": null}, "media_agency": {"type": "INT64", "index": 50, "name": "media_agency", "comment": null}, "min_campaign_group_spend_cap": {"type": "INT64", "index": 51, "name": "min_campaign_group_spend_cap", "comment": null}, "min_daily_budget": {"type": "INT64", "index": 52, "name": "min_daily_budget", "comment": null}, "name": {"type": "STRING", "index": 53, "name": "name", "comment": null}, "next_bill_date": {"type": "TIMESTAMP", "index": 54, "name": "next_bill_date", "comment": null}, "offsite_pixels_tos_accepted": {"type": "BOOL", "index": 55, "name": "offsite_pixels_tos_accepted", "comment": null}, "owner": {"type": "INT64", "index": 56, "name": "owner", "comment": null}, "partner": {"type": "INT64", "index": 57, "name": "partner", "comment": null}, "salesforce_invoice_group_id": {"type": "STRING", "index": 58, "name": "salesforce_invoice_group_id", "comment": null}, "spend_cap": {"type": "INT64", "index": 59, "name": "spend_cap", "comment": null}, "tax_id": {"type": "STRING", "index": 60, "name": "tax_id", "comment": null}, "tax_id_status": {"type": "STRING", "index": 61, "name": "tax_id_status", "comment": null}, "tax_id_type": {"type": "STRING", "index": 62, "name": "tax_id_type", "comment": null}, "timezone_id": {"type": "INT64", "index": 63, "name": "timezone_id", "comment": null}, "timezone_name": {"type": "STRING", "index": 64, "name": "timezone_name", "comment": null}, "timezone_offset_hours_utc": {"type": "FLOAT64", "index": 65, "name": "timezone_offset_hours_utc", "comment": null}, "extended_credit_invoice_group_name": {"type": "STRING", "index": 66, "name": "extended_credit_invoice_group_name", "comment": null}, "extended_credit_invoice_group_id": {"type": "INT64", "index": 67, "name": "extended_credit_invoice_group_id", "comment": null}, "is_in_3_ds_authorization_enabled_market": {"type": "BOOL", "index": 68, "name": "is_in_3_ds_authorization_enabled_market", "comment": null}, "extended_credit_invoice_group_emails": {"type": "STRING", "index": 69, "name": "extended_credit_invoice_group_emails", "comment": null}, "extended_credit_invoice_group_auto_enroll": {"type": "BOOL", "index": 70, "name": "extended_credit_invoice_group_auto_enroll", "comment": null}, "is_in_middle_of_local_entity_migration": {"type": "BOOL", "index": 71, "name": "is_in_middle_of_local_entity_migration", "comment": null}, "extended_credit_invoice_group_customer_po_number": {"type": "STRING", "index": 72, "name": "extended_credit_invoice_group_customer_po_number", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 299675.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 57.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.account_history"}, "source.tiktok_ads_source.tiktok_ads.ad_history": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "adgroup_id": {"type": "INT64", "index": 4, "name": "adgroup_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 6, "name": "create_time", "comment": null}, "ad_name": {"type": "STRING", "index": 7, "name": "ad_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 8, "name": "call_to_action", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 10, "name": "opt_status", "comment": null}, "ad_text": {"type": "STRING", "index": 11, "name": "ad_text", "comment": null}, "video_id": {"type": "STRING", "index": 12, "name": "video_id", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "open_url": {"type": "INT64", "index": 14, "name": "open_url", "comment": null}, "landing_page_url": {"type": "STRING", "index": 15, "name": "landing_page_url", "comment": null}, "display_name": {"type": "STRING", "index": 16, "name": "display_name", "comment": null}, "profile_image": {"type": "INT64", "index": 17, "name": "profile_image", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 18, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 19, "name": "click_tracking_url", "comment": null}, "playable_url": {"type": "INT64", "index": 20, "name": "playable_url", "comment": null}, "is_aco": {"type": "BOOL", "index": 21, "name": "is_aco", "comment": null}, "is_creative_authorized": {"type": "BOOL", "index": 22, "name": "is_creative_authorized", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 23, "name": "is_new_structure", "comment": null}, "image_ids": {"type": "STRING", "index": 24, "name": "image_ids", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 25, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1144.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_history"}, "source.tiktok_ads_source.tiktok_ads.adgroup_history": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "adgroup_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 5, "name": "create_time", "comment": null}, "adgroup_name": {"type": "STRING", "index": 6, "name": "adgroup_name", "comment": null}, "placement_type": {"type": "STRING", "index": 7, "name": "placement_type", "comment": null}, "profile_image": {"type": "INT64", "index": 8, "name": "profile_image", "comment": null}, "landing_page_url": {"type": "INT64", "index": 9, "name": "landing_page_url", "comment": null}, "display_name": {"type": "INT64", "index": 10, "name": "display_name", "comment": null}, "app_type": {"type": "INT64", "index": 11, "name": "app_type", "comment": null}, "app_download_url": {"type": "INT64", "index": 12, "name": "app_download_url", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "external_action": {"type": "STRING", "index": 14, "name": "external_action", "comment": null}, "deep_external_action": {"type": "INT64", "index": 15, "name": "deep_external_action", "comment": null}, "creative_material_mode": {"type": "STRING", "index": 16, "name": "creative_material_mode", "comment": null}, "audience_type": {"type": "INT64", "index": 17, "name": "audience_type", "comment": null}, "gender": {"type": "STRING", "index": 18, "name": "gender", "comment": null}, "android_osv": {"type": "INT64", "index": 19, "name": "android_osv", "comment": null}, "ios_osv": {"type": "INT64", "index": 20, "name": "ios_osv", "comment": null}, "budget_mode": {"type": "STRING", "index": 21, "name": "budget_mode", "comment": null}, "schedule_type": {"type": "STRING", "index": 22, "name": "schedule_type", "comment": null}, "dayparting": {"type": "INT64", "index": 23, "name": "dayparting", "comment": null}, "optimize_goal": {"type": "STRING", "index": 24, "name": "optimize_goal", "comment": null}, "cpv_video_duration": {"type": "INT64", "index": 25, "name": "cpv_video_duration", "comment": null}, "pacing": {"type": "STRING", "index": 26, "name": "pacing", "comment": null}, "billing_event": {"type": "STRING", "index": 27, "name": "billing_event", "comment": null}, "bid_type": {"type": "STRING", "index": 28, "name": "bid_type", "comment": null}, "deep_bid_type": {"type": "INT64", "index": 29, "name": "deep_bid_type", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 30, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 31, "name": "click_tracking_url", "comment": null}, "status": {"type": "STRING", "index": 32, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 33, "name": "opt_status", "comment": null}, "statistic_type": {"type": "INT64", "index": 34, "name": "statistic_type", "comment": null}, "video_download": {"type": "STRING", "index": 35, "name": "video_download", "comment": null}, "open_url": {"type": "INT64", "index": 36, "name": "open_url", "comment": null}, "open_url_type": {"type": "INT64", "index": 37, "name": "open_url_type", "comment": null}, "fallback_type": {"type": "INT64", "index": 38, "name": "fallback_type", "comment": null}, "budget": {"type": "INT64", "index": 39, "name": "budget", "comment": null}, "bid": {"type": "INT64", "index": 40, "name": "bid", "comment": null}, "conversion_bid": {"type": "INT64", "index": 41, "name": "conversion_bid", "comment": null}, "deep_cpabid": {"type": "INT64", "index": 42, "name": "deep_cpabid", "comment": null}, "schedule_start_time": {"type": "STRING", "index": 43, "name": "schedule_start_time", "comment": null}, "schedule_end_time": {"type": "STRING", "index": 44, "name": "schedule_end_time", "comment": null}, "app_id": {"type": "INT64", "index": 45, "name": "app_id", "comment": null}, "pixel_id": {"type": "INT64", "index": 46, "name": "pixel_id", "comment": null}, "enable_inventory_filter": {"type": "BOOL", "index": 47, "name": "enable_inventory_filter", "comment": null}, "is_hfss": {"type": "BOOL", "index": 48, "name": "is_hfss", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 49, "name": "is_new_structure", "comment": null}, "category": {"type": "INT64", "index": 50, "name": "category", "comment": null}, "is_comment_disable": {"type": "INT64", "index": 51, "name": "is_comment_disable", "comment": null}, "skip_learning_phase": {"type": "INT64", "index": 52, "name": "skip_learning_phase", "comment": null}, "frequency": {"type": "INT64", "index": 53, "name": "frequency", "comment": null}, "frequency_schedule": {"type": "INT64", "index": 54, "name": "frequency_schedule", "comment": null}, "action_days": {"type": "INT64", "index": 55, "name": "action_days", "comment": null}, "audience": {"type": "STRING", "index": 56, "name": "audience", "comment": null}, "excluded_audience": {"type": "STRING", "index": 57, "name": "excluded_audience", "comment": null}, "location": {"type": "STRING", "index": 58, "name": "location", "comment": null}, "interest_category_v_2": {"type": "STRING", "index": 59, "name": "interest_category_v_2", "comment": null}, "pangle_block_app_list_id": {"type": "STRING", "index": 60, "name": "pangle_block_app_list_id", "comment": null}, "action_categories": {"type": "STRING", "index": 61, "name": "action_categories", "comment": null}, "placement": {"type": "STRING", "index": 62, "name": "placement", "comment": null}, "keywords": {"type": "INT64", "index": 63, "name": "keywords", "comment": null}, "age": {"type": "STRING", "index": 64, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 65, "name": "languages", "comment": null}, "operation_system": {"type": "STRING", "index": 66, "name": "operation_system", "comment": null}, "connection_type": {"type": "STRING", "index": 67, "name": "connection_type", "comment": null}, "carriers": {"type": "STRING", "index": 68, "name": "carriers", "comment": null}, "video_actions": {"type": "STRING", "index": 69, "name": "video_actions", "comment": null}, "package": {"type": "INT64", "index": 70, "name": "package", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 71, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2647.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_history"}, "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "ad_report_hourly", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "INT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "INT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "INT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "INT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "INT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1344.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_report_hourly"}, "source.tiktok_ads_source.tiktok_ads.advertiser": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "advertiser", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "address": {"type": "STRING", "index": 3, "name": "address", "comment": null}, "company": {"type": "STRING", "index": 4, "name": "company", "comment": null}, "contacter": {"type": "INT64", "index": 5, "name": "contacter", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "description": {"type": "STRING", "index": 8, "name": "description", "comment": null}, "email": {"type": "STRING", "index": 9, "name": "email", "comment": null}, "industry": {"type": "INT64", "index": 10, "name": "industry", "comment": null}, "license_no": {"type": "INT64", "index": 11, "name": "license_no", "comment": null}, "license_url": {"type": "INT64", "index": 12, "name": "license_url", "comment": null}, "promotion_area": {"type": "INT64", "index": 13, "name": "promotion_area", "comment": null}, "reason": {"type": "INT64", "index": 14, "name": "reason", "comment": null}, "role": {"type": "STRING", "index": 15, "name": "role", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "telephone": {"type": "INT64", "index": 17, "name": "telephone", "comment": null}, "timezone": {"type": "STRING", "index": 18, "name": "timezone", "comment": null}, "balance": {"type": "FLOAT64", "index": 19, "name": "balance", "comment": null}, "create_time": {"type": "STRING", "index": 20, "name": "create_time", "comment": null}, "language": {"type": "STRING", "index": 21, "name": "language", "comment": null}, "phone_number": {"type": "STRING", "index": 22, "name": "phone_number", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 23, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 463.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.advertiser"}, "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "adgroup_report_hourly", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1344.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly"}, "source.tiktok_ads_source.tiktok_ads.campaign_history": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "budget": {"type": "INT64", "index": 6, "name": "budget", "comment": null}, "budget_mode": {"type": "STRING", "index": 7, "name": "budget_mode", "comment": null}, "opt_status": {"type": "STRING", "index": 8, "name": "opt_status", "comment": null}, "objective_type": {"type": "STRING", "index": 9, "name": "objective_type", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 10, "name": "is_new_structure", "comment": null}, "split_test_variable": {"type": "INT64", "index": 11, "name": "split_test_variable", "comment": null}, "create_time": {"type": "STRING", "index": 12, "name": "create_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 13, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 775.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_history"}, "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": {"metadata": {"type": "table", "schema": "tiktok_ads", "name": "campaign_report_hourly", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1344.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly"}, "source.pinterest_source.pinterest_ads.advertiser_history": {"metadata": {"type": "table", "schema": "pinterest_ads", "name": "advertiser_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_time": {"type": "DATETIME", "index": 2, "name": "updated_time", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "owner_user_id": {"type": "INT64", "index": 4, "name": "owner_user_id", "comment": null}, "test_account": {"type": "BOOL", "index": 5, "name": "test_account", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "country": {"type": "STRING", "index": 7, "name": "country", "comment": null}, "created_time": {"type": "DATETIME", "index": 8, "name": "created_time", "comment": null}, "is_one_tap": {"type": "BOOL", "index": 9, "name": "is_one_tap", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 10, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 330.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.advertiser_history"}, "source.pinterest_source.pinterest_ads.pin_promotion_history": {"metadata": {"type": "table", "schema": "pinterest_ads", "name": "pin_promotion_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ID": {"type": "INT64", "index": 1, "name": "ID", "comment": null}, "AD_GROUP_ID": {"type": "INT64", "index": 2, "name": "AD_GROUP_ID", "comment": null}, "CREATED_TIME": {"type": "STRING", "index": 3, "name": "CREATED_TIME", "comment": null}, "DESTINATION_URL": {"type": "STRING", "index": 4, "name": "DESTINATION_URL", "comment": null}, "NAME": {"type": "STRING", "index": 5, "name": "NAME", "comment": null}, "PIN_ID": {"type": "INT64", "index": 6, "name": "PIN_ID", "comment": null}, "STATUS": {"type": "STRING", "index": 7, "name": "STATUS", "comment": null}, "CREATIVE_TYPE": {"type": "STRING", "index": 8, "name": "CREATIVE_TYPE", "comment": null}, "_FIVETRAN_SYNCED": {"type": "STRING", "index": 9, "name": "_FIVETRAN_SYNCED", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3204.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 18.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_history"}, "source.pinterest_source.pinterest_ads.ad_group_history": {"metadata": {"type": "table", "schema": "pinterest_ads", "name": "ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ID": {"type": "INT64", "index": 1, "name": "ID", "comment": null}, "CAMPAIGN_ID": {"type": "INT64", "index": 2, "name": "CAMPAIGN_ID", "comment": null}, "CREATED_TIME": {"type": "STRING", "index": 3, "name": "CREATED_TIME", "comment": null}, "NAME": {"type": "STRING", "index": 4, "name": "NAME", "comment": null}, "STATUS": {"type": "STRING", "index": 5, "name": "STATUS", "comment": null}, "START_TIME": {"type": "STRING", "index": 6, "name": "START_TIME", "comment": null}, "END_TIME": {"type": "INT64", "index": 7, "name": "END_TIME", "comment": null}, "_FIVETRAN_SYNCED": {"type": "STRING", "index": 8, "name": "_FIVETRAN_SYNCED", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 604.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.ad_group_history"}, "source.pinterest_source.pinterest_ads.pin_promotion_report": {"metadata": {"type": "table", "schema": "pinterest_ads", "name": "pin_promotion_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"DATE": {"type": "DATETIME", "index": 1, "name": "DATE", "comment": null}, "PIN_PROMOTION_ID": {"type": "INT64", "index": 2, "name": "PIN_PROMOTION_ID", "comment": null}, "AD_GROUP_ID": {"type": "INT64", "index": 3, "name": "AD_GROUP_ID", "comment": null}, "CAMPAIGN_ID": {"type": "INT64", "index": 4, "name": "CAMPAIGN_ID", "comment": null}, "ADVERTISER_ID": {"type": "INT64", "index": 5, "name": "ADVERTISER_ID", "comment": null}, "_FIVETRAN_SYNCED": {"type": "STRING", "index": 6, "name": "_FIVETRAN_SYNCED", "comment": null}, "IMPRESSION_1": {"type": "INT64", "index": 7, "name": "IMPRESSION_1", "comment": null}, "IMPRESSION_2": {"type": "INT64", "index": 8, "name": "IMPRESSION_2", "comment": null}, "CLICKTHROUGH_1": {"type": "INT64", "index": 9, "name": "CLICKTHROUGH_1", "comment": null}, "CLICKTHROUGH_2": {"type": "INT64", "index": 10, "name": "CLICKTHROUGH_2", "comment": null}, "SPEND_IN_MICRO_DOLLAR": {"type": "INT64", "index": 11, "name": "SPEND_IN_MICRO_DOLLAR", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9108.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_report"}, "source.pinterest_source.pinterest_ads.campaign_history": {"metadata": {"type": "table", "schema": "pinterest_ads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ID": {"type": "INT64", "index": 1, "name": "ID", "comment": null}, "CREATED_TIME": {"type": "DATETIME", "index": 2, "name": "CREATED_TIME", "comment": null}, "NAME": {"type": "STRING", "index": 3, "name": "NAME", "comment": null}, "STATUS": {"type": "STRING", "index": 4, "name": "STATUS", "comment": null}, "_FIVETRAN_SYNCED": {"type": "STRING", "index": 5, "name": "_FIVETRAN_SYNCED", "comment": null}, "ADVERTISER_ID": {"type": "INT64", "index": 6, "name": "ADVERTISER_ID", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 91.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.campaign_history"}, "source.snapchat_ads_source.snapchat_ads.campaign_history": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_account_id": {"type": "STRING", "index": 4, "name": "ad_account_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "daily_budget_micro": {"type": "INT64", "index": 6, "name": "daily_budget_micro", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 7, "name": "end_time", "comment": null}, "lifetime_spend_cap_micro": {"type": "INT64", "index": 8, "name": "lifetime_spend_cap_micro", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 10, "name": "objective", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 11, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 12, "name": "status", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 165.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_history"}, "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "campaign_hourly_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "STRING", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_frequency": {"type": "INT64", "index": 6, "name": "attachment_frequency", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 7, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 8, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 9, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 10, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_uniques": {"type": "INT64", "index": 11, "name": "attachment_uniques", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 12, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 13, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 14, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 15, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 16, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 17, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 18, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 19, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 20, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 21, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 22, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 23, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 24, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 25, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 26, "name": "conversion_view_content", "comment": null}, "frequency": {"type": "INT64", "index": 27, "name": "frequency", "comment": null}, "impressions": {"type": "INT64", "index": 28, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 29, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 30, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 31, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 32, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 33, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 34, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 35, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 37, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 38, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 39, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 40, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 41, "name": "total_installs", "comment": null}, "uniques": {"type": "INT64", "index": 42, "name": "uniques", "comment": null}, "video_views": {"type": "INT64", "index": 43, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 44, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 45, "name": "view_time_millis", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1039056.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2904.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report"}, "source.snapchat_ads_source.snapchat_ads.creative_history": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "creative_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_account_id": {"type": "STRING", "index": 4, "name": "ad_account_id", "comment": null}, "ad_product": {"type": "STRING", "index": 5, "name": "ad_product", "comment": null}, "app_install_android_app_url": {"type": "STRING", "index": 6, "name": "app_install_android_app_url", "comment": null}, "app_install_app_name": {"type": "STRING", "index": 7, "name": "app_install_app_name", "comment": null}, "app_install_icon_media_id": {"type": "STRING", "index": 8, "name": "app_install_icon_media_id", "comment": null}, "app_install_ios_app_id": {"type": "STRING", "index": 9, "name": "app_install_ios_app_id", "comment": null}, "attachment_type": {"type": "STRING", "index": 10, "name": "attachment_type", "comment": null}, "brand_name": {"type": "STRING", "index": 11, "name": "brand_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 12, "name": "call_to_action", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 13, "name": "created_at", "comment": null}, "deep_link_android_app_url": {"type": "STRING", "index": 14, "name": "deep_link_android_app_url", "comment": null}, "deep_link_app_name": {"type": "STRING", "index": 15, "name": "deep_link_app_name", "comment": null}, "deep_link_icon_media_id": {"type": "STRING", "index": 16, "name": "deep_link_icon_media_id", "comment": null}, "deep_link_ios_app_id": {"type": "STRING", "index": 17, "name": "deep_link_ios_app_id", "comment": null}, "deep_link_uri": {"type": "STRING", "index": 18, "name": "deep_link_uri", "comment": null}, "headline": {"type": "STRING", "index": 19, "name": "headline", "comment": null}, "longform_video_media_id": {"type": "STRING", "index": 20, "name": "longform_video_media_id", "comment": null}, "name": {"type": "STRING", "index": 21, "name": "name", "comment": null}, "packaging_status": {"type": "STRING", "index": 22, "name": "packaging_status", "comment": null}, "playback_type": {"type": "STRING", "index": 23, "name": "playback_type", "comment": null}, "preview_creative_id": {"type": "STRING", "index": 24, "name": "preview_creative_id", "comment": null}, "review_status": {"type": "STRING", "index": 25, "name": "review_status", "comment": null}, "shareable": {"type": "BOOL", "index": 26, "name": "shareable", "comment": null}, "top_snap_crop_position": {"type": "STRING", "index": 27, "name": "top_snap_crop_position", "comment": null}, "top_snap_media_id": {"type": "STRING", "index": 28, "name": "top_snap_media_id", "comment": null}, "type": {"type": "STRING", "index": 29, "name": "type", "comment": null}, "web_view_allow_snap_javascript_sdk": {"type": "BOOL", "index": 30, "name": "web_view_allow_snap_javascript_sdk", "comment": null}, "web_view_block_preload": {"type": "BOOL", "index": 31, "name": "web_view_block_preload", "comment": null}, "web_view_url": {"type": "STRING", "index": 32, "name": "web_view_url", "comment": null}, "web_view_use_immersive_mode": {"type": "BOOL", "index": 33, "name": "web_view_use_immersive_mode", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 342.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_history"}, "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "ad_hourly_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "STRING", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_frequency": {"type": "INT64", "index": 6, "name": "attachment_frequency", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 7, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 8, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 9, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 10, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_uniques": {"type": "INT64", "index": 11, "name": "attachment_uniques", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 12, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 13, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 14, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 15, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 16, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 17, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 18, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 19, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 20, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 21, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 22, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 23, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 24, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 25, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 26, "name": "conversion_view_content", "comment": null}, "frequency": {"type": "INT64", "index": 27, "name": "frequency", "comment": null}, "impressions": {"type": "INT64", "index": 28, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 29, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 30, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 31, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 32, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 33, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 34, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 35, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 37, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 38, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 39, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 40, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 41, "name": "total_installs", "comment": null}, "uniques": {"type": "INT64", "index": 42, "name": "uniques", "comment": null}, "video_views": {"type": "INT64", "index": 43, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 44, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 45, "name": "view_time_millis", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 103104.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 288.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_hourly_report"}, "source.snapchat_ads_source.snapchat_ads.ad_account_history": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "ad_account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "advertiser": {"type": "STRING", "index": 4, "name": "advertiser", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "lifetime_spend_cap_micro": {"type": "INT64", "index": 7, "name": "lifetime_spend_cap_micro", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "organization_id": {"type": "STRING", "index": 9, "name": "organization_id", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "timezone": {"type": "STRING", "index": 11, "name": "timezone", "comment": null}, "type": {"type": "STRING", "index": 12, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1164.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 7.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_account_history"}, "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "ad_squad_hourly_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_squad_id": {"type": "STRING", "index": 1, "name": "ad_squad_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_frequency": {"type": "INT64", "index": 6, "name": "attachment_frequency", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 7, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 8, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 9, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 10, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_uniques": {"type": "INT64", "index": 11, "name": "attachment_uniques", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 12, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 13, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 14, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 15, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 16, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 17, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 18, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 19, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 20, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 21, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 22, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 23, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 24, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 25, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 26, "name": "conversion_view_content", "comment": null}, "frequency": {"type": "INT64", "index": 27, "name": "frequency", "comment": null}, "impressions": {"type": "INT64", "index": 28, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 29, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 30, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 31, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 32, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 33, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 34, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 35, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 37, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 38, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 39, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 40, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 41, "name": "total_installs", "comment": null}, "uniques": {"type": "INT64", "index": 42, "name": "uniques", "comment": null}, "video_views": {"type": "INT64", "index": 43, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 44, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 45, "name": "view_time_millis", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 103104.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 288.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report"}, "source.snapchat_ads_source.snapchat_ads.ad_history": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 4, "name": "ad_squad_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "creative_id": {"type": "STRING", "index": 6, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 7, "name": "name", "comment": null}, "review_status": {"type": "STRING", "index": 8, "name": "review_status", "comment": null}, "review_status_reason": {"type": "STRING", "index": 9, "name": "review_status_reason", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 205.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_history"}, "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "creative_url_tag_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "TIMESTAMP", "index": 1, "name": "_fivetran_synced", "comment": null}, "creative_id": {"type": "STRING", "index": 2, "name": "creative_id", "comment": null}, "key": {"type": "STRING", "index": 3, "name": "key", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 4, "name": "updated_at", "comment": null}, "value": {"type": "STRING", "index": 5, "name": "value", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history"}, "source.snapchat_ads_source.snapchat_ads.ad_squad_history": {"metadata": {"type": "table", "schema": "snapchat_ads", "name": "ad_squad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "audience_size_maximum": {"type": "INT64", "index": 4, "name": "audience_size_maximum", "comment": null}, "audience_size_minimum": {"type": "INT64", "index": 5, "name": "audience_size_minimum", "comment": null}, "auto_bid": {"type": "BOOL", "index": 6, "name": "auto_bid", "comment": null}, "bid_estimate_maximum": {"type": "INT64", "index": 7, "name": "bid_estimate_maximum", "comment": null}, "bid_estimate_minimum": {"type": "INT64", "index": 8, "name": "bid_estimate_minimum", "comment": null}, "bid_micro": {"type": "INT64", "index": 9, "name": "bid_micro", "comment": null}, "billing_event": {"type": "STRING", "index": 10, "name": "billing_event", "comment": null}, "campaign_id": {"type": "STRING", "index": 11, "name": "campaign_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 12, "name": "created_at", "comment": null}, "daily_budget_micro": {"type": "INT64", "index": 13, "name": "daily_budget_micro", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 14, "name": "end_time", "comment": null}, "lifetime_budget_micro": {"type": "INT64", "index": 15, "name": "lifetime_budget_micro", "comment": null}, "lifetime_spend_micro": {"type": "INT64", "index": 16, "name": "lifetime_spend_micro", "comment": null}, "name": {"type": "STRING", "index": 17, "name": "name", "comment": null}, "optimization_goal": {"type": "STRING", "index": 18, "name": "optimization_goal", "comment": null}, "placement": {"type": "STRING", "index": 19, "name": "placement", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 20, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 21, "name": "status", "comment": null}, "targeting_regulated_content": {"type": "BOOL", "index": 22, "name": "targeting_regulated_content", "comment": null}, "type": {"type": "STRING", "index": 23, "name": "type", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 214.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_history"}, "source.twitter_ads_source.twitter_ads.account_history": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 4, "name": "approval_status", "comment": null}, "business_id": {"type": "STRING", "index": 5, "name": "business_id", "comment": null}, "business_name": {"type": "STRING", "index": 6, "name": "business_name", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 8, "name": "deleted", "comment": null}, "industry_type": {"type": "STRING", "index": 9, "name": "industry_type", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "salt": {"type": "STRING", "index": 11, "name": "salt", "comment": null}, "timezone": {"type": "STRING", "index": 12, "name": "timezone", "comment": null}, "timezone_switch_at": {"type": "TIMESTAMP", "index": 13, "name": "timezone_switch_at", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3393.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 39.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.account_history"}, "source.twitter_ads_source.twitter_ads.tweet_url": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "tweet_url", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"index": {"type": "INT64", "index": 1, "name": "index", "comment": null}, "tweet_id": {"type": "STRING", "index": 2, "name": "tweet_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "display_url": {"type": "STRING", "index": 4, "name": "display_url", "comment": null}, "expanded_url": {"type": "STRING", "index": 5, "name": "expanded_url", "comment": null}, "indices": {"type": "STRING", "index": 6, "name": "indices", "comment": null}, "url": {"type": "STRING", "index": 7, "name": "url", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 205992.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1445.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.tweet_url"}, "source.twitter_ads_source.twitter_ads.promoted_tweet_history": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "promoted_tweet_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 4, "name": "approval_status", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "entity_status": {"type": "STRING", "index": 7, "name": "entity_status", "comment": null}, "line_item_id": {"type": "STRING", "index": 8, "name": "line_item_id", "comment": null}, "tweet_id": {"type": "STRING", "index": 9, "name": "tweet_id", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6159.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 78.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_history"}, "source.twitter_ads_source.twitter_ads.promoted_tweet_report": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "promoted_tweet_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "placement": {"type": "STRING", "index": 3, "name": "placement", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 4, "name": "promoted_tweet_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4257025.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2119.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_report"}, "source.twitter_ads_source.twitter_ads.campaign_history": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "daily_budget_amount_local_micro": {"type": "INT64", "index": 7, "name": "daily_budget_amount_local_micro", "comment": null}, "deleted": {"type": "BOOL", "index": 8, "name": "deleted", "comment": null}, "duration_in_days": {"type": "INT64", "index": 9, "name": "duration_in_days", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 11, "name": "entity_status", "comment": null}, "frequency_cap": {"type": "INT64", "index": 12, "name": "frequency_cap", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 13, "name": "funding_instrument_id", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "servable": {"type": "BOOL", "index": 15, "name": "servable", "comment": null}, "standard_delivery": {"type": "BOOL", "index": 16, "name": "standard_delivery", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 17, "name": "start_time", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 18, "name": "total_budget_amount_local_micro", "comment": null}, "budget_optimization": {"type": "STRING", "index": 19, "name": "budget_optimization", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 5857.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 52.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.campaign_history"}, "source.twitter_ads_source.twitter_ads.line_item_history": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "line_item_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "advertiser_domain": {"type": "STRING", "index": 4, "name": "advertiser_domain", "comment": null}, "advertiser_user_id": {"type": "INT64", "index": 5, "name": "advertiser_user_id", "comment": null}, "automatically_select_bid": {"type": "BOOL", "index": 6, "name": "automatically_select_bid", "comment": null}, "bid_amount_local_micro": {"type": "INT64", "index": 7, "name": "bid_amount_local_micro", "comment": null}, "bid_type": {"type": "STRING", "index": 8, "name": "bid_type", "comment": null}, "bid_unit": {"type": "STRING", "index": 9, "name": "bid_unit", "comment": null}, "campaign_id": {"type": "STRING", "index": 10, "name": "campaign_id", "comment": null}, "charge_by": {"type": "STRING", "index": 11, "name": "charge_by", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 12, "name": "created_at", "comment": null}, "creative_source": {"type": "STRING", "index": 13, "name": "creative_source", "comment": null}, "currency": {"type": "STRING", "index": 14, "name": "currency", "comment": null}, "deleted": {"type": "BOOL", "index": 15, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 16, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 17, "name": "entity_status", "comment": null}, "name": {"type": "STRING", "index": 18, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 19, "name": "objective", "comment": null}, "optimization": {"type": "STRING", "index": 20, "name": "optimization", "comment": null}, "primary_web_event_tag": {"type": "STRING", "index": 21, "name": "primary_web_event_tag", "comment": null}, "product_type": {"type": "STRING", "index": 22, "name": "product_type", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 23, "name": "start_time", "comment": null}, "target_cpa_local_micro": {"type": "INT64", "index": 24, "name": "target_cpa_local_micro", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 25, "name": "total_budget_amount_local_micro", "comment": null}, "bid_strategy": {"type": "STRING", "index": 26, "name": "bid_strategy", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7568.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 52.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.line_item_history"}, "source.twitter_ads_source.twitter_ads.campaign_report": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 3, "name": "date", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3137318.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1563.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.campaign_report"}, "source.twitter_ads_source.twitter_ads.line_item_keywords_report": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "line_item_keywords_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "segment": {"type": "STRING", "index": 5, "name": "segment", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 6, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 7, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 8, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 9, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 10, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 11, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 13, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 16, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 17, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 18, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 21, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 22, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 25, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 27, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 30, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 31, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 32, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 35, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 37, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 40, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 50, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 51, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 54, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 56, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 59, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 60, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 61, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 62, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 63, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 64, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 65, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 70, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 80, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 85, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 90, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 94, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 99, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 100, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 101, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 106, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 107, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 108, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 111, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 112, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 165, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 167, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 170, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 171, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 172, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 175, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 176, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 177, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 180, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 181, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 182, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 183, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 184, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 210, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 211, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 212, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 213, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 214, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 229, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 230, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 231, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 232, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 233, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 234, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 235, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 236, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 237, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 238, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 239, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 240, "name": "url_clicks", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 241, "name": "video_15_s_views", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 242, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 243, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 244, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 245, "name": "video_cta_clicks", "comment": null}, "video_total_views": {"type": "INT64", "index": 246, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 247, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 248, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 249, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 250, "name": "video_views_75", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10671329.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5285.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.line_item_keywords_report"}, "source.twitter_ads_source.twitter_ads.tweet": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "tweet", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "card_uri": {"type": "STRING", "index": 4, "name": "card_uri", "comment": null}, "coordinates_coordinates": {"type": "STRING", "index": 5, "name": "coordinates_coordinates", "comment": null}, "coordinates_type": {"type": "STRING", "index": 6, "name": "coordinates_type", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 7, "name": "created_at", "comment": null}, "favorite_count": {"type": "INT64", "index": 8, "name": "favorite_count", "comment": null}, "favorited": {"type": "BOOL", "index": 9, "name": "favorited", "comment": null}, "followers": {"type": "BOOL", "index": 10, "name": "followers", "comment": null}, "full_text": {"type": "STRING", "index": 11, "name": "full_text", "comment": null}, "geo_coordinates": {"type": "STRING", "index": 12, "name": "geo_coordinates", "comment": null}, "geo_type": {"type": "STRING", "index": 13, "name": "geo_type", "comment": null}, "in_reply_to_screen_name": {"type": "STRING", "index": 14, "name": "in_reply_to_screen_name", "comment": null}, "in_reply_to_status_id": {"type": "STRING", "index": 15, "name": "in_reply_to_status_id", "comment": null}, "in_reply_to_user_id": {"type": "STRING", "index": 16, "name": "in_reply_to_user_id", "comment": null}, "lang": {"type": "STRING", "index": 17, "name": "lang", "comment": null}, "media_key": {"type": "STRING", "index": 18, "name": "media_key", "comment": null}, "retweet_count": {"type": "INT64", "index": 19, "name": "retweet_count", "comment": null}, "retweeted": {"type": "BOOL", "index": 20, "name": "retweeted", "comment": null}, "source": {"type": "STRING", "index": 21, "name": "source", "comment": null}, "truncated": {"type": "BOOL", "index": 22, "name": "truncated", "comment": null}, "tweet_type": {"type": "STRING", "index": 23, "name": "tweet_type", "comment": null}, "user_id": {"type": "STRING", "index": 24, "name": "user_id", "comment": null}, "name": {"type": "STRING", "index": 25, "name": "name", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 780746.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2023.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.tweet"}, "source.twitter_ads_source.twitter_ads.line_item_report": {"metadata": {"type": "table", "schema": "twitter_ads", "name": "line_item_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3497214.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1741.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.line_item_report"}, "source.apple_search_ads_source.apple_search_ads.ad_group_report": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "avg_cpa_amount": {"type": "BIGNUMERIC", "index": 4, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 5, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "BIGNUMERIC", "index": 6, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 7, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "BIGNUMERIC", "index": 8, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 9, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 11, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 12, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "BIGNUMERIC", "index": 13, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 14, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 15, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 16, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 17, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 18, "name": "taps", "comment": null}, "avg_cpm_amount": {"type": "BIGNUMERIC", "index": 19, "name": "avg_cpm_amount", "comment": null}, "avg_cpm_currency": {"type": "STRING", "index": 20, "name": "avg_cpm_currency", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3807.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_report"}, "source.apple_search_ads_source.apple_search_ads.campaign_report": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "avg_cpa_amount": {"type": "BIGNUMERIC", "index": 4, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 5, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "BIGNUMERIC", "index": 6, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 7, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "BIGNUMERIC", "index": 8, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 9, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 11, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 12, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "BIGNUMERIC", "index": 13, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 14, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 15, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 16, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 17, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 18, "name": "taps", "comment": null}, "avg_cpm_amount": {"type": "BIGNUMERIC", "index": 19, "name": "avg_cpm_amount", "comment": null}, "avg_cpm_currency": {"type": "STRING", "index": 20, "name": "avg_cpm_currency", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3576.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_report"}, "source.apple_search_ads_source.apple_search_ads.campaign_history": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "adam_id": {"type": "INT64", "index": 4, "name": "adam_id", "comment": null}, "budget_amount": {"type": "BIGNUMERIC", "index": 5, "name": "budget_amount", "comment": null}, "budget_currency": {"type": "STRING", "index": 6, "name": "budget_currency", "comment": null}, "budget_orders": {"type": "STRING", "index": 7, "name": "budget_orders", "comment": null}, "daily_budget_amount": {"type": "BIGNUMERIC", "index": 8, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency": {"type": "STRING", "index": 9, "name": "daily_budget_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 10, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 11, "name": "end_time", "comment": null}, "loc_invoice_detail_buyer_email": {"type": "STRING", "index": 12, "name": "loc_invoice_detail_buyer_email", "comment": null}, "loc_invoice_detail_buyer_name": {"type": "STRING", "index": 13, "name": "loc_invoice_detail_buyer_name", "comment": null}, "loc_invoice_detail_client_name": {"type": "STRING", "index": 14, "name": "loc_invoice_detail_client_name", "comment": null}, "loc_invoice_detail_order_number": {"type": "STRING", "index": 15, "name": "loc_invoice_detail_order_number", "comment": null}, "name": {"type": "STRING", "index": 16, "name": "name", "comment": null}, "organization_id": {"type": "INT64", "index": 17, "name": "organization_id", "comment": null}, "payment_model": {"type": "STRING", "index": 18, "name": "payment_model", "comment": null}, "serving_state_reasons": {"type": "STRING", "index": 19, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 20, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 21, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 22, "name": "status", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1847.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_history"}, "source.apple_search_ads_source.apple_search_ads.keyword_history": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "keyword_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "bid_amount": {"type": "BIGNUMERIC", "index": 5, "name": "bid_amount", "comment": null}, "bid_currency": {"type": "STRING", "index": 6, "name": "bid_currency", "comment": null}, "campaign_id": {"type": "INT64", "index": 7, "name": "campaign_id", "comment": null}, "deleted": {"type": "BOOL", "index": 8, "name": "deleted", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "text": {"type": "STRING", "index": 11, "name": "text", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1663.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_history"}, "source.apple_search_ads_source.apple_search_ads.search_term_report": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "search_term_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "ad_group_deleted": {"type": "BOOL", "index": 6, "name": "ad_group_deleted", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "avg_cpa_amount": {"type": "BIGNUMERIC", "index": 8, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 9, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "BIGNUMERIC", "index": 10, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 11, "name": "avg_cpt_currency", "comment": null}, "bid_amount_amount": {"type": "BIGNUMERIC", "index": 12, "name": "bid_amount_amount", "comment": null}, "bid_amount_currency": {"type": "STRING", "index": 13, "name": "bid_amount_currency", "comment": null}, "conversion_rate": {"type": "BIGNUMERIC", "index": 14, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 15, "name": "conversions", "comment": null}, "deleted": {"type": "BOOL", "index": 16, "name": "deleted", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "keyword": {"type": "STRING", "index": 18, "name": "keyword", "comment": null}, "keyword_display_status": {"type": "STRING", "index": 19, "name": "keyword_display_status", "comment": null}, "keyword_id": {"type": "INT64", "index": 20, "name": "keyword_id", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 21, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 22, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "BIGNUMERIC", "index": 23, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 24, "name": "local_spend_currency", "comment": null}, "match_type": {"type": "STRING", "index": 25, "name": "match_type", "comment": null}, "new_downloads": {"type": "INT64", "index": 26, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 27, "name": "redownloads", "comment": null}, "search_term_source": {"type": "STRING", "index": 28, "name": "search_term_source", "comment": null}, "search_term_text": {"type": "STRING", "index": 29, "name": "search_term_text", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 30, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 31, "name": "taps", "comment": null}, "avg_cpm_amount": {"type": "BIGNUMERIC", "index": 32, "name": "avg_cpm_amount", "comment": null}, "avg_cpm_currency": {"type": "STRING", "index": 33, "name": "avg_cpm_currency", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 58497.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 161.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.search_term_report"}, "source.apple_search_ads_source.apple_search_ads.keyword_report": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "avg_cpa_amount": {"type": "BIGNUMERIC", "index": 4, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 5, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "BIGNUMERIC", "index": 6, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 7, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "BIGNUMERIC", "index": 8, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 9, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 11, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 12, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "BIGNUMERIC", "index": 13, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 14, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 15, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 16, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 17, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 18, "name": "taps", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 22869.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 99.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_report"}, "source.apple_search_ads_source.apple_search_ads.ad_level_report": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "ad_level_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "creative_id": {"type": "INT64", "index": 4, "name": "creative_id", "comment": null}, "date": {"type": "DATE", "index": 5, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 6, "name": "_fivetran_synced", "comment": null}, "avg_cpa_amount": {"type": "BIGNUMERIC", "index": 7, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 8, "name": "avg_cpa_currency", "comment": null}, "avg_cpm_amount": {"type": "BIGNUMERIC", "index": 9, "name": "avg_cpm_amount", "comment": null}, "avg_cpm_currency": {"type": "STRING", "index": 10, "name": "avg_cpm_currency", "comment": null}, "avg_cpt_amount": {"type": "BIGNUMERIC", "index": 11, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 12, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "BIGNUMERIC", "index": 13, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 14, "name": "conversions", "comment": null}, "display_status": {"type": "STRING", "index": 15, "name": "display_status", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "language": {"type": "STRING", "index": 17, "name": "language", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 18, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 19, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "BIGNUMERIC", "index": 20, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 21, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 22, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 23, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 24, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 25, "name": "taps", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4590.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 18.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_level_report"}, "source.apple_search_ads_source.apple_search_ads.ad_group_history": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "automated_keywords_opt_in": {"type": "BOOL", "index": 4, "name": "automated_keywords_opt_in", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "cpa_goal_amount": {"type": "BIGNUMERIC", "index": 6, "name": "cpa_goal_amount", "comment": null}, "cpa_goal_currency": {"type": "STRING", "index": 7, "name": "cpa_goal_currency", "comment": null}, "default_cpc_bid_amount": {"type": "BIGNUMERIC", "index": 8, "name": "default_cpc_bid_amount", "comment": null}, "default_cpc_bid_currency": {"type": "STRING", "index": 9, "name": "default_cpc_bid_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 10, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 11, "name": "end_time", "comment": null}, "name": {"type": "STRING", "index": 12, "name": "name", "comment": null}, "organization_id": {"type": "INT64", "index": 13, "name": "organization_id", "comment": null}, "serving_state_reasons": {"type": "STRING", "index": 14, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 15, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 16, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 17, "name": "status", "comment": null}, "storefronts": {"type": "STRING", "index": 18, "name": "storefronts", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 523.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_history"}, "source.apple_search_ads_source.apple_search_ads.organization": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "organization", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 2, "name": "_fivetran_synced", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "payment_model": {"type": "STRING", "index": 5, "name": "payment_model", "comment": null}, "role_names": {"type": "STRING", "index": 6, "name": "role_names", "comment": null}, "time_zone": {"type": "STRING", "index": 7, "name": "time_zone", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 148.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.organization"}, "source.apple_search_ads_source.apple_search_ads.ad_history": {"metadata": {"type": "table", "schema": "apple_search_ads", "name": "ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "creation_time": {"type": "TIMESTAMP", "index": 6, "name": "creation_time", "comment": null}, "creative_id": {"type": "INT64", "index": 7, "name": "creative_id", "comment": null}, "creative_type": {"type": "STRING", "index": 8, "name": "creative_type", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "org_id": {"type": "INT64", "index": 11, "name": "org_id", "comment": null}, "serving_status": {"type": "STRING", "index": 12, "name": "serving_status", "comment": null}, "status": {"type": "STRING", "index": 13, "name": "status", "comment": null}}, "stats": {"num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 119.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_history"}}, "errors": null} \ No newline at end of file +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/catalog/v1.json", "dbt_version": "1.4.0", "generated_at": "2023-03-23T17:43:23.014069Z", "invocation_id": "16c91677-8cb5-48b5-8ba8-f2cc539bf5d3", "env": {}}, "nodes": {"seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_search_term_ad_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 6, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 7, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 8, "name": "campaign_budget_type", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 10, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 11, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 13, "name": "keyword_bid", "comment": null}, "search_term": {"type": "STRING", "index": 14, "name": "search_term", "comment": null}, "targeting": {"type": "STRING", "index": 15, "name": "targeting", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1350.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data"}, "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_promoted_tweet_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 3, "name": "billed_charge_local_micro", "comment": null}, "clicks": {"type": "INT64", "index": 4, "name": "clicks", "comment": null}, "date": {"type": "DATETIME", "index": 5, "name": "date", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 7, "name": "promoted_tweet_id", "comment": null}, "url_clicks": {"type": "INT64", "index": 8, "name": "url_clicks", "comment": null}, "placement": {"type": "STRING", "index": 9, "name": "placement", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10500.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data"}, "seed.ad_reporting_integration_tests.twitter_tweet_url_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_tweet_url_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "display_url": {"type": "STRING", "index": 2, "name": "display_url", "comment": null}, "expanded_url": {"type": "STRING", "index": 3, "name": "expanded_url", "comment": null}, "index": {"type": "INT64", "index": 4, "name": "index", "comment": null}, "indices": {"type": "STRING", "index": 5, "name": "indices", "comment": null}, "tweet_id": {"type": "INT64", "index": 6, "name": "tweet_id", "comment": null}, "url": {"type": "STRING", "index": 7, "name": "url", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16671.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_tweet_url_data"}, "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_analytics_by_creative_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "INT64", "index": 1, "name": "creative_id", "comment": null}, "day": {"type": "TIMESTAMP", "index": 2, "name": "day", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "cost_in_local_currency": {"type": "INT64", "index": 5, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "INT64", "index": 6, "name": "cost_in_usd", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2968.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_pin_promotion_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATETIME", "index": 1, "name": "date", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 2, "name": "pin_promotion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 5, "name": "advertiser_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 6, "name": "_fivetran_synced", "comment": null}, "impression_1": {"type": "INT64", "index": 7, "name": "impression_1", "comment": null}, "impression_2": {"type": "INT64", "index": 8, "name": "impression_2", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 9, "name": "clickthrough_1", "comment": null}, "clickthrough_2": {"type": "INT64", "index": 10, "name": "clickthrough_2", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 11, "name": "spend_in_micro_dollar", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9708.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data"}, "seed.ad_reporting_integration_tests.snapchat_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 58.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7830.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_campaign_history_data"}, "seed.ad_reporting_integration_tests.apple_search_organization_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_organization_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "currency": {"type": "STRING", "index": 2, "name": "currency", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "payment_model": {"type": "STRING", "index": 4, "name": "payment_model", "comment": null}, "role_names": {"type": "STRING", "index": 5, "name": "role_names", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 132.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_organization_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_pin_promotion_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "created_time": {"type": "STRING", "index": 3, "name": "created_time", "comment": null}, "destination_url": {"type": "STRING", "index": 4, "name": "destination_url", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "pin_id": {"type": "INT64", "index": 6, "name": "pin_id", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "creative_type": {"type": "STRING", "index": 8, "name": "creative_type", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 18.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3204.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_ad_group_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "ad_group_name": {"type": "STRING", "index": 5, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 6, "name": "ad_group_status", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 7, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_id": {"type": "INT64", "index": 8, "name": "campaign_id", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 9, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 10, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 11, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 12, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 13, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 14, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 15, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 16, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 17, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 18, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 19, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 20, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 21, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 22, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 23, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 24, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 25, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 26, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 27, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 28, "name": "total_impression_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2484.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data"}, "seed.ad_reporting_integration_tests.apple_search_keyword_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 4, "name": "bid_amount", "comment": null}, "bid_currency": {"type": "STRING", "index": 5, "name": "bid_currency", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "deleted": {"type": "BOOL", "index": 7, "name": "deleted", "comment": null}, "match_type": {"type": "STRING", "index": 8, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "text": {"type": "STRING", "index": 10, "name": "text", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1151.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_keyword_history_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_keyword_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "currency_code": {"type": "STRING", "index": 7, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 12, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 13, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 14, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 15, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 53.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9602.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data"}, "seed.ad_reporting_integration_tests.twitter_tweet_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_tweet_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "card_uri": {"type": "INT64", "index": 4, "name": "card_uri", "comment": null}, "coordinates_coordinates": {"type": "INT64", "index": 5, "name": "coordinates_coordinates", "comment": null}, "coordinates_type": {"type": "INT64", "index": 6, "name": "coordinates_type", "comment": null}, "created_at": {"type": "STRING", "index": 7, "name": "created_at", "comment": null}, "favorite_count": {"type": "INT64", "index": 8, "name": "favorite_count", "comment": null}, "favorited": {"type": "BOOL", "index": 9, "name": "favorited", "comment": null}, "followers": {"type": "INT64", "index": 10, "name": "followers", "comment": null}, "full_text": {"type": "STRING", "index": 11, "name": "full_text", "comment": null}, "geo_coordinates": {"type": "INT64", "index": 12, "name": "geo_coordinates", "comment": null}, "geo_type": {"type": "INT64", "index": 13, "name": "geo_type", "comment": null}, "in_reply_to_screen_name": {"type": "INT64", "index": 14, "name": "in_reply_to_screen_name", "comment": null}, "in_reply_to_status_id": {"type": "INT64", "index": 15, "name": "in_reply_to_status_id", "comment": null}, "in_reply_to_user_id": {"type": "INT64", "index": 16, "name": "in_reply_to_user_id", "comment": null}, "lang": {"type": "STRING", "index": 17, "name": "lang", "comment": null}, "media_key": {"type": "INT64", "index": 18, "name": "media_key", "comment": null}, "retweet_count": {"type": "INT64", "index": 19, "name": "retweet_count", "comment": null}, "retweeted": {"type": "BOOL", "index": 20, "name": "retweeted", "comment": null}, "source": {"type": "STRING", "index": 21, "name": "source", "comment": null}, "truncated": {"type": "BOOL", "index": 22, "name": "truncated", "comment": null}, "tweet_type": {"type": "STRING", "index": 23, "name": "tweet_type", "comment": null}, "user_id": {"type": "INT64", "index": 24, "name": "user_id", "comment": null}, "name": {"type": "INT64", "index": 25, "name": "name", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1312.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_tweet_data"}, "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_hourly_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "STRING", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "spend": {"type": "INT64", "index": 4, "name": "spend", "comment": null}, "swipes": {"type": "INT64", "index": 5, "name": "swipes", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1212.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 84840.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data"}, "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_campaign_level_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_applicable_budget_rule_id": {"type": "INT64", "index": 4, "name": "campaign_applicable_budget_rule_id", "comment": null}, "campaign_applicable_budget_rule_name": {"type": "INT64", "index": 5, "name": "campaign_applicable_budget_rule_name", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 6, "name": "campaign_bidding_strategy", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 7, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 8, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 9, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 10, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 13, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1018.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data"}, "seed.ad_reporting_integration_tests.google_ads_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "name": {"type": "INT64", "index": 3, "name": "name", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "type": {"type": "INT64", "index": 5, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "display_url": {"type": "INT64", "index": 7, "name": "display_url", "comment": null}, "final_urls": {"type": "STRING", "index": 8, "name": "final_urls", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 713.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_history_data"}, "seed.ad_reporting_integration_tests.reddit_ads_account_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_account_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "attribution_type": {"type": "STRING", "index": 3, "name": "attribution_type", "comment": null}, "click_attribution_window": {"type": "STRING", "index": 4, "name": "click_attribution_window", "comment": null}, "created_at": {"type": "DATETIME", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "status": {"type": "INT64", "index": 7, "name": "status", "comment": null}, "time_zone_id": {"type": "STRING", "index": 8, "name": "time_zone_id", "comment": null}, "view_attribution_window": {"type": "STRING", "index": 9, "name": "view_attribution_window", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 62.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_account_data"}, "seed.ad_reporting_integration_tests.twitter_line_item_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8084.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_report_data"}, "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_basic_ad_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "inline_link_clicks": {"type": "INT64", "index": 5, "name": "inline_link_clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 6, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 480.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data"}, "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "bidding_strategy": {"type": "STRING", "index": 4, "name": "bidding_strategy", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "creation_date": {"type": "STRING", "index": 6, "name": "creation_date", "comment": null}, "daily_budget": {"type": "INT64", "index": 7, "name": "daily_budget", "comment": null}, "end_date": {"type": "INT64", "index": 8, "name": "end_date", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "placement": {"type": "INT64", "index": 10, "name": "placement", "comment": null}, "portfolio_id": {"type": "INT64", "index": 11, "name": "portfolio_id", "comment": null}, "premium_bid_adjustment": {"type": "BOOL", "index": 12, "name": "premium_bid_adjustment", "comment": null}, "profile_id": {"type": "INT64", "index": 13, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "start_date": {"type": "DATE", "index": 15, "name": "start_date", "comment": null}, "state": {"type": "STRING", "index": 16, "name": "state", "comment": null}, "targeting_type": {"type": "STRING", "index": 17, "name": "targeting_type", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 6.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1259.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data"}, "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "type": {"type": "STRING", "index": 3, "name": "type", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 272.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data"}, "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_campaign_hourly_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "STRING", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 6, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 7, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 8, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 9, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 10, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 11, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 12, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 13, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 14, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 15, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 16, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 17, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 18, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 19, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 20, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 21, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 22, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 23, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 24, "name": "conversion_view_content", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 26, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 27, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 28, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 29, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 30, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 31, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 32, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 33, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 34, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 35, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 36, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 37, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 38, "name": "total_installs", "comment": null}, "video_views": {"type": "INT64", "index": 39, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 40, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 41, "name": "view_time_millis", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3580.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data"}, "seed.ad_reporting_integration_tests.facebook_ads_account_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 59.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3481.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_account_history_data"}, "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_criterion_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "base_campaign_id": {"type": "INT64", "index": 3, "name": "base_campaign_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 5, "name": "_fivetran_synced", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "keyword_match_type": {"type": "STRING", "index": 8, "name": "keyword_match_type", "comment": null}, "keyword_text": {"type": "STRING", "index": 9, "name": "keyword_text", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 261.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15771.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data"}, "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_adgroup_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 5, "name": "create_time", "comment": null}, "adgroup_name": {"type": "STRING", "index": 6, "name": "adgroup_name", "comment": null}, "placement_type": {"type": "STRING", "index": 7, "name": "placement_type", "comment": null}, "profile_image": {"type": "INT64", "index": 8, "name": "profile_image", "comment": null}, "landing_page_url": {"type": "INT64", "index": 9, "name": "landing_page_url", "comment": null}, "display_name": {"type": "INT64", "index": 10, "name": "display_name", "comment": null}, "app_type": {"type": "INT64", "index": 11, "name": "app_type", "comment": null}, "app_download_url": {"type": "INT64", "index": 12, "name": "app_download_url", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "external_action": {"type": "STRING", "index": 14, "name": "external_action", "comment": null}, "deep_external_action": {"type": "INT64", "index": 15, "name": "deep_external_action", "comment": null}, "creative_material_mode": {"type": "STRING", "index": 16, "name": "creative_material_mode", "comment": null}, "audience_type": {"type": "INT64", "index": 17, "name": "audience_type", "comment": null}, "gender": {"type": "STRING", "index": 18, "name": "gender", "comment": null}, "android_osv": {"type": "INT64", "index": 19, "name": "android_osv", "comment": null}, "ios_osv": {"type": "INT64", "index": 20, "name": "ios_osv", "comment": null}, "budget_mode": {"type": "STRING", "index": 21, "name": "budget_mode", "comment": null}, "schedule_type": {"type": "STRING", "index": 22, "name": "schedule_type", "comment": null}, "dayparting": {"type": "INT64", "index": 23, "name": "dayparting", "comment": null}, "optimize_goal": {"type": "STRING", "index": 24, "name": "optimize_goal", "comment": null}, "cpv_video_duration": {"type": "INT64", "index": 25, "name": "cpv_video_duration", "comment": null}, "pacing": {"type": "STRING", "index": 26, "name": "pacing", "comment": null}, "billing_event": {"type": "STRING", "index": 27, "name": "billing_event", "comment": null}, "bid_type": {"type": "STRING", "index": 28, "name": "bid_type", "comment": null}, "deep_bid_type": {"type": "INT64", "index": 29, "name": "deep_bid_type", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 30, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 31, "name": "click_tracking_url", "comment": null}, "status": {"type": "STRING", "index": 32, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 33, "name": "opt_status", "comment": null}, "statistic_type": {"type": "INT64", "index": 34, "name": "statistic_type", "comment": null}, "video_download": {"type": "STRING", "index": 35, "name": "video_download", "comment": null}, "open_url": {"type": "INT64", "index": 36, "name": "open_url", "comment": null}, "open_url_type": {"type": "INT64", "index": 37, "name": "open_url_type", "comment": null}, "fallback_type": {"type": "INT64", "index": 38, "name": "fallback_type", "comment": null}, "budget": {"type": "INT64", "index": 39, "name": "budget", "comment": null}, "bid": {"type": "INT64", "index": 40, "name": "bid", "comment": null}, "conversion_bid": {"type": "INT64", "index": 41, "name": "conversion_bid", "comment": null}, "deep_cpabid": {"type": "INT64", "index": 42, "name": "deep_cpabid", "comment": null}, "schedule_start_time": {"type": "STRING", "index": 43, "name": "schedule_start_time", "comment": null}, "schedule_end_time": {"type": "STRING", "index": 44, "name": "schedule_end_time", "comment": null}, "app_id": {"type": "INT64", "index": 45, "name": "app_id", "comment": null}, "pixel_id": {"type": "INT64", "index": 46, "name": "pixel_id", "comment": null}, "enable_inventory_filter": {"type": "BOOL", "index": 47, "name": "enable_inventory_filter", "comment": null}, "is_hfss": {"type": "BOOL", "index": 48, "name": "is_hfss", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 49, "name": "is_new_structure", "comment": null}, "category": {"type": "INT64", "index": 50, "name": "category", "comment": null}, "is_comment_disable": {"type": "INT64", "index": 51, "name": "is_comment_disable", "comment": null}, "skip_learning_phase": {"type": "INT64", "index": 52, "name": "skip_learning_phase", "comment": null}, "frequency": {"type": "INT64", "index": 53, "name": "frequency", "comment": null}, "frequency_schedule": {"type": "INT64", "index": 54, "name": "frequency_schedule", "comment": null}, "action_days": {"type": "INT64", "index": 55, "name": "action_days", "comment": null}, "audience": {"type": "STRING", "index": 56, "name": "audience", "comment": null}, "excluded_audience": {"type": "STRING", "index": 57, "name": "excluded_audience", "comment": null}, "location": {"type": "STRING", "index": 58, "name": "location", "comment": null}, "interest_category_v_2": {"type": "STRING", "index": 59, "name": "interest_category_v_2", "comment": null}, "pangle_block_app_list_id": {"type": "STRING", "index": 60, "name": "pangle_block_app_list_id", "comment": null}, "action_categories": {"type": "STRING", "index": 61, "name": "action_categories", "comment": null}, "placement": {"type": "STRING", "index": 62, "name": "placement", "comment": null}, "keywords": {"type": "INT64", "index": 63, "name": "keywords", "comment": null}, "age": {"type": "STRING", "index": 64, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 65, "name": "languages", "comment": null}, "operation_system": {"type": "STRING", "index": 66, "name": "operation_system", "comment": null}, "connection_type": {"type": "STRING", "index": 67, "name": "connection_type", "comment": null}, "carriers": {"type": "STRING", "index": 68, "name": "carriers", "comment": null}, "video_actions": {"type": "STRING", "index": 69, "name": "video_actions", "comment": null}, "package": {"type": "INT64", "index": 70, "name": "package", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 71, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2527.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data"}, "seed.ad_reporting_integration_tests.snapchat_creative_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_creative_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "web_view_url": {"type": "STRING", "index": 4, "name": "web_view_url", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 119.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 18802.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_creative_history_data"}, "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_promoted_tweet_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 2, "name": "approval_status", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 4, "name": "deleted", "comment": null}, "entity_status": {"type": "STRING", "index": 5, "name": "entity_status", "comment": null}, "id": {"type": "STRING", "index": 6, "name": "id", "comment": null}, "line_item_id": {"type": "STRING", "index": 7, "name": "line_item_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 8, "name": "tweet_id", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 21.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2541.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data"}, "seed.ad_reporting_integration_tests.reddit_ads_account_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_account_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 4, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 6, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 7, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 8, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 9, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 10, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 11, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 12, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 13, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 15, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 17, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 18, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 19, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 20, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 21, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 22, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 23, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 24, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 25, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 26, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 27, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 30, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 33, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 34, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 35, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 36, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 37, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 38, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 39, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 40, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 41, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 42, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 43, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 44, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 45, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 46, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 47, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 48, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 49, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 50, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 56.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15232.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_account_report_data"}, "seed.ad_reporting_integration_tests.reddit_ads_campaign_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_campaign_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "configured_status": {"type": "STRING", "index": 4, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 5, "name": "effective_status", "comment": null}, "funding_instrument_id": {"type": "INT64", "index": 6, "name": "funding_instrument_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 7, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 9, "name": "objective", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 714.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_campaign_data"}, "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 79.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 22120.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "title_part_1": {"type": "STRING", "index": 2, "name": "title_part_1", "comment": null}, "final_url": {"type": "STRING", "index": 3, "name": "final_url", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 5, "name": "modified_time", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1125.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "created_time": {"type": "STRING", "index": 3, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 5, "name": "status", "comment": null}, "start_time": {"type": "STRING", "index": 6, "name": "start_time", "comment": null}, "end_time": {"type": "INT64", "index": 7, "name": "end_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 8, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 604.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data"}, "seed.ad_reporting_integration_tests.twitter_line_item_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_domain": {"type": "STRING", "index": 1, "name": "advertiser_domain", "comment": null}, "advertiser_user_id": {"type": "INT64", "index": 2, "name": "advertiser_user_id", "comment": null}, "automatically_select_bid": {"type": "BOOL", "index": 3, "name": "automatically_select_bid", "comment": null}, "bid_amount_local_micro": {"type": "INT64", "index": 4, "name": "bid_amount_local_micro", "comment": null}, "bid_type": {"type": "STRING", "index": 5, "name": "bid_type", "comment": null}, "bid_unit": {"type": "STRING", "index": 6, "name": "bid_unit", "comment": null}, "campaign_id": {"type": "STRING", "index": 7, "name": "campaign_id", "comment": null}, "charge_by": {"type": "STRING", "index": 8, "name": "charge_by", "comment": null}, "created_at": {"type": "STRING", "index": 9, "name": "created_at", "comment": null}, "creative_source": {"type": "STRING", "index": 10, "name": "creative_source", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "deleted": {"type": "BOOL", "index": 12, "name": "deleted", "comment": null}, "end_time": {"type": "INT64", "index": 13, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 14, "name": "entity_status", "comment": null}, "id": {"type": "STRING", "index": 15, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 16, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 17, "name": "objective", "comment": null}, "optimization": {"type": "STRING", "index": 18, "name": "optimization", "comment": null}, "primary_web_event_tag": {"type": "INT64", "index": 19, "name": "primary_web_event_tag", "comment": null}, "product_type": {"type": "STRING", "index": 20, "name": "product_type", "comment": null}, "start_time": {"type": "INT64", "index": 21, "name": "start_time", "comment": null}, "target_cpa_local_micro": {"type": "INT64", "index": 22, "name": "target_cpa_local_micro", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 23, "name": "total_budget_amount_local_micro", "comment": null}, "updated_at": {"type": "STRING", "index": 24, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2973.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_history_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 4, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 5, "name": "keyword_id", "comment": null}, "pin_id": {"type": "INT64", "index": 6, "name": "pin_id", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 7, "name": "pin_promotion_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 8, "name": "_fivetran_synced", "comment": null}, "ad_group_name": {"type": "STRING", "index": 9, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 10, "name": "ad_group_status", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 11, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 12, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 13, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 14, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 15, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 16, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "INT64", "index": 17, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 18, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "INT64", "index": 19, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "INT64", "index": 20, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 21, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "INT64", "index": 22, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 23, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 24, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 25, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 26, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 27, "name": "paid_impression", "comment": null}, "pin_promotion_name": {"type": "STRING", "index": 28, "name": "pin_promotion_name", "comment": null}, "pin_promotion_status": {"type": "STRING", "index": 29, "name": "pin_promotion_status", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 30, "name": "spend_in_micro_dollar", "comment": null}, "targeting_type": {"type": "STRING", "index": 31, "name": "targeting_type", "comment": null}, "targeting_value": {"type": "STRING", "index": 32, "name": "targeting_value", "comment": null}, "total_engagement": {"type": "INT64", "index": 33, "name": "total_engagement", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 29.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7830.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data"}, "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_squad_hourly_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_squad_id": {"type": "STRING", "index": 1, "name": "ad_squad_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 6, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 7, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 8, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 9, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 10, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 11, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 12, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 13, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 14, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 15, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 16, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 17, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 18, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 19, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 20, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 21, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 22, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 23, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 24, "name": "conversion_view_content", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 26, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 27, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 28, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 29, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 30, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 31, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 32, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 33, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 34, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 35, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 36, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 37, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 38, "name": "total_installs", "comment": null}, "video_views": {"type": "INT64", "index": 39, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 40, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 41, "name": "view_time_millis", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3580.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data"}, "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_analytics_by_campaign_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "day": {"type": "DATETIME", "index": 2, "name": "day", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "action_clicks": {"type": "INT64", "index": 4, "name": "action_clicks", "comment": null}, "ad_unit_clicks": {"type": "INT64", "index": 5, "name": "ad_unit_clicks", "comment": null}, "approximate_unique_impressions": {"type": "INT64", "index": 6, "name": "approximate_unique_impressions", "comment": null}, "card_clicks": {"type": "INT64", "index": 7, "name": "card_clicks", "comment": null}, "card_impressions": {"type": "INT64", "index": 8, "name": "card_impressions", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "comment_likes": {"type": "INT64", "index": 10, "name": "comment_likes", "comment": null}, "comments": {"type": "INT64", "index": 11, "name": "comments", "comment": null}, "company_page_clicks": {"type": "INT64", "index": 12, "name": "company_page_clicks", "comment": null}, "conversion_value_in_local_currency": {"type": "INT64", "index": 13, "name": "conversion_value_in_local_currency", "comment": null}, "cost_in_local_currency": {"type": "FLOAT64", "index": 14, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "FLOAT64", "index": 15, "name": "cost_in_usd", "comment": null}, "external_website_conversions": {"type": "INT64", "index": 16, "name": "external_website_conversions", "comment": null}, "external_website_post_click_conversions": {"type": "INT64", "index": 17, "name": "external_website_post_click_conversions", "comment": null}, "external_website_post_view_conversions": {"type": "INT64", "index": 18, "name": "external_website_post_view_conversions", "comment": null}, "follows": {"type": "INT64", "index": 19, "name": "follows", "comment": null}, "full_screen_plays": {"type": "INT64", "index": 20, "name": "full_screen_plays", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "landing_page_clicks": {"type": "INT64", "index": 22, "name": "landing_page_clicks", "comment": null}, "lead_generation_mail_contact_info_shares": {"type": "INT64", "index": 23, "name": "lead_generation_mail_contact_info_shares", "comment": null}, "lead_generation_mail_interested_clicks": {"type": "INT64", "index": 24, "name": "lead_generation_mail_interested_clicks", "comment": null}, "likes": {"type": "INT64", "index": 25, "name": "likes", "comment": null}, "one_click_lead_form_opens": {"type": "INT64", "index": 26, "name": "one_click_lead_form_opens", "comment": null}, "one_click_leads": {"type": "INT64", "index": 27, "name": "one_click_leads", "comment": null}, "opens": {"type": "INT64", "index": 28, "name": "opens", "comment": null}, "other_engagements": {"type": "INT64", "index": 29, "name": "other_engagements", "comment": null}, "shares": {"type": "INT64", "index": 30, "name": "shares", "comment": null}, "text_url_clicks": {"type": "INT64", "index": 31, "name": "text_url_clicks", "comment": null}, "total_engagements": {"type": "INT64", "index": 32, "name": "total_engagements", "comment": null}, "video_completions": {"type": "INT64", "index": 33, "name": "video_completions", "comment": null}, "video_first_quartile_completions": {"type": "INT64", "index": 34, "name": "video_first_quartile_completions", "comment": null}, "video_midpoint_completions": {"type": "INT64", "index": 35, "name": "video_midpoint_completions", "comment": null}, "video_starts": {"type": "INT64", "index": 36, "name": "video_starts", "comment": null}, "video_third_quartile_completions": {"type": "INT64", "index": 37, "name": "video_third_quartile_completions", "comment": null}, "video_views": {"type": "INT64", "index": 38, "name": "video_views", "comment": null}, "viral_card_clicks": {"type": "INT64", "index": 39, "name": "viral_card_clicks", "comment": null}, "viral_card_impressions": {"type": "INT64", "index": 40, "name": "viral_card_impressions", "comment": null}, "viral_clicks": {"type": "INT64", "index": 41, "name": "viral_clicks", "comment": null}, "viral_comment_likes": {"type": "INT64", "index": 42, "name": "viral_comment_likes", "comment": null}, "viral_comments": {"type": "INT64", "index": 43, "name": "viral_comments", "comment": null}, "viral_company_page_clicks": {"type": "INT64", "index": 44, "name": "viral_company_page_clicks", "comment": null}, "viral_external_website_conversions": {"type": "INT64", "index": 45, "name": "viral_external_website_conversions", "comment": null}, "viral_external_website_post_click_conversions": {"type": "INT64", "index": 46, "name": "viral_external_website_post_click_conversions", "comment": null}, "viral_external_website_post_view_conversions": {"type": "INT64", "index": 47, "name": "viral_external_website_post_view_conversions", "comment": null}, "viral_follows": {"type": "INT64", "index": 48, "name": "viral_follows", "comment": null}, "viral_full_screen_plays": {"type": "INT64", "index": 49, "name": "viral_full_screen_plays", "comment": null}, "viral_impressions": {"type": "INT64", "index": 50, "name": "viral_impressions", "comment": null}, "viral_landing_page_clicks": {"type": "INT64", "index": 51, "name": "viral_landing_page_clicks", "comment": null}, "viral_likes": {"type": "INT64", "index": 52, "name": "viral_likes", "comment": null}, "viral_one_click_lead_form_opens": {"type": "INT64", "index": 53, "name": "viral_one_click_lead_form_opens", "comment": null}, "viral_one_click_leads": {"type": "INT64", "index": 54, "name": "viral_one_click_leads", "comment": null}, "viral_other_engagements": {"type": "INT64", "index": 55, "name": "viral_other_engagements", "comment": null}, "viral_shares": {"type": "INT64", "index": 56, "name": "viral_shares", "comment": null}, "viral_total_engagements": {"type": "INT64", "index": 57, "name": "viral_total_engagements", "comment": null}, "viral_video_completions": {"type": "INT64", "index": 58, "name": "viral_video_completions", "comment": null}, "viral_video_first_quartile_completions": {"type": "INT64", "index": 59, "name": "viral_video_first_quartile_completions", "comment": null}, "viral_video_midpoint_completions": {"type": "INT64", "index": 60, "name": "viral_video_midpoint_completions", "comment": null}, "viral_video_starts": {"type": "INT64", "index": 61, "name": "viral_video_starts", "comment": null}, "viral_video_third_quartile_completions": {"type": "INT64", "index": 62, "name": "viral_video_third_quartile_completions", "comment": null}, "viral_video_views": {"type": "INT64", "index": 63, "name": "viral_video_views", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 20.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7252.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data"}, "seed.ad_reporting_integration_tests.apple_search_campaign_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 12.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1524.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_campaign_report_data"}, "seed.ad_reporting_integration_tests.google_ads_ad_stats_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "ad_group": {"type": "STRING", "index": 4, "name": "ad_group", "comment": null}, "keyword_ad_group_criterion": {"type": "STRING", "index": 5, "name": "keyword_ad_group_criterion", "comment": null}, "ad_network_type": {"type": "STRING", "index": 6, "name": "ad_network_type", "comment": null}, "device": {"type": "STRING", "index": 7, "name": "device", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "cost_micros": {"type": "INT64", "index": 11, "name": "cost_micros", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1765.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_stats_data"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_group_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 28000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 7, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 8, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 9, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 10, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 11, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 401.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 68992.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_campaign_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 4, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 5, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 6, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 7, "name": "network", "comment": null}, "ad_distribution": {"type": "STRING", "index": 8, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 9, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 10, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 11, "name": "top_vs_other", "comment": null}, "budget_association_status": {"type": "STRING", "index": 12, "name": "budget_association_status", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2630.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 423390.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data"}, "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_ad_report_hourly_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "INT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "INT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "INT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "INT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "INT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data"}, "seed.ad_reporting_integration_tests.twitter_account_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_account_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "placement": {"type": "STRING", "index": 3, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}, "engagements": {"type": "INT64", "index": 5, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 6, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 7, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 8, "name": "likes", "comment": null}, "replies": {"type": "INT64", "index": 9, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 10, "name": "retweets", "comment": null}, "unfollows": {"type": "INT64", "index": 11, "name": "unfollows", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 472.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_account_report_data"}, "seed.ad_reporting_integration_tests.apple_search_search_term_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_search_term_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "ad_group_deleted": {"type": "BOOL", "index": 5, "name": "ad_group_deleted", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 7, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 8, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 9, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 10, "name": "avg_cpt_currency", "comment": null}, "bid_amount_amount": {"type": "FLOAT64", "index": 11, "name": "bid_amount_amount", "comment": null}, "bid_amount_currency": {"type": "STRING", "index": 12, "name": "bid_amount_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 13, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 14, "name": "conversions", "comment": null}, "deleted": {"type": "BOOL", "index": 15, "name": "deleted", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "keyword": {"type": "STRING", "index": 17, "name": "keyword", "comment": null}, "keyword_display_status": {"type": "STRING", "index": 18, "name": "keyword_display_status", "comment": null}, "keyword_id": {"type": "INT64", "index": 19, "name": "keyword_id", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 20, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 21, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 22, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 23, "name": "local_spend_currency", "comment": null}, "match_type": {"type": "STRING", "index": 24, "name": "match_type", "comment": null}, "new_downloads": {"type": "INT64", "index": 25, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 26, "name": "redownloads", "comment": null}, "search_term_source": {"type": "STRING", "index": 27, "name": "search_term_source", "comment": null}, "search_term_text": {"type": "STRING", "index": 28, "name": "search_term_text", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 29, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 30, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 150.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 35485.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_search_term_report_data"}, "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 5, "name": "updated_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 522.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "last_modified_time": {"type": "DATETIME", "index": 3, "name": "last_modified_time", "comment": null}, "time_zone": {"type": "STRING", "index": 4, "name": "time_zone", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 177.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data"}, "seed.ad_reporting_integration_tests.apple_search_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "adam_id": {"type": "INT64", "index": 3, "name": "adam_id", "comment": null}, "budget_amount": {"type": "INT64", "index": 4, "name": "budget_amount", "comment": null}, "budget_currency": {"type": "STRING", "index": 5, "name": "budget_currency", "comment": null}, "budget_orders": {"type": "STRING", "index": 6, "name": "budget_orders", "comment": null}, "daily_budget_amount": {"type": "INT64", "index": 7, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency": {"type": "STRING", "index": 8, "name": "daily_budget_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "loc_invoice_detail_buyer_email": {"type": "INT64", "index": 11, "name": "loc_invoice_detail_buyer_email", "comment": null}, "loc_invoice_detail_buyer_name": {"type": "INT64", "index": 12, "name": "loc_invoice_detail_buyer_name", "comment": null}, "loc_invoice_detail_client_name": {"type": "INT64", "index": 13, "name": "loc_invoice_detail_client_name", "comment": null}, "loc_invoice_detail_order_number": {"type": "INT64", "index": 14, "name": "loc_invoice_detail_order_number", "comment": null}, "name": {"type": "STRING", "index": 15, "name": "name", "comment": null}, "organiation_id": {"type": "INT64", "index": 16, "name": "organiation_id", "comment": null}, "payment_model": {"type": "STRING", "index": 17, "name": "payment_model", "comment": null}, "serving_state_reasons": {"type": "STRING", "index": 18, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 19, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 20, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 21, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 419.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_campaign_history_data"}, "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 111.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10767.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data"}, "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_campaign_report_hourly_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data"}, "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_creative_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"page_link": {"type": "STRING", "index": 1, "name": "page_link", "comment": null}, "template_page_link": {"type": "STRING", "index": 2, "name": "template_page_link", "comment": null}, "id": {"type": "INT64", "index": 3, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "url_tags": {"type": "STRING", "index": 6, "name": "url_tags", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 7, "name": "_fivetran_synced", "comment": null}, "asset_feed_spec_link_urls": {"type": "STRING", "index": 8, "name": "asset_feed_spec_link_urls", "comment": null}, "object_story_link_data_child_attachments": {"type": "STRING", "index": 9, "name": "object_story_link_data_child_attachments", "comment": null}, "object_story_link_data_caption": {"type": "STRING", "index": 10, "name": "object_story_link_data_caption", "comment": null}, "object_story_link_data_description": {"type": "STRING", "index": 11, "name": "object_story_link_data_description", "comment": null}, "object_story_link_data_link": {"type": "STRING", "index": 12, "name": "object_story_link_data_link", "comment": null}, "object_story_link_data_message": {"type": "STRING", "index": 13, "name": "object_story_link_data_message", "comment": null}, "template_app_link_spec_ios": {"type": "STRING", "index": 14, "name": "template_app_link_spec_ios", "comment": null}, "_fivetran_id": {"type": "STRING", "index": 15, "name": "_fivetran_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1000.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1415996.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 3, "name": "modified_time", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "match_type": {"type": "STRING", "index": 5, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 595.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data"}, "seed.ad_reporting_integration_tests.twitter_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "daily_budget_amount_local_micro": {"type": "INT64", "index": 5, "name": "daily_budget_amount_local_micro", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "duration_in_days": {"type": "INT64", "index": 7, "name": "duration_in_days", "comment": null}, "end_time": {"type": "STRING", "index": 8, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 9, "name": "entity_status", "comment": null}, "frequency_cap": {"type": "INT64", "index": 10, "name": "frequency_cap", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 11, "name": "funding_instrument_id", "comment": null}, "id": {"type": "STRING", "index": 12, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 13, "name": "name", "comment": null}, "servable": {"type": "BOOL", "index": 14, "name": "servable", "comment": null}, "standard_delivery": {"type": "BOOL", "index": 15, "name": "standard_delivery", "comment": null}, "start_time": {"type": "STRING", "index": 16, "name": "start_time", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 17, "name": "total_budget_amount_local_micro", "comment": null}, "updated_at": {"type": "STRING", "index": 18, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2971.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_campaign_history_data"}, "seed.ad_reporting_integration_tests.apple_search_keyword_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 99.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 12573.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_keyword_report_data"}, "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_campaign_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "base_campaign": {"type": "STRING", "index": 11, "name": "base_campaign", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 13, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 14, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 15, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 16, "name": "device", "comment": null}, "id": {"type": "INT64", "index": 17, "name": "id", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 19, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 20, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 21, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3590.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_search_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "search_query": {"type": "STRING", "index": 7, "name": "search_query", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2126.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data"}, "seed.ad_reporting_integration_tests.google_ads_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "customer_id": {"type": "INT64", "index": 4, "name": "customer_id", "comment": null}, "advertising_channel_type": {"type": "STRING", "index": 5, "name": "advertising_channel_type", "comment": null}, "advertising_channel_subtype": {"type": "STRING", "index": 6, "name": "advertising_channel_subtype", "comment": null}, "start_date": {"type": "DATE", "index": 7, "name": "start_date", "comment": null}, "end_date": {"type": "DATE", "index": 8, "name": "end_date", "comment": null}, "serving_status": {"type": "STRING", "index": 9, "name": "serving_status", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 11, "name": "tracking_url_template", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1040.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_campaign_history_data"}, "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_targeting_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "ad_keyword_status": {"type": "STRING", "index": 6, "name": "ad_keyword_status", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 7, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 8, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 9, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 10, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 13, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 15, "name": "keyword_bid", "comment": null}, "keyword_type": {"type": "STRING", "index": 16, "name": "keyword_type", "comment": null}, "match_type": {"type": "STRING", "index": 17, "name": "match_type", "comment": null}, "targeting": {"type": "STRING", "index": 18, "name": "targeting", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1520.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data"}, "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "ad_set_id": {"type": "INT64", "index": 3, "name": "ad_set_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "creative_id": {"type": "INT64", "index": 5, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 7, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 8, "name": "updated_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 12.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 720.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data"}, "seed.ad_reporting_integration_tests.tiktok_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "budget": {"type": "INT64", "index": 6, "name": "budget", "comment": null}, "budget_mode": {"type": "STRING", "index": 7, "name": "budget_mode", "comment": null}, "opt_status": {"type": "STRING", "index": 8, "name": "opt_status", "comment": null}, "objective_type": {"type": "STRING", "index": 9, "name": "objective_type", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 10, "name": "is_new_structure", "comment": null}, "split_test_variable": {"type": "INT64", "index": 11, "name": "split_test_variable", "comment": null}, "create_time": {"type": "STRING", "index": 12, "name": "create_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 13, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 703.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_campaign_history_data"}, "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_creative_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 3, "name": "created_time", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "version_tag": {"type": "INT64", "index": 6, "name": "version_tag", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "click_uri": {"type": "STRING", "index": 8, "name": "click_uri", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7263.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 5, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 6, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 7, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 8, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 9, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 10, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 11, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 12, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 13, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 14, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 15, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 16, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 17, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 18, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 19, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 20, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 21, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 22, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 23, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 24, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 25, "name": "total_impression_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1894.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_advertiser_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_time": {"type": "DATETIME", "index": 2, "name": "updated_time", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "billing_profile_status": {"type": "STRING", "index": 4, "name": "billing_profile_status", "comment": null}, "billing_type": {"type": "STRING", "index": 5, "name": "billing_type", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "created_time": {"type": "DATETIME", "index": 7, "name": "created_time", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "merchant_id": {"type": "INT64", "index": 9, "name": "merchant_id", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "owner_user_id": {"type": "INT64", "index": 11, "name": "owner_user_id", "comment": null}, "status": {"type": "STRING", "index": 12, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 100.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data"}, "seed.ad_reporting_integration_tests.twitter_campaign_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8091.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_campaign_report_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "modified_time": {"type": "DATETIME", "index": 4, "name": "modified_time", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 940.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "modified_time": {"type": "DATETIME", "index": 4, "name": "modified_time", "comment": null}, "start_date": {"type": "DATE", "index": 5, "name": "start_date", "comment": null}, "end_date": {"type": "INT64", "index": 6, "name": "end_date", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 658.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data"}, "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_ad_set_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 5, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 6, "name": "updated_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 14.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 924.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data"}, "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_portfolio_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "budget_amount": {"type": "INT64", "index": 4, "name": "budget_amount", "comment": null}, "budget_currency_code": {"type": "INT64", "index": 5, "name": "budget_currency_code", "comment": null}, "budget_end_date": {"type": "INT64", "index": 6, "name": "budget_end_date", "comment": null}, "budget_policy": {"type": "INT64", "index": 7, "name": "budget_policy", "comment": null}, "budget_start_date": {"type": "INT64", "index": 8, "name": "budget_start_date", "comment": null}, "creation_date": {"type": "STRING", "index": 9, "name": "creation_date", "comment": null}, "in_budget": {"type": "BOOL", "index": 10, "name": "in_budget", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "profile_id": {"type": "INT64", "index": 12, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 13, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 144.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_time": {"type": "STRING", "index": 2, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 4, "name": "status", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "advertiser_id": {"type": "INT64", "index": 6, "name": "advertiser_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 120.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data"}, "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 5, "name": "creation_date", "comment": null}, "default_bid": {"type": "FLOAT64", "index": 6, "name": "default_bid", "comment": null}, "name": {"type": "STRING", "index": 7, "name": "name", "comment": null}, "serving_status": {"type": "STRING", "index": 8, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 9, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 288.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data"}, "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_ad_group_level_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 4, "name": "campaign_bidding_strategy", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 6, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 7, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 840.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_group_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "bid_strategy": {"type": "STRING", "index": 4, "name": "bid_strategy", "comment": null}, "bid_value": {"type": "INT64", "index": 5, "name": "bid_value", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "end_time": {"type": "DATETIME", "index": 9, "name": "end_time", "comment": null}, "expand_targeting": {"type": "BOOL", "index": 10, "name": "expand_targeting", "comment": null}, "goal_type": {"type": "STRING", "index": 11, "name": "goal_type", "comment": null}, "goal_value": {"type": "INT64", "index": 12, "name": "goal_value", "comment": null}, "is_processing": {"type": "BOOL", "index": 13, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "optimization_strategy_type": {"type": "INT64", "index": 15, "name": "optimization_strategy_type", "comment": null}, "start_time": {"type": "DATETIME", "index": 16, "name": "start_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2325.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data"}, "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_squad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 228.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 30780.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data"}, "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 4, "name": "campaign_group_id", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 5, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "version_tag": {"type": "INT64", "index": 7, "name": "version_tag", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7400.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 28000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data"}, "seed.ad_reporting_integration_tests.tiktok_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "adgroup_id": {"type": "INT64", "index": 4, "name": "adgroup_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 6, "name": "create_time", "comment": null}, "ad_name": {"type": "STRING", "index": 7, "name": "ad_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 8, "name": "call_to_action", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 10, "name": "opt_status", "comment": null}, "ad_text": {"type": "STRING", "index": 11, "name": "ad_text", "comment": null}, "video_id": {"type": "STRING", "index": 12, "name": "video_id", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "open_url": {"type": "INT64", "index": 14, "name": "open_url", "comment": null}, "landing_page_url": {"type": "STRING", "index": 15, "name": "landing_page_url", "comment": null}, "display_name": {"type": "STRING", "index": 16, "name": "display_name", "comment": null}, "profile_image": {"type": "INT64", "index": 17, "name": "profile_image", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 18, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 19, "name": "click_tracking_url", "comment": null}, "playable_url": {"type": "INT64", "index": 20, "name": "playable_url", "comment": null}, "is_aco": {"type": "BOOL", "index": 21, "name": "is_aco", "comment": null}, "is_creative_authorized": {"type": "BOOL", "index": 22, "name": "is_creative_authorized", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 23, "name": "is_new_structure", "comment": null}, "image_ids": {"type": "STRING", "index": 24, "name": "image_ids", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 25, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1072.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_ad_history_data"}, "seed.ad_reporting_integration_tests.amazon_ads_profile_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_profile_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "account_marketplace_string_id": {"type": "STRING", "index": 5, "name": "account_marketplace_string_id", "comment": null}, "account_name": {"type": "STRING", "index": 6, "name": "account_name", "comment": null}, "account_sub_type": {"type": "INT64", "index": 7, "name": "account_sub_type", "comment": null}, "account_type": {"type": "STRING", "index": 8, "name": "account_type", "comment": null}, "account_valid_payment_method": {"type": "BOOL", "index": 9, "name": "account_valid_payment_method", "comment": null}, "country_code": {"type": "STRING", "index": 10, "name": "country_code", "comment": null}, "currency_code": {"type": "STRING", "index": 11, "name": "currency_code", "comment": null}, "daily_budget": {"type": "INT64", "index": 12, "name": "daily_budget", "comment": null}, "timezone": {"type": "STRING", "index": 13, "name": "timezone", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 116.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_profile_data"}, "seed.ad_reporting_integration_tests.google_ads_account_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "auto_tagging_enabled": {"type": "BOOL", "index": 4, "name": "auto_tagging_enabled", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "descriptive_name": {"type": "INT64", "index": 6, "name": "descriptive_name", "comment": null}, "final_url_suffix": {"type": "BOOL", "index": 7, "name": "final_url_suffix", "comment": null}, "hidden": {"type": "BOOL", "index": 8, "name": "hidden", "comment": null}, "manager": {"type": "INT64", "index": 9, "name": "manager", "comment": null}, "manager_customer_id": {"type": "FLOAT64", "index": 10, "name": "manager_customer_id", "comment": null}, "optimization_score": {"type": "STRING", "index": 11, "name": "optimization_score", "comment": null}, "pay_per_conversion_eligibility_failure_reasons": {"type": "BOOL", "index": 12, "name": "pay_per_conversion_eligibility_failure_reasons", "comment": null}, "test_account": {"type": "STRING", "index": 13, "name": "test_account", "comment": null}, "time_zone": {"type": "INT64", "index": 14, "name": "time_zone", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 15, "name": "tracking_url_template", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 66.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_account_history_data"}, "seed.ad_reporting_integration_tests.snapchat_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 2, "name": "ad_squad_id", "comment": null}, "creative_id": {"type": "STRING", "index": 3, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 320.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 55360.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_history_data"}, "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_campaign_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 4, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 232.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data"}, "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_group_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1651.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data"}, "seed.ad_reporting_integration_tests.apple_search_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creation_time": {"type": "TIMESTAMP", "index": 1, "name": "creation_time", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "org_id": {"type": "INT64", "index": 3, "name": "org_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "creative_id": {"type": "INT64", "index": 8, "name": "creative_id", "comment": null}, "creative_type": {"type": "STRING", "index": 9, "name": "creative_type", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 101.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_history_data"}, "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_keyword_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_group_base_ad_group": {"type": "STRING", "index": 10, "name": "ad_group_base_ad_group", "comment": null}, "ad_group_criterion_criterion_id": {"type": "INT64", "index": 11, "name": "ad_group_criterion_criterion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 12, "name": "ad_group_id", "comment": null}, "ad_network_type": {"type": "STRING", "index": 13, "name": "ad_network_type", "comment": null}, "campaign_base_campaign": {"type": "STRING", "index": 14, "name": "campaign_base_campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 15, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 17, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 18, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 19, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 20, "name": "device", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 22, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 23, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 24, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4260.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data"}, "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_creative_url_tag_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "STRING", "index": 1, "name": "creative_id", "comment": null}, "key": {"type": "STRING", "index": 2, "name": "key", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "updated_at": {"type": "STRING", "index": 4, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 383.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 41413.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 4, "name": "advertiser_id", "comment": null}, "archived": {"type": "BOOL", "index": 5, "name": "archived", "comment": null}, "bid": {"type": "INT64", "index": 6, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 7, "name": "campaign_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "parent_type": {"type": "STRING", "index": 10, "name": "parent_type", "comment": null}, "value": {"type": "STRING", "index": 11, "name": "value", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 799.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data"}, "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "automated_keywords_opt_in": {"type": "BOOL", "index": 3, "name": "automated_keywords_opt_in", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "cpa_goal_amount": {"type": "INT64", "index": 5, "name": "cpa_goal_amount", "comment": null}, "cpa_goal_currency": {"type": "INT64", "index": 6, "name": "cpa_goal_currency", "comment": null}, "default_cpc_bid_amount": {"type": "INT64", "index": 7, "name": "default_cpc_bid_amount", "comment": null}, "default_cpc_bid_currency": {"type": "INT64", "index": 8, "name": "default_cpc_bid_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "organization_id": {"type": "INT64", "index": 12, "name": "organization_id", "comment": null}, "serving_state_reasons": {"type": "INT64", "index": 13, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 15, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "storefronts": {"type": "INT64", "index": 17, "name": "storefronts", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 334.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data"}, "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 3, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "version_tag": {"type": "INT64", "index": 6, "name": "version_tag", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 14.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 882.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data"}, "seed.ad_reporting_integration_tests.tiktok_advertiser_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_advertiser_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "address": {"type": "STRING", "index": 3, "name": "address", "comment": null}, "company": {"type": "STRING", "index": 4, "name": "company", "comment": null}, "contacter": {"type": "INT64", "index": 5, "name": "contacter", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "description": {"type": "STRING", "index": 8, "name": "description", "comment": null}, "email": {"type": "STRING", "index": 9, "name": "email", "comment": null}, "industry": {"type": "INT64", "index": 10, "name": "industry", "comment": null}, "license_no": {"type": "INT64", "index": 11, "name": "license_no", "comment": null}, "license_url": {"type": "INT64", "index": 12, "name": "license_url", "comment": null}, "promotion_area": {"type": "INT64", "index": 13, "name": "promotion_area", "comment": null}, "reason": {"type": "INT64", "index": 14, "name": "reason", "comment": null}, "role": {"type": "STRING", "index": 15, "name": "role", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "telephone": {"type": "INT64", "index": 17, "name": "telephone", "comment": null}, "timezone": {"type": "STRING", "index": 18, "name": "timezone", "comment": null}, "balance": {"type": "FLOAT64", "index": 19, "name": "balance", "comment": null}, "create_time": {"type": "STRING", "index": 20, "name": "create_time", "comment": null}, "language": {"type": "STRING", "index": 21, "name": "language", "comment": null}, "phone_number": {"type": "STRING", "index": 22, "name": "phone_number", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 23, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 439.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_advertiser_data"}, "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "bid": {"type": "FLOAT64", "index": 5, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 7, "name": "creation_date", "comment": null}, "keyword_text": {"type": "STRING", "index": 8, "name": "keyword_text", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "native_language_keyword": {"type": "INT64", "index": 10, "name": "native_language_keyword", "comment": null}, "serving_status": {"type": "STRING", "index": 11, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 12, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1545.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "click_url": {"type": "STRING", "index": 6, "name": "click_url", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "is_processing": {"type": "BOOL", "index": 9, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "post_id": {"type": "STRING", "index": 11, "name": "post_id", "comment": null}, "post_url": {"type": "INT64", "index": 12, "name": "post_url", "comment": null}, "preview_expiry": {"type": "INT64", "index": 13, "name": "preview_expiry", "comment": null}, "preview_url": {"type": "INT64", "index": 14, "name": "preview_url", "comment": null}, "rejection_reason": {"type": "INT64", "index": 15, "name": "rejection_reason", "comment": null}, "search_term": {"type": "INT64", "index": 16, "name": "search_term", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1243.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_group_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 6, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 7, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 8, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 9, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 10, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 11, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 12, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 13, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 16, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 229.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 38470.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data"}, "seed.ad_reporting_integration_tests.apple_search_ad_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 7, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 8, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 9, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 10, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 11, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 170.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_report_data"}, "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_advertiser_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 4, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 5, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 6, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 7, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 8, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 9, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 10, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 11, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 12, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 13, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 14, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 15, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 16, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 17, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 18, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 19, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 20, "name": "total_impression_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1344.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data"}, "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_product_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "asin": {"type": "STRING", "index": 5, "name": "asin", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 7, "name": "creation_date", "comment": null}, "serving_status": {"type": "STRING", "index": 8, "name": "serving_status", "comment": null}, "sku": {"type": "INT64", "index": 9, "name": "sku", "comment": null}, "state": {"type": "STRING", "index": 10, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 425.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data"}, "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_advertised_product_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 6, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 7, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 8, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 9, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 11, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 12, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 13, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1070.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data"}, "seed.ad_reporting_integration_tests.google_ads_account_stats_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_account_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 12, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 13, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 14, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 15, "name": "device", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 17, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 18, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 19, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3500.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_account_stats_data"}, "seed.ad_reporting_integration_tests.twitter_account_history_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 2, "name": "approval_status", "comment": null}, "business_id": {"type": "INT64", "index": 3, "name": "business_id", "comment": null}, "business_name": {"type": "INT64", "index": 4, "name": "business_name", "comment": null}, "created_at": {"type": "STRING", "index": 5, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "id": {"type": "STRING", "index": 7, "name": "id", "comment": null}, "industry_type": {"type": "INT64", "index": 8, "name": "industry_type", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "salt": {"type": "INT64", "index": 10, "name": "salt", "comment": null}, "timezone": {"type": "STRING", "index": 11, "name": "timezone", "comment": null}, "timezone_switch_at": {"type": "STRING", "index": 12, "name": "timezone_switch_at", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 159.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_account_history_data"}, "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_keywords_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "segment": {"type": "STRING", "index": 5, "name": "segment", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 6, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 7, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 8, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 9, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 10, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 11, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 13, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 16, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 17, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 18, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 21, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 22, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 25, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 27, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 30, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 31, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 32, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 35, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 37, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 40, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 50, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 51, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 54, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 56, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 59, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 60, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 61, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 62, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 63, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 64, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 65, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 70, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 80, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 85, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 90, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 94, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 99, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 100, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 101, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 106, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 107, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 108, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 111, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 112, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 165, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 167, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 170, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 171, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 172, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 175, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 176, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 177, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 180, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 181, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 182, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 183, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 184, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 210, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 211, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 212, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 213, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 214, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 229, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 230, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 231, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 232, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 233, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 234, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 235, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 236, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 237, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 238, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 239, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 240, "name": "url_clicks", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 241, "name": "video_15_s_views", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 242, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 243, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 244, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 245, "name": "video_cta_clicks", "comment": null}, "video_total_views": {"type": "INT64", "index": 246, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 247, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 248, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 249, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 250, "name": "video_views_75", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8100.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data"}, "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "base_ad_group": {"type": "STRING", "index": 11, "name": "base_ad_group", "comment": null}, "campaign_base_campaign": {"type": "STRING", "index": 12, "name": "campaign_base_campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 13, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "conversions": {"type": "FLOAT64", "index": 15, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 16, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 17, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 18, "name": "device", "comment": null}, "id": {"type": "INT64", "index": 19, "name": "id", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 21, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 22, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 23, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4150.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data"}, "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_account_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "device_os": {"type": "STRING", "index": 3, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 4, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 5, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "ad_distribution": {"type": "STRING", "index": 7, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 8, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 9, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 10, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1163.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data"}, "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_adgroup_report_hourly_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data"}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 2, "name": "campaign_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "modified_at": {"type": "DATETIME", "index": 4, "name": "modified_at", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 950.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_daily_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 7, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 8, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 9, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 10, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 11, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"keyword_id": {"type": "INT64", "index": 1, "name": "keyword_id", "comment": null}, "keyword_name": {"type": "STRING", "index": 2, "name": "keyword_name", "comment": null}, "modified_at": {"type": "TIMESTAMP", "index": 3, "name": "modified_at", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "match_type": {"type": "STRING", "index": 5, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 7, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 605.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_daily_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 6, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 7, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 8, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 9, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 10, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 11, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 12, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 13, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 16, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 2, "name": "ad_name", "comment": null}, "final_url": {"type": "STRING", "index": 3, "name": "final_url", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "modified_at": {"type": "TIMESTAMP", "index": 5, "name": "modified_at", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1135.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history"}, "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__search_daily_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "search_query": {"type": "STRING", "index": 7, "name": "search_query", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 2, "name": "ad_group_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "modified_at": {"type": "DATETIME", "index": 4, "name": "modified_at", "comment": null}, "start_date": {"type": "DATE", "index": 5, "name": "start_date", "comment": null}, "end_date": {"type": "INT64", "index": 6, "name": "end_date", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 668.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "currency_code": {"type": "STRING", "index": 7, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 12, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 13, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 14, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 15, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 53.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9602.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 3, "name": "modified_time", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "match_type": {"type": "STRING", "index": 5, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "device_os": {"type": "STRING", "index": 3, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 4, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 5, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "ad_distribution": {"type": "STRING", "index": 7, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 8, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 9, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 10, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1163.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"}, "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "last_modified_time": {"type": "DATETIME", "index": 3, "name": "last_modified_time", "comment": null}, "time_zone": {"type": "STRING", "index": 4, "name": "time_zone", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 4, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 5, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 6, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 7, "name": "network", "comment": null}, "ad_distribution": {"type": "STRING", "index": 8, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 9, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 10, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 11, "name": "top_vs_other", "comment": null}, "budget_association_status": {"type": "STRING", "index": 12, "name": "budget_association_status", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2630.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 423390.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 6, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 7, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 8, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 9, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 10, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 11, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 12, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 13, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 16, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 229.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 38470.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"}, "model.microsoft_ads_source.stg_microsoft_ads__account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "modified_at": {"type": "DATETIME", "index": 3, "name": "modified_at", "comment": null}, "time_zone": {"type": "STRING", "index": 4, "name": "time_zone", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 6, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 180.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history"}, "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__search_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "search_query": {"type": "STRING", "index": 7, "name": "search_query", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2126.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"}, "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_daily_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "device_os": {"type": "STRING", "index": 3, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 4, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 5, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "ad_distribution": {"type": "STRING", "index": 7, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 8, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 9, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 10, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "modified_time": {"type": "DATETIME", "index": 4, "name": "modified_time", "comment": null}, "start_date": {"type": "DATE", "index": 5, "name": "start_date", "comment": null}, "end_date": {"type": "INT64", "index": 6, "name": "end_date", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_daily_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 7, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 8, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 9, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 10, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 11, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 401.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 68992.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_daily_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 4, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 5, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 6, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 7, "name": "network", "comment": null}, "ad_distribution": {"type": "STRING", "index": 8, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 9, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 10, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 11, "name": "top_vs_other", "comment": null}, "budget_association_status": {"type": "STRING", "index": 12, "name": "budget_association_status", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_daily_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "currency_code": {"type": "STRING", "index": 7, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 12, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 13, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 14, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 15, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "modified_time": {"type": "DATETIME", "index": 4, "name": "modified_time", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"}, "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "title_part_1": {"type": "STRING", "index": 2, "name": "title_part_1", "comment": null}, "final_url": {"type": "STRING", "index": 3, "name": "final_url", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 5, "name": "modified_time", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"}, "model.tiktok_ads.tiktok_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 9, "name": "ad_name", "comment": null}, "base_url": {"type": "STRING", "index": 10, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 11, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 12, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 13, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 14, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 15, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 16, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 17, "name": "utm_term", "comment": null}, "currency": {"type": "STRING", "index": 18, "name": "currency", "comment": null}, "action_categories": {"type": "STRING", "index": 19, "name": "action_categories", "comment": null}, "category": {"type": "INT64", "index": 20, "name": "category", "comment": null}, "gender": {"type": "STRING", "index": 21, "name": "gender", "comment": null}, "audience_type": {"type": "INT64", "index": 22, "name": "audience_type", "comment": null}, "budget": {"type": "INT64", "index": 23, "name": "budget", "comment": null}, "age": {"type": "STRING", "index": 24, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 25, "name": "languages", "comment": null}, "interest_category": {"type": "STRING", "index": 26, "name": "interest_category", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 28, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 29, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 30, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 31, "name": "conversion", "comment": null}, "likes": {"type": "INT64", "index": 32, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 33, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 34, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 35, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 36, "name": "follows", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 37, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 38, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 39, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 40, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 41, "name": "video_views_p_75", "comment": null}, "daily_cpc": {"type": "FLOAT64", "index": 42, "name": "daily_cpc", "comment": null}, "daily_cpm": {"type": "FLOAT64", "index": 43, "name": "daily_cpm", "comment": null}, "daily_ctr": {"type": "FLOAT64", "index": 44, "name": "daily_ctr", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1726.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads.tiktok_ads__url_report"}, "model.tiktok_ads.tiktok_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "action_categories": {"type": "STRING", "index": 9, "name": "action_categories", "comment": null}, "category": {"type": "INT64", "index": 10, "name": "category", "comment": null}, "gender": {"type": "STRING", "index": 11, "name": "gender", "comment": null}, "audience_type": {"type": "INT64", "index": 12, "name": "audience_type", "comment": null}, "budget": {"type": "INT64", "index": 13, "name": "budget", "comment": null}, "age": {"type": "STRING", "index": 14, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 15, "name": "languages", "comment": null}, "interest_category": {"type": "STRING", "index": 16, "name": "interest_category", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 18, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 19, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 20, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 21, "name": "conversion", "comment": null}, "likes": {"type": "INT64", "index": 22, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 23, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 24, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 25, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 26, "name": "follows", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 27, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 28, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 29, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 30, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 31, "name": "video_views_p_75", "comment": null}, "daily_cpc": {"type": "FLOAT64", "index": 32, "name": "daily_cpc", "comment": null}, "daily_cpm": {"type": "FLOAT64", "index": 33, "name": "daily_cpm", "comment": null}, "daily_ctr": {"type": "FLOAT64", "index": 34, "name": "daily_ctr", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1259.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads.tiktok_ads__ad_group_report"}, "model.tiktok_ads.tiktok_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 9, "name": "ad_name", "comment": null}, "currency": {"type": "STRING", "index": 10, "name": "currency", "comment": null}, "category": {"type": "INT64", "index": 11, "name": "category", "comment": null}, "action_categories": {"type": "STRING", "index": 12, "name": "action_categories", "comment": null}, "gender": {"type": "STRING", "index": 13, "name": "gender", "comment": null}, "audience_type": {"type": "INT64", "index": 14, "name": "audience_type", "comment": null}, "budget": {"type": "INT64", "index": 15, "name": "budget", "comment": null}, "age": {"type": "STRING", "index": 16, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 17, "name": "languages", "comment": null}, "interest_category": {"type": "STRING", "index": 18, "name": "interest_category", "comment": null}, "impressions": {"type": "INT64", "index": 19, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 20, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 21, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 22, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 23, "name": "conversion", "comment": null}, "likes": {"type": "INT64", "index": 24, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 25, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 26, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 27, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 28, "name": "follows", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 29, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 30, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 31, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 32, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 33, "name": "video_views_p_75", "comment": null}, "daily_cpc": {"type": "FLOAT64", "index": 34, "name": "daily_cpc", "comment": null}, "daily_cpm": {"type": "FLOAT64", "index": 35, "name": "daily_cpm", "comment": null}, "daily_ctr": {"type": "FLOAT64", "index": 36, "name": "daily_ctr", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1479.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads.tiktok_ads__ad_report"}, "model.tiktok_ads.tiktok_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "impressions": {"type": "INT64", "index": 7, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 10, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 11, "name": "conversion", "comment": null}, "likes": {"type": "INT64", "index": 12, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 13, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 14, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 15, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 16, "name": "follows", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 17, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 18, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 19, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 20, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 21, "name": "video_views_p_75", "comment": null}, "daily_cpc": {"type": "FLOAT64", "index": 22, "name": "daily_cpc", "comment": null}, "daily_cpm": {"type": "FLOAT64", "index": 23, "name": "daily_cpm", "comment": null}, "daily_ctr": {"type": "FLOAT64", "index": 24, "name": "daily_ctr", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 741.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads.tiktok_ads__campaign_report"}, "model.tiktok_ads.tiktok_ads__advertiser_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__advertiser_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 8, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 9, "name": "conversion", "comment": null}, "likes": {"type": "INT64", "index": 10, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 11, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 12, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 13, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 14, "name": "follows", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 15, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 16, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 17, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 18, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 19, "name": "video_views_p_75", "comment": null}, "daily_cpc": {"type": "FLOAT64", "index": 20, "name": "daily_cpc", "comment": null}, "daily_cpm": {"type": "FLOAT64", "index": 21, "name": "daily_cpm", "comment": null}, "daily_ctr": {"type": "FLOAT64", "index": 22, "name": "daily_ctr", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 638.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads.tiktok_ads__advertiser_report"}, "model.twitter_ads.twitter_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "placement": {"type": "STRING", "index": 2, "name": "placement", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "is_deleted": {"type": "BOOL", "index": 5, "name": "is_deleted", "comment": null}, "timezone": {"type": "STRING", "index": 6, "name": "timezone", "comment": null}, "industry_type": {"type": "INT64", "index": 7, "name": "industry_type", "comment": null}, "approval_status": {"type": "STRING", "index": 8, "name": "approval_status", "comment": null}, "business_name": {"type": "INT64", "index": 9, "name": "business_name", "comment": null}, "business_id": {"type": "INT64", "index": 10, "name": "business_id", "comment": null}, "created_timestamp": {"type": "STRING", "index": 11, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 12, "name": "updated_timestamp", "comment": null}, "timezone_switched_timestamp": {"type": "STRING", "index": 13, "name": "timezone_switched_timestamp", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 16, "name": "spend", "comment": null}, "spend_micro": {"type": "INT64", "index": 17, "name": "spend_micro", "comment": null}, "url_clicks": {"type": "INT64", "index": 18, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 85.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16745.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads.twitter_ads__account_report"}, "model.twitter_ads.twitter_ads__promoted_tweet_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__promoted_tweet_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "placement": {"type": "STRING", "index": 2, "name": "placement", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "line_item_id": {"type": "STRING", "index": 7, "name": "line_item_id", "comment": null}, "line_item_name": {"type": "STRING", "index": 8, "name": "line_item_name", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 9, "name": "promoted_tweet_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 10, "name": "tweet_id", "comment": null}, "tweet_name": {"type": "INT64", "index": 11, "name": "tweet_name", "comment": null}, "full_text": {"type": "STRING", "index": 12, "name": "full_text", "comment": null}, "is_deleted": {"type": "BOOL", "index": 13, "name": "is_deleted", "comment": null}, "promoted_tweet_status": {"type": "STRING", "index": 14, "name": "promoted_tweet_status", "comment": null}, "campaign_status": {"type": "STRING", "index": 15, "name": "campaign_status", "comment": null}, "line_item_status": {"type": "STRING", "index": 16, "name": "line_item_status", "comment": null}, "language": {"type": "STRING", "index": 17, "name": "language", "comment": null}, "currency": {"type": "STRING", "index": 18, "name": "currency", "comment": null}, "approval_status": {"type": "STRING", "index": 19, "name": "approval_status", "comment": null}, "created_timestamp": {"type": "STRING", "index": 20, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 21, "name": "updated_timestamp", "comment": null}, "clicks": {"type": "INT64", "index": 22, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 23, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 24, "name": "spend", "comment": null}, "spend_micro": {"type": "INT64", "index": 25, "name": "spend_micro", "comment": null}, "url_clicks": {"type": "INT64", "index": 26, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 26200.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads.twitter_ads__promoted_tweet_report"}, "model.twitter_ads.twitter_ads__line_item_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__line_item_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "placement": {"type": "STRING", "index": 2, "name": "placement", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "line_item_id": {"type": "STRING", "index": 7, "name": "line_item_id", "comment": null}, "line_item_name": {"type": "STRING", "index": 8, "name": "line_item_name", "comment": null}, "is_deleted": {"type": "BOOL", "index": 9, "name": "is_deleted", "comment": null}, "line_item_status": {"type": "STRING", "index": 10, "name": "line_item_status", "comment": null}, "campaign_status": {"type": "STRING", "index": 11, "name": "campaign_status", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "advertiser_domain": {"type": "STRING", "index": 13, "name": "advertiser_domain", "comment": null}, "advertiser_user_id": {"type": "INT64", "index": 14, "name": "advertiser_user_id", "comment": null}, "bid_type": {"type": "STRING", "index": 15, "name": "bid_type", "comment": null}, "bid_unit": {"type": "STRING", "index": 16, "name": "bid_unit", "comment": null}, "charge_by": {"type": "STRING", "index": 17, "name": "charge_by", "comment": null}, "objective": {"type": "STRING", "index": 18, "name": "objective", "comment": null}, "optimization": {"type": "STRING", "index": 19, "name": "optimization", "comment": null}, "product_type": {"type": "STRING", "index": 20, "name": "product_type", "comment": null}, "primary_web_event_tag": {"type": "INT64", "index": 21, "name": "primary_web_event_tag", "comment": null}, "creative_source": {"type": "STRING", "index": 22, "name": "creative_source", "comment": null}, "start_timestamp": {"type": "INT64", "index": 23, "name": "start_timestamp", "comment": null}, "end_timestamp": {"type": "INT64", "index": 24, "name": "end_timestamp", "comment": null}, "created_timestamp": {"type": "STRING", "index": 25, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 26, "name": "updated_timestamp", "comment": null}, "target_cpa": {"type": "FLOAT64", "index": 27, "name": "target_cpa", "comment": null}, "total_budget_amount": {"type": "FLOAT64", "index": 28, "name": "total_budget_amount", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 29, "name": "bid_amount", "comment": null}, "clicks": {"type": "INT64", "index": 30, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 31, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 32, "name": "spend", "comment": null}, "spend_micro": {"type": "INT64", "index": 33, "name": "spend_micro", "comment": null}, "url_clicks": {"type": "INT64", "index": 34, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1141.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads.twitter_ads__line_item_report"}, "model.twitter_ads.twitter_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "placement": {"type": "STRING", "index": 2, "name": "placement", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "line_item_id": {"type": "STRING", "index": 7, "name": "line_item_id", "comment": null}, "line_item_name": {"type": "STRING", "index": 8, "name": "line_item_name", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 9, "name": "promoted_tweet_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 10, "name": "tweet_id", "comment": null}, "tweet_name": {"type": "INT64", "index": 11, "name": "tweet_name", "comment": null}, "tweet_full_text": {"type": "STRING", "index": 12, "name": "tweet_full_text", "comment": null}, "base_url": {"type": "STRING", "index": 13, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 14, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 15, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 16, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 17, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 18, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 19, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 20, "name": "utm_term", "comment": null}, "expanded_url": {"type": "STRING", "index": 21, "name": "expanded_url", "comment": null}, "display_url": {"type": "STRING", "index": 22, "name": "display_url", "comment": null}, "currency": {"type": "STRING", "index": 23, "name": "currency", "comment": null}, "clicks": {"type": "INT64", "index": 24, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 26, "name": "spend", "comment": null}, "spend_micro": {"type": "INT64", "index": 27, "name": "spend_micro", "comment": null}, "url_clicks": {"type": "INT64", "index": 28, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 72.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 19406.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads.twitter_ads__url_report"}, "model.twitter_ads.twitter_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "placement": {"type": "STRING", "index": 2, "name": "placement", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "is_deleted": {"type": "BOOL", "index": 7, "name": "is_deleted", "comment": null}, "campaign_status": {"type": "STRING", "index": 8, "name": "campaign_status", "comment": null}, "currency": {"type": "STRING", "index": 9, "name": "currency", "comment": null}, "is_servable": {"type": "BOOL", "index": 10, "name": "is_servable", "comment": null}, "is_standard_delivery": {"type": "BOOL", "index": 11, "name": "is_standard_delivery", "comment": null}, "frequency_cap": {"type": "INT64", "index": 12, "name": "frequency_cap", "comment": null}, "start_timestamp": {"type": "STRING", "index": 13, "name": "start_timestamp", "comment": null}, "end_timestamp": {"type": "STRING", "index": 14, "name": "end_timestamp", "comment": null}, "created_timestamp": {"type": "STRING", "index": 15, "name": "created_timestamp", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 16, "name": "updated_timestamp", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 17, "name": "funding_instrument_id", "comment": null}, "daily_budget_amount": {"type": "FLOAT64", "index": 18, "name": "daily_budget_amount", "comment": null}, "total_budget_amount": {"type": "FLOAT64", "index": 19, "name": "total_budget_amount", "comment": null}, "clicks": {"type": "INT64", "index": 20, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 22, "name": "spend", "comment": null}, "spend_micro": {"type": "INT64", "index": 23, "name": "spend_micro", "comment": null}, "url_clicks": {"type": "INT64", "index": 24, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 382.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads.twitter_ads__campaign_report"}, "model.reddit_ads.reddit_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "attribution_type": {"type": "STRING", "index": 4, "name": "attribution_type", "comment": null}, "status": {"type": "INT64", "index": 5, "name": "status", "comment": null}, "time_zone_id": {"type": "STRING", "index": 6, "name": "time_zone_id", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 56.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3696.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads.reddit_ads__account_report"}, "model.reddit_ads.reddit_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 3, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "clicks": {"type": "INT64", "index": 6, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 7, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 79.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 5191.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads.reddit_ads__campaign_report"}, "model.reddit_ads.reddit_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_name": {"type": "STRING", "index": 2, "name": "ad_name", "comment": null}, "ad_id": {"type": "INT64", "index": 3, "name": "ad_id", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 8, "name": "ad_group_id", "comment": null}, "currency": {"type": "STRING", "index": 9, "name": "currency", "comment": null}, "post_id": {"type": "STRING", "index": 10, "name": "post_id", "comment": null}, "post_url": {"type": "INT64", "index": 11, "name": "post_url", "comment": null}, "click_url": {"type": "STRING", "index": 12, "name": "click_url", "comment": null}, "base_url": {"type": "STRING", "index": 13, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 14, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 15, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 16, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 17, "name": "utm_medium", "comment": null}, "utm_term": {"type": "STRING", "index": 18, "name": "utm_term", "comment": null}, "utm_content": {"type": "STRING", "index": 19, "name": "utm_content", "comment": null}, "utm_campaign": {"type": "STRING", "index": 20, "name": "utm_campaign", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 22, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 23, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads.reddit_ads__url_report"}, "model.reddit_ads.reddit_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 3, "name": "ad_name", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 8, "name": "ad_group_id", "comment": null}, "currency": {"type": "STRING", "index": 9, "name": "currency", "comment": null}, "post_id": {"type": "STRING", "index": 10, "name": "post_id", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 5300.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads.reddit_ads__ad_report"}, "model.reddit_ads.reddit_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 3, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 10, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7616.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads.reddit_ads__ad_group_report"}, "model.pinterest.pinterest_ads__advertiser_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__advertiser_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_name": {"type": "STRING", "index": 2, "name": "advertiser_name", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "advertiser_status": {"type": "STRING", "index": 4, "name": "advertiser_status", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "billing_type": {"type": "STRING", "index": 7, "name": "billing_type", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 930.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest.pinterest_ads__advertiser_report"}, "model.pinterest.pinterest_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_name": {"type": "STRING", "index": 2, "name": "advertiser_name", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 5, "name": "campaign_status", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 8, "name": "ad_group_id", "comment": null}, "created_at": {"type": "STRING", "index": 9, "name": "created_at", "comment": null}, "start_time": {"type": "STRING", "index": 10, "name": "start_time", "comment": null}, "end_time": {"type": "INT64", "index": 11, "name": "end_time", "comment": null}, "ad_group_status": {"type": "STRING", "index": 12, "name": "ad_group_status", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 400.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest.pinterest_ads__ad_group_report"}, "model.pinterest.pinterest_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_name": {"type": "STRING", "index": 2, "name": "advertiser_name", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "campaign_status": {"type": "STRING", "index": 6, "name": "campaign_status", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 400.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest.pinterest_ads__campaign_report"}, "model.pinterest.pinterest_ads__pin_promotion_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__pin_promotion_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 6, "name": "campaign_status", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 9, "name": "ad_group_status", "comment": null}, "creative_type": {"type": "STRING", "index": 10, "name": "creative_type", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 11, "name": "pin_promotion_id", "comment": null}, "pin_name": {"type": "STRING", "index": 12, "name": "pin_name", "comment": null}, "pin_status": {"type": "STRING", "index": 13, "name": "pin_status", "comment": null}, "destination_url": {"type": "STRING", "index": 14, "name": "destination_url", "comment": null}, "base_url": {"type": "STRING", "index": 15, "name": "base_url", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 26592.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest.pinterest_ads__pin_promotion_report"}, "model.pinterest.pinterest_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_name": {"type": "STRING", "index": 2, "name": "advertiser_name", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 8, "name": "keyword_id", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "parent_type": {"type": "STRING", "index": 10, "name": "parent_type", "comment": null}, "keyword_value": {"type": "STRING", "index": 11, "name": "keyword_value", "comment": null}, "spend": {"type": "FLOAT64", "index": 12, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 29.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1854.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest.pinterest_ads__keyword_report"}, "model.pinterest.pinterest_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 3, "name": "advertiser_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 6, "name": "campaign_status", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 9, "name": "ad_group_status", "comment": null}, "destination_url": {"type": "STRING", "index": 10, "name": "destination_url", "comment": null}, "creative_type": {"type": "STRING", "index": 11, "name": "creative_type", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 12, "name": "pin_promotion_id", "comment": null}, "pin_name": {"type": "STRING", "index": 13, "name": "pin_name", "comment": null}, "pin_status": {"type": "STRING", "index": 14, "name": "pin_status", "comment": null}, "base_url": {"type": "STRING", "index": 15, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 16, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 17, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 18, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 19, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 20, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 21, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 22, "name": "utm_term", "comment": null}, "clicks": {"type": "INT64", "index": 23, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 24, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 25, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 29292.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest.pinterest_ads__url_report"}, "model.reddit_ads_source.stg_reddit_ads__account_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "attribution_type": {"type": "STRING", "index": 3, "name": "attribution_type", "comment": null}, "click_attribution_window": {"type": "STRING", "index": 4, "name": "click_attribution_window", "comment": null}, "created_at": {"type": "DATETIME", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "status": {"type": "INT64", "index": 7, "name": "status", "comment": null}, "time_zone_id": {"type": "STRING", "index": 8, "name": "time_zone_id", "comment": null}, "view_attribution_window": {"type": "STRING", "index": 9, "name": "view_attribution_window", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_tmp"}, "model.reddit_ads_source.stg_reddit_ads__account": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"attribution_type": {"type": "STRING", "index": 1, "name": "attribution_type", "comment": null}, "click_attribution_window": {"type": "STRING", "index": 2, "name": "click_attribution_window", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 3, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "account_id": {"type": "INT64", "index": 5, "name": "account_id", "comment": null}, "status": {"type": "INT64", "index": 6, "name": "status", "comment": null}, "time_zone_id": {"type": "STRING", "index": 7, "name": "time_zone_id", "comment": null}, "view_attribution_window": {"type": "STRING", "index": 8, "name": "view_attribution_window", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 54.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account"}, "model.reddit_ads_source.stg_reddit_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "date_day": {"type": "DATE", "index": 4, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 5, "name": "impressions", "comment": null}, "region": {"type": "INT64", "index": 6, "name": "region", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 79.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3792.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report"}, "model.reddit_ads_source.stg_reddit_ads__ad_group": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "bid_strategy": {"type": "STRING", "index": 2, "name": "bid_strategy", "comment": null}, "bid_value": {"type": "INT64", "index": 3, "name": "bid_value", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "configured_status": {"type": "STRING", "index": 5, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 6, "name": "effective_status", "comment": null}, "end_time_at": {"type": "TIMESTAMP", "index": 7, "name": "end_time_at", "comment": null}, "expand_targeting": {"type": "BOOL", "index": 8, "name": "expand_targeting", "comment": null}, "goal_type": {"type": "STRING", "index": 9, "name": "goal_type", "comment": null}, "goal_value": {"type": "INT64", "index": 10, "name": "goal_value", "comment": null}, "ad_group_id": {"type": "INT64", "index": 11, "name": "ad_group_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 12, "name": "is_processing", "comment": null}, "ad_group_name": {"type": "STRING", "index": 13, "name": "ad_group_name", "comment": null}, "optimization_strategy_type": {"type": "INT64", "index": 14, "name": "optimization_strategy_type", "comment": null}, "start_time_at": {"type": "TIMESTAMP", "index": 15, "name": "start_time_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2173.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group"}, "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "configured_status": {"type": "STRING", "index": 4, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 5, "name": "effective_status", "comment": null}, "funding_instrument_id": {"type": "INT64", "index": 6, "name": "funding_instrument_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 7, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 9, "name": "objective", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"}, "model.reddit_ads_source.stg_reddit_ads__campaign": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "configured_status": {"type": "STRING", "index": 2, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 3, "name": "effective_status", "comment": null}, "funding_instrument_id": {"type": "INT64", "index": 4, "name": "funding_instrument_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 6, "name": "is_processing", "comment": null}, "campaign_name": {"type": "STRING", "index": 7, "name": "campaign_name", "comment": null}, "objective": {"type": "STRING", "index": 8, "name": "objective", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 634.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign"}, "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"}, "model.reddit_ads_source.stg_reddit_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "date_day": {"type": "DATE", "index": 4, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 5, "name": "impressions", "comment": null}, "region": {"type": "INT64", "index": 6, "name": "region", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report"}, "model.reddit_ads_source.stg_reddit_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "date_day": {"type": "DATE", "index": 4, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 5, "name": "impressions", "comment": null}, "region": {"type": "INT64", "index": 6, "name": "region", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report"}, "model.reddit_ads_source.stg_reddit_ads__ad_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "click_url": {"type": "STRING", "index": 6, "name": "click_url", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "is_processing": {"type": "BOOL", "index": 9, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "post_id": {"type": "STRING", "index": 11, "name": "post_id", "comment": null}, "post_url": {"type": "INT64", "index": 12, "name": "post_url", "comment": null}, "preview_expiry": {"type": "INT64", "index": 13, "name": "preview_expiry", "comment": null}, "preview_url": {"type": "INT64", "index": 14, "name": "preview_url", "comment": null}, "rejection_reason": {"type": "INT64", "index": 15, "name": "rejection_reason", "comment": null}, "search_term": {"type": "INT64", "index": 16, "name": "search_term", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_tmp"}, "model.reddit_ads_source.stg_reddit_ads__ad": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "click_url": {"type": "STRING", "index": 4, "name": "click_url", "comment": null}, "configured_status": {"type": "STRING", "index": 5, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 6, "name": "effective_status", "comment": null}, "ad_id": {"type": "INT64", "index": 7, "name": "ad_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 8, "name": "is_processing", "comment": null}, "ad_name": {"type": "STRING", "index": 9, "name": "ad_name", "comment": null}, "post_id": {"type": "STRING", "index": 10, "name": "post_id", "comment": null}, "post_url": {"type": "INT64", "index": 11, "name": "post_url", "comment": null}, "rejection_reason": {"type": "INT64", "index": 12, "name": "rejection_reason", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1083.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad"}, "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"}, "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "bid_strategy": {"type": "STRING", "index": 4, "name": "bid_strategy", "comment": null}, "bid_value": {"type": "INT64", "index": 5, "name": "bid_value", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "end_time": {"type": "DATETIME", "index": 9, "name": "end_time", "comment": null}, "expand_targeting": {"type": "BOOL", "index": 10, "name": "expand_targeting", "comment": null}, "goal_type": {"type": "STRING", "index": 11, "name": "goal_type", "comment": null}, "goal_value": {"type": "INT64", "index": 12, "name": "goal_value", "comment": null}, "is_processing": {"type": "BOOL", "index": 13, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "optimization_strategy_type": {"type": "INT64", "index": 15, "name": "optimization_strategy_type", "comment": null}, "start_time": {"type": "DATETIME", "index": 16, "name": "start_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"}, "model.reddit_ads_source.stg_reddit_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "clicks": {"type": "INT64", "index": 2, "name": "clicks", "comment": null}, "date_day": {"type": "DATE", "index": 3, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "region": {"type": "INT64", "index": 5, "name": "region", "comment": null}, "spend": {"type": "FLOAT64", "index": 6, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 56.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2240.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report"}, "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"}, "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 4, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 6, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 7, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 8, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 9, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 10, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 11, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 12, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 13, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 15, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 17, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 18, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 19, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 20, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 21, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 22, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 23, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 24, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 25, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 26, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 27, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 30, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 33, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 34, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 35, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 36, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 37, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 38, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 39, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 40, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 41, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 42, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 43, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 44, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 45, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 46, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 47, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 48, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 49, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 50, "name": "viewer_comments", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"}, "model.google_ads.google_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "INT64", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "ad_name": {"type": "INT64", "index": 9, "name": "ad_name", "comment": null}, "ad_status": {"type": "STRING", "index": 10, "name": "ad_status", "comment": null}, "ad_type": {"type": "INT64", "index": 11, "name": "ad_type", "comment": null}, "display_url": {"type": "INT64", "index": 12, "name": "display_url", "comment": null}, "source_final_urls": {"type": "STRING", "index": 13, "name": "source_final_urls", "comment": null}, "spend": {"type": "FLOAT64", "index": 14, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1170.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads.google_ads__ad_report"}, "model.google_ads.google_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "INT64", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "currency_code": {"type": "STRING", "index": 4, "name": "currency_code", "comment": null}, "auto_tagging_enabled": {"type": "BOOL", "index": 5, "name": "auto_tagging_enabled", "comment": null}, "time_zone": {"type": "INT64", "index": 6, "name": "time_zone", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 690.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads.google_ads__account_report"}, "model.google_ads.google_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "INT64", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_status": {"type": "STRING", "index": 8, "name": "ad_group_status", "comment": null}, "ad_group_type": {"type": "STRING", "index": 9, "name": "ad_group_type", "comment": null}, "spend": {"type": "FLOAT64", "index": 10, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1455.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads.google_ads__ad_group_report"}, "model.google_ads.google_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "INT64", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "base_url": {"type": "STRING", "index": 9, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 10, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 11, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 12, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 13, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 14, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 15, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 16, "name": "utm_term", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 18, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 19, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads.google_ads__url_report"}, "model.google_ads.google_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "INT64", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "criterion_id": {"type": "INT64", "index": 8, "name": "criterion_id", "comment": null}, "type": {"type": "STRING", "index": 9, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "keyword_match_type": {"type": "STRING", "index": 11, "name": "keyword_match_type", "comment": null}, "keyword_text": {"type": "STRING", "index": 12, "name": "keyword_text", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1950.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads.google_ads__keyword_report"}, "model.google_ads.google_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "INT64", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "advertising_channel_type": {"type": "STRING", "index": 6, "name": "advertising_channel_type", "comment": null}, "advertising_channel_subtype": {"type": "STRING", "index": 7, "name": "advertising_channel_subtype", "comment": null}, "status": {"type": "STRING", "index": 8, "name": "status", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1648.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads.google_ads__campaign_report"}, "model.amazon_ads_source.stg_amazon_ads__keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__keyword_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "bid": {"type": "FLOAT64", "index": 2, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 4, "name": "creation_date", "comment": null}, "keyword_id": {"type": "INT64", "index": 5, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 6, "name": "keyword_text", "comment": null}, "last_updated_date": {"type": "STRING", "index": 7, "name": "last_updated_date", "comment": null}, "match_type": {"type": "STRING", "index": 8, "name": "match_type", "comment": null}, "native_language_keyword": {"type": "INT64", "index": 9, "name": "native_language_keyword", "comment": null}, "serving_status": {"type": "STRING", "index": 10, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 11, "name": "state", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1302.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history"}, "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_level_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_applicable_budget_rule_id": {"type": "INT64", "index": 4, "name": "campaign_applicable_budget_rule_id", "comment": null}, "campaign_applicable_budget_rule_name": {"type": "INT64", "index": 5, "name": "campaign_applicable_budget_rule_name", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 6, "name": "campaign_bidding_strategy", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 7, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 8, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 9, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 10, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 13, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"}, "model.amazon_ads_source.stg_amazon_ads__ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 2, "name": "creation_date", "comment": null}, "default_bid": {"type": "FLOAT64", "index": 3, "name": "default_bid", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 5, "name": "last_updated_date", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "serving_status": {"type": "STRING", "index": 7, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 8, "name": "state", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 234.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history"}, "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__advertised_product_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 6, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 7, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 8, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 9, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 11, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 12, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 13, "name": "impressions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"}, "model.amazon_ads_source.stg_amazon_ads__product_ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__product_ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "asin": {"type": "STRING", "index": 2, "name": "asin", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 4, "name": "creation_date", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 6, "name": "last_updated_date", "comment": null}, "serving_status": {"type": "STRING", "index": 7, "name": "serving_status", "comment": null}, "sku": {"type": "INT64", "index": 8, "name": "sku", "comment": null}, "state": {"type": "STRING", "index": 9, "name": "state", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 10, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 344.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history"}, "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_level_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 4, "name": "campaign_bidding_strategy", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 6, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 7, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"}, "model.amazon_ads_source.stg_amazon_ads__profile": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__profile", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"profile_id": {"type": "INT64", "index": 1, "name": "profile_id", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "account_marketplace_string_id": {"type": "STRING", "index": 3, "name": "account_marketplace_string_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "account_sub_type": {"type": "INT64", "index": 5, "name": "account_sub_type", "comment": null}, "account_type": {"type": "STRING", "index": 6, "name": "account_type", "comment": null}, "account_valid_payment_method": {"type": "BOOL", "index": 7, "name": "account_valid_payment_method", "comment": null}, "country_code": {"type": "STRING", "index": 8, "name": "country_code", "comment": null}, "currency_code": {"type": "STRING", "index": 9, "name": "currency_code", "comment": null}, "daily_budget": {"type": "INT64", "index": 10, "name": "daily_budget", "comment": null}, "timezone": {"type": "STRING", "index": 11, "name": "timezone", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 12, "name": "_fivetran_deleted", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 88.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile"}, "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_level_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_applicable_budget_rule_id": {"type": "INT64", "index": 1, "name": "campaign_applicable_budget_rule_id", "comment": null}, "campaign_applicable_budget_rule_name": {"type": "INT64", "index": 2, "name": "campaign_applicable_budget_rule_name", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 3, "name": "campaign_bidding_strategy", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 4, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 5, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 6, "name": "campaign_budget_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 7, "name": "campaign_id", "comment": null}, "campaign_rule_based_budget_amount": {"type": "FLOAT64", "index": 8, "name": "campaign_rule_based_budget_amount", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 10, "name": "cost", "comment": null}, "date_day": {"type": "DATE", "index": 11, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 850.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report"}, "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__targeting_keyword_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "ad_keyword_status": {"type": "STRING", "index": 6, "name": "ad_keyword_status", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 7, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 8, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 9, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 10, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 13, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 15, "name": "keyword_bid", "comment": null}, "keyword_type": {"type": "STRING", "index": 16, "name": "keyword_type", "comment": null}, "match_type": {"type": "STRING", "index": 17, "name": "match_type", "comment": null}, "targeting": {"type": "STRING", "index": 18, "name": "targeting", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"}, "model.amazon_ads_source.stg_amazon_ads__profile_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__profile_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "account_marketplace_string_id": {"type": "STRING", "index": 5, "name": "account_marketplace_string_id", "comment": null}, "account_name": {"type": "STRING", "index": 6, "name": "account_name", "comment": null}, "account_sub_type": {"type": "INT64", "index": 7, "name": "account_sub_type", "comment": null}, "account_type": {"type": "STRING", "index": 8, "name": "account_type", "comment": null}, "account_valid_payment_method": {"type": "BOOL", "index": 9, "name": "account_valid_payment_method", "comment": null}, "country_code": {"type": "STRING", "index": 10, "name": "country_code", "comment": null}, "currency_code": {"type": "STRING", "index": 11, "name": "currency_code", "comment": null}, "daily_budget": {"type": "INT64", "index": 12, "name": "daily_budget", "comment": null}, "timezone": {"type": "STRING", "index": 13, "name": "timezone", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile_tmp"}, "model.amazon_ads_source.stg_amazon_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"bidding_strategy": {"type": "STRING", "index": 1, "name": "bidding_strategy", "comment": null}, "campaign_type": {"type": "STRING", "index": 2, "name": "campaign_type", "comment": null}, "creation_date": {"type": "STRING", "index": 3, "name": "creation_date", "comment": null}, "daily_budget": {"type": "INT64", "index": 4, "name": "daily_budget", "comment": null}, "end_date": {"type": "INT64", "index": 5, "name": "end_date", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 7, "name": "last_updated_date", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "placement": {"type": "INT64", "index": 9, "name": "placement", "comment": null}, "portfolio_id": {"type": "INT64", "index": 10, "name": "portfolio_id", "comment": null}, "premium_bid_adjustment": {"type": "BOOL", "index": 11, "name": "premium_bid_adjustment", "comment": null}, "profile_id": {"type": "INT64", "index": 12, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 13, "name": "serving_status", "comment": null}, "start_date": {"type": "DATE", "index": 14, "name": "start_date", "comment": null}, "state": {"type": "STRING", "index": 15, "name": "state", "comment": null}, "targeting_type": {"type": "STRING", "index": 16, "name": "targeting_type", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 17, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 6.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1097.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history"}, "model.amazon_ads_source.stg_amazon_ads__portfolio_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__portfolio_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"budget_amount": {"type": "INT64", "index": 1, "name": "budget_amount", "comment": null}, "budget_currency_code": {"type": "INT64", "index": 2, "name": "budget_currency_code", "comment": null}, "budget_end_date": {"type": "INT64", "index": 3, "name": "budget_end_date", "comment": null}, "budget_policy": {"type": "INT64", "index": 4, "name": "budget_policy", "comment": null}, "budget_start_date": {"type": "INT64", "index": 5, "name": "budget_start_date", "comment": null}, "creation_date": {"type": "STRING", "index": 6, "name": "creation_date", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "in_budget": {"type": "BOOL", "index": 8, "name": "in_budget", "comment": null}, "last_updated_date": {"type": "STRING", "index": 9, "name": "last_updated_date", "comment": null}, "portfolio_name": {"type": "STRING", "index": 10, "name": "portfolio_name", "comment": null}, "profile_id": {"type": "INT64", "index": 11, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 12, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 13, "name": "state", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 14, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 117.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history"}, "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 5, "name": "creation_date", "comment": null}, "default_bid": {"type": "FLOAT64", "index": 6, "name": "default_bid", "comment": null}, "name": {"type": "STRING", "index": 7, "name": "name", "comment": null}, "serving_status": {"type": "STRING", "index": 8, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 9, "name": "state", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"}, "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__targeting_keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_keyword_status": {"type": "STRING", "index": 2, "name": "ad_keyword_status", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 3, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 4, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 5, "name": "campaign_budget_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 8, "name": "cost", "comment": null}, "date_day": {"type": "DATE", "index": 9, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 11, "name": "keyword_bid", "comment": null}, "keyword_id": {"type": "INT64", "index": 12, "name": "keyword_id", "comment": null}, "keyword_type": {"type": "STRING", "index": 13, "name": "keyword_type", "comment": null}, "match_type": {"type": "STRING", "index": 14, "name": "match_type", "comment": null}, "targeting": {"type": "STRING", "index": 15, "name": "targeting", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1280.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"}, "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__product_ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "asin": {"type": "STRING", "index": 5, "name": "asin", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 7, "name": "creation_date", "comment": null}, "serving_status": {"type": "STRING", "index": 8, "name": "serving_status", "comment": null}, "sku": {"type": "INT64", "index": 9, "name": "sku", "comment": null}, "state": {"type": "STRING", "index": 10, "name": "state", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"}, "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_level_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 2, "name": "campaign_bidding_strategy", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 4, "name": "cost", "comment": null}, "date_day": {"type": "DATE", "index": 5, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 480.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"}, "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__advertised_product_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "advertised_asin": {"type": "STRING", "index": 3, "name": "advertised_asin", "comment": null}, "advertised_sku": {"type": "STRING", "index": 4, "name": "advertised_sku", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 5, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 6, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 7, "name": "campaign_budget_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 8, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 10, "name": "cost", "comment": null}, "date_day": {"type": "DATE", "index": 11, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 830.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report"}, "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__portfolio_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "budget_amount": {"type": "INT64", "index": 4, "name": "budget_amount", "comment": null}, "budget_currency_code": {"type": "INT64", "index": 5, "name": "budget_currency_code", "comment": null}, "budget_end_date": {"type": "INT64", "index": 6, "name": "budget_end_date", "comment": null}, "budget_policy": {"type": "INT64", "index": 7, "name": "budget_policy", "comment": null}, "budget_start_date": {"type": "INT64", "index": 8, "name": "budget_start_date", "comment": null}, "creation_date": {"type": "STRING", "index": 9, "name": "creation_date", "comment": null}, "in_budget": {"type": "BOOL", "index": 10, "name": "in_budget", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "profile_id": {"type": "INT64", "index": 12, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 13, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"}, "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__search_term_ad_keyword_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 6, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 7, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 8, "name": "campaign_budget_type", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 10, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 11, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 13, "name": "keyword_bid", "comment": null}, "search_term": {"type": "STRING", "index": 14, "name": "search_term", "comment": null}, "targeting": {"type": "STRING", "index": 15, "name": "targeting", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"}, "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "bidding_strategy": {"type": "STRING", "index": 4, "name": "bidding_strategy", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "creation_date": {"type": "STRING", "index": 6, "name": "creation_date", "comment": null}, "daily_budget": {"type": "INT64", "index": 7, "name": "daily_budget", "comment": null}, "end_date": {"type": "INT64", "index": 8, "name": "end_date", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "placement": {"type": "INT64", "index": 10, "name": "placement", "comment": null}, "portfolio_id": {"type": "INT64", "index": 11, "name": "portfolio_id", "comment": null}, "premium_bid_adjustment": {"type": "BOOL", "index": 12, "name": "premium_bid_adjustment", "comment": null}, "profile_id": {"type": "INT64", "index": 13, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "start_date": {"type": "DATE", "index": 15, "name": "start_date", "comment": null}, "state": {"type": "STRING", "index": 16, "name": "state", "comment": null}, "targeting_type": {"type": "STRING", "index": 17, "name": "targeting_type", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"}, "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__search_term_ad_keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_keyword_status": {"type": "STRING", "index": 2, "name": "ad_keyword_status", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 3, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 4, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 5, "name": "campaign_budget_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 8, "name": "cost", "comment": null}, "date_day": {"type": "DATE", "index": 9, "name": "date_day", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 11, "name": "keyword_bid", "comment": null}, "keyword_id": {"type": "INT64", "index": 12, "name": "keyword_id", "comment": null}, "search_term": {"type": "STRING", "index": 13, "name": "search_term", "comment": null}, "targeting": {"type": "STRING", "index": 14, "name": "targeting", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1190.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"}, "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__keyword_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "bid": {"type": "FLOAT64", "index": 5, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 7, "name": "creation_date", "comment": null}, "keyword_text": {"type": "STRING", "index": 8, "name": "keyword_text", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "native_language_keyword": {"type": "INT64", "index": 10, "name": "native_language_keyword", "comment": null}, "serving_status": {"type": "STRING", "index": 11, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 12, "name": "state", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"}, "model.linkedin_source.stg_linkedin_ads__campaign_group_history": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_group_id": {"type": "INT64", "index": 1, "name": "campaign_group_id", "comment": null}, "campaign_group_name": {"type": "STRING", "index": 2, "name": "campaign_group_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "status": {"type": "STRING", "index": 4, "name": "status", "comment": null}, "is_backfilled": {"type": "BOOL", "index": 5, "name": "is_backfilled", "comment": null}, "run_schedule_start_at": {"type": "TIMESTAMP", "index": 6, "name": "run_schedule_start_at", "comment": null}, "run_schedule_end_at": {"type": "TIMESTAMP", "index": 7, "name": "run_schedule_end_at", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 8, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 10, "name": "is_latest_version", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history"}, "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__creative_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 3, "name": "created_time", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "version_tag": {"type": "INT64", "index": 6, "name": "version_tag", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "click_uri": {"type": "STRING", "index": 8, "name": "click_uri", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_campaign_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "day": {"type": "DATETIME", "index": 2, "name": "day", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "action_clicks": {"type": "INT64", "index": 4, "name": "action_clicks", "comment": null}, "ad_unit_clicks": {"type": "INT64", "index": 5, "name": "ad_unit_clicks", "comment": null}, "approximate_unique_impressions": {"type": "INT64", "index": 6, "name": "approximate_unique_impressions", "comment": null}, "card_clicks": {"type": "INT64", "index": 7, "name": "card_clicks", "comment": null}, "card_impressions": {"type": "INT64", "index": 8, "name": "card_impressions", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "comment_likes": {"type": "INT64", "index": 10, "name": "comment_likes", "comment": null}, "comments": {"type": "INT64", "index": 11, "name": "comments", "comment": null}, "company_page_clicks": {"type": "INT64", "index": 12, "name": "company_page_clicks", "comment": null}, "conversion_value_in_local_currency": {"type": "INT64", "index": 13, "name": "conversion_value_in_local_currency", "comment": null}, "cost_in_local_currency": {"type": "FLOAT64", "index": 14, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "FLOAT64", "index": 15, "name": "cost_in_usd", "comment": null}, "external_website_conversions": {"type": "INT64", "index": 16, "name": "external_website_conversions", "comment": null}, "external_website_post_click_conversions": {"type": "INT64", "index": 17, "name": "external_website_post_click_conversions", "comment": null}, "external_website_post_view_conversions": {"type": "INT64", "index": 18, "name": "external_website_post_view_conversions", "comment": null}, "follows": {"type": "INT64", "index": 19, "name": "follows", "comment": null}, "full_screen_plays": {"type": "INT64", "index": 20, "name": "full_screen_plays", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "landing_page_clicks": {"type": "INT64", "index": 22, "name": "landing_page_clicks", "comment": null}, "lead_generation_mail_contact_info_shares": {"type": "INT64", "index": 23, "name": "lead_generation_mail_contact_info_shares", "comment": null}, "lead_generation_mail_interested_clicks": {"type": "INT64", "index": 24, "name": "lead_generation_mail_interested_clicks", "comment": null}, "likes": {"type": "INT64", "index": 25, "name": "likes", "comment": null}, "one_click_lead_form_opens": {"type": "INT64", "index": 26, "name": "one_click_lead_form_opens", "comment": null}, "one_click_leads": {"type": "INT64", "index": 27, "name": "one_click_leads", "comment": null}, "opens": {"type": "INT64", "index": 28, "name": "opens", "comment": null}, "other_engagements": {"type": "INT64", "index": 29, "name": "other_engagements", "comment": null}, "shares": {"type": "INT64", "index": 30, "name": "shares", "comment": null}, "text_url_clicks": {"type": "INT64", "index": 31, "name": "text_url_clicks", "comment": null}, "total_engagements": {"type": "INT64", "index": 32, "name": "total_engagements", "comment": null}, "video_completions": {"type": "INT64", "index": 33, "name": "video_completions", "comment": null}, "video_first_quartile_completions": {"type": "INT64", "index": 34, "name": "video_first_quartile_completions", "comment": null}, "video_midpoint_completions": {"type": "INT64", "index": 35, "name": "video_midpoint_completions", "comment": null}, "video_starts": {"type": "INT64", "index": 36, "name": "video_starts", "comment": null}, "video_third_quartile_completions": {"type": "INT64", "index": 37, "name": "video_third_quartile_completions", "comment": null}, "video_views": {"type": "INT64", "index": 38, "name": "video_views", "comment": null}, "viral_card_clicks": {"type": "INT64", "index": 39, "name": "viral_card_clicks", "comment": null}, "viral_card_impressions": {"type": "INT64", "index": 40, "name": "viral_card_impressions", "comment": null}, "viral_clicks": {"type": "INT64", "index": 41, "name": "viral_clicks", "comment": null}, "viral_comment_likes": {"type": "INT64", "index": 42, "name": "viral_comment_likes", "comment": null}, "viral_comments": {"type": "INT64", "index": 43, "name": "viral_comments", "comment": null}, "viral_company_page_clicks": {"type": "INT64", "index": 44, "name": "viral_company_page_clicks", "comment": null}, "viral_external_website_conversions": {"type": "INT64", "index": 45, "name": "viral_external_website_conversions", "comment": null}, "viral_external_website_post_click_conversions": {"type": "INT64", "index": 46, "name": "viral_external_website_post_click_conversions", "comment": null}, "viral_external_website_post_view_conversions": {"type": "INT64", "index": 47, "name": "viral_external_website_post_view_conversions", "comment": null}, "viral_follows": {"type": "INT64", "index": 48, "name": "viral_follows", "comment": null}, "viral_full_screen_plays": {"type": "INT64", "index": 49, "name": "viral_full_screen_plays", "comment": null}, "viral_impressions": {"type": "INT64", "index": 50, "name": "viral_impressions", "comment": null}, "viral_landing_page_clicks": {"type": "INT64", "index": 51, "name": "viral_landing_page_clicks", "comment": null}, "viral_likes": {"type": "INT64", "index": 52, "name": "viral_likes", "comment": null}, "viral_one_click_lead_form_opens": {"type": "INT64", "index": 53, "name": "viral_one_click_lead_form_opens", "comment": null}, "viral_one_click_leads": {"type": "INT64", "index": 54, "name": "viral_one_click_leads", "comment": null}, "viral_other_engagements": {"type": "INT64", "index": 55, "name": "viral_other_engagements", "comment": null}, "viral_shares": {"type": "INT64", "index": 56, "name": "viral_shares", "comment": null}, "viral_total_engagements": {"type": "INT64", "index": 57, "name": "viral_total_engagements", "comment": null}, "viral_video_completions": {"type": "INT64", "index": 58, "name": "viral_video_completions", "comment": null}, "viral_video_first_quartile_completions": {"type": "INT64", "index": 59, "name": "viral_video_first_quartile_completions", "comment": null}, "viral_video_midpoint_completions": {"type": "INT64", "index": 60, "name": "viral_video_midpoint_completions", "comment": null}, "viral_video_starts": {"type": "INT64", "index": 61, "name": "viral_video_starts", "comment": null}, "viral_video_third_quartile_completions": {"type": "INT64", "index": 62, "name": "viral_video_third_quartile_completions", "comment": null}, "viral_video_views": {"type": "INT64", "index": 63, "name": "viral_video_views", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_campaign", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "cost": {"type": "FLOAT64", "index": 5, "name": "cost", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"}, "model.linkedin_source.stg_linkedin_ads__campaign_history": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 2, "name": "campaign_name", "comment": null}, "version_tag": {"type": "NUMERIC", "index": 3, "name": "version_tag", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 4, "name": "campaign_group_id", "comment": null}, "account_id": {"type": "INT64", "index": 5, "name": "account_id", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}, "cost_type": {"type": "STRING", "index": 8, "name": "cost_type", "comment": null}, "creative_selection": {"type": "STRING", "index": 9, "name": "creative_selection", "comment": null}, "daily_budget_amount": {"type": "FLOAT64", "index": 10, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency_code": {"type": "STRING", "index": 11, "name": "daily_budget_currency_code", "comment": null}, "unit_cost_amount": {"type": "FLOAT64", "index": 12, "name": "unit_cost_amount", "comment": null}, "unit_cost_currency_code": {"type": "STRING", "index": 13, "name": "unit_cost_currency_code", "comment": null}, "format": {"type": "STRING", "index": 14, "name": "format", "comment": null}, "locale_country": {"type": "STRING", "index": 15, "name": "locale_country", "comment": null}, "locale_language": {"type": "STRING", "index": 16, "name": "locale_language", "comment": null}, "objective_type": {"type": "STRING", "index": 17, "name": "objective_type", "comment": null}, "optimization_target_type": {"type": "STRING", "index": 18, "name": "optimization_target_type", "comment": null}, "is_audience_expansion_enabled": {"type": "BOOL", "index": 19, "name": "is_audience_expansion_enabled", "comment": null}, "is_offsite_delivery_enabled": {"type": "BOOL", "index": 20, "name": "is_offsite_delivery_enabled", "comment": null}, "run_schedule_start_at": {"type": "TIMESTAMP", "index": 21, "name": "run_schedule_start_at", "comment": null}, "run_schedule_end_at": {"type": "TIMESTAMP", "index": 22, "name": "run_schedule_end_at", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 23, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 24, "name": "created_at", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 25, "name": "is_latest_version", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history"}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_creative", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "creative_id": {"type": "INT64", "index": 2, "name": "creative_id", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "cost": {"type": "INT64", "index": 5, "name": "cost", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"}, "model.linkedin_source.stg_linkedin_ads__account_history": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "version_tag": {"type": "NUMERIC", "index": 4, "name": "version_tag", "comment": null}, "status": {"type": "STRING", "index": 5, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 7, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 8, "name": "created_at", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 9, "name": "is_latest_version", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history"}, "model.linkedin_source.stg_linkedin_ads__account_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 3, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "version_tag": {"type": "INT64", "index": 6, "name": "version_tag", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history_tmp"}, "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 4, "name": "campaign_group_id", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 5, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "version_tag": {"type": "INT64", "index": 7, "name": "version_tag", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"}, "model.linkedin_source.stg_linkedin_ads__creative_history": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__creative_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "INT64", "index": 1, "name": "creative_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "status": {"type": "STRING", "index": 3, "name": "status", "comment": null}, "click_uri": {"type": "STRING", "index": 4, "name": "click_uri", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 5, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 7, "name": "is_latest_version", "comment": null}, "base_url": {"type": "STRING", "index": 8, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 9, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 10, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 11, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 12, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 13, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 14, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 15, "name": "utm_term", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history"}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_creative_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "INT64", "index": 1, "name": "creative_id", "comment": null}, "day": {"type": "TIMESTAMP", "index": 2, "name": "day", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "cost_in_local_currency": {"type": "INT64", "index": 5, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "INT64", "index": 6, "name": "cost_in_usd", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"}, "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 4, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"}, "model.amazon_ads.amazon_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "portfolio_name": {"type": "STRING", "index": 6, "name": "portfolio_name", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 10, "name": "campaign_bidding_strategy", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 11, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 12, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 13, "name": "campaign_budget_type", "comment": null}, "cost": {"type": "FLOAT64", "index": 14, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1500.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__campaign_report"}, "model.amazon_ads.int_amazon_ads__portfolio_history": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "int_amazon_ads__portfolio_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"budget_amount": {"type": "INT64", "index": 1, "name": "budget_amount", "comment": null}, "budget_currency_code": {"type": "INT64", "index": 2, "name": "budget_currency_code", "comment": null}, "budget_end_date": {"type": "INT64", "index": 3, "name": "budget_end_date", "comment": null}, "budget_policy": {"type": "INT64", "index": 4, "name": "budget_policy", "comment": null}, "budget_start_date": {"type": "INT64", "index": 5, "name": "budget_start_date", "comment": null}, "creation_date": {"type": "STRING", "index": 6, "name": "creation_date", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "in_budget": {"type": "BOOL", "index": 8, "name": "in_budget", "comment": null}, "last_updated_date": {"type": "STRING", "index": 9, "name": "last_updated_date", "comment": null}, "portfolio_name": {"type": "STRING", "index": 10, "name": "portfolio_name", "comment": null}, "profile_id": {"type": "INT64", "index": 11, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 12, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 13, "name": "state", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 14, "name": "is_most_recent_record", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.int_amazon_ads__portfolio_history"}, "model.amazon_ads.amazon_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "cost": {"type": "FLOAT64", "index": 6, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 680.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__account_report"}, "model.amazon_ads.amazon_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "portfolio_name": {"type": "STRING", "index": 6, "name": "portfolio_name", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 10, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 11, "name": "ad_group_id", "comment": null}, "serving_status": {"type": "STRING", "index": 12, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 13, "name": "state", "comment": null}, "default_bid": {"type": "FLOAT64", "index": 14, "name": "default_bid", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 15, "name": "campaign_bidding_strategy", "comment": null}, "cost": {"type": "FLOAT64", "index": 16, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 950.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__ad_group_report"}, "model.amazon_ads.amazon_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "portfolio_name": {"type": "STRING", "index": 6, "name": "portfolio_name", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 10, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 11, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 12, "name": "ad_id", "comment": null}, "serving_status": {"type": "STRING", "index": 13, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}, "advertised_asin": {"type": "STRING", "index": 15, "name": "advertised_asin", "comment": null}, "advertised_sku": {"type": "STRING", "index": 16, "name": "advertised_sku", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 17, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 18, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 19, "name": "campaign_budget_type", "comment": null}, "cost": {"type": "FLOAT64", "index": 20, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 22, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1674.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__ad_report"}, "model.amazon_ads.amazon_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "portfolio_name": {"type": "STRING", "index": 6, "name": "portfolio_name", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 10, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 11, "name": "ad_group_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 12, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 13, "name": "keyword_text", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 15, "name": "state", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 16, "name": "keyword_bid", "comment": null}, "keyword_type": {"type": "STRING", "index": 17, "name": "keyword_type", "comment": null}, "match_type": {"type": "STRING", "index": 18, "name": "match_type", "comment": null}, "cost": {"type": "FLOAT64", "index": 19, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 20, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1900.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__keyword_report"}, "model.amazon_ads.amazon_ads__portfolio_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__portfolio_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "portfolio_name": {"type": "STRING", "index": 6, "name": "portfolio_name", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "budget_amount": {"type": "INT64", "index": 8, "name": "budget_amount", "comment": null}, "budget_currency_code": {"type": "INT64", "index": 9, "name": "budget_currency_code", "comment": null}, "budget_start_date": {"type": "INT64", "index": 10, "name": "budget_start_date", "comment": null}, "budget_end_date": {"type": "INT64", "index": 11, "name": "budget_end_date", "comment": null}, "budget_policy": {"type": "INT64", "index": 12, "name": "budget_policy", "comment": null}, "in_budget": {"type": "BOOL", "index": 13, "name": "in_budget", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 15, "name": "state", "comment": null}, "cost": {"type": "FLOAT64", "index": 16, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1200.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__portfolio_report"}, "model.amazon_ads.amazon_ads__search_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__search_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "country_code": {"type": "STRING", "index": 4, "name": "country_code", "comment": null}, "profile_id": {"type": "INT64", "index": 5, "name": "profile_id", "comment": null}, "portfolio_name": {"type": "STRING", "index": 6, "name": "portfolio_name", "comment": null}, "portfolio_id": {"type": "INT64", "index": 7, "name": "portfolio_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 8, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 10, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 11, "name": "ad_group_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 12, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 13, "name": "keyword_text", "comment": null}, "match_type": {"type": "STRING", "index": 14, "name": "match_type", "comment": null}, "serving_status": {"type": "STRING", "index": 15, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 16, "name": "state", "comment": null}, "search_term": {"type": "STRING", "index": 17, "name": "search_term", "comment": null}, "targeting": {"type": "STRING", "index": 18, "name": "targeting", "comment": null}, "cost": {"type": "FLOAT64", "index": 19, "name": "cost", "comment": null}, "clicks": {"type": "INT64", "index": 20, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2030.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.amazon_ads.amazon_ads__search_report"}, "model.facebook_ads.facebook_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_set_id": {"type": "INT64", "index": 6, "name": "ad_set_id", "comment": null}, "ad_set_name": {"type": "STRING", "index": 7, "name": "ad_set_name", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 9, "name": "ad_name", "comment": null}, "creative_id": {"type": "INT64", "index": 10, "name": "creative_id", "comment": null}, "creative_name": {"type": "STRING", "index": 11, "name": "creative_name", "comment": null}, "base_url": {"type": "STRING", "index": 12, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 13, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 14, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 15, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 16, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 17, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 18, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 19, "name": "utm_term", "comment": null}, "clicks": {"type": "INT64", "index": 20, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 22, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.facebook_ads__url_report"}, "model.facebook_ads.int_facebook_ads__creative_history": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "int_facebook_ads__creative_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "creative_id": {"type": "INT64", "index": 2, "name": "creative_id", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "creative_name": {"type": "STRING", "index": 4, "name": "creative_name", "comment": null}, "url": {"type": "STRING", "index": 5, "name": "url", "comment": null}, "base_url": {"type": "STRING", "index": 6, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 7, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 8, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 9, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 10, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 11, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 12, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 13, "name": "utm_term", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.int_facebook_ads__creative_history"}, "model.facebook_ads.facebook_ads__url_tags": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__url_tags", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "creative_id": {"type": "INT64", "index": 2, "name": "creative_id", "comment": null}, "key": {"type": "STRING", "index": 3, "name": "key", "comment": null}, "value": {"type": "STRING", "index": 4, "name": "value", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 220.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 13970.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.facebook_ads__url_tags"}, "model.facebook_ads.facebook_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_set_id": {"type": "INT64", "index": 6, "name": "ad_set_id", "comment": null}, "ad_set_name": {"type": "STRING", "index": 7, "name": "ad_set_name", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 9, "name": "ad_name", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 12, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1460.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.facebook_ads__ad_report"}, "model.facebook_ads.facebook_ads__ad_set_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__ad_set_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_set_id": {"type": "INT64", "index": 6, "name": "ad_set_id", "comment": null}, "ad_set_name": {"type": "STRING", "index": 7, "name": "ad_set_name", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 8, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 9, "name": "end_at", "comment": null}, "bid_strategy": {"type": "STRING", "index": 10, "name": "bid_strategy", "comment": null}, "daily_budget": {"type": "INT64", "index": 11, "name": "daily_budget", "comment": null}, "budget_remaining": {"type": "INT64", "index": 12, "name": "budget_remaining", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1340.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.facebook_ads__ad_set_report"}, "model.facebook_ads.facebook_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 6, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 7, "name": "end_at", "comment": null}, "status": {"type": "STRING", "index": 8, "name": "status", "comment": null}, "daily_budget": {"type": "INT64", "index": 9, "name": "daily_budget", "comment": null}, "lifetime_budget": {"type": "INT64", "index": 10, "name": "lifetime_budget", "comment": null}, "budget_remaining": {"type": "FLOAT64", "index": 11, "name": "budget_remaining", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 13, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 14, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.facebook_ads__campaign_report"}, "model.facebook_ads.facebook_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "account_status": {"type": "STRING", "index": 4, "name": "account_status", "comment": null}, "business_country_code": {"type": "STRING", "index": 5, "name": "business_country_code", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "timezone_name": {"type": "STRING", "index": 8, "name": "timezone_name", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 11, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 594.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads.facebook_ads__account_report"}, "model.snapchat_ads.snapchat_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "ad_account_name": {"type": "STRING", "index": 3, "name": "ad_account_name", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "swipes": {"type": "INT64", "index": 5, "name": "swipes", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 416.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads.snapchat_ads__account_report"}, "model.snapchat_ads.snapchat_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "ad_account_name": {"type": "STRING", "index": 3, "name": "ad_account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "swipes": {"type": "INT64", "index": 7, "name": "swipes", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 70.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads.snapchat_ads__campaign_report"}, "model.snapchat_ads.snapchat_ads__ad_squad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__ad_squad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "ad_account_name": {"type": "STRING", "index": 3, "name": "ad_account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 6, "name": "ad_squad_id", "comment": null}, "ad_squad_name": {"type": "STRING", "index": 7, "name": "ad_squad_name", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "swipes": {"type": "INT64", "index": 9, "name": "swipes", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 11, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 140.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads.snapchat_ads__ad_squad_report"}, "model.snapchat_ads.snapchat_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "ad_account_name": {"type": "STRING", "index": 3, "name": "ad_account_name", "comment": null}, "ad_id": {"type": "STRING", "index": 4, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 5, "name": "ad_name", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 6, "name": "ad_squad_id", "comment": null}, "ad_squad_name": {"type": "STRING", "index": 7, "name": "ad_squad_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 8, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 9, "name": "campaign_name", "comment": null}, "currency": {"type": "STRING", "index": 10, "name": "currency", "comment": null}, "base_url": {"type": "STRING", "index": 11, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 12, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 13, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 14, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 15, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 16, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 17, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 18, "name": "utm_term", "comment": null}, "swipes": {"type": "INT64", "index": 19, "name": "swipes", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 21, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 70.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 31932.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads.snapchat_ads__url_report"}, "model.snapchat_ads.snapchat_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "ad_account_name": {"type": "STRING", "index": 3, "name": "ad_account_name", "comment": null}, "ad_id": {"type": "STRING", "index": 4, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 5, "name": "ad_name", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "swipes": {"type": "INT64", "index": 7, "name": "swipes", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 70.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 12320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads.snapchat_ads__ad_report"}, "model.google_ads_source.stg_google_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "customer_id": {"type": "INT64", "index": 4, "name": "customer_id", "comment": null}, "advertising_channel_type": {"type": "STRING", "index": 5, "name": "advertising_channel_type", "comment": null}, "advertising_channel_subtype": {"type": "STRING", "index": 6, "name": "advertising_channel_subtype", "comment": null}, "start_date": {"type": "DATE", "index": 7, "name": "start_date", "comment": null}, "end_date": {"type": "DATE", "index": 8, "name": "end_date", "comment": null}, "serving_status": {"type": "STRING", "index": 9, "name": "serving_status", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 11, "name": "tracking_url_template", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__campaign_history_tmp"}, "model.google_ads_source.stg_google_ads__ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "name": {"type": "INT64", "index": 3, "name": "name", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "type": {"type": "INT64", "index": 5, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "display_url": {"type": "INT64", "index": 7, "name": "display_url", "comment": null}, "final_urls": {"type": "STRING", "index": 8, "name": "final_urls", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_history_tmp"}, "model.google_ads_source.stg_google_ads__ad_group_criterion_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_criterion_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"criterion_id": {"type": "INT64", "index": 1, "name": "criterion_id", "comment": null}, "ad_group_id": {"type": "STRING", "index": 2, "name": "ad_group_id", "comment": null}, "base_campaign_id": {"type": "INT64", "index": 3, "name": "base_campaign_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "keyword_match_type": {"type": "STRING", "index": 7, "name": "keyword_match_type", "comment": null}, "keyword_text": {"type": "STRING", "index": 8, "name": "keyword_text", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 261.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15249.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history"}, "model.google_ads_source.stg_google_ads__ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "STRING", "index": 1, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "ad_name": {"type": "INT64", "index": 3, "name": "ad_name", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "ad_type": {"type": "INT64", "index": 5, "name": "ad_type", "comment": null}, "ad_status": {"type": "STRING", "index": 6, "name": "ad_status", "comment": null}, "display_url": {"type": "INT64", "index": 7, "name": "display_url", "comment": null}, "source_final_urls": {"type": "STRING", "index": 8, "name": "source_final_urls", "comment": null}, "final_urls": {"type": "STRING", "index": 9, "name": "final_urls", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 10, "name": "is_most_recent_record", "comment": null}, "final_url": {"type": "STRING", "index": 11, "name": "final_url", "comment": null}, "base_url": {"type": "STRING", "index": 12, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 13, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 14, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 15, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 16, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 17, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 18, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 19, "name": "utm_term", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2076.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_history"}, "model.google_ads_source.stg_google_ads__account_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "auto_tagging_enabled": {"type": "BOOL", "index": 4, "name": "auto_tagging_enabled", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "descriptive_name": {"type": "INT64", "index": 6, "name": "descriptive_name", "comment": null}, "final_url_suffix": {"type": "BOOL", "index": 7, "name": "final_url_suffix", "comment": null}, "hidden": {"type": "BOOL", "index": 8, "name": "hidden", "comment": null}, "manager": {"type": "INT64", "index": 9, "name": "manager", "comment": null}, "manager_customer_id": {"type": "FLOAT64", "index": 10, "name": "manager_customer_id", "comment": null}, "optimization_score": {"type": "STRING", "index": 11, "name": "optimization_score", "comment": null}, "pay_per_conversion_eligibility_failure_reasons": {"type": "BOOL", "index": 12, "name": "pay_per_conversion_eligibility_failure_reasons", "comment": null}, "test_account": {"type": "STRING", "index": 13, "name": "test_account", "comment": null}, "time_zone": {"type": "INT64", "index": 14, "name": "time_zone", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 15, "name": "tracking_url_template", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__account_history_tmp"}, "model.google_ads_source.stg_google_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "campaign_name": {"type": "STRING", "index": 3, "name": "campaign_name", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "advertising_channel_type": {"type": "STRING", "index": 5, "name": "advertising_channel_type", "comment": null}, "advertising_channel_subtype": {"type": "STRING", "index": 6, "name": "advertising_channel_subtype", "comment": null}, "start_date": {"type": "DATE", "index": 7, "name": "start_date", "comment": null}, "end_date": {"type": "DATE", "index": 8, "name": "end_date", "comment": null}, "serving_status": {"type": "STRING", "index": 9, "name": "serving_status", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 11, "name": "tracking_url_template", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1050.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__campaign_history"}, "model.google_ads_source.stg_google_ads__keyword_stats_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__keyword_stats_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_group_base_ad_group": {"type": "STRING", "index": 10, "name": "ad_group_base_ad_group", "comment": null}, "ad_group_criterion_criterion_id": {"type": "INT64", "index": 11, "name": "ad_group_criterion_criterion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 12, "name": "ad_group_id", "comment": null}, "ad_network_type": {"type": "STRING", "index": 13, "name": "ad_network_type", "comment": null}, "campaign_base_campaign": {"type": "STRING", "index": 14, "name": "campaign_base_campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 15, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 17, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 18, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 19, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 20, "name": "device", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 22, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 23, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 24, "name": "view_through_conversions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats_tmp"}, "model.google_ads_source.stg_google_ads__campaign_stats_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_stats_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "base_campaign": {"type": "STRING", "index": 11, "name": "base_campaign", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 13, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 14, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 15, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 16, "name": "device", "comment": null}, "id": {"type": "INT64", "index": 17, "name": "id", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 19, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 20, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 21, "name": "view_through_conversions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats_tmp"}, "model.google_ads_source.stg_google_ads__ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "STRING", "index": 1, "name": "ad_group_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "ad_group_type": {"type": "STRING", "index": 3, "name": "ad_group_type", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 7, "name": "ad_group_status", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 290.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history"}, "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_criterion_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "base_campaign_id": {"type": "INT64", "index": 3, "name": "base_campaign_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 5, "name": "_fivetran_synced", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "keyword_match_type": {"type": "STRING", "index": 8, "name": "keyword_match_type", "comment": null}, "keyword_text": {"type": "STRING", "index": 9, "name": "keyword_text", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"}, "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_stats_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "base_ad_group": {"type": "STRING", "index": 11, "name": "base_ad_group", "comment": null}, "campaign_base_campaign": {"type": "STRING", "index": 12, "name": "campaign_base_campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 13, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "conversions": {"type": "FLOAT64", "index": 15, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 16, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 17, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 18, "name": "device", "comment": null}, "id": {"type": "INT64", "index": 19, "name": "id", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 21, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 22, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 23, "name": "view_through_conversions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"}, "model.google_ads_source.stg_google_ads__ad_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_stats", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "ad_group_id": {"type": "STRING", "index": 3, "name": "ad_group_id", "comment": null}, "keyword_ad_group_criterion": {"type": "STRING", "index": 4, "name": "keyword_ad_group_criterion", "comment": null}, "ad_network_type": {"type": "STRING", "index": 5, "name": "ad_network_type", "comment": null}, "device": {"type": "STRING", "index": 6, "name": "device", "comment": null}, "ad_id": {"type": "INT64", "index": 7, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 8, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 10, "name": "spend", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1465.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_stats"}, "model.google_ads_source.stg_google_ads__keyword_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__keyword_stats", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"keyword_id": {"type": "STRING", "index": 1, "name": "keyword_id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 3, "name": "date_day", "comment": null}, "ad_group_id": {"type": "STRING", "index": 4, "name": "ad_group_id", "comment": null}, "criterion_id": {"type": "INT64", "index": 5, "name": "criterion_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1485.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats"}, "model.google_ads_source.stg_google_ads__ad_stats_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_stats_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "ad_group": {"type": "STRING", "index": 4, "name": "ad_group", "comment": null}, "keyword_ad_group_criterion": {"type": "STRING", "index": 5, "name": "keyword_ad_group_criterion", "comment": null}, "ad_network_type": {"type": "STRING", "index": 6, "name": "ad_network_type", "comment": null}, "device": {"type": "STRING", "index": 7, "name": "device", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "cost_micros": {"type": "INT64", "index": 11, "name": "cost_micros", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_stats_tmp"}, "model.google_ads_source.stg_google_ads__account_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_stats", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "ad_network_type": {"type": "STRING", "index": 3, "name": "ad_network_type", "comment": null}, "device": {"type": "STRING", "index": 4, "name": "device", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 6, "name": "spend", "comment": null}, "impressions": {"type": "INT64", "index": 7, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1047.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__account_stats"}, "model.google_ads_source.stg_google_ads__ad_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "type": {"type": "STRING", "index": 3, "name": "type", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history_tmp"}, "model.google_ads_source.stg_google_ads__account_stats_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_stats_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 12, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 13, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 14, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 15, "name": "device", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 17, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 18, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 19, "name": "view_through_conversions", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__account_stats_tmp"}, "model.google_ads_source.stg_google_ads__ad_group_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_stats", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "ad_group_id": {"type": "STRING", "index": 3, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "device": {"type": "STRING", "index": 5, "name": "device", "comment": null}, "ad_network_type": {"type": "STRING", "index": 6, "name": "ad_network_type", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1165.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats"}, "model.google_ads_source.stg_google_ads__campaign_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_stats", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date_day": {"type": "DATE", "index": 2, "name": "date_day", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_network_type": {"type": "STRING", "index": 4, "name": "ad_network_type", "comment": null}, "device": {"type": "STRING", "index": 5, "name": "device", "comment": null}, "clicks": {"type": "INT64", "index": 6, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1024.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats"}, "model.google_ads_source.stg_google_ads__account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "currency_code": {"type": "STRING", "index": 3, "name": "currency_code", "comment": null}, "auto_tagging_enabled": {"type": "BOOL", "index": 4, "name": "auto_tagging_enabled", "comment": null}, "time_zone": {"type": "INT64", "index": 5, "name": "time_zone", "comment": null}, "account_name": {"type": "INT64", "index": 6, "name": "account_name", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 7, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 23.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.google_ads_source.stg_google_ads__account_history"}, "model.apple_search_ads.apple_search_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "organization_name": {"type": "STRING", "index": 3, "name": "organization_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "campaign_status": {"type": "STRING", "index": 7, "name": "campaign_status", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 8, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 9, "name": "end_at", "comment": null}, "taps": {"type": "INT64", "index": 10, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 11, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 12, "name": "redownloads", "comment": null}, "total_downloads": {"type": "INT64", "index": 13, "name": "total_downloads", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads.apple_search_ads__campaign_report"}, "model.apple_search_ads.apple_search_ads__organization_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__organization_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "organization_name": {"type": "STRING", "index": 3, "name": "organization_name", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "taps": {"type": "INT64", "index": 5, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 6, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 7, "name": "redownloads", "comment": null}, "total_downloads": {"type": "INT64", "index": 8, "name": "total_downloads", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 10, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads.apple_search_ads__organization_report"}, "model.apple_search_ads.apple_search_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "organization_name": {"type": "STRING", "index": 3, "name": "organization_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 9, "name": "ad_name", "comment": null}, "currency": {"type": "STRING", "index": 10, "name": "currency", "comment": null}, "ad_status": {"type": "STRING", "index": 11, "name": "ad_status", "comment": null}, "taps": {"type": "INT64", "index": 12, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 13, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 14, "name": "redownloads", "comment": null}, "total_downloads": {"type": "INT64", "index": 15, "name": "total_downloads", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads.apple_search_ads__ad_report"}, "model.apple_search_ads.apple_search_ads__search_term_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__search_term_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "organization_name": {"type": "STRING", "index": 3, "name": "organization_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "keyword_id": {"type": "INT64", "index": 8, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 9, "name": "keyword_text", "comment": null}, "search_term_text": {"type": "STRING", "index": 10, "name": "search_term_text", "comment": null}, "match_type": {"type": "STRING", "index": 11, "name": "match_type", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "taps": {"type": "INT64", "index": 13, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "total_downloads": {"type": "INT64", "index": 16, "name": "total_downloads", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 0.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 0.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads.apple_search_ads__search_term_report"}, "model.apple_search_ads.apple_search_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "organization_name": {"type": "STRING", "index": 3, "name": "organization_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "keyword_id": {"type": "INT64", "index": 8, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 9, "name": "keyword_text", "comment": null}, "match_type": {"type": "STRING", "index": 10, "name": "match_type", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "keyword_status": {"type": "STRING", "index": 12, "name": "keyword_status", "comment": null}, "taps": {"type": "INT64", "index": 13, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "total_downloads": {"type": "INT64", "index": 16, "name": "total_downloads", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 99.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15510.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads.apple_search_ads__keyword_report"}, "model.apple_search_ads.apple_search_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "organization_name": {"type": "STRING", "index": 3, "name": "organization_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 6, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "ad_group_status": {"type": "STRING", "index": 9, "name": "ad_group_status", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 10, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 11, "name": "end_at", "comment": null}, "taps": {"type": "INT64", "index": 12, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 13, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 14, "name": "redownloads", "comment": null}, "total_downloads": {"type": "INT64", "index": 15, "name": "total_downloads", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1925.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads.apple_search_ads__ad_group_report"}, "model.ad_reporting.ad_reporting__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 7, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 222.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 14560.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__account_report"}, "model.ad_reporting.ad_reporting__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "base_url": {"type": "STRING", "index": 9, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 10, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 11, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 12, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 13, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 14, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 15, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 16, "name": "utm_term", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 19, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 441.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 85505.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__url_report"}, "model.ad_reporting.ad_reporting__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "keyword_id": {"type": "STRING", "index": 9, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 10, "name": "keyword_text", "comment": null}, "keyword_match_type": {"type": "STRING", "index": 11, "name": "keyword_match_type", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 13, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 14, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 205.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 27405.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__keyword_report"}, "model.ad_reporting.ad_reporting__search_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__search_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "keyword_id": {"type": "STRING", "index": 9, "name": "keyword_id", "comment": null}, "keyword_text": {"type": "STRING", "index": 10, "name": "keyword_text", "comment": null}, "search_query": {"type": "STRING", "index": 11, "name": "search_query", "comment": null}, "search_match_type": {"type": "STRING", "index": 12, "name": "search_match_type", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 20.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3237.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__search_report"}, "model.ad_reporting.ad_reporting__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "ad_id": {"type": "STRING", "index": 9, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 10, "name": "ad_name", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 762.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 101300.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__ad_report"}, "model.ad_reporting.ad_reporting__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "ad_group_id": {"type": "STRING", "index": 7, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 8, "name": "ad_group_name", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 11, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 314.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 39091.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__ad_group_report"}, "model.ad_reporting.ad_reporting__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "platform": {"type": "STRING", "index": 2, "name": "platform", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 4, "name": "account_name", "comment": null}, "campaign_id": {"type": "STRING", "index": 5, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 6, "name": "campaign_name", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 557.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 56147.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.ad_reporting.ad_reporting__campaign_report"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 7, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 8, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 9, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 10, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 11, "name": "taps", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "keyword_id": {"type": "INT64", "index": 2, "name": "keyword_id", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 4, "name": "spend", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 6, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 7, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 8, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 99.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6039.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report"}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"modified_at": {"type": "TIMESTAMP", "index": 1, "name": "modified_at", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 3, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_status": {"type": "STRING", "index": 5, "name": "campaign_status", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 6, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 7, "name": "end_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 155.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"modified_at": {"type": "TIMESTAMP", "index": 1, "name": "modified_at", "comment": null}, "organization_id": {"type": "INT64", "index": 2, "name": "organization_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 4, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "ad_group_status": {"type": "STRING", "index": 6, "name": "ad_group_status", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 7, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 8, "name": "end_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 294.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 4, "name": "ad_id", "comment": null}, "impressions": {"type": "INT64", "index": 5, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 6, "name": "spend", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 8, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 9, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 10, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 154.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 4, "name": "spend", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 6, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 7, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 8, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 793.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "automated_keywords_opt_in": {"type": "BOOL", "index": 3, "name": "automated_keywords_opt_in", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "cpa_goal_amount": {"type": "INT64", "index": 5, "name": "cpa_goal_amount", "comment": null}, "cpa_goal_currency": {"type": "INT64", "index": 6, "name": "cpa_goal_currency", "comment": null}, "default_cpc_bid_amount": {"type": "INT64", "index": 7, "name": "default_cpc_bid_amount", "comment": null}, "default_cpc_bid_currency": {"type": "INT64", "index": 8, "name": "default_cpc_bid_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "organization_id": {"type": "INT64", "index": 12, "name": "organization_id", "comment": null}, "serving_state_reasons": {"type": "INT64", "index": 13, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 15, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "storefronts": {"type": "INT64", "index": 17, "name": "storefronts", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__organization": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__organization", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"organization_id": {"type": "INT64", "index": 1, "name": "organization_id", "comment": null}, "currency": {"type": "STRING", "index": 2, "name": "currency", "comment": null}, "payment_model": {"type": "STRING", "index": 3, "name": "payment_model", "comment": null}, "organization_name": {"type": "STRING", "index": 4, "name": "organization_name", "comment": null}, "time_zone": {"type": "STRING", "index": 5, "name": "time_zone", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 80.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization"}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"modified_at": {"type": "TIMESTAMP", "index": 1, "name": "modified_at", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 5, "name": "bid_amount", "comment": null}, "bid_currency": {"type": "STRING", "index": 6, "name": "bid_currency", "comment": null}, "match_type": {"type": "STRING", "index": 7, "name": "match_type", "comment": null}, "keyword_status": {"type": "STRING", "index": 8, "name": "keyword_status", "comment": null}, "keyword_text": {"type": "STRING", "index": 9, "name": "keyword_text", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 10, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1151.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history"}, "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__organization_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "currency": {"type": "STRING", "index": 2, "name": "currency", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "payment_model": {"type": "STRING", "index": 4, "name": "payment_model", "comment": null}, "role_names": {"type": "STRING", "index": 5, "name": "role_names", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creation_time": {"type": "TIMESTAMP", "index": 1, "name": "creation_time", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "org_id": {"type": "INT64", "index": 3, "name": "org_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "creative_id": {"type": "INT64", "index": 8, "name": "creative_id", "comment": null}, "creative_type": {"type": "STRING", "index": 9, "name": "creative_type", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "adam_id": {"type": "INT64", "index": 3, "name": "adam_id", "comment": null}, "budget_amount": {"type": "INT64", "index": 4, "name": "budget_amount", "comment": null}, "budget_currency": {"type": "STRING", "index": 5, "name": "budget_currency", "comment": null}, "budget_orders": {"type": "STRING", "index": 6, "name": "budget_orders", "comment": null}, "daily_budget_amount": {"type": "INT64", "index": 7, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency": {"type": "STRING", "index": 8, "name": "daily_budget_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "loc_invoice_detail_buyer_email": {"type": "INT64", "index": 11, "name": "loc_invoice_detail_buyer_email", "comment": null}, "loc_invoice_detail_buyer_name": {"type": "INT64", "index": 12, "name": "loc_invoice_detail_buyer_name", "comment": null}, "loc_invoice_detail_client_name": {"type": "INT64", "index": 13, "name": "loc_invoice_detail_client_name", "comment": null}, "loc_invoice_detail_order_number": {"type": "INT64", "index": 14, "name": "loc_invoice_detail_order_number", "comment": null}, "name": {"type": "STRING", "index": 15, "name": "name", "comment": null}, "organiation_id": {"type": "INT64", "index": 16, "name": "organiation_id", "comment": null}, "payment_model": {"type": "STRING", "index": 17, "name": "payment_model", "comment": null}, "serving_state_reasons": {"type": "STRING", "index": 18, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 19, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 20, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 21, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 4, "name": "bid_amount", "comment": null}, "bid_currency": {"type": "STRING", "index": 5, "name": "bid_currency", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "deleted": {"type": "BOOL", "index": 7, "name": "deleted", "comment": null}, "match_type": {"type": "STRING", "index": 8, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "text": {"type": "STRING", "index": 10, "name": "text", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__search_term_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "ad_group_deleted": {"type": "BOOL", "index": 5, "name": "ad_group_deleted", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 7, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 8, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 9, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 10, "name": "avg_cpt_currency", "comment": null}, "bid_amount_amount": {"type": "FLOAT64", "index": 11, "name": "bid_amount_amount", "comment": null}, "bid_amount_currency": {"type": "STRING", "index": 12, "name": "bid_amount_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 13, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 14, "name": "conversions", "comment": null}, "deleted": {"type": "BOOL", "index": 15, "name": "deleted", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "keyword": {"type": "STRING", "index": 17, "name": "keyword", "comment": null}, "keyword_display_status": {"type": "STRING", "index": 18, "name": "keyword_display_status", "comment": null}, "keyword_id": {"type": "INT64", "index": 19, "name": "keyword_id", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 20, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 21, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 22, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 23, "name": "local_spend_currency", "comment": null}, "match_type": {"type": "STRING", "index": 24, "name": "match_type", "comment": null}, "new_downloads": {"type": "INT64", "index": 25, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 26, "name": "redownloads", "comment": null}, "search_term_source": {"type": "STRING", "index": 27, "name": "search_term_source", "comment": null}, "search_term_text": {"type": "STRING", "index": 28, "name": "search_term_text", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 29, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 30, "name": "taps", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 4, "name": "spend", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 6, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 7, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 8, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 12.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 732.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"created_at": {"type": "TIMESTAMP", "index": 1, "name": "created_at", "comment": null}, "modified_at": {"type": "TIMESTAMP", "index": 2, "name": "modified_at", "comment": null}, "organization_id": {"type": "INT64", "index": 3, "name": "organization_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "ad_name": {"type": "STRING", "index": 6, "name": "ad_name", "comment": null}, "ad_id": {"type": "INT64", "index": 7, "name": "ad_id", "comment": null}, "ad_status": {"type": "STRING", "index": 8, "name": "ad_status", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 73.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history"}, "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__search_term_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "_fivetran_id": {"type": "STRING", "index": 2, "name": "_fivetran_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 5, "name": "ad_group_name", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 6, "name": "bid_amount", "comment": null}, "bid_currency": {"type": "STRING", "index": 7, "name": "bid_currency", "comment": null}, "keyword_text": {"type": "STRING", "index": 8, "name": "keyword_text", "comment": null}, "keyword_display_status": {"type": "STRING", "index": 9, "name": "keyword_display_status", "comment": null}, "keyword_id": {"type": "INT64", "index": 10, "name": "keyword_id", "comment": null}, "spend": {"type": "FLOAT64", "index": 11, "name": "spend", "comment": null}, "currency": {"type": "STRING", "index": 12, "name": "currency", "comment": null}, "match_type": {"type": "STRING", "index": 13, "name": "match_type", "comment": null}, "search_term_source": {"type": "STRING", "index": 14, "name": "search_term_source", "comment": null}, "search_term_text": {"type": "STRING", "index": 15, "name": "search_term_text", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}, "new_downloads": {"type": "INT64", "index": 18, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 19, "name": "redownloads", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 150.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 25324.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"pin_promotion_id": {"type": "INT64", "index": 1, "name": "pin_promotion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "destination_url": {"type": "STRING", "index": 4, "name": "destination_url", "comment": null}, "base_url": {"type": "STRING", "index": 5, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 6, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 7, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 8, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 9, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 10, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 11, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 12, "name": "utm_term", "comment": null}, "pin_name": {"type": "STRING", "index": 13, "name": "pin_name", "comment": null}, "pin_id": {"type": "INT64", "index": 14, "name": "pin_id", "comment": null}, "pin_status": {"type": "STRING", "index": 15, "name": "pin_status", "comment": null}, "creative_type": {"type": "STRING", "index": 16, "name": "creative_type", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 17, "name": "_fivetran_synced", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 18, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 18.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4176.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history"}, "model.pinterest_source.stg_pinterest_ads__advertiser_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "advertiser_name": {"type": "STRING", "index": 2, "name": "advertiser_name", "comment": null}, "advertiser_status": {"type": "STRING", "index": 3, "name": "advertiser_status", "comment": null}, "billing_profile_status": {"type": "STRING", "index": 4, "name": "billing_profile_status", "comment": null}, "billing_type": {"type": "STRING", "index": 5, "name": "billing_type", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "created_at": {"type": "DATETIME", "index": 7, "name": "created_at", "comment": null}, "currency_code": {"type": "STRING", "index": 8, "name": "currency_code", "comment": null}, "merchant_id": {"type": "INT64", "index": 9, "name": "merchant_id", "comment": null}, "owner_user_id": {"type": "INT64", "index": 10, "name": "owner_user_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 11, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 93.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history"}, "model.pinterest_source.stg_pinterest_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 3, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 4, "name": "ad_group_status", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 6, "name": "advertiser_id", "comment": null}, "impressions": {"type": "INT64", "index": 7, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 8, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 9, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 960.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report"}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 2, "name": "pin_promotion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 5, "name": "advertiser_id", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6392.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"}, "model.pinterest_source.stg_pinterest_ads__keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"keyword_id": {"type": "INT64", "index": 1, "name": "keyword_id", "comment": null}, "keyword_value": {"type": "STRING", "index": 2, "name": "keyword_value", "comment": null}, "_fivetran_id": {"type": "STRING", "index": 3, "name": "_fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 6, "name": "advertiser_id", "comment": null}, "archived": {"type": "BOOL", "index": 7, "name": "archived", "comment": null}, "bid": {"type": "INT64", "index": 8, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "match_type": {"type": "STRING", "index": 10, "name": "match_type", "comment": null}, "parent_type": {"type": "STRING", "index": 11, "name": "parent_type", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 809.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history"}, "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 5, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 6, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 7, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 8, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 9, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 10, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 11, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 12, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 13, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 14, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 15, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 16, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 17, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 18, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 19, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 20, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 21, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 22, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 23, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 24, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 25, "name": "total_impression_user", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"}, "model.pinterest_source.stg_pinterest_ads__ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 2, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 3, "name": "ad_group_status", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "end_time": {"type": "INT64", "index": 7, "name": "end_time", "comment": null}, "start_time": {"type": "STRING", "index": 8, "name": "start_time", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 608.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history"}, "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 4, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 5, "name": "keyword_id", "comment": null}, "pin_id": {"type": "INT64", "index": 6, "name": "pin_id", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 7, "name": "pin_promotion_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 8, "name": "_fivetran_synced", "comment": null}, "ad_group_name": {"type": "STRING", "index": 9, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 10, "name": "ad_group_status", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 11, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 12, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 13, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 14, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 15, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 16, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "INT64", "index": 17, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 18, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "INT64", "index": 19, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "INT64", "index": 20, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 21, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "INT64", "index": 22, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 23, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 24, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 25, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 26, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 27, "name": "paid_impression", "comment": null}, "pin_promotion_name": {"type": "STRING", "index": 28, "name": "pin_promotion_name", "comment": null}, "pin_promotion_status": {"type": "STRING", "index": 29, "name": "pin_promotion_status", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 30, "name": "spend_in_micro_dollar", "comment": null}, "targeting_type": {"type": "STRING", "index": 31, "name": "targeting_type", "comment": null}, "targeting_value": {"type": "STRING", "index": 32, "name": "targeting_value", "comment": null}, "total_engagement": {"type": "INT64", "index": 33, "name": "total_engagement", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATETIME", "index": 1, "name": "date", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 2, "name": "pin_promotion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 5, "name": "advertiser_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 6, "name": "_fivetran_synced", "comment": null}, "impression_1": {"type": "INT64", "index": 7, "name": "impression_1", "comment": null}, "impression_2": {"type": "INT64", "index": 8, "name": "impression_2", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 9, "name": "clickthrough_1", "comment": null}, "clickthrough_2": {"type": "INT64", "index": 10, "name": "clickthrough_2", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 11, "name": "spend_in_micro_dollar", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"}, "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_time": {"type": "DATETIME", "index": 2, "name": "updated_time", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "billing_profile_status": {"type": "STRING", "index": 4, "name": "billing_profile_status", "comment": null}, "billing_type": {"type": "STRING", "index": 5, "name": "billing_type", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "created_time": {"type": "DATETIME", "index": 7, "name": "created_time", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "merchant_id": {"type": "INT64", "index": 9, "name": "merchant_id", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "owner_user_id": {"type": "INT64", "index": 11, "name": "owner_user_id", "comment": null}, "status": {"type": "STRING", "index": 12, "name": "status", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "created_time": {"type": "STRING", "index": 3, "name": "created_time", "comment": null}, "destination_url": {"type": "STRING", "index": 4, "name": "destination_url", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "pin_id": {"type": "INT64", "index": 6, "name": "pin_id", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "creative_type": {"type": "STRING", "index": 8, "name": "creative_type", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"}, "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "created_time": {"type": "STRING", "index": 3, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 5, "name": "status", "comment": null}, "start_time": {"type": "STRING", "index": 6, "name": "start_time", "comment": null}, "end_time": {"type": "INT64", "index": 7, "name": "end_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 8, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"}, "model.pinterest_source.stg_pinterest_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "keyword_id": {"type": "INT64", "index": 2, "name": "keyword_id", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 3, "name": "pin_promotion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 5, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 6, "name": "ad_group_status", "comment": null}, "campaign_id": {"type": "INT64", "index": 7, "name": "campaign_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 8, "name": "advertiser_id", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 11, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 29.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3248.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report"}, "model.pinterest_source.stg_pinterest_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 2, "name": "campaign_name", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_status": {"type": "STRING", "index": 4, "name": "campaign_status", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "created_at": {"type": "STRING", "index": 6, "name": "created_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 7, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 121.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history"}, "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_time": {"type": "STRING", "index": 2, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 4, "name": "status", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "advertiser_id": {"type": "INT64", "index": 6, "name": "advertiser_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"}, "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 4, "name": "advertiser_id", "comment": null}, "archived": {"type": "BOOL", "index": 5, "name": "archived", "comment": null}, "bid": {"type": "INT64", "index": 6, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 7, "name": "campaign_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "parent_type": {"type": "STRING", "index": 10, "name": "parent_type", "comment": null}, "value": {"type": "STRING", "index": 11, "name": "value", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"}, "model.pinterest_source.stg_pinterest_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 3, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 4, "name": "campaign_status", "comment": null}, "advertiser_id": {"type": "INT64", "index": 5, "name": "advertiser_id", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 790.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report"}, "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "ad_group_name": {"type": "STRING", "index": 5, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 6, "name": "ad_group_status", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 7, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_id": {"type": "INT64", "index": 8, "name": "campaign_id", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 9, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 10, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 11, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 12, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 13, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 14, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 15, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 16, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 17, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 18, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 19, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 20, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 21, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 22, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 23, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 24, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 25, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 26, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 27, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 28, "name": "total_impression_user", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"}, "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 4, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 5, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 6, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 7, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 8, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 9, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 10, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 11, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 12, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 13, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 14, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 15, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 16, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 17, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 18, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 19, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 20, "name": "total_impression_user", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"}, "model.pinterest_source.stg_pinterest_ads__advertiser_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 4, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 5, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 400.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report"}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_report_hourly", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "stat_time_hour": {"type": "TIMESTAMP", "index": 2, "name": "stat_time_hour", "comment": null}, "cpc": {"type": "FLOAT64", "index": 3, "name": "cpc", "comment": null}, "cpm": {"type": "FLOAT64", "index": 4, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 5, "name": "ctr", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 9, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 10, "name": "conversion", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 11, "name": "cost_per_conversion", "comment": null}, "conversion_rate": {"type": "INT64", "index": 12, "name": "conversion_rate", "comment": null}, "likes": {"type": "INT64", "index": 13, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 14, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 15, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 16, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 17, "name": "follows", "comment": null}, "video_play_actions": {"type": "INT64", "index": 18, "name": "video_play_actions", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 19, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 20, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 21, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 22, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 23, "name": "video_views_p_75", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 24, "name": "average_video_play", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 25, "name": "average_video_play_per_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_report_hourly_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "budget": {"type": "INT64", "index": 6, "name": "budget", "comment": null}, "budget_mode": {"type": "STRING", "index": 7, "name": "budget_mode", "comment": null}, "opt_status": {"type": "STRING", "index": 8, "name": "opt_status", "comment": null}, "objective_type": {"type": "STRING", "index": 9, "name": "objective_type", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 10, "name": "is_new_structure", "comment": null}, "split_test_variable": {"type": "INT64", "index": 11, "name": "split_test_variable", "comment": null}, "create_time": {"type": "STRING", "index": 12, "name": "create_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 13, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_report_hourly", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "stat_time_hour": {"type": "TIMESTAMP", "index": 2, "name": "stat_time_hour", "comment": null}, "cpc": {"type": "FLOAT64", "index": 3, "name": "cpc", "comment": null}, "cpm": {"type": "FLOAT64", "index": 4, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 5, "name": "ctr", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 9, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 10, "name": "conversion", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 11, "name": "cost_per_conversion", "comment": null}, "conversion_rate": {"type": "INT64", "index": 12, "name": "conversion_rate", "comment": null}, "likes": {"type": "INT64", "index": 13, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 14, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 15, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 16, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 17, "name": "follows", "comment": null}, "video_play_actions": {"type": "INT64", "index": 18, "name": "video_play_actions", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 19, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 20, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 21, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 22, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 23, "name": "video_views_p_75", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 24, "name": "average_video_play", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 25, "name": "average_video_play_per_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"}, "model.tiktok_ads_source.stg_tiktok_ads__advertiser": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__advertiser", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "address": {"type": "STRING", "index": 2, "name": "address", "comment": null}, "balance": {"type": "FLOAT64", "index": 3, "name": "balance", "comment": null}, "company": {"type": "STRING", "index": 4, "name": "company", "comment": null}, "contacter": {"type": "INT64", "index": 5, "name": "contacter", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "description": {"type": "STRING", "index": 8, "name": "description", "comment": null}, "email": {"type": "STRING", "index": 9, "name": "email", "comment": null}, "industry": {"type": "INT64", "index": 10, "name": "industry", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "advertiser_name": {"type": "STRING", "index": 12, "name": "advertiser_name", "comment": null}, "phone_number": {"type": "STRING", "index": 13, "name": "phone_number", "comment": null}, "telephone": {"type": "INT64", "index": 14, "name": "telephone", "comment": null}, "timezone": {"type": "STRING", "index": 15, "name": "timezone", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 259.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "action_days": {"type": "INT64", "index": 5, "name": "action_days", "comment": null}, "action_categories": {"type": "STRING", "index": 6, "name": "action_categories", "comment": null}, "ad_group_name": {"type": "STRING", "index": 7, "name": "ad_group_name", "comment": null}, "age": {"type": "STRING", "index": 8, "name": "age", "comment": null}, "audience_type": {"type": "INT64", "index": 9, "name": "audience_type", "comment": null}, "budget": {"type": "INT64", "index": 10, "name": "budget", "comment": null}, "category": {"type": "INT64", "index": 11, "name": "category", "comment": null}, "display_name": {"type": "INT64", "index": 12, "name": "display_name", "comment": null}, "interest_category": {"type": "STRING", "index": 13, "name": "interest_category", "comment": null}, "frequency": {"type": "INT64", "index": 14, "name": "frequency", "comment": null}, "frequency_schedule": {"type": "INT64", "index": 15, "name": "frequency_schedule", "comment": null}, "gender": {"type": "STRING", "index": 16, "name": "gender", "comment": null}, "languages": {"type": "STRING", "index": 17, "name": "languages", "comment": null}, "landing_page_url": {"type": "INT64", "index": 18, "name": "landing_page_url", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 19, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 743.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_report_hourly", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "stat_time_hour": {"type": "TIMESTAMP", "index": 2, "name": "stat_time_hour", "comment": null}, "cpc": {"type": "FLOAT64", "index": 3, "name": "cpc", "comment": null}, "cpm": {"type": "FLOAT64", "index": 4, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 5, "name": "ctr", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 9, "name": "reach", "comment": null}, "conversion": {"type": "INT64", "index": 10, "name": "conversion", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 11, "name": "cost_per_conversion", "comment": null}, "conversion_rate": {"type": "INT64", "index": 12, "name": "conversion_rate", "comment": null}, "likes": {"type": "INT64", "index": 13, "name": "likes", "comment": null}, "comments": {"type": "INT64", "index": 14, "name": "comments", "comment": null}, "shares": {"type": "INT64", "index": 15, "name": "shares", "comment": null}, "profile_visits": {"type": "INT64", "index": 16, "name": "profile_visits", "comment": null}, "follows": {"type": "INT64", "index": 17, "name": "follows", "comment": null}, "video_play_actions": {"type": "INT64", "index": 18, "name": "video_play_actions", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 19, "name": "video_watched_2_s", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 20, "name": "video_watched_6_s", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 21, "name": "video_views_p_25", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 22, "name": "video_views_p_50", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 23, "name": "video_views_p_75", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 24, "name": "average_video_play", "comment": null}, "average_video_play_per_user": {"type": "INT64", "index": 25, "name": "average_video_play_per_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"}, "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__advertiser_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "address": {"type": "STRING", "index": 3, "name": "address", "comment": null}, "company": {"type": "STRING", "index": 4, "name": "company", "comment": null}, "contacter": {"type": "INT64", "index": 5, "name": "contacter", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "description": {"type": "STRING", "index": 8, "name": "description", "comment": null}, "email": {"type": "STRING", "index": 9, "name": "email", "comment": null}, "industry": {"type": "INT64", "index": 10, "name": "industry", "comment": null}, "license_no": {"type": "INT64", "index": 11, "name": "license_no", "comment": null}, "license_url": {"type": "INT64", "index": 12, "name": "license_url", "comment": null}, "promotion_area": {"type": "INT64", "index": 13, "name": "promotion_area", "comment": null}, "reason": {"type": "INT64", "index": 14, "name": "reason", "comment": null}, "role": {"type": "STRING", "index": 15, "name": "role", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "telephone": {"type": "INT64", "index": 17, "name": "telephone", "comment": null}, "timezone": {"type": "STRING", "index": 18, "name": "timezone", "comment": null}, "balance": {"type": "FLOAT64", "index": 19, "name": "balance", "comment": null}, "create_time": {"type": "STRING", "index": 20, "name": "create_time", "comment": null}, "language": {"type": "STRING", "index": 21, "name": "language", "comment": null}, "phone_number": {"type": "STRING", "index": 22, "name": "phone_number", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 23, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 4, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_name": {"type": "STRING", "index": 6, "name": "ad_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 7, "name": "call_to_action", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 8, "name": "click_tracking_url", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 9, "name": "impression_tracking_url", "comment": null}, "base_url": {"type": "STRING", "index": 10, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 11, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 12, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 13, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 14, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 15, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 16, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 17, "name": "utm_term", "comment": null}, "landing_page_url": {"type": "STRING", "index": 18, "name": "landing_page_url", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 19, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 632.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_report_hourly_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "INT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "INT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "INT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "INT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "INT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 5, "name": "create_time", "comment": null}, "adgroup_name": {"type": "STRING", "index": 6, "name": "adgroup_name", "comment": null}, "placement_type": {"type": "STRING", "index": 7, "name": "placement_type", "comment": null}, "profile_image": {"type": "INT64", "index": 8, "name": "profile_image", "comment": null}, "landing_page_url": {"type": "INT64", "index": 9, "name": "landing_page_url", "comment": null}, "display_name": {"type": "INT64", "index": 10, "name": "display_name", "comment": null}, "app_type": {"type": "INT64", "index": 11, "name": "app_type", "comment": null}, "app_download_url": {"type": "INT64", "index": 12, "name": "app_download_url", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "external_action": {"type": "STRING", "index": 14, "name": "external_action", "comment": null}, "deep_external_action": {"type": "INT64", "index": 15, "name": "deep_external_action", "comment": null}, "creative_material_mode": {"type": "STRING", "index": 16, "name": "creative_material_mode", "comment": null}, "audience_type": {"type": "INT64", "index": 17, "name": "audience_type", "comment": null}, "gender": {"type": "STRING", "index": 18, "name": "gender", "comment": null}, "android_osv": {"type": "INT64", "index": 19, "name": "android_osv", "comment": null}, "ios_osv": {"type": "INT64", "index": 20, "name": "ios_osv", "comment": null}, "budget_mode": {"type": "STRING", "index": 21, "name": "budget_mode", "comment": null}, "schedule_type": {"type": "STRING", "index": 22, "name": "schedule_type", "comment": null}, "dayparting": {"type": "INT64", "index": 23, "name": "dayparting", "comment": null}, "optimize_goal": {"type": "STRING", "index": 24, "name": "optimize_goal", "comment": null}, "cpv_video_duration": {"type": "INT64", "index": 25, "name": "cpv_video_duration", "comment": null}, "pacing": {"type": "STRING", "index": 26, "name": "pacing", "comment": null}, "billing_event": {"type": "STRING", "index": 27, "name": "billing_event", "comment": null}, "bid_type": {"type": "STRING", "index": 28, "name": "bid_type", "comment": null}, "deep_bid_type": {"type": "INT64", "index": 29, "name": "deep_bid_type", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 30, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 31, "name": "click_tracking_url", "comment": null}, "status": {"type": "STRING", "index": 32, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 33, "name": "opt_status", "comment": null}, "statistic_type": {"type": "INT64", "index": 34, "name": "statistic_type", "comment": null}, "video_download": {"type": "STRING", "index": 35, "name": "video_download", "comment": null}, "open_url": {"type": "INT64", "index": 36, "name": "open_url", "comment": null}, "open_url_type": {"type": "INT64", "index": 37, "name": "open_url_type", "comment": null}, "fallback_type": {"type": "INT64", "index": 38, "name": "fallback_type", "comment": null}, "budget": {"type": "INT64", "index": 39, "name": "budget", "comment": null}, "bid": {"type": "INT64", "index": 40, "name": "bid", "comment": null}, "conversion_bid": {"type": "INT64", "index": 41, "name": "conversion_bid", "comment": null}, "deep_cpabid": {"type": "INT64", "index": 42, "name": "deep_cpabid", "comment": null}, "schedule_start_time": {"type": "STRING", "index": 43, "name": "schedule_start_time", "comment": null}, "schedule_end_time": {"type": "STRING", "index": 44, "name": "schedule_end_time", "comment": null}, "app_id": {"type": "INT64", "index": 45, "name": "app_id", "comment": null}, "pixel_id": {"type": "INT64", "index": 46, "name": "pixel_id", "comment": null}, "enable_inventory_filter": {"type": "BOOL", "index": 47, "name": "enable_inventory_filter", "comment": null}, "is_hfss": {"type": "BOOL", "index": 48, "name": "is_hfss", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 49, "name": "is_new_structure", "comment": null}, "category": {"type": "INT64", "index": 50, "name": "category", "comment": null}, "is_comment_disable": {"type": "INT64", "index": 51, "name": "is_comment_disable", "comment": null}, "skip_learning_phase": {"type": "INT64", "index": 52, "name": "skip_learning_phase", "comment": null}, "frequency": {"type": "INT64", "index": 53, "name": "frequency", "comment": null}, "frequency_schedule": {"type": "INT64", "index": 54, "name": "frequency_schedule", "comment": null}, "action_days": {"type": "INT64", "index": 55, "name": "action_days", "comment": null}, "audience": {"type": "STRING", "index": 56, "name": "audience", "comment": null}, "excluded_audience": {"type": "STRING", "index": 57, "name": "excluded_audience", "comment": null}, "location": {"type": "STRING", "index": 58, "name": "location", "comment": null}, "interest_category_v_2": {"type": "STRING", "index": 59, "name": "interest_category_v_2", "comment": null}, "pangle_block_app_list_id": {"type": "STRING", "index": 60, "name": "pangle_block_app_list_id", "comment": null}, "action_categories": {"type": "STRING", "index": 61, "name": "action_categories", "comment": null}, "placement": {"type": "STRING", "index": 62, "name": "placement", "comment": null}, "keywords": {"type": "INT64", "index": 63, "name": "keywords", "comment": null}, "age": {"type": "STRING", "index": 64, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 65, "name": "languages", "comment": null}, "operation_system": {"type": "STRING", "index": 66, "name": "operation_system", "comment": null}, "connection_type": {"type": "STRING", "index": 67, "name": "connection_type", "comment": null}, "carriers": {"type": "STRING", "index": 68, "name": "carriers", "comment": null}, "video_actions": {"type": "STRING", "index": 69, "name": "video_actions", "comment": null}, "package": {"type": "INT64", "index": 70, "name": "package", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 71, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"}, "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "adgroup_id": {"type": "INT64", "index": 4, "name": "adgroup_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 6, "name": "create_time", "comment": null}, "ad_name": {"type": "STRING", "index": 7, "name": "ad_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 8, "name": "call_to_action", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 10, "name": "opt_status", "comment": null}, "ad_text": {"type": "STRING", "index": 11, "name": "ad_text", "comment": null}, "video_id": {"type": "STRING", "index": 12, "name": "video_id", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "open_url": {"type": "INT64", "index": 14, "name": "open_url", "comment": null}, "landing_page_url": {"type": "STRING", "index": 15, "name": "landing_page_url", "comment": null}, "display_name": {"type": "STRING", "index": 16, "name": "display_name", "comment": null}, "profile_image": {"type": "INT64", "index": 17, "name": "profile_image", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 18, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 19, "name": "click_tracking_url", "comment": null}, "playable_url": {"type": "INT64", "index": 20, "name": "playable_url", "comment": null}, "is_aco": {"type": "BOOL", "index": 21, "name": "is_aco", "comment": null}, "is_creative_authorized": {"type": "BOOL", "index": 22, "name": "is_creative_authorized", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 23, "name": "is_new_structure", "comment": null}, "image_ids": {"type": "STRING", "index": 24, "name": "image_ids", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 25, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "split_test_variable": {"type": "INT64", "index": 6, "name": "split_test_variable", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 7, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 251.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_report_hourly_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"}, "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 5, "name": "updated_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"}, "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__creative_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"page_link": {"type": "STRING", "index": 1, "name": "page_link", "comment": null}, "template_page_link": {"type": "STRING", "index": 2, "name": "template_page_link", "comment": null}, "id": {"type": "INT64", "index": 3, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "url_tags": {"type": "STRING", "index": 6, "name": "url_tags", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 7, "name": "_fivetran_synced", "comment": null}, "asset_feed_spec_link_urls": {"type": "STRING", "index": 8, "name": "asset_feed_spec_link_urls", "comment": null}, "object_story_link_data_child_attachments": {"type": "STRING", "index": 9, "name": "object_story_link_data_child_attachments", "comment": null}, "object_story_link_data_caption": {"type": "STRING", "index": 10, "name": "object_story_link_data_caption", "comment": null}, "object_story_link_data_description": {"type": "STRING", "index": 11, "name": "object_story_link_data_description", "comment": null}, "object_story_link_data_link": {"type": "STRING", "index": 12, "name": "object_story_link_data_link", "comment": null}, "object_story_link_data_message": {"type": "STRING", "index": 13, "name": "object_story_link_data_message", "comment": null}, "template_app_link_spec_ios": {"type": "STRING", "index": 14, "name": "template_app_link_spec_ios", "comment": null}, "_fivetran_id": {"type": "STRING", "index": 15, "name": "_fivetran_id", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"}, "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "ad_set_id": {"type": "INT64", "index": 3, "name": "ad_set_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "creative_id": {"type": "INT64", "index": 5, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 7, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 8, "name": "updated_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"}, "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"}, "model.facebook_ads_source.stg_facebook_ads__basic_ad": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__basic_ad", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 2, "name": "ad_name", "comment": null}, "ad_set_name": {"type": "STRING", "index": 3, "name": "ad_set_name", "comment": null}, "date_day": {"type": "DATE", "index": 4, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 5, "name": "account_id", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "clicks": {"type": "INT64", "index": 7, "name": "clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "reach": {"type": "INT64", "index": 9, "name": "reach", "comment": null}, "frequency": {"type": "FLOAT64", "index": 10, "name": "frequency", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 480.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad"}, "model.facebook_ads_source.stg_facebook_ads__creative_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__creative_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "creative_id": {"type": "INT64", "index": 3, "name": "creative_id", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "creative_name": {"type": "STRING", "index": 5, "name": "creative_name", "comment": null}, "page_link": {"type": "STRING", "index": 6, "name": "page_link", "comment": null}, "template_page_link": {"type": "STRING", "index": 7, "name": "template_page_link", "comment": null}, "url_tags": {"type": "STRING", "index": 8, "name": "url_tags", "comment": null}, "asset_feed_spec_link_urls": {"type": "STRING", "index": 9, "name": "asset_feed_spec_link_urls", "comment": null}, "object_story_link_data_child_attachments": {"type": "STRING", "index": 10, "name": "object_story_link_data_child_attachments", "comment": null}, "object_story_link_data_caption": {"type": "STRING", "index": 11, "name": "object_story_link_data_caption", "comment": null}, "object_story_link_data_description": {"type": "STRING", "index": 12, "name": "object_story_link_data_description", "comment": null}, "object_story_link_data_link": {"type": "STRING", "index": 13, "name": "object_story_link_data_link", "comment": null}, "object_story_link_data_message": {"type": "STRING", "index": 14, "name": "object_story_link_data_message", "comment": null}, "template_app_link_spec_ios": {"type": "STRING", "index": 15, "name": "template_app_link_spec_ios", "comment": null}, "template_app_link_spec_ipad": {"type": "STRING", "index": 16, "name": "template_app_link_spec_ipad", "comment": null}, "template_app_link_spec_android": {"type": "STRING", "index": 17, "name": "template_app_link_spec_android", "comment": null}, "template_app_link_spec_iphone": {"type": "STRING", "index": 18, "name": "template_app_link_spec_iphone", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 19, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1000.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1416996.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history"}, "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_set_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 5, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 6, "name": "updated_time", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"}, "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__basic_ad_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "inline_link_clicks": {"type": "INT64", "index": 5, "name": "inline_link_clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 6, "name": "spend", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"}, "model.facebook_ads_source.stg_facebook_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"updated_at": {"type": "DATETIME", "index": 1, "name": "updated_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 2, "name": "created_at", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 6, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 7, "name": "end_at", "comment": null}, "status": {"type": "STRING", "index": 8, "name": "status", "comment": null}, "daily_budget": {"type": "INT64", "index": 9, "name": "daily_budget", "comment": null}, "lifetime_budget": {"type": "INT64", "index": 10, "name": "lifetime_budget", "comment": null}, "budget_remaining": {"type": "FLOAT64", "index": 11, "name": "budget_remaining", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 459.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history"}, "model.facebook_ads_source.stg_facebook_ads__account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "account_status": {"type": "STRING", "index": 4, "name": "account_status", "comment": null}, "business_country_code": {"type": "STRING", "index": 5, "name": "business_country_code", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 6, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "timezone_name": {"type": "STRING", "index": 8, "name": "timezone_name", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 59.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3540.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history"}, "model.facebook_ads_source.stg_facebook_ads__ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"updated_at": {"type": "DATETIME", "index": 1, "name": "updated_at", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 3, "name": "ad_name", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "ad_set_id": {"type": "INT64", "index": 5, "name": "ad_set_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creative_id": {"type": "INT64", "index": 7, "name": "creative_id", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 12.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 636.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history"}, "model.facebook_ads_source.stg_facebook_ads__ad_set_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_set_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"updated_at": {"type": "DATETIME", "index": 1, "name": "updated_at", "comment": null}, "ad_set_id": {"type": "INT64", "index": 2, "name": "ad_set_id", "comment": null}, "ad_set_name": {"type": "STRING", "index": 3, "name": "ad_set_name", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "start_at": {"type": "TIMESTAMP", "index": 6, "name": "start_at", "comment": null}, "end_at": {"type": "TIMESTAMP", "index": 7, "name": "end_at", "comment": null}, "bid_strategy": {"type": "STRING", "index": 8, "name": "bid_strategy", "comment": null}, "daily_budget": {"type": "INT64", "index": 9, "name": "daily_budget", "comment": null}, "budget_remaining": {"type": "INT64", "index": 10, "name": "budget_remaining", "comment": null}, "status": {"type": "STRING", "index": 11, "name": "status", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 12, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 14.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 826.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history"}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_hourly_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "STRING", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 6, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 7, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 8, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 9, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 10, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 11, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 12, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 13, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 14, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 15, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 16, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 17, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 18, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 19, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 20, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 21, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 22, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 23, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 24, "name": "conversion_view_content", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 26, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 27, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 28, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 29, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 30, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 31, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 32, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 33, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 34, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 35, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 36, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 37, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 38, "name": "total_installs", "comment": null}, "video_views": {"type": "INT64", "index": 39, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 40, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 41, "name": "view_time_millis", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_hourly_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_squad_id": {"type": "STRING", "index": 1, "name": "ad_squad_id", "comment": null}, "date_hour": {"type": "TIMESTAMP", "index": 2, "name": "date_hour", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 3, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 4, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 5, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time": {"type": "FLOAT64", "index": 6, "name": "attachment_total_view_time", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 7, "name": "attachment_view_completion", "comment": null}, "quartile_1": {"type": "INT64", "index": 8, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 9, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 10, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 11, "name": "saves", "comment": null}, "shares": {"type": "INT64", "index": 12, "name": "shares", "comment": null}, "screen_time": {"type": "FLOAT64", "index": 13, "name": "screen_time", "comment": null}, "video_views": {"type": "INT64", "index": 14, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 15, "name": "view_completion", "comment": null}, "view_time": {"type": "FLOAT64", "index": 16, "name": "view_time", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}, "swipes": {"type": "INT64", "index": 19, "name": "swipes", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1820.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_hourly_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "STRING", "index": 1, "name": "ad_id", "comment": null}, "date_hour": {"type": "TIMESTAMP", "index": 2, "name": "date_hour", "comment": null}, "attachment_quartile_1": {"type": "NUMERIC", "index": 3, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "NUMERIC", "index": 4, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "NUMERIC", "index": 5, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time": {"type": "NUMERIC", "index": 6, "name": "attachment_total_view_time", "comment": null}, "attachment_view_completion": {"type": "NUMERIC", "index": 7, "name": "attachment_view_completion", "comment": null}, "quartile_1": {"type": "NUMERIC", "index": 8, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "NUMERIC", "index": 9, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "NUMERIC", "index": 10, "name": "quartile_3", "comment": null}, "saves": {"type": "NUMERIC", "index": 11, "name": "saves", "comment": null}, "shares": {"type": "NUMERIC", "index": 12, "name": "shares", "comment": null}, "screen_time": {"type": "NUMERIC", "index": 13, "name": "screen_time", "comment": null}, "video_views": {"type": "NUMERIC", "index": 14, "name": "video_views", "comment": null}, "view_completion": {"type": "NUMERIC", "index": 15, "name": "view_completion", "comment": null}, "view_time": {"type": "NUMERIC", "index": 16, "name": "view_time", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}, "swipes": {"type": "INT64", "index": 19, "name": "swipes", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1212.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 84840.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_account_id": {"type": "STRING", "index": 1, "name": "ad_account_id", "comment": null}, "ad_account_name": {"type": "STRING", "index": 2, "name": "ad_account_name", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 3, "name": "created_at", "comment": null}, "advertiser": {"type": "STRING", "index": 4, "name": "advertiser", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "timezone": {"type": "STRING", "index": 6, "name": "timezone", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 7, "name": "_fivetran_synced", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 8, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 9, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 111.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8991.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_squad_id": {"type": "STRING", "index": 1, "name": "ad_squad_id", "comment": null}, "ad_squad_name": {"type": "STRING", "index": 2, "name": "ad_squad_name", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 3, "name": "created_at", "comment": null}, "campaign_id": {"type": "STRING", "index": 4, "name": "campaign_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 6, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 7, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 228.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 27132.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__creative_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "STRING", "index": 1, "name": "creative_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 2, "name": "created_at", "comment": null}, "ad_account_id": {"type": "STRING", "index": 3, "name": "ad_account_id", "comment": null}, "creative_name": {"type": "STRING", "index": 4, "name": "creative_name", "comment": null}, "url": {"type": "STRING", "index": 5, "name": "url", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 6, "name": "_fivetran_synced", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 7, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 119.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16898.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history"}, "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_url_tag_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "STRING", "index": 1, "name": "creative_id", "comment": null}, "param_key": {"type": "STRING", "index": 2, "name": "param_key", "comment": null}, "param_value": {"type": "STRING", "index": 3, "name": "param_value", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 4, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 5, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 383.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 35285.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_hourly_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "STRING", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "spend": {"type": "INT64", "index": 4, "name": "spend", "comment": null}, "swipes": {"type": "INT64", "index": 5, "name": "swipes", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 2, "name": "ad_squad_id", "comment": null}, "creative_id": {"type": "STRING", "index": 3, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "web_view_url": {"type": "STRING", "index": 4, "name": "web_view_url", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_url_tag_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "STRING", "index": 1, "name": "creative_id", "comment": null}, "key": {"type": "STRING", "index": 2, "name": "key", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "updated_at": {"type": "STRING", "index": 4, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_hourly_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "STRING", "index": 1, "name": "campaign_id", "comment": null}, "date_hour": {"type": "TIMESTAMP", "index": 2, "name": "date_hour", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 3, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 4, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 5, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time": {"type": "FLOAT64", "index": 6, "name": "attachment_total_view_time", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 7, "name": "attachment_view_completion", "comment": null}, "quartile_1": {"type": "INT64", "index": 8, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 9, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 10, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 11, "name": "saves", "comment": null}, "shares": {"type": "INT64", "index": 12, "name": "shares", "comment": null}, "screen_time": {"type": "FLOAT64", "index": 13, "name": "screen_time", "comment": null}, "video_views": {"type": "INT64", "index": 14, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 15, "name": "view_completion", "comment": null}, "view_time": {"type": "FLOAT64", "index": 16, "name": "view_time", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}, "swipes": {"type": "INT64", "index": 19, "name": "swipes", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1820.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "STRING", "index": 1, "name": "ad_id", "comment": null}, "ad_name": {"type": "STRING", "index": 2, "name": "ad_name", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 3, "name": "created_at", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 4, "name": "ad_squad_id", "comment": null}, "creative_id": {"type": "STRING", "index": 5, "name": "creative_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 6, "name": "_fivetran_synced", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 7, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 8, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 320.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 50240.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history"}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "STRING", "index": 1, "name": "campaign_id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 3, "name": "created_at", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "updated_at": {"type": "TIMESTAMP", "index": 6, "name": "updated_at", "comment": null}, "is_most_recent_record": {"type": "BOOL", "index": 7, "name": "is_most_recent_record", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 58.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 6902.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_hourly_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_squad_id": {"type": "STRING", "index": 1, "name": "ad_squad_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 6, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 7, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 8, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 9, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 10, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 11, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 12, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 13, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 14, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 15, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 16, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 17, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 18, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 19, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 20, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 21, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 22, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 23, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 24, "name": "conversion_view_content", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 26, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 27, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 28, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 29, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 30, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 31, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 32, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 33, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 34, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 35, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 36, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 37, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 38, "name": "total_installs", "comment": null}, "video_views": {"type": "INT64", "index": 39, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 40, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 41, "name": "view_time_millis", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"}, "model.microsoft_ads.microsoft_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "campaign_type": {"type": "STRING", "index": 6, "name": "campaign_type", "comment": null}, "campaign_timezone": {"type": "STRING", "index": 7, "name": "campaign_timezone", "comment": null}, "campaign_status": {"type": "STRING", "index": 8, "name": "campaign_status", "comment": null}, "device_os": {"type": "STRING", "index": 9, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 10, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 11, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 12, "name": "currency_code", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1520.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 269702.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__campaign_report"}, "model.microsoft_ads.microsoft_ads__search_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__search_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "ad_name": {"type": "STRING", "index": 8, "name": "ad_name", "comment": null}, "ad_id": {"type": "INT64", "index": 9, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 10, "name": "keyword_id", "comment": null}, "keyword_name": {"type": "STRING", "index": 11, "name": "keyword_name", "comment": null}, "match_type": {"type": "STRING", "index": 12, "name": "match_type", "comment": null}, "search_query": {"type": "STRING", "index": 13, "name": "search_query", "comment": null}, "device_os": {"type": "STRING", "index": 14, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 15, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 16, "name": "network", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 19, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2046.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__search_report"}, "model.microsoft_ads.microsoft_ads__ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__ad_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 11, "name": "currency_code", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 13, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 14, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 182.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 30486.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__ad_group_report"}, "model.microsoft_ads.microsoft_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "account_timezone": {"type": "STRING", "index": 4, "name": "account_timezone", "comment": null}, "device_os": {"type": "STRING", "index": 5, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 6, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 7, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 8, "name": "currency_code", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 10, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 11, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1138.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__account_report"}, "model.microsoft_ads.microsoft_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "ad_name": {"type": "STRING", "index": 8, "name": "ad_name", "comment": null}, "ad_id": {"type": "INT64", "index": 9, "name": "ad_id", "comment": null}, "device_os": {"type": "STRING", "index": 10, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 11, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 12, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 13, "name": "currency_code", "comment": null}, "base_url": {"type": "STRING", "index": 14, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 15, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 16, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 17, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 18, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 19, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 20, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 21, "name": "utm_term", "comment": null}, "clicks": {"type": "INT64", "index": 22, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 23, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 24, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 312.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 63748.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__url_report"}, "model.microsoft_ads.microsoft_ads__keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__keyword_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "ad_name": {"type": "STRING", "index": 8, "name": "ad_name", "comment": null}, "ad_id": {"type": "INT64", "index": 9, "name": "ad_id", "comment": null}, "keyword_name": {"type": "STRING", "index": 10, "name": "keyword_name", "comment": null}, "keyword_id": {"type": "INT64", "index": 11, "name": "keyword_id", "comment": null}, "match_type": {"type": "STRING", "index": 12, "name": "match_type", "comment": null}, "device_os": {"type": "STRING", "index": 13, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 14, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 15, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 16, "name": "currency_code", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 19, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 52.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8138.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__keyword_report"}, "model.microsoft_ads.microsoft_ads__ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__ad_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "DATE", "index": 1, "name": "date_day", "comment": null}, "account_name": {"type": "STRING", "index": 2, "name": "account_name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "ad_group_id": {"type": "INT64", "index": 7, "name": "ad_group_id", "comment": null}, "ad_name": {"type": "STRING", "index": 8, "name": "ad_name", "comment": null}, "ad_id": {"type": "INT64", "index": 9, "name": "ad_id", "comment": null}, "ad_type": {"type": "STRING", "index": 10, "name": "ad_type", "comment": null}, "device_os": {"type": "STRING", "index": 11, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 12, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 13, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 14, "name": "currency_code", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 312.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 53306.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.microsoft_ads.microsoft_ads__ad_report"}, "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"}, "model.twitter_ads_source.stg_twitter_ads__account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__account_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"approval_status": {"type": "STRING", "index": 1, "name": "approval_status", "comment": null}, "business_id": {"type": "INT64", "index": 2, "name": "business_id", "comment": null}, "business_name": {"type": "INT64", "index": 3, "name": "business_name", "comment": null}, "created_timestamp": {"type": "STRING", "index": 4, "name": "created_timestamp", "comment": null}, "is_deleted": {"type": "BOOL", "index": 5, "name": "is_deleted", "comment": null}, "account_id": {"type": "STRING", "index": 6, "name": "account_id", "comment": null}, "industry_type": {"type": "INT64", "index": 7, "name": "industry_type", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "salt": {"type": "INT64", "index": 9, "name": "salt", "comment": null}, "timezone": {"type": "STRING", "index": 10, "name": "timezone", "comment": null}, "timezone_switched_timestamp": {"type": "STRING", "index": 11, "name": "timezone_switched_timestamp", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 12, "name": "updated_timestamp", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 13, "name": "is_latest_version", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 131.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history"}, "model.twitter_ads_source.stg_twitter_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 3, "name": "campaign_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "spend_micro": {"type": "INT64", "index": 7, "name": "spend_micro", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "url_clicks": {"type": "INT64", "index": 9, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 342.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report"}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 3, "name": "promoted_tweet_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "spend_micro": {"type": "INT64", "index": 7, "name": "spend_micro", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "url_clicks": {"type": "INT64", "index": 9, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8800.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"}, "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "card_uri": {"type": "INT64", "index": 4, "name": "card_uri", "comment": null}, "coordinates_coordinates": {"type": "INT64", "index": 5, "name": "coordinates_coordinates", "comment": null}, "coordinates_type": {"type": "INT64", "index": 6, "name": "coordinates_type", "comment": null}, "created_at": {"type": "STRING", "index": 7, "name": "created_at", "comment": null}, "favorite_count": {"type": "INT64", "index": 8, "name": "favorite_count", "comment": null}, "favorited": {"type": "BOOL", "index": 9, "name": "favorited", "comment": null}, "followers": {"type": "INT64", "index": 10, "name": "followers", "comment": null}, "full_text": {"type": "STRING", "index": 11, "name": "full_text", "comment": null}, "geo_coordinates": {"type": "INT64", "index": 12, "name": "geo_coordinates", "comment": null}, "geo_type": {"type": "INT64", "index": 13, "name": "geo_type", "comment": null}, "in_reply_to_screen_name": {"type": "INT64", "index": 14, "name": "in_reply_to_screen_name", "comment": null}, "in_reply_to_status_id": {"type": "INT64", "index": 15, "name": "in_reply_to_status_id", "comment": null}, "in_reply_to_user_id": {"type": "INT64", "index": 16, "name": "in_reply_to_user_id", "comment": null}, "lang": {"type": "STRING", "index": 17, "name": "lang", "comment": null}, "media_key": {"type": "INT64", "index": 18, "name": "media_key", "comment": null}, "retweet_count": {"type": "INT64", "index": 19, "name": "retweet_count", "comment": null}, "retweeted": {"type": "BOOL", "index": 20, "name": "retweeted", "comment": null}, "source": {"type": "STRING", "index": 21, "name": "source", "comment": null}, "truncated": {"type": "BOOL", "index": 22, "name": "truncated", "comment": null}, "tweet_type": {"type": "STRING", "index": 23, "name": "tweet_type", "comment": null}, "user_id": {"type": "INT64", "index": 24, "name": "user_id", "comment": null}, "name": {"type": "INT64", "index": 25, "name": "name", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"}, "model.twitter_ads_source.stg_twitter_ads__campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "created_timestamp": {"type": "STRING", "index": 2, "name": "created_timestamp", "comment": null}, "currency": {"type": "STRING", "index": 3, "name": "currency", "comment": null}, "daily_budget_amount_local_micro": {"type": "INT64", "index": 4, "name": "daily_budget_amount_local_micro", "comment": null}, "is_deleted": {"type": "BOOL", "index": 5, "name": "is_deleted", "comment": null}, "duration_in_days": {"type": "INT64", "index": 6, "name": "duration_in_days", "comment": null}, "end_timestamp": {"type": "STRING", "index": 7, "name": "end_timestamp", "comment": null}, "entity_status": {"type": "STRING", "index": 8, "name": "entity_status", "comment": null}, "frequency_cap": {"type": "INT64", "index": 9, "name": "frequency_cap", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 10, "name": "funding_instrument_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 11, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 12, "name": "campaign_name", "comment": null}, "is_servable": {"type": "BOOL", "index": 13, "name": "is_servable", "comment": null}, "is_standard_delivery": {"type": "BOOL", "index": 14, "name": "is_standard_delivery", "comment": null}, "start_timestamp": {"type": "STRING", "index": 15, "name": "start_timestamp", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 16, "name": "total_budget_amount_local_micro", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 17, "name": "updated_timestamp", "comment": null}, "daily_budget_amount": {"type": "FLOAT64", "index": 18, "name": "daily_budget_amount", "comment": null}, "total_budget_amount": {"type": "FLOAT64", "index": 19, "name": "total_budget_amount", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 20, "name": "is_latest_version", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2651.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history"}, "model.twitter_ads_source.stg_twitter_ads__tweet": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 2, "name": "tweet_id", "comment": null}, "name": {"type": "INT64", "index": 3, "name": "name", "comment": null}, "full_text": {"type": "STRING", "index": 4, "name": "full_text", "comment": null}, "language": {"type": "STRING", "index": 5, "name": "language", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 720.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet"}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"approval_status": {"type": "STRING", "index": 1, "name": "approval_status", "comment": null}, "created_timestamp": {"type": "STRING", "index": 2, "name": "created_timestamp", "comment": null}, "is_deleted": {"type": "BOOL", "index": 3, "name": "is_deleted", "comment": null}, "entity_status": {"type": "STRING", "index": 4, "name": "entity_status", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 5, "name": "promoted_tweet_id", "comment": null}, "line_item_id": {"type": "STRING", "index": 6, "name": "line_item_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 7, "name": "tweet_id", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 8, "name": "updated_timestamp", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 9, "name": "is_latest_version", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 21.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1953.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"}, "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "daily_budget_amount_local_micro": {"type": "INT64", "index": 5, "name": "daily_budget_amount_local_micro", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "duration_in_days": {"type": "INT64", "index": 7, "name": "duration_in_days", "comment": null}, "end_time": {"type": "STRING", "index": 8, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 9, "name": "entity_status", "comment": null}, "frequency_cap": {"type": "INT64", "index": 10, "name": "frequency_cap", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 11, "name": "funding_instrument_id", "comment": null}, "id": {"type": "STRING", "index": 12, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 13, "name": "name", "comment": null}, "servable": {"type": "BOOL", "index": 14, "name": "servable", "comment": null}, "standard_delivery": {"type": "BOOL", "index": 15, "name": "standard_delivery", "comment": null}, "start_time": {"type": "STRING", "index": 16, "name": "start_time", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 17, "name": "total_budget_amount_local_micro", "comment": null}, "updated_at": {"type": "STRING", "index": 18, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"}, "model.twitter_ads_source.stg_twitter_ads__tweet_url": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet_url", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"display_url": {"type": "STRING", "index": 1, "name": "display_url", "comment": null}, "expanded_url": {"type": "STRING", "index": 2, "name": "expanded_url", "comment": null}, "index": {"type": "INT64", "index": 3, "name": "index", "comment": null}, "indices": {"type": "STRING", "index": 4, "name": "indices", "comment": null}, "tweet_id": {"type": "INT64", "index": 5, "name": "tweet_id", "comment": null}, "url": {"type": "STRING", "index": 6, "name": "url", "comment": null}, "base_url": {"type": "STRING", "index": 7, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 8, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 9, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 10, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 11, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 12, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 13, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 14, "name": "utm_term", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 24366.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url"}, "model.twitter_ads_source.stg_twitter_ads__line_item_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_history", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_domain": {"type": "STRING", "index": 1, "name": "advertiser_domain", "comment": null}, "advertiser_user_id": {"type": "INT64", "index": 2, "name": "advertiser_user_id", "comment": null}, "automatically_select_bid": {"type": "BOOL", "index": 3, "name": "automatically_select_bid", "comment": null}, "bid_amount_local_micro": {"type": "INT64", "index": 4, "name": "bid_amount_local_micro", "comment": null}, "bid_type": {"type": "STRING", "index": 5, "name": "bid_type", "comment": null}, "bid_unit": {"type": "STRING", "index": 6, "name": "bid_unit", "comment": null}, "campaign_id": {"type": "STRING", "index": 7, "name": "campaign_id", "comment": null}, "charge_by": {"type": "STRING", "index": 8, "name": "charge_by", "comment": null}, "created_timestamp": {"type": "STRING", "index": 9, "name": "created_timestamp", "comment": null}, "creative_source": {"type": "STRING", "index": 10, "name": "creative_source", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "is_deleted": {"type": "BOOL", "index": 12, "name": "is_deleted", "comment": null}, "end_timestamp": {"type": "INT64", "index": 13, "name": "end_timestamp", "comment": null}, "entity_status": {"type": "STRING", "index": 14, "name": "entity_status", "comment": null}, "line_item_id": {"type": "STRING", "index": 15, "name": "line_item_id", "comment": null}, "name": {"type": "STRING", "index": 16, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 17, "name": "objective", "comment": null}, "optimization": {"type": "STRING", "index": 18, "name": "optimization", "comment": null}, "primary_web_event_tag": {"type": "INT64", "index": 19, "name": "primary_web_event_tag", "comment": null}, "product_type": {"type": "STRING", "index": 20, "name": "product_type", "comment": null}, "start_timestamp": {"type": "INT64", "index": 21, "name": "start_timestamp", "comment": null}, "target_cpa_local_micro": {"type": "INT64", "index": 22, "name": "target_cpa_local_micro", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 23, "name": "total_budget_amount_local_micro", "comment": null}, "updated_timestamp": {"type": "STRING", "index": 24, "name": "updated_timestamp", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 25, "name": "bid_amount", "comment": null}, "total_budget_amount": {"type": "FLOAT64", "index": 26, "name": "total_budget_amount", "comment": null}, "target_cpa": {"type": "FLOAT64", "index": 27, "name": "target_cpa", "comment": null}, "is_latest_version": {"type": "BOOL", "index": 28, "name": "is_latest_version", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3082.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history"}, "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__account_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 2, "name": "approval_status", "comment": null}, "business_id": {"type": "INT64", "index": 3, "name": "business_id", "comment": null}, "business_name": {"type": "INT64", "index": 4, "name": "business_name", "comment": null}, "created_at": {"type": "STRING", "index": 5, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "id": {"type": "STRING", "index": 7, "name": "id", "comment": null}, "industry_type": {"type": "INT64", "index": 8, "name": "industry_type", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "salt": {"type": "INT64", "index": 10, "name": "salt", "comment": null}, "timezone": {"type": "STRING", "index": 11, "name": "timezone", "comment": null}, "timezone_switch_at": {"type": "STRING", "index": 12, "name": "timezone_switch_at", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"}, "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_domain": {"type": "STRING", "index": 1, "name": "advertiser_domain", "comment": null}, "advertiser_user_id": {"type": "INT64", "index": 2, "name": "advertiser_user_id", "comment": null}, "automatically_select_bid": {"type": "BOOL", "index": 3, "name": "automatically_select_bid", "comment": null}, "bid_amount_local_micro": {"type": "INT64", "index": 4, "name": "bid_amount_local_micro", "comment": null}, "bid_type": {"type": "STRING", "index": 5, "name": "bid_type", "comment": null}, "bid_unit": {"type": "STRING", "index": 6, "name": "bid_unit", "comment": null}, "campaign_id": {"type": "STRING", "index": 7, "name": "campaign_id", "comment": null}, "charge_by": {"type": "STRING", "index": 8, "name": "charge_by", "comment": null}, "created_at": {"type": "STRING", "index": 9, "name": "created_at", "comment": null}, "creative_source": {"type": "STRING", "index": 10, "name": "creative_source", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "deleted": {"type": "BOOL", "index": 12, "name": "deleted", "comment": null}, "end_time": {"type": "INT64", "index": 13, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 14, "name": "entity_status", "comment": null}, "id": {"type": "STRING", "index": 15, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 16, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 17, "name": "objective", "comment": null}, "optimization": {"type": "STRING", "index": 18, "name": "optimization", "comment": null}, "primary_web_event_tag": {"type": "INT64", "index": 19, "name": "primary_web_event_tag", "comment": null}, "product_type": {"type": "STRING", "index": 20, "name": "product_type", "comment": null}, "start_time": {"type": "INT64", "index": 21, "name": "start_time", "comment": null}, "target_cpa_local_micro": {"type": "INT64", "index": 22, "name": "target_cpa_local_micro", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 23, "name": "total_budget_amount_local_micro", "comment": null}, "updated_at": {"type": "STRING", "index": 24, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"}, "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_report_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 3, "name": "billed_charge_local_micro", "comment": null}, "clicks": {"type": "INT64", "index": 4, "name": "clicks", "comment": null}, "date": {"type": "DATETIME", "index": 5, "name": "date", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 7, "name": "promoted_tweet_id", "comment": null}, "url_clicks": {"type": "INT64", "index": 8, "name": "url_clicks", "comment": null}, "placement": {"type": "STRING", "index": 9, "name": "placement", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_history_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 2, "name": "approval_status", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 4, "name": "deleted", "comment": null}, "entity_status": {"type": "STRING", "index": 5, "name": "entity_status", "comment": null}, "id": {"type": "STRING", "index": 6, "name": "id", "comment": null}, "line_item_id": {"type": "STRING", "index": 7, "name": "line_item_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 8, "name": "tweet_id", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"}, "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": {"metadata": {"type": "view", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet_url_tmp", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "display_url": {"type": "STRING", "index": 2, "name": "display_url", "comment": null}, "expanded_url": {"type": "STRING", "index": 3, "name": "expanded_url", "comment": null}, "index": {"type": "INT64", "index": 4, "name": "index", "comment": null}, "indices": {"type": "STRING", "index": 5, "name": "indices", "comment": null}, "tweet_id": {"type": "INT64", "index": 6, "name": "tweet_id", "comment": null}, "url": {"type": "STRING", "index": 7, "name": "url", "comment": null}}, "stats": {"has_stats": {"id": "has_stats", "label": "Has Stats?", "value": false, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"}, "model.twitter_ads_source.stg_twitter_ads__line_item_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "spend_micro": {"type": "INT64", "index": 7, "name": "spend_micro", "comment": null}, "spend": {"type": "FLOAT64", "index": 8, "name": "spend", "comment": null}, "url_clicks": {"type": "INT64", "index": 9, "name": "url_clicks", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 336.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report"}, "model.linkedin.linkedin_ads__campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__campaign_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 3, "name": "campaign_name", "comment": null}, "version_tag": {"type": "NUMERIC", "index": 4, "name": "version_tag", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 5, "name": "campaign_group_id", "comment": null}, "campaign_group_name": {"type": "STRING", "index": 6, "name": "campaign_group_name", "comment": null}, "account_id": {"type": "INT64", "index": 7, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 8, "name": "account_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 9, "name": "campaign_status", "comment": null}, "campaign_group_status": {"type": "STRING", "index": 10, "name": "campaign_group_status", "comment": null}, "type": {"type": "STRING", "index": 11, "name": "type", "comment": null}, "cost_type": {"type": "STRING", "index": 12, "name": "cost_type", "comment": null}, "creative_selection": {"type": "STRING", "index": 13, "name": "creative_selection", "comment": null}, "daily_budget_amount": {"type": "FLOAT64", "index": 14, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency_code": {"type": "STRING", "index": 15, "name": "daily_budget_currency_code", "comment": null}, "unit_cost_amount": {"type": "FLOAT64", "index": 16, "name": "unit_cost_amount", "comment": null}, "unit_cost_currency_code": {"type": "STRING", "index": 17, "name": "unit_cost_currency_code", "comment": null}, "currency": {"type": "STRING", "index": 18, "name": "currency", "comment": null}, "format": {"type": "STRING", "index": 19, "name": "format", "comment": null}, "locale_country": {"type": "STRING", "index": 20, "name": "locale_country", "comment": null}, "locale_language": {"type": "STRING", "index": 21, "name": "locale_language", "comment": null}, "objective_type": {"type": "STRING", "index": 22, "name": "objective_type", "comment": null}, "optimization_target_type": {"type": "STRING", "index": 23, "name": "optimization_target_type", "comment": null}, "is_audience_expansion_enabled": {"type": "BOOL", "index": 24, "name": "is_audience_expansion_enabled", "comment": null}, "is_offsite_delivery_enabled": {"type": "BOOL", "index": 25, "name": "is_offsite_delivery_enabled", "comment": null}, "run_schedule_start_at": {"type": "TIMESTAMP", "index": 26, "name": "run_schedule_start_at", "comment": null}, "run_schedule_end_at": {"type": "TIMESTAMP", "index": 27, "name": "run_schedule_end_at", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 28, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 29, "name": "created_at", "comment": null}, "clicks": {"type": "INT64", "index": 30, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 31, "name": "impressions", "comment": null}, "cost": {"type": "FLOAT64", "index": 32, "name": "cost", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 20.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3276.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin.linkedin_ads__campaign_report"}, "model.linkedin.linkedin_ads__campaign_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__campaign_group_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 2, "name": "campaign_group_id", "comment": null}, "campaign_group_name": {"type": "STRING", "index": 3, "name": "campaign_group_name", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 5, "name": "account_name", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "is_backfilled": {"type": "BOOL", "index": 8, "name": "is_backfilled", "comment": null}, "run_schedule_start_at": {"type": "TIMESTAMP", "index": 9, "name": "run_schedule_start_at", "comment": null}, "run_schedule_end_at": {"type": "TIMESTAMP", "index": 10, "name": "run_schedule_end_at", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 11, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 12, "name": "created_at", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "cost": {"type": "FLOAT64", "index": 15, "name": "cost", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 20.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2276.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin.linkedin_ads__campaign_group_report"}, "model.linkedin.linkedin_ads__account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__account_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 3, "name": "account_name", "comment": null}, "version_tag": {"type": "NUMERIC", "index": 4, "name": "version_tag", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 8, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 9, "name": "created_at", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 20.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1916.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin.linkedin_ads__account_report"}, "model.linkedin.linkedin_ads__creative_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__creative_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "creative_id": {"type": "INT64", "index": 2, "name": "creative_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 5, "name": "campaign_group_id", "comment": null}, "campaign_group_name": {"type": "STRING", "index": 6, "name": "campaign_group_name", "comment": null}, "account_id": {"type": "INT64", "index": 7, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 8, "name": "account_name", "comment": null}, "click_uri": {"type": "STRING", "index": 9, "name": "click_uri", "comment": null}, "creative_status": {"type": "STRING", "index": 10, "name": "creative_status", "comment": null}, "campaign_status": {"type": "STRING", "index": 11, "name": "campaign_status", "comment": null}, "campaign_group_status": {"type": "STRING", "index": 12, "name": "campaign_group_status", "comment": null}, "currency": {"type": "STRING", "index": 13, "name": "currency", "comment": null}, "last_modified_at": {"type": "TIMESTAMP", "index": 14, "name": "last_modified_at", "comment": null}, "created_at": {"type": "TIMESTAMP", "index": 15, "name": "created_at", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "cost": {"type": "INT64", "index": 18, "name": "cost", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 5924.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin.linkedin_ads__creative_report"}, "model.linkedin.linkedin_ads__url_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__url_report", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date_day": {"type": "TIMESTAMP", "index": 1, "name": "date_day", "comment": null}, "click_uri": {"type": "STRING", "index": 2, "name": "click_uri", "comment": null}, "base_url": {"type": "STRING", "index": 3, "name": "base_url", "comment": null}, "url_host": {"type": "STRING", "index": 4, "name": "url_host", "comment": null}, "url_path": {"type": "STRING", "index": 5, "name": "url_path", "comment": null}, "utm_source": {"type": "STRING", "index": 6, "name": "utm_source", "comment": null}, "utm_medium": {"type": "STRING", "index": 7, "name": "utm_medium", "comment": null}, "utm_campaign": {"type": "STRING", "index": 8, "name": "utm_campaign", "comment": null}, "utm_content": {"type": "STRING", "index": 9, "name": "utm_content", "comment": null}, "utm_term": {"type": "STRING", "index": 10, "name": "utm_term", "comment": null}, "creative_id": {"type": "INT64", "index": 11, "name": "creative_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 12, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 13, "name": "campaign_name", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 14, "name": "campaign_group_id", "comment": null}, "campaign_group_name": {"type": "STRING", "index": 15, "name": "campaign_group_name", "comment": null}, "account_id": {"type": "INT64", "index": 16, "name": "account_id", "comment": null}, "account_name": {"type": "STRING", "index": 17, "name": "account_name", "comment": null}, "currency": {"type": "STRING", "index": 18, "name": "currency", "comment": null}, "clicks": {"type": "INT64", "index": 19, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "cost": {"type": "INT64", "index": 21, "name": "cost", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 81.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "model.linkedin.linkedin_ads__url_report"}}, "sources": {"source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_search_term_ad_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 6, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 7, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 8, "name": "campaign_budget_type", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 10, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 11, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 13, "name": "keyword_bid", "comment": null}, "search_term": {"type": "STRING", "index": 14, "name": "search_term", "comment": null}, "targeting": {"type": "STRING", "index": 15, "name": "targeting", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1350.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report"}, "source.twitter_ads_source.twitter_ads.promoted_tweet_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_promoted_tweet_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 3, "name": "billed_charge_local_micro", "comment": null}, "clicks": {"type": "INT64", "index": 4, "name": "clicks", "comment": null}, "date": {"type": "DATETIME", "index": 5, "name": "date", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "promoted_tweet_id": {"type": "STRING", "index": 7, "name": "promoted_tweet_id", "comment": null}, "url_clicks": {"type": "INT64", "index": 8, "name": "url_clicks", "comment": null}, "placement": {"type": "STRING", "index": 9, "name": "placement", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10500.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_report"}, "source.twitter_ads_source.twitter_ads.tweet_url": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_tweet_url_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "display_url": {"type": "STRING", "index": 2, "name": "display_url", "comment": null}, "expanded_url": {"type": "STRING", "index": 3, "name": "expanded_url", "comment": null}, "index": {"type": "INT64", "index": 4, "name": "index", "comment": null}, "indices": {"type": "STRING", "index": 5, "name": "indices", "comment": null}, "tweet_id": {"type": "INT64", "index": 6, "name": "tweet_id", "comment": null}, "url": {"type": "STRING", "index": 7, "name": "url", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 16671.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.tweet_url"}, "source.linkedin_source.linkedin.ad_analytics_by_creative": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_analytics_by_creative_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "INT64", "index": 1, "name": "creative_id", "comment": null}, "day": {"type": "TIMESTAMP", "index": 2, "name": "day", "comment": null}, "clicks": {"type": "INT64", "index": 3, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "cost_in_local_currency": {"type": "INT64", "index": 5, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "INT64", "index": 6, "name": "cost_in_usd", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2968.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_creative"}, "source.pinterest_source.pinterest_ads.pin_promotion_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_pin_promotion_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATETIME", "index": 1, "name": "date", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 2, "name": "pin_promotion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 5, "name": "advertiser_id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 6, "name": "_fivetran_synced", "comment": null}, "impression_1": {"type": "INT64", "index": 7, "name": "impression_1", "comment": null}, "impression_2": {"type": "INT64", "index": 8, "name": "impression_2", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 9, "name": "clickthrough_1", "comment": null}, "clickthrough_2": {"type": "INT64", "index": 10, "name": "clickthrough_2", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 11, "name": "spend_in_micro_dollar", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9708.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_report"}, "source.snapchat_ads_source.snapchat_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 58.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7830.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_history"}, "source.apple_search_ads_source.apple_search_ads.organization": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_organization_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "currency": {"type": "STRING", "index": 2, "name": "currency", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "payment_model": {"type": "STRING", "index": 4, "name": "payment_model", "comment": null}, "role_names": {"type": "STRING", "index": 5, "name": "role_names", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 132.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.organization"}, "source.pinterest_source.pinterest_ads.pin_promotion_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_pin_promotion_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "created_time": {"type": "STRING", "index": 3, "name": "created_time", "comment": null}, "destination_url": {"type": "STRING", "index": 4, "name": "destination_url", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "pin_id": {"type": "INT64", "index": 6, "name": "pin_id", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "creative_type": {"type": "STRING", "index": 8, "name": "creative_type", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 9, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 18.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3204.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_history"}, "source.pinterest_source.pinterest_ads.ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_ad_group_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "ad_group_name": {"type": "STRING", "index": 5, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 6, "name": "ad_group_status", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 7, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_id": {"type": "INT64", "index": 8, "name": "campaign_id", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 9, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 10, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 11, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 12, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 13, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 14, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 15, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 16, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 17, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 18, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 19, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 20, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 21, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 22, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 23, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 24, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 25, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 26, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 27, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 28, "name": "total_impression_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2484.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.ad_group_report"}, "source.apple_search_ads_source.apple_search_ads.keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "bid_amount": {"type": "FLOAT64", "index": 4, "name": "bid_amount", "comment": null}, "bid_currency": {"type": "STRING", "index": 5, "name": "bid_currency", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "deleted": {"type": "BOOL", "index": 7, "name": "deleted", "comment": null}, "match_type": {"type": "STRING", "index": 8, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "text": {"type": "STRING", "index": 10, "name": "text", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1151.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_history"}, "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_keyword_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "currency_code": {"type": "STRING", "index": 7, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 12, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 13, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 14, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 15, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 17, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 18, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 53.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 9602.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report"}, "source.twitter_ads_source.twitter_ads.tweet": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_tweet_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "card_uri": {"type": "INT64", "index": 4, "name": "card_uri", "comment": null}, "coordinates_coordinates": {"type": "INT64", "index": 5, "name": "coordinates_coordinates", "comment": null}, "coordinates_type": {"type": "INT64", "index": 6, "name": "coordinates_type", "comment": null}, "created_at": {"type": "STRING", "index": 7, "name": "created_at", "comment": null}, "favorite_count": {"type": "INT64", "index": 8, "name": "favorite_count", "comment": null}, "favorited": {"type": "BOOL", "index": 9, "name": "favorited", "comment": null}, "followers": {"type": "INT64", "index": 10, "name": "followers", "comment": null}, "full_text": {"type": "STRING", "index": 11, "name": "full_text", "comment": null}, "geo_coordinates": {"type": "INT64", "index": 12, "name": "geo_coordinates", "comment": null}, "geo_type": {"type": "INT64", "index": 13, "name": "geo_type", "comment": null}, "in_reply_to_screen_name": {"type": "INT64", "index": 14, "name": "in_reply_to_screen_name", "comment": null}, "in_reply_to_status_id": {"type": "INT64", "index": 15, "name": "in_reply_to_status_id", "comment": null}, "in_reply_to_user_id": {"type": "INT64", "index": 16, "name": "in_reply_to_user_id", "comment": null}, "lang": {"type": "STRING", "index": 17, "name": "lang", "comment": null}, "media_key": {"type": "INT64", "index": 18, "name": "media_key", "comment": null}, "retweet_count": {"type": "INT64", "index": 19, "name": "retweet_count", "comment": null}, "retweeted": {"type": "BOOL", "index": 20, "name": "retweeted", "comment": null}, "source": {"type": "STRING", "index": 21, "name": "source", "comment": null}, "truncated": {"type": "BOOL", "index": 22, "name": "truncated", "comment": null}, "tweet_type": {"type": "STRING", "index": 23, "name": "tweet_type", "comment": null}, "user_id": {"type": "INT64", "index": 24, "name": "user_id", "comment": null}, "name": {"type": "INT64", "index": 25, "name": "name", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1312.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.tweet"}, "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_hourly_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "STRING", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "TIMESTAMP", "index": 2, "name": "date", "comment": null}, "impressions": {"type": "INT64", "index": 3, "name": "impressions", "comment": null}, "spend": {"type": "INT64", "index": 4, "name": "spend", "comment": null}, "swipes": {"type": "INT64", "index": 5, "name": "swipes", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1212.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 84840.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_hourly_report"}, "source.amazon_ads_source.amazon_ads.campaign_level_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_campaign_level_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_applicable_budget_rule_id": {"type": "INT64", "index": 4, "name": "campaign_applicable_budget_rule_id", "comment": null}, "campaign_applicable_budget_rule_name": {"type": "INT64", "index": 5, "name": "campaign_applicable_budget_rule_name", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 6, "name": "campaign_bidding_strategy", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 7, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 8, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 9, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 10, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 13, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1018.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.campaign_level_report"}, "source.google_ads_source.google_ads.ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "name": {"type": "INT64", "index": 3, "name": "name", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "type": {"type": "INT64", "index": 5, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "display_url": {"type": "INT64", "index": 7, "name": "display_url", "comment": null}, "final_urls": {"type": "STRING", "index": 8, "name": "final_urls", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 713.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.ad_history"}, "source.reddit_ads_source.reddit_ads.account": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_account_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "attribution_type": {"type": "STRING", "index": 3, "name": "attribution_type", "comment": null}, "click_attribution_window": {"type": "STRING", "index": 4, "name": "click_attribution_window", "comment": null}, "created_at": {"type": "DATETIME", "index": 5, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 6, "name": "currency", "comment": null}, "status": {"type": "INT64", "index": 7, "name": "status", "comment": null}, "time_zone_id": {"type": "STRING", "index": 8, "name": "time_zone_id", "comment": null}, "view_attribution_window": {"type": "STRING", "index": 9, "name": "view_attribution_window", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 62.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.account"}, "source.twitter_ads_source.twitter_ads.line_item_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "line_item_id": {"type": "STRING", "index": 3, "name": "line_item_id", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8084.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.line_item_report"}, "source.facebook_ads_source.facebook_ads.basic_ad": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_basic_ad_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "impressions": {"type": "INT64", "index": 4, "name": "impressions", "comment": null}, "inline_link_clicks": {"type": "INT64", "index": 5, "name": "inline_link_clicks", "comment": null}, "spend": {"type": "FLOAT64", "index": 6, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 480.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.basic_ad"}, "source.amazon_ads_source.amazon_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "bidding_strategy": {"type": "STRING", "index": 4, "name": "bidding_strategy", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "creation_date": {"type": "STRING", "index": 6, "name": "creation_date", "comment": null}, "daily_budget": {"type": "INT64", "index": 7, "name": "daily_budget", "comment": null}, "end_date": {"type": "INT64", "index": 8, "name": "end_date", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "placement": {"type": "INT64", "index": 10, "name": "placement", "comment": null}, "portfolio_id": {"type": "INT64", "index": 11, "name": "portfolio_id", "comment": null}, "premium_bid_adjustment": {"type": "BOOL", "index": 12, "name": "premium_bid_adjustment", "comment": null}, "profile_id": {"type": "INT64", "index": 13, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "start_date": {"type": "DATE", "index": 15, "name": "start_date", "comment": null}, "state": {"type": "STRING", "index": 16, "name": "state", "comment": null}, "targeting_type": {"type": "STRING", "index": 17, "name": "targeting_type", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 6.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1259.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.campaign_history"}, "source.google_ads_source.google_ads.ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "type": {"type": "STRING", "index": 3, "name": "type", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 5, "name": "campaign_name", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 272.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.ad_group_history"}, "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_campaign_hourly_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "STRING", "index": 1, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 6, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 7, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 8, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 9, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 10, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 11, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 12, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 13, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 14, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 15, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 16, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 17, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 18, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 19, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 20, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 21, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 22, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 23, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 24, "name": "conversion_view_content", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 26, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 27, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 28, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 29, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 30, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 31, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 32, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 33, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 34, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 35, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 36, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 37, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 38, "name": "total_installs", "comment": null}, "video_views": {"type": "INT64", "index": 39, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 40, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 41, "name": "view_time_millis", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3580.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report"}, "source.facebook_ads_source.facebook_ads.account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 59.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3481.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.account_history"}, "source.google_ads_source.google_ads.ad_group_criterion_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_criterion_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "base_campaign_id": {"type": "INT64", "index": 3, "name": "base_campaign_id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 4, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 5, "name": "_fivetran_synced", "comment": null}, "type": {"type": "STRING", "index": 6, "name": "type", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "keyword_match_type": {"type": "STRING", "index": 8, "name": "keyword_match_type", "comment": null}, "keyword_text": {"type": "STRING", "index": 9, "name": "keyword_text", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 261.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15771.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.ad_group_criterion_history"}, "source.tiktok_ads_source.tiktok_ads.adgroup_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_adgroup_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 5, "name": "create_time", "comment": null}, "adgroup_name": {"type": "STRING", "index": 6, "name": "adgroup_name", "comment": null}, "placement_type": {"type": "STRING", "index": 7, "name": "placement_type", "comment": null}, "profile_image": {"type": "INT64", "index": 8, "name": "profile_image", "comment": null}, "landing_page_url": {"type": "INT64", "index": 9, "name": "landing_page_url", "comment": null}, "display_name": {"type": "INT64", "index": 10, "name": "display_name", "comment": null}, "app_type": {"type": "INT64", "index": 11, "name": "app_type", "comment": null}, "app_download_url": {"type": "INT64", "index": 12, "name": "app_download_url", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "external_action": {"type": "STRING", "index": 14, "name": "external_action", "comment": null}, "deep_external_action": {"type": "INT64", "index": 15, "name": "deep_external_action", "comment": null}, "creative_material_mode": {"type": "STRING", "index": 16, "name": "creative_material_mode", "comment": null}, "audience_type": {"type": "INT64", "index": 17, "name": "audience_type", "comment": null}, "gender": {"type": "STRING", "index": 18, "name": "gender", "comment": null}, "android_osv": {"type": "INT64", "index": 19, "name": "android_osv", "comment": null}, "ios_osv": {"type": "INT64", "index": 20, "name": "ios_osv", "comment": null}, "budget_mode": {"type": "STRING", "index": 21, "name": "budget_mode", "comment": null}, "schedule_type": {"type": "STRING", "index": 22, "name": "schedule_type", "comment": null}, "dayparting": {"type": "INT64", "index": 23, "name": "dayparting", "comment": null}, "optimize_goal": {"type": "STRING", "index": 24, "name": "optimize_goal", "comment": null}, "cpv_video_duration": {"type": "INT64", "index": 25, "name": "cpv_video_duration", "comment": null}, "pacing": {"type": "STRING", "index": 26, "name": "pacing", "comment": null}, "billing_event": {"type": "STRING", "index": 27, "name": "billing_event", "comment": null}, "bid_type": {"type": "STRING", "index": 28, "name": "bid_type", "comment": null}, "deep_bid_type": {"type": "INT64", "index": 29, "name": "deep_bid_type", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 30, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 31, "name": "click_tracking_url", "comment": null}, "status": {"type": "STRING", "index": 32, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 33, "name": "opt_status", "comment": null}, "statistic_type": {"type": "INT64", "index": 34, "name": "statistic_type", "comment": null}, "video_download": {"type": "STRING", "index": 35, "name": "video_download", "comment": null}, "open_url": {"type": "INT64", "index": 36, "name": "open_url", "comment": null}, "open_url_type": {"type": "INT64", "index": 37, "name": "open_url_type", "comment": null}, "fallback_type": {"type": "INT64", "index": 38, "name": "fallback_type", "comment": null}, "budget": {"type": "INT64", "index": 39, "name": "budget", "comment": null}, "bid": {"type": "INT64", "index": 40, "name": "bid", "comment": null}, "conversion_bid": {"type": "INT64", "index": 41, "name": "conversion_bid", "comment": null}, "deep_cpabid": {"type": "INT64", "index": 42, "name": "deep_cpabid", "comment": null}, "schedule_start_time": {"type": "STRING", "index": 43, "name": "schedule_start_time", "comment": null}, "schedule_end_time": {"type": "STRING", "index": 44, "name": "schedule_end_time", "comment": null}, "app_id": {"type": "INT64", "index": 45, "name": "app_id", "comment": null}, "pixel_id": {"type": "INT64", "index": 46, "name": "pixel_id", "comment": null}, "enable_inventory_filter": {"type": "BOOL", "index": 47, "name": "enable_inventory_filter", "comment": null}, "is_hfss": {"type": "BOOL", "index": 48, "name": "is_hfss", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 49, "name": "is_new_structure", "comment": null}, "category": {"type": "INT64", "index": 50, "name": "category", "comment": null}, "is_comment_disable": {"type": "INT64", "index": 51, "name": "is_comment_disable", "comment": null}, "skip_learning_phase": {"type": "INT64", "index": 52, "name": "skip_learning_phase", "comment": null}, "frequency": {"type": "INT64", "index": 53, "name": "frequency", "comment": null}, "frequency_schedule": {"type": "INT64", "index": 54, "name": "frequency_schedule", "comment": null}, "action_days": {"type": "INT64", "index": 55, "name": "action_days", "comment": null}, "audience": {"type": "STRING", "index": 56, "name": "audience", "comment": null}, "excluded_audience": {"type": "STRING", "index": 57, "name": "excluded_audience", "comment": null}, "location": {"type": "STRING", "index": 58, "name": "location", "comment": null}, "interest_category_v_2": {"type": "STRING", "index": 59, "name": "interest_category_v_2", "comment": null}, "pangle_block_app_list_id": {"type": "STRING", "index": 60, "name": "pangle_block_app_list_id", "comment": null}, "action_categories": {"type": "STRING", "index": 61, "name": "action_categories", "comment": null}, "placement": {"type": "STRING", "index": 62, "name": "placement", "comment": null}, "keywords": {"type": "INT64", "index": 63, "name": "keywords", "comment": null}, "age": {"type": "STRING", "index": 64, "name": "age", "comment": null}, "languages": {"type": "STRING", "index": 65, "name": "languages", "comment": null}, "operation_system": {"type": "STRING", "index": 66, "name": "operation_system", "comment": null}, "connection_type": {"type": "STRING", "index": 67, "name": "connection_type", "comment": null}, "carriers": {"type": "STRING", "index": 68, "name": "carriers", "comment": null}, "video_actions": {"type": "STRING", "index": 69, "name": "video_actions", "comment": null}, "package": {"type": "INT64", "index": 70, "name": "package", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 71, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2527.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_history"}, "source.snapchat_ads_source.snapchat_ads.creative_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_creative_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_account_id": {"type": "STRING", "index": 2, "name": "ad_account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "web_view_url": {"type": "STRING", "index": 4, "name": "web_view_url", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 119.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 18802.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_history"}, "source.twitter_ads_source.twitter_ads.promoted_tweet_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_promoted_tweet_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 2, "name": "approval_status", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 4, "name": "deleted", "comment": null}, "entity_status": {"type": "STRING", "index": 5, "name": "entity_status", "comment": null}, "id": {"type": "STRING", "index": 6, "name": "id", "comment": null}, "line_item_id": {"type": "STRING", "index": 7, "name": "line_item_id", "comment": null}, "tweet_id": {"type": "INT64", "index": 8, "name": "tweet_id", "comment": null}, "updated_at": {"type": "STRING", "index": 9, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 21.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2541.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_history"}, "source.reddit_ads_source.reddit_ads.account_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_account_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 4, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 6, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 7, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 8, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 9, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 10, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 11, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 12, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 13, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 15, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 17, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 18, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 19, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 20, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 21, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 22, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 23, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 24, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 25, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 26, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 27, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 30, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 33, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 34, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 35, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 36, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 37, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 38, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 39, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 40, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 41, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 42, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 43, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 44, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 45, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 46, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 47, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 48, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 49, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 50, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 56.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 15232.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.account_report"}, "source.reddit_ads_source.reddit_ads.campaign": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_campaign_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "configured_status": {"type": "STRING", "index": 4, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 5, "name": "effective_status", "comment": null}, "funding_instrument_id": {"type": "INT64", "index": 6, "name": "funding_instrument_id", "comment": null}, "is_processing": {"type": "BOOL", "index": 7, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 8, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 9, "name": "objective", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 714.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.campaign"}, "source.reddit_ads_source.reddit_ads.campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 79.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 22120.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.campaign_report"}, "source.microsoft_ads_source.microsoft_ads.ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "title_part_1": {"type": "STRING", "index": 2, "name": "title_part_1", "comment": null}, "final_url": {"type": "STRING", "index": 3, "name": "final_url", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 5, "name": "modified_time", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}, "type": {"type": "STRING", "index": 7, "name": "type", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1125.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_history"}, "source.pinterest_source.pinterest_ads.ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "created_time": {"type": "STRING", "index": 3, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 5, "name": "status", "comment": null}, "start_time": {"type": "STRING", "index": 6, "name": "start_time", "comment": null}, "end_time": {"type": "INT64", "index": 7, "name": "end_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 8, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 604.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.ad_group_history"}, "source.twitter_ads_source.twitter_ads.line_item_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_domain": {"type": "STRING", "index": 1, "name": "advertiser_domain", "comment": null}, "advertiser_user_id": {"type": "INT64", "index": 2, "name": "advertiser_user_id", "comment": null}, "automatically_select_bid": {"type": "BOOL", "index": 3, "name": "automatically_select_bid", "comment": null}, "bid_amount_local_micro": {"type": "INT64", "index": 4, "name": "bid_amount_local_micro", "comment": null}, "bid_type": {"type": "STRING", "index": 5, "name": "bid_type", "comment": null}, "bid_unit": {"type": "STRING", "index": 6, "name": "bid_unit", "comment": null}, "campaign_id": {"type": "STRING", "index": 7, "name": "campaign_id", "comment": null}, "charge_by": {"type": "STRING", "index": 8, "name": "charge_by", "comment": null}, "created_at": {"type": "STRING", "index": 9, "name": "created_at", "comment": null}, "creative_source": {"type": "STRING", "index": 10, "name": "creative_source", "comment": null}, "currency": {"type": "STRING", "index": 11, "name": "currency", "comment": null}, "deleted": {"type": "BOOL", "index": 12, "name": "deleted", "comment": null}, "end_time": {"type": "INT64", "index": 13, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 14, "name": "entity_status", "comment": null}, "id": {"type": "STRING", "index": 15, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 16, "name": "name", "comment": null}, "objective": {"type": "STRING", "index": 17, "name": "objective", "comment": null}, "optimization": {"type": "STRING", "index": 18, "name": "optimization", "comment": null}, "primary_web_event_tag": {"type": "INT64", "index": 19, "name": "primary_web_event_tag", "comment": null}, "product_type": {"type": "STRING", "index": 20, "name": "product_type", "comment": null}, "start_time": {"type": "INT64", "index": 21, "name": "start_time", "comment": null}, "target_cpa_local_micro": {"type": "INT64", "index": 22, "name": "target_cpa_local_micro", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 23, "name": "total_budget_amount_local_micro", "comment": null}, "updated_at": {"type": "STRING", "index": 24, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2973.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.line_item_history"}, "source.pinterest_source.pinterest_ads.keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 2, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 4, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 5, "name": "keyword_id", "comment": null}, "pin_id": {"type": "INT64", "index": 6, "name": "pin_id", "comment": null}, "pin_promotion_id": {"type": "INT64", "index": 7, "name": "pin_promotion_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 8, "name": "_fivetran_synced", "comment": null}, "ad_group_name": {"type": "STRING", "index": 9, "name": "ad_group_name", "comment": null}, "ad_group_status": {"type": "STRING", "index": 10, "name": "ad_group_status", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 11, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 12, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 13, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 14, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 15, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 16, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "INT64", "index": 17, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 18, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "INT64", "index": 19, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "INT64", "index": 20, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 21, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "INT64", "index": 22, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 23, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 24, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 25, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 26, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 27, "name": "paid_impression", "comment": null}, "pin_promotion_name": {"type": "STRING", "index": 28, "name": "pin_promotion_name", "comment": null}, "pin_promotion_status": {"type": "STRING", "index": 29, "name": "pin_promotion_status", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 30, "name": "spend_in_micro_dollar", "comment": null}, "targeting_type": {"type": "STRING", "index": 31, "name": "targeting_type", "comment": null}, "targeting_value": {"type": "STRING", "index": 32, "name": "targeting_value", "comment": null}, "total_engagement": {"type": "INT64", "index": 33, "name": "total_engagement", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 29.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7830.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.keyword_report"}, "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_squad_hourly_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_squad_id": {"type": "STRING", "index": 1, "name": "ad_squad_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "android_installs": {"type": "INT64", "index": 4, "name": "android_installs", "comment": null}, "attachment_avg_view_time_millis": {"type": "INT64", "index": 5, "name": "attachment_avg_view_time_millis", "comment": null}, "attachment_quartile_1": {"type": "INT64", "index": 6, "name": "attachment_quartile_1", "comment": null}, "attachment_quartile_2": {"type": "INT64", "index": 7, "name": "attachment_quartile_2", "comment": null}, "attachment_quartile_3": {"type": "INT64", "index": 8, "name": "attachment_quartile_3", "comment": null}, "attachment_total_view_time_millis": {"type": "INT64", "index": 9, "name": "attachment_total_view_time_millis", "comment": null}, "attachment_view_completion": {"type": "INT64", "index": 10, "name": "attachment_view_completion", "comment": null}, "avg_screen_time_millis": {"type": "INT64", "index": 11, "name": "avg_screen_time_millis", "comment": null}, "avg_view_time_millis": {"type": "INT64", "index": 12, "name": "avg_view_time_millis", "comment": null}, "conversion_add_billing": {"type": "INT64", "index": 13, "name": "conversion_add_billing", "comment": null}, "conversion_add_cart": {"type": "INT64", "index": 14, "name": "conversion_add_cart", "comment": null}, "conversion_app_opens": {"type": "INT64", "index": 15, "name": "conversion_app_opens", "comment": null}, "conversion_level_completes": {"type": "INT64", "index": 16, "name": "conversion_level_completes", "comment": null}, "conversion_page_views": {"type": "INT64", "index": 17, "name": "conversion_page_views", "comment": null}, "conversion_purchases": {"type": "INT64", "index": 18, "name": "conversion_purchases", "comment": null}, "conversion_purchases_value": {"type": "INT64", "index": 19, "name": "conversion_purchases_value", "comment": null}, "conversion_save": {"type": "INT64", "index": 20, "name": "conversion_save", "comment": null}, "conversion_searches": {"type": "INT64", "index": 21, "name": "conversion_searches", "comment": null}, "conversion_sign_ups": {"type": "INT64", "index": 22, "name": "conversion_sign_ups", "comment": null}, "conversion_start_checkout": {"type": "INT64", "index": 23, "name": "conversion_start_checkout", "comment": null}, "conversion_view_content": {"type": "INT64", "index": 24, "name": "conversion_view_content", "comment": null}, "impressions": {"type": "INT64", "index": 25, "name": "impressions", "comment": null}, "ios_installs": {"type": "INT64", "index": 26, "name": "ios_installs", "comment": null}, "quartile_1": {"type": "INT64", "index": 27, "name": "quartile_1", "comment": null}, "quartile_2": {"type": "INT64", "index": 28, "name": "quartile_2", "comment": null}, "quartile_3": {"type": "INT64", "index": 29, "name": "quartile_3", "comment": null}, "saves": {"type": "INT64", "index": 30, "name": "saves", "comment": null}, "screen_time_millis": {"type": "INT64", "index": 31, "name": "screen_time_millis", "comment": null}, "shares": {"type": "INT64", "index": 32, "name": "shares", "comment": null}, "spend": {"type": "INT64", "index": 33, "name": "spend", "comment": null}, "story_completes": {"type": "INT64", "index": 34, "name": "story_completes", "comment": null}, "story_opens": {"type": "INT64", "index": 35, "name": "story_opens", "comment": null}, "swipe_up_percent": {"type": "INT64", "index": 36, "name": "swipe_up_percent", "comment": null}, "swipes": {"type": "INT64", "index": 37, "name": "swipes", "comment": null}, "total_installs": {"type": "INT64", "index": 38, "name": "total_installs", "comment": null}, "video_views": {"type": "INT64", "index": 39, "name": "video_views", "comment": null}, "view_completion": {"type": "INT64", "index": 40, "name": "view_completion", "comment": null}, "view_time_millis": {"type": "INT64", "index": 41, "name": "view_time_millis", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3580.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report"}, "source.linkedin_source.linkedin.ad_analytics_by_campaign": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_analytics_by_campaign_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "day": {"type": "DATETIME", "index": 2, "name": "day", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "action_clicks": {"type": "INT64", "index": 4, "name": "action_clicks", "comment": null}, "ad_unit_clicks": {"type": "INT64", "index": 5, "name": "ad_unit_clicks", "comment": null}, "approximate_unique_impressions": {"type": "INT64", "index": 6, "name": "approximate_unique_impressions", "comment": null}, "card_clicks": {"type": "INT64", "index": 7, "name": "card_clicks", "comment": null}, "card_impressions": {"type": "INT64", "index": 8, "name": "card_impressions", "comment": null}, "clicks": {"type": "INT64", "index": 9, "name": "clicks", "comment": null}, "comment_likes": {"type": "INT64", "index": 10, "name": "comment_likes", "comment": null}, "comments": {"type": "INT64", "index": 11, "name": "comments", "comment": null}, "company_page_clicks": {"type": "INT64", "index": 12, "name": "company_page_clicks", "comment": null}, "conversion_value_in_local_currency": {"type": "INT64", "index": 13, "name": "conversion_value_in_local_currency", "comment": null}, "cost_in_local_currency": {"type": "FLOAT64", "index": 14, "name": "cost_in_local_currency", "comment": null}, "cost_in_usd": {"type": "FLOAT64", "index": 15, "name": "cost_in_usd", "comment": null}, "external_website_conversions": {"type": "INT64", "index": 16, "name": "external_website_conversions", "comment": null}, "external_website_post_click_conversions": {"type": "INT64", "index": 17, "name": "external_website_post_click_conversions", "comment": null}, "external_website_post_view_conversions": {"type": "INT64", "index": 18, "name": "external_website_post_view_conversions", "comment": null}, "follows": {"type": "INT64", "index": 19, "name": "follows", "comment": null}, "full_screen_plays": {"type": "INT64", "index": 20, "name": "full_screen_plays", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "landing_page_clicks": {"type": "INT64", "index": 22, "name": "landing_page_clicks", "comment": null}, "lead_generation_mail_contact_info_shares": {"type": "INT64", "index": 23, "name": "lead_generation_mail_contact_info_shares", "comment": null}, "lead_generation_mail_interested_clicks": {"type": "INT64", "index": 24, "name": "lead_generation_mail_interested_clicks", "comment": null}, "likes": {"type": "INT64", "index": 25, "name": "likes", "comment": null}, "one_click_lead_form_opens": {"type": "INT64", "index": 26, "name": "one_click_lead_form_opens", "comment": null}, "one_click_leads": {"type": "INT64", "index": 27, "name": "one_click_leads", "comment": null}, "opens": {"type": "INT64", "index": 28, "name": "opens", "comment": null}, "other_engagements": {"type": "INT64", "index": 29, "name": "other_engagements", "comment": null}, "shares": {"type": "INT64", "index": 30, "name": "shares", "comment": null}, "text_url_clicks": {"type": "INT64", "index": 31, "name": "text_url_clicks", "comment": null}, "total_engagements": {"type": "INT64", "index": 32, "name": "total_engagements", "comment": null}, "video_completions": {"type": "INT64", "index": 33, "name": "video_completions", "comment": null}, "video_first_quartile_completions": {"type": "INT64", "index": 34, "name": "video_first_quartile_completions", "comment": null}, "video_midpoint_completions": {"type": "INT64", "index": 35, "name": "video_midpoint_completions", "comment": null}, "video_starts": {"type": "INT64", "index": 36, "name": "video_starts", "comment": null}, "video_third_quartile_completions": {"type": "INT64", "index": 37, "name": "video_third_quartile_completions", "comment": null}, "video_views": {"type": "INT64", "index": 38, "name": "video_views", "comment": null}, "viral_card_clicks": {"type": "INT64", "index": 39, "name": "viral_card_clicks", "comment": null}, "viral_card_impressions": {"type": "INT64", "index": 40, "name": "viral_card_impressions", "comment": null}, "viral_clicks": {"type": "INT64", "index": 41, "name": "viral_clicks", "comment": null}, "viral_comment_likes": {"type": "INT64", "index": 42, "name": "viral_comment_likes", "comment": null}, "viral_comments": {"type": "INT64", "index": 43, "name": "viral_comments", "comment": null}, "viral_company_page_clicks": {"type": "INT64", "index": 44, "name": "viral_company_page_clicks", "comment": null}, "viral_external_website_conversions": {"type": "INT64", "index": 45, "name": "viral_external_website_conversions", "comment": null}, "viral_external_website_post_click_conversions": {"type": "INT64", "index": 46, "name": "viral_external_website_post_click_conversions", "comment": null}, "viral_external_website_post_view_conversions": {"type": "INT64", "index": 47, "name": "viral_external_website_post_view_conversions", "comment": null}, "viral_follows": {"type": "INT64", "index": 48, "name": "viral_follows", "comment": null}, "viral_full_screen_plays": {"type": "INT64", "index": 49, "name": "viral_full_screen_plays", "comment": null}, "viral_impressions": {"type": "INT64", "index": 50, "name": "viral_impressions", "comment": null}, "viral_landing_page_clicks": {"type": "INT64", "index": 51, "name": "viral_landing_page_clicks", "comment": null}, "viral_likes": {"type": "INT64", "index": 52, "name": "viral_likes", "comment": null}, "viral_one_click_lead_form_opens": {"type": "INT64", "index": 53, "name": "viral_one_click_lead_form_opens", "comment": null}, "viral_one_click_leads": {"type": "INT64", "index": 54, "name": "viral_one_click_leads", "comment": null}, "viral_other_engagements": {"type": "INT64", "index": 55, "name": "viral_other_engagements", "comment": null}, "viral_shares": {"type": "INT64", "index": 56, "name": "viral_shares", "comment": null}, "viral_total_engagements": {"type": "INT64", "index": 57, "name": "viral_total_engagements", "comment": null}, "viral_video_completions": {"type": "INT64", "index": 58, "name": "viral_video_completions", "comment": null}, "viral_video_first_quartile_completions": {"type": "INT64", "index": 59, "name": "viral_video_first_quartile_completions", "comment": null}, "viral_video_midpoint_completions": {"type": "INT64", "index": 60, "name": "viral_video_midpoint_completions", "comment": null}, "viral_video_starts": {"type": "INT64", "index": 61, "name": "viral_video_starts", "comment": null}, "viral_video_third_quartile_completions": {"type": "INT64", "index": 62, "name": "viral_video_third_quartile_completions", "comment": null}, "viral_video_views": {"type": "INT64", "index": 63, "name": "viral_video_views", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 20.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7252.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_campaign"}, "source.apple_search_ads_source.apple_search_ads.campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 12.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1524.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_report"}, "source.google_ads_source.google_ads.ad_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"customer_id": {"type": "INT64", "index": 1, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "ad_group": {"type": "STRING", "index": 4, "name": "ad_group", "comment": null}, "keyword_ad_group_criterion": {"type": "STRING", "index": 5, "name": "keyword_ad_group_criterion", "comment": null}, "ad_network_type": {"type": "STRING", "index": 6, "name": "ad_network_type", "comment": null}, "device": {"type": "STRING", "index": 7, "name": "device", "comment": null}, "ad_id": {"type": "INT64", "index": 8, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 9, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "cost_micros": {"type": "INT64", "index": 11, "name": "cost_micros", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1765.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.ad_stats"}, "source.reddit_ads_source.reddit_ads.ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_group_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 28000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad_group_report"}, "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 7, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 8, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 9, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 10, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 11, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 401.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 68992.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report"}, "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_campaign_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "currency_code": {"type": "STRING", "index": 4, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 5, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 6, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 7, "name": "network", "comment": null}, "ad_distribution": {"type": "STRING", "index": 8, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 9, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 10, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 11, "name": "top_vs_other", "comment": null}, "budget_association_status": {"type": "STRING", "index": 12, "name": "budget_association_status", "comment": null}, "clicks": {"type": "INT64", "index": 13, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 15, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2630.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 423390.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report"}, "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_ad_report_hourly_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "INT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "INT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "INT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "INT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "INT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_report_hourly"}, "source.apple_search_ads_source.apple_search_ads.search_term_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_search_term_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 2, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "ad_group_deleted": {"type": "BOOL", "index": 5, "name": "ad_group_deleted", "comment": null}, "ad_group_name": {"type": "STRING", "index": 6, "name": "ad_group_name", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 7, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 8, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 9, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 10, "name": "avg_cpt_currency", "comment": null}, "bid_amount_amount": {"type": "FLOAT64", "index": 11, "name": "bid_amount_amount", "comment": null}, "bid_amount_currency": {"type": "STRING", "index": 12, "name": "bid_amount_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 13, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 14, "name": "conversions", "comment": null}, "deleted": {"type": "BOOL", "index": 15, "name": "deleted", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "keyword": {"type": "STRING", "index": 17, "name": "keyword", "comment": null}, "keyword_display_status": {"type": "STRING", "index": 18, "name": "keyword_display_status", "comment": null}, "keyword_id": {"type": "INT64", "index": 19, "name": "keyword_id", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 20, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 21, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 22, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 23, "name": "local_spend_currency", "comment": null}, "match_type": {"type": "STRING", "index": 24, "name": "match_type", "comment": null}, "new_downloads": {"type": "INT64", "index": 25, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 26, "name": "redownloads", "comment": null}, "search_term_source": {"type": "STRING", "index": 27, "name": "search_term_source", "comment": null}, "search_term_text": {"type": "STRING", "index": 28, "name": "search_term_text", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 29, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 30, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 150.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 35485.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.search_term_report"}, "source.facebook_ads_source.facebook_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 5, "name": "updated_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 522.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.campaign_history"}, "source.microsoft_ads_source.microsoft_ads.account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "last_modified_time": {"type": "DATETIME", "index": 3, "name": "last_modified_time", "comment": null}, "time_zone": {"type": "STRING", "index": 4, "name": "time_zone", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 177.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.account_history"}, "source.apple_search_ads_source.apple_search_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "adam_id": {"type": "INT64", "index": 3, "name": "adam_id", "comment": null}, "budget_amount": {"type": "INT64", "index": 4, "name": "budget_amount", "comment": null}, "budget_currency": {"type": "STRING", "index": 5, "name": "budget_currency", "comment": null}, "budget_orders": {"type": "STRING", "index": 6, "name": "budget_orders", "comment": null}, "daily_budget_amount": {"type": "INT64", "index": 7, "name": "daily_budget_amount", "comment": null}, "daily_budget_currency": {"type": "STRING", "index": 8, "name": "daily_budget_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "loc_invoice_detail_buyer_email": {"type": "INT64", "index": 11, "name": "loc_invoice_detail_buyer_email", "comment": null}, "loc_invoice_detail_buyer_name": {"type": "INT64", "index": 12, "name": "loc_invoice_detail_buyer_name", "comment": null}, "loc_invoice_detail_client_name": {"type": "INT64", "index": 13, "name": "loc_invoice_detail_client_name", "comment": null}, "loc_invoice_detail_order_number": {"type": "INT64", "index": 14, "name": "loc_invoice_detail_order_number", "comment": null}, "name": {"type": "STRING", "index": 15, "name": "name", "comment": null}, "organiation_id": {"type": "INT64", "index": 16, "name": "organiation_id", "comment": null}, "payment_model": {"type": "STRING", "index": 17, "name": "payment_model", "comment": null}, "serving_state_reasons": {"type": "STRING", "index": 18, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 19, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 20, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 21, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 419.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_history"}, "source.snapchat_ads_source.snapchat_ads.ad_account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 111.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 10767.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_account_history"}, "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_campaign_report_hourly_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly"}, "source.facebook_ads_source.facebook_ads.creative_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_creative_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"page_link": {"type": "STRING", "index": 1, "name": "page_link", "comment": null}, "template_page_link": {"type": "STRING", "index": 2, "name": "template_page_link", "comment": null}, "id": {"type": "INT64", "index": 3, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 4, "name": "account_id", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}, "url_tags": {"type": "STRING", "index": 6, "name": "url_tags", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 7, "name": "_fivetran_synced", "comment": null}, "asset_feed_spec_link_urls": {"type": "STRING", "index": 8, "name": "asset_feed_spec_link_urls", "comment": null}, "object_story_link_data_child_attachments": {"type": "STRING", "index": 9, "name": "object_story_link_data_child_attachments", "comment": null}, "object_story_link_data_caption": {"type": "STRING", "index": 10, "name": "object_story_link_data_caption", "comment": null}, "object_story_link_data_description": {"type": "STRING", "index": 11, "name": "object_story_link_data_description", "comment": null}, "object_story_link_data_link": {"type": "STRING", "index": 12, "name": "object_story_link_data_link", "comment": null}, "object_story_link_data_message": {"type": "STRING", "index": 13, "name": "object_story_link_data_message", "comment": null}, "template_app_link_spec_ios": {"type": "STRING", "index": 14, "name": "template_app_link_spec_ios", "comment": null}, "_fivetran_id": {"type": "STRING", "index": 15, "name": "_fivetran_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1000.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1415996.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.creative_history"}, "source.microsoft_ads_source.microsoft_ads.keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "modified_time": {"type": "TIMESTAMP", "index": 3, "name": "modified_time", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "match_type": {"type": "STRING", "index": 5, "name": "match_type", "comment": null}, "status": {"type": "STRING", "index": 6, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 595.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_history"}, "source.twitter_ads_source.twitter_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 2, "name": "account_id", "comment": null}, "created_at": {"type": "STRING", "index": 3, "name": "created_at", "comment": null}, "currency": {"type": "STRING", "index": 4, "name": "currency", "comment": null}, "daily_budget_amount_local_micro": {"type": "INT64", "index": 5, "name": "daily_budget_amount_local_micro", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "duration_in_days": {"type": "INT64", "index": 7, "name": "duration_in_days", "comment": null}, "end_time": {"type": "STRING", "index": 8, "name": "end_time", "comment": null}, "entity_status": {"type": "STRING", "index": 9, "name": "entity_status", "comment": null}, "frequency_cap": {"type": "INT64", "index": 10, "name": "frequency_cap", "comment": null}, "funding_instrument_id": {"type": "STRING", "index": 11, "name": "funding_instrument_id", "comment": null}, "id": {"type": "STRING", "index": 12, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 13, "name": "name", "comment": null}, "servable": {"type": "BOOL", "index": 14, "name": "servable", "comment": null}, "standard_delivery": {"type": "BOOL", "index": 15, "name": "standard_delivery", "comment": null}, "start_time": {"type": "STRING", "index": 16, "name": "start_time", "comment": null}, "total_budget_amount_local_micro": {"type": "INT64", "index": 17, "name": "total_budget_amount_local_micro", "comment": null}, "updated_at": {"type": "STRING", "index": 18, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2971.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.campaign_history"}, "source.apple_search_ads_source.apple_search_ads.keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 99.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 12573.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_report"}, "source.google_ads_source.google_ads.campaign_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_campaign_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "base_campaign": {"type": "STRING", "index": 11, "name": "base_campaign", "comment": null}, "clicks": {"type": "INT64", "index": 12, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 13, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 14, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 15, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 16, "name": "device", "comment": null}, "id": {"type": "INT64", "index": 17, "name": "id", "comment": null}, "impressions": {"type": "INT64", "index": 18, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 19, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 20, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 21, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 16.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3590.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.campaign_stats"}, "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_search_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "keyword_id": {"type": "INT64", "index": 6, "name": "keyword_id", "comment": null}, "search_query": {"type": "STRING", "index": 7, "name": "search_query", "comment": null}, "device_os": {"type": "STRING", "index": 8, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 9, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 10, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 11, "name": "language", "comment": null}, "bid_match_type": {"type": "STRING", "index": 12, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 13, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 14, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 15, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 17, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2126.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report"}, "source.google_ads_source.google_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "customer_id": {"type": "INT64", "index": 4, "name": "customer_id", "comment": null}, "advertising_channel_type": {"type": "STRING", "index": 5, "name": "advertising_channel_type", "comment": null}, "advertising_channel_subtype": {"type": "STRING", "index": 6, "name": "advertising_channel_subtype", "comment": null}, "start_date": {"type": "DATE", "index": 7, "name": "start_date", "comment": null}, "end_date": {"type": "DATE", "index": 8, "name": "end_date", "comment": null}, "serving_status": {"type": "STRING", "index": 9, "name": "serving_status", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 11, "name": "tracking_url_template", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1040.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.campaign_history"}, "source.amazon_ads_source.amazon_ads.targeting_keyword_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_targeting_keyword_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "keyword_id": {"type": "INT64", "index": 4, "name": "keyword_id", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "ad_keyword_status": {"type": "STRING", "index": 6, "name": "ad_keyword_status", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 7, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 8, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 9, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 10, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 12, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 13, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 14, "name": "impressions", "comment": null}, "keyword_bid": {"type": "FLOAT64", "index": 15, "name": "keyword_bid", "comment": null}, "keyword_type": {"type": "STRING", "index": 16, "name": "keyword_type", "comment": null}, "match_type": {"type": "STRING", "index": 17, "name": "match_type", "comment": null}, "targeting": {"type": "STRING", "index": 18, "name": "targeting", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1520.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.targeting_keyword_report"}, "source.facebook_ads_source.facebook_ads.ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "ad_set_id": {"type": "INT64", "index": 3, "name": "ad_set_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "creative_id": {"type": "INT64", "index": 5, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 7, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 8, "name": "updated_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 12.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 720.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.ad_history"}, "source.tiktok_ads_source.tiktok_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"campaign_id": {"type": "INT64", "index": 1, "name": "campaign_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "campaign_name": {"type": "STRING", "index": 4, "name": "campaign_name", "comment": null}, "campaign_type": {"type": "STRING", "index": 5, "name": "campaign_type", "comment": null}, "budget": {"type": "INT64", "index": 6, "name": "budget", "comment": null}, "budget_mode": {"type": "STRING", "index": 7, "name": "budget_mode", "comment": null}, "opt_status": {"type": "STRING", "index": 8, "name": "opt_status", "comment": null}, "objective_type": {"type": "STRING", "index": 9, "name": "objective_type", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 10, "name": "is_new_structure", "comment": null}, "split_test_variable": {"type": "INT64", "index": 11, "name": "split_test_variable", "comment": null}, "create_time": {"type": "STRING", "index": 12, "name": "create_time", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 13, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 703.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_history"}, "source.linkedin_source.linkedin.creative_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_creative_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 3, "name": "created_time", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "version_tag": {"type": "INT64", "index": 6, "name": "version_tag", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}, "click_uri": {"type": "STRING", "index": 8, "name": "click_uri", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7263.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.creative_history"}, "source.pinterest_source.pinterest_ads.campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "campaign_daily_spend_cap": {"type": "INT64", "index": 5, "name": "campaign_daily_spend_cap", "comment": null}, "campaign_lifetime_spend_cap": {"type": "INT64", "index": 6, "name": "campaign_lifetime_spend_cap", "comment": null}, "campaign_name": {"type": "STRING", "index": 7, "name": "campaign_name", "comment": null}, "campaign_status": {"type": "STRING", "index": 8, "name": "campaign_status", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 9, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 10, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 11, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 12, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 13, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 14, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 15, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 16, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 17, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 18, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 19, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 20, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 21, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 22, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 23, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 24, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 25, "name": "total_impression_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1894.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.campaign_report"}, "source.pinterest_source.pinterest_ads.advertiser_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_advertiser_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_time": {"type": "DATETIME", "index": 2, "name": "updated_time", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "billing_profile_status": {"type": "STRING", "index": 4, "name": "billing_profile_status", "comment": null}, "billing_type": {"type": "STRING", "index": 5, "name": "billing_type", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "created_time": {"type": "DATETIME", "index": 7, "name": "created_time", "comment": null}, "currency": {"type": "STRING", "index": 8, "name": "currency", "comment": null}, "merchant_id": {"type": "INT64", "index": 9, "name": "merchant_id", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "owner_user_id": {"type": "INT64", "index": 11, "name": "owner_user_id", "comment": null}, "status": {"type": "STRING", "index": 12, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 100.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.advertiser_history"}, "source.twitter_ads_source.twitter_ads.campaign_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_campaign_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "STRING", "index": 1, "name": "account_id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "date": {"type": "DATETIME", "index": 3, "name": "date", "comment": null}, "placement": {"type": "STRING", "index": 4, "name": "placement", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "app_clicks": {"type": "INT64", "index": 6, "name": "app_clicks", "comment": null}, "billed_charge_local_micro": {"type": "INT64", "index": 7, "name": "billed_charge_local_micro", "comment": null}, "billed_engagements": {"type": "INT64", "index": 8, "name": "billed_engagements", "comment": null}, "card_engagements": {"type": "INT64", "index": 9, "name": "card_engagements", "comment": null}, "carousel_swipes": {"type": "INT64", "index": 10, "name": "carousel_swipes", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversion_custom_metric": {"type": "INT64", "index": 12, "name": "conversion_custom_metric", "comment": null}, "conversion_custom_order_quantity": {"type": "INT64", "index": 13, "name": "conversion_custom_order_quantity", "comment": null}, "conversion_custom_order_quantity_engagement": {"type": "INT64", "index": 14, "name": "conversion_custom_order_quantity_engagement", "comment": null}, "conversion_custom_order_quantity_view": {"type": "INT64", "index": 15, "name": "conversion_custom_order_quantity_view", "comment": null}, "conversion_custom_post_engagement": {"type": "INT64", "index": 16, "name": "conversion_custom_post_engagement", "comment": null}, "conversion_custom_post_view": {"type": "INT64", "index": 17, "name": "conversion_custom_post_view", "comment": null}, "conversion_custom_sale_amount": {"type": "INT64", "index": 18, "name": "conversion_custom_sale_amount", "comment": null}, "conversion_custom_sale_amount_engagement": {"type": "INT64", "index": 19, "name": "conversion_custom_sale_amount_engagement", "comment": null}, "conversion_custom_sale_amount_view": {"type": "INT64", "index": 20, "name": "conversion_custom_sale_amount_view", "comment": null}, "conversion_downloads_metric": {"type": "INT64", "index": 21, "name": "conversion_downloads_metric", "comment": null}, "conversion_downloads_order_quantity": {"type": "INT64", "index": 22, "name": "conversion_downloads_order_quantity", "comment": null}, "conversion_downloads_order_quantity_engagement": {"type": "INT64", "index": 23, "name": "conversion_downloads_order_quantity_engagement", "comment": null}, "conversion_downloads_order_quantity_view": {"type": "INT64", "index": 24, "name": "conversion_downloads_order_quantity_view", "comment": null}, "conversion_downloads_post_engagement": {"type": "INT64", "index": 25, "name": "conversion_downloads_post_engagement", "comment": null}, "conversion_downloads_post_view": {"type": "INT64", "index": 26, "name": "conversion_downloads_post_view", "comment": null}, "conversion_downloads_sale_amount": {"type": "INT64", "index": 27, "name": "conversion_downloads_sale_amount", "comment": null}, "conversion_downloads_sale_amount_engagement": {"type": "INT64", "index": 28, "name": "conversion_downloads_sale_amount_engagement", "comment": null}, "conversion_downloads_sale_amount_view": {"type": "INT64", "index": 29, "name": "conversion_downloads_sale_amount_view", "comment": null}, "conversion_purchases_assisted": {"type": "INT64", "index": 30, "name": "conversion_purchases_assisted", "comment": null}, "conversion_purchases_metric": {"type": "INT64", "index": 31, "name": "conversion_purchases_metric", "comment": null}, "conversion_purchases_order_quantity": {"type": "INT64", "index": 32, "name": "conversion_purchases_order_quantity", "comment": null}, "conversion_purchases_order_quantity_engagement": {"type": "INT64", "index": 33, "name": "conversion_purchases_order_quantity_engagement", "comment": null}, "conversion_purchases_order_quantity_view": {"type": "INT64", "index": 34, "name": "conversion_purchases_order_quantity_view", "comment": null}, "conversion_purchases_post_engagement": {"type": "INT64", "index": 35, "name": "conversion_purchases_post_engagement", "comment": null}, "conversion_purchases_post_view": {"type": "INT64", "index": 36, "name": "conversion_purchases_post_view", "comment": null}, "conversion_purchases_sale_amount": {"type": "INT64", "index": 37, "name": "conversion_purchases_sale_amount", "comment": null}, "conversion_purchases_sale_amount_engagement": {"type": "INT64", "index": 38, "name": "conversion_purchases_sale_amount_engagement", "comment": null}, "conversion_purchases_sale_amount_view": {"type": "INT64", "index": 39, "name": "conversion_purchases_sale_amount_view", "comment": null}, "conversion_sign_ups_assisted": {"type": "INT64", "index": 40, "name": "conversion_sign_ups_assisted", "comment": null}, "conversion_sign_ups_metric": {"type": "INT64", "index": 41, "name": "conversion_sign_ups_metric", "comment": null}, "conversion_sign_ups_order_quantity": {"type": "INT64", "index": 42, "name": "conversion_sign_ups_order_quantity", "comment": null}, "conversion_sign_ups_order_quantity_engagement": {"type": "INT64", "index": 43, "name": "conversion_sign_ups_order_quantity_engagement", "comment": null}, "conversion_sign_ups_order_quantity_view": {"type": "INT64", "index": 44, "name": "conversion_sign_ups_order_quantity_view", "comment": null}, "conversion_sign_ups_post_engagement": {"type": "INT64", "index": 45, "name": "conversion_sign_ups_post_engagement", "comment": null}, "conversion_sign_ups_post_view": {"type": "INT64", "index": 46, "name": "conversion_sign_ups_post_view", "comment": null}, "conversion_sign_ups_sale_amount": {"type": "INT64", "index": 47, "name": "conversion_sign_ups_sale_amount", "comment": null}, "conversion_sign_ups_sale_amount_engagement": {"type": "INT64", "index": 48, "name": "conversion_sign_ups_sale_amount_engagement", "comment": null}, "conversion_sign_ups_sale_amount_view": {"type": "INT64", "index": 49, "name": "conversion_sign_ups_sale_amount_view", "comment": null}, "conversion_site_visits_metric": {"type": "INT64", "index": 50, "name": "conversion_site_visits_metric", "comment": null}, "conversion_site_visits_order_quantity": {"type": "INT64", "index": 51, "name": "conversion_site_visits_order_quantity", "comment": null}, "conversion_site_visits_order_quantity_engagement": {"type": "INT64", "index": 52, "name": "conversion_site_visits_order_quantity_engagement", "comment": null}, "conversion_site_visits_order_quantity_view": {"type": "INT64", "index": 53, "name": "conversion_site_visits_order_quantity_view", "comment": null}, "conversion_site_visits_post_engagement": {"type": "INT64", "index": 54, "name": "conversion_site_visits_post_engagement", "comment": null}, "conversion_site_visits_post_view": {"type": "INT64", "index": 55, "name": "conversion_site_visits_post_view", "comment": null}, "conversion_site_visits_sale_amount": {"type": "INT64", "index": 56, "name": "conversion_site_visits_sale_amount", "comment": null}, "conversion_site_visits_sale_amount_engagement": {"type": "INT64", "index": 57, "name": "conversion_site_visits_sale_amount_engagement", "comment": null}, "conversion_site_visits_sale_amount_view": {"type": "INT64", "index": 58, "name": "conversion_site_visits_sale_amount_view", "comment": null}, "engagements": {"type": "INT64", "index": 59, "name": "engagements", "comment": null}, "follows": {"type": "INT64", "index": 60, "name": "follows", "comment": null}, "impressions": {"type": "INT64", "index": 61, "name": "impressions", "comment": null}, "likes": {"type": "INT64", "index": 62, "name": "likes", "comment": null}, "media_engagements": {"type": "INT64", "index": 63, "name": "media_engagements", "comment": null}, "media_views": {"type": "INT64", "index": 64, "name": "media_views", "comment": null}, "mobile_conversion_achievements_unlocked_assisted": {"type": "INT64", "index": 65, "name": "mobile_conversion_achievements_unlocked_assisted", "comment": null}, "mobile_conversion_achievements_unlocked_order_quantity": {"type": "INT64", "index": 66, "name": "mobile_conversion_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_achievements_unlocked_post_engagement": {"type": "INT64", "index": 67, "name": "mobile_conversion_achievements_unlocked_post_engagement", "comment": null}, "mobile_conversion_achievements_unlocked_post_view": {"type": "INT64", "index": 68, "name": "mobile_conversion_achievements_unlocked_post_view", "comment": null}, "mobile_conversion_achievements_unlocked_sale_amount": {"type": "INT64", "index": 69, "name": "mobile_conversion_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_add_to_carts_assisted": {"type": "INT64", "index": 70, "name": "mobile_conversion_add_to_carts_assisted", "comment": null}, "mobile_conversion_add_to_carts_order_quantity": {"type": "INT64", "index": 71, "name": "mobile_conversion_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_add_to_carts_post_engagement": {"type": "INT64", "index": 72, "name": "mobile_conversion_add_to_carts_post_engagement", "comment": null}, "mobile_conversion_add_to_carts_post_view": {"type": "INT64", "index": 73, "name": "mobile_conversion_add_to_carts_post_view", "comment": null}, "mobile_conversion_add_to_carts_sale_amount": {"type": "INT64", "index": 74, "name": "mobile_conversion_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_add_to_wishlists_assisted": {"type": "INT64", "index": 75, "name": "mobile_conversion_add_to_wishlists_assisted", "comment": null}, "mobile_conversion_add_to_wishlists_order_quantity": {"type": "INT64", "index": 76, "name": "mobile_conversion_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_add_to_wishlists_post_engagement": {"type": "INT64", "index": 77, "name": "mobile_conversion_add_to_wishlists_post_engagement", "comment": null}, "mobile_conversion_add_to_wishlists_post_view": {"type": "INT64", "index": 78, "name": "mobile_conversion_add_to_wishlists_post_view", "comment": null}, "mobile_conversion_add_to_wishlists_sale_amount": {"type": "INT64", "index": 79, "name": "mobile_conversion_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_checkouts_initiated_assisted": {"type": "INT64", "index": 80, "name": "mobile_conversion_checkouts_initiated_assisted", "comment": null}, "mobile_conversion_checkouts_initiated_order_quantity": {"type": "INT64", "index": 81, "name": "mobile_conversion_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_checkouts_initiated_post_engagement": {"type": "INT64", "index": 82, "name": "mobile_conversion_checkouts_initiated_post_engagement", "comment": null}, "mobile_conversion_checkouts_initiated_post_view": {"type": "INT64", "index": 83, "name": "mobile_conversion_checkouts_initiated_post_view", "comment": null}, "mobile_conversion_checkouts_initiated_sale_amount": {"type": "INT64", "index": 84, "name": "mobile_conversion_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_content_views_assisted": {"type": "INT64", "index": 85, "name": "mobile_conversion_content_views_assisted", "comment": null}, "mobile_conversion_content_views_order_quantity": {"type": "INT64", "index": 86, "name": "mobile_conversion_content_views_order_quantity", "comment": null}, "mobile_conversion_content_views_post_engagement": {"type": "INT64", "index": 87, "name": "mobile_conversion_content_views_post_engagement", "comment": null}, "mobile_conversion_content_views_post_view": {"type": "INT64", "index": 88, "name": "mobile_conversion_content_views_post_view", "comment": null}, "mobile_conversion_content_views_sale_amount": {"type": "INT64", "index": 89, "name": "mobile_conversion_content_views_sale_amount", "comment": null}, "mobile_conversion_downloads_order_quantity": {"type": "INT64", "index": 90, "name": "mobile_conversion_downloads_order_quantity", "comment": null}, "mobile_conversion_downloads_post_engagement": {"type": "INT64", "index": 91, "name": "mobile_conversion_downloads_post_engagement", "comment": null}, "mobile_conversion_downloads_post_view": {"type": "INT64", "index": 92, "name": "mobile_conversion_downloads_post_view", "comment": null}, "mobile_conversion_downloads_sale_amount": {"type": "INT64", "index": 93, "name": "mobile_conversion_downloads_sale_amount", "comment": null}, "mobile_conversion_installs_assisted": {"type": "INT64", "index": 94, "name": "mobile_conversion_installs_assisted", "comment": null}, "mobile_conversion_installs_order_quantity": {"type": "INT64", "index": 95, "name": "mobile_conversion_installs_order_quantity", "comment": null}, "mobile_conversion_installs_post_engagement": {"type": "INT64", "index": 96, "name": "mobile_conversion_installs_post_engagement", "comment": null}, "mobile_conversion_installs_post_view": {"type": "INT64", "index": 97, "name": "mobile_conversion_installs_post_view", "comment": null}, "mobile_conversion_installs_sale_amount": {"type": "INT64", "index": 98, "name": "mobile_conversion_installs_sale_amount", "comment": null}, "mobile_conversion_invites_assisted": {"type": "INT64", "index": 99, "name": "mobile_conversion_invites_assisted", "comment": null}, "mobile_conversion_invites_order_quantity": {"type": "INT64", "index": 100, "name": "mobile_conversion_invites_order_quantity", "comment": null}, "mobile_conversion_invites_post_engagement": {"type": "INT64", "index": 101, "name": "mobile_conversion_invites_post_engagement", "comment": null}, "mobile_conversion_invites_post_view": {"type": "INT64", "index": 102, "name": "mobile_conversion_invites_post_view", "comment": null}, "mobile_conversion_invites_sale_amount": {"type": "INT64", "index": 103, "name": "mobile_conversion_invites_sale_amount", "comment": null}, "mobile_conversion_key_page_views_post_engagement": {"type": "INT64", "index": 104, "name": "mobile_conversion_key_page_views_post_engagement", "comment": null}, "mobile_conversion_key_page_views_post_view": {"type": "INT64", "index": 105, "name": "mobile_conversion_key_page_views_post_view", "comment": null}, "mobile_conversion_levels_achieved_assisted": {"type": "INT64", "index": 106, "name": "mobile_conversion_levels_achieved_assisted", "comment": null}, "mobile_conversion_levels_achieved_order_quantity": {"type": "INT64", "index": 107, "name": "mobile_conversion_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_levels_achieved_post_engagement": {"type": "INT64", "index": 108, "name": "mobile_conversion_levels_achieved_post_engagement", "comment": null}, "mobile_conversion_levels_achieved_post_view": {"type": "INT64", "index": 109, "name": "mobile_conversion_levels_achieved_post_view", "comment": null}, "mobile_conversion_levels_achieved_sale_amount": {"type": "INT64", "index": 110, "name": "mobile_conversion_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_metric": {"type": "INT64", "index": 111, "name": "mobile_conversion_lifetime_value_achievements_unlocked_metric", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity": {"type": "INT64", "index": 112, "name": "mobile_conversion_lifetime_value_achievements_unlocked_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount": {"type": "INT64", "index": 113, "name": "mobile_conversion_lifetime_value_achievements_unlocked_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_metric": {"type": "INT64", "index": 114, "name": "mobile_conversion_lifetime_value_add_to_carts_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_order_quantity": {"type": "INT64", "index": 115, "name": "mobile_conversion_lifetime_value_add_to_carts_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_carts_sale_amount": {"type": "INT64", "index": 116, "name": "mobile_conversion_lifetime_value_add_to_carts_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_metric": {"type": "INT64", "index": 117, "name": "mobile_conversion_lifetime_value_add_to_wishlists_metric", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity": {"type": "INT64", "index": 118, "name": "mobile_conversion_lifetime_value_add_to_wishlists_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount": {"type": "INT64", "index": 119, "name": "mobile_conversion_lifetime_value_add_to_wishlists_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_metric": {"type": "INT64", "index": 120, "name": "mobile_conversion_lifetime_value_checkouts_initiated_metric", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity": {"type": "INT64", "index": 121, "name": "mobile_conversion_lifetime_value_checkouts_initiated_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount": {"type": "INT64", "index": 122, "name": "mobile_conversion_lifetime_value_checkouts_initiated_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_content_views_metric": {"type": "INT64", "index": 123, "name": "mobile_conversion_lifetime_value_content_views_metric", "comment": null}, "mobile_conversion_lifetime_value_content_views_order_quantity": {"type": "INT64", "index": 124, "name": "mobile_conversion_lifetime_value_content_views_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_content_views_sale_amount": {"type": "INT64", "index": 125, "name": "mobile_conversion_lifetime_value_content_views_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_invites_metric": {"type": "INT64", "index": 126, "name": "mobile_conversion_lifetime_value_invites_metric", "comment": null}, "mobile_conversion_lifetime_value_invites_order_quantity": {"type": "INT64", "index": 127, "name": "mobile_conversion_lifetime_value_invites_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_invites_sale_amount": {"type": "INT64", "index": 128, "name": "mobile_conversion_lifetime_value_invites_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_metric": {"type": "INT64", "index": 129, "name": "mobile_conversion_lifetime_value_levels_achieved_metric", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_order_quantity": {"type": "INT64", "index": 130, "name": "mobile_conversion_lifetime_value_levels_achieved_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_levels_achieved_sale_amount": {"type": "INT64", "index": 131, "name": "mobile_conversion_lifetime_value_levels_achieved_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_logins_metric": {"type": "INT64", "index": 132, "name": "mobile_conversion_lifetime_value_logins_metric", "comment": null}, "mobile_conversion_lifetime_value_logins_order_quantity": {"type": "INT64", "index": 133, "name": "mobile_conversion_lifetime_value_logins_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_logins_sale_amount": {"type": "INT64", "index": 134, "name": "mobile_conversion_lifetime_value_logins_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_metric": {"type": "INT64", "index": 135, "name": "mobile_conversion_lifetime_value_payment_info_additions_metric", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_order_quantity": {"type": "INT64", "index": 136, "name": "mobile_conversion_lifetime_value_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_payment_info_additions_sale_amount": {"type": "INT64", "index": 137, "name": "mobile_conversion_lifetime_value_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_purchases_metric": {"type": "INT64", "index": 138, "name": "mobile_conversion_lifetime_value_purchases_metric", "comment": null}, "mobile_conversion_lifetime_value_purchases_order_quantity": {"type": "INT64", "index": 139, "name": "mobile_conversion_lifetime_value_purchases_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_purchases_sale_amount": {"type": "INT64", "index": 140, "name": "mobile_conversion_lifetime_value_purchases_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_rates_metric": {"type": "INT64", "index": 141, "name": "mobile_conversion_lifetime_value_rates_metric", "comment": null}, "mobile_conversion_lifetime_value_rates_order_quantity": {"type": "INT64", "index": 142, "name": "mobile_conversion_lifetime_value_rates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_rates_sale_amount": {"type": "INT64", "index": 143, "name": "mobile_conversion_lifetime_value_rates_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_reservations_metric": {"type": "INT64", "index": 144, "name": "mobile_conversion_lifetime_value_reservations_metric", "comment": null}, "mobile_conversion_lifetime_value_reservations_order_quantity": {"type": "INT64", "index": 145, "name": "mobile_conversion_lifetime_value_reservations_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_reservations_sale_amount": {"type": "INT64", "index": 146, "name": "mobile_conversion_lifetime_value_reservations_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_searches_metric": {"type": "INT64", "index": 147, "name": "mobile_conversion_lifetime_value_searches_metric", "comment": null}, "mobile_conversion_lifetime_value_searches_order_quantity": {"type": "INT64", "index": 148, "name": "mobile_conversion_lifetime_value_searches_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_searches_sale_amount": {"type": "INT64", "index": 149, "name": "mobile_conversion_lifetime_value_searches_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_shares_metric": {"type": "INT64", "index": 150, "name": "mobile_conversion_lifetime_value_shares_metric", "comment": null}, "mobile_conversion_lifetime_value_shares_order_quantity": {"type": "INT64", "index": 151, "name": "mobile_conversion_lifetime_value_shares_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_shares_sale_amount": {"type": "INT64", "index": 152, "name": "mobile_conversion_lifetime_value_shares_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_metric": {"type": "INT64", "index": 153, "name": "mobile_conversion_lifetime_value_sign_ups_metric", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_order_quantity": {"type": "INT64", "index": 154, "name": "mobile_conversion_lifetime_value_sign_ups_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_sign_ups_sale_amount": {"type": "INT64", "index": 155, "name": "mobile_conversion_lifetime_value_sign_ups_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_metric": {"type": "INT64", "index": 156, "name": "mobile_conversion_lifetime_value_spent_credits_metric", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_order_quantity": {"type": "INT64", "index": 157, "name": "mobile_conversion_lifetime_value_spent_credits_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_spent_credits_sale_amount": {"type": "INT64", "index": 158, "name": "mobile_conversion_lifetime_value_spent_credits_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_metric": {"type": "INT64", "index": 159, "name": "mobile_conversion_lifetime_value_tutorials_completed_metric", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_order_quantity": {"type": "INT64", "index": 160, "name": "mobile_conversion_lifetime_value_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_tutorials_completed_sale_amount": {"type": "INT64", "index": 161, "name": "mobile_conversion_lifetime_value_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_lifetime_value_updates_metric": {"type": "INT64", "index": 162, "name": "mobile_conversion_lifetime_value_updates_metric", "comment": null}, "mobile_conversion_lifetime_value_updates_order_quantity": {"type": "INT64", "index": 163, "name": "mobile_conversion_lifetime_value_updates_order_quantity", "comment": null}, "mobile_conversion_lifetime_value_updates_sale_amount": {"type": "INT64", "index": 164, "name": "mobile_conversion_lifetime_value_updates_sale_amount", "comment": null}, "mobile_conversion_logins_assisted": {"type": "INT64", "index": 165, "name": "mobile_conversion_logins_assisted", "comment": null}, "mobile_conversion_logins_order_quantity": {"type": "INT64", "index": 166, "name": "mobile_conversion_logins_order_quantity", "comment": null}, "mobile_conversion_logins_post_engagement": {"type": "INT64", "index": 167, "name": "mobile_conversion_logins_post_engagement", "comment": null}, "mobile_conversion_logins_post_view": {"type": "INT64", "index": 168, "name": "mobile_conversion_logins_post_view", "comment": null}, "mobile_conversion_logins_sale_amount": {"type": "INT64", "index": 169, "name": "mobile_conversion_logins_sale_amount", "comment": null}, "mobile_conversion_payment_info_additions_assisted": {"type": "INT64", "index": 170, "name": "mobile_conversion_payment_info_additions_assisted", "comment": null}, "mobile_conversion_payment_info_additions_order_quantity": {"type": "INT64", "index": 171, "name": "mobile_conversion_payment_info_additions_order_quantity", "comment": null}, "mobile_conversion_payment_info_additions_post_engagement": {"type": "INT64", "index": 172, "name": "mobile_conversion_payment_info_additions_post_engagement", "comment": null}, "mobile_conversion_payment_info_additions_post_view": {"type": "INT64", "index": 173, "name": "mobile_conversion_payment_info_additions_post_view", "comment": null}, "mobile_conversion_payment_info_additions_sale_amount": {"type": "INT64", "index": 174, "name": "mobile_conversion_payment_info_additions_sale_amount", "comment": null}, "mobile_conversion_purchases_assisted": {"type": "INT64", "index": 175, "name": "mobile_conversion_purchases_assisted", "comment": null}, "mobile_conversion_purchases_order_quantity": {"type": "INT64", "index": 176, "name": "mobile_conversion_purchases_order_quantity", "comment": null}, "mobile_conversion_purchases_post_engagement": {"type": "INT64", "index": 177, "name": "mobile_conversion_purchases_post_engagement", "comment": null}, "mobile_conversion_purchases_post_view": {"type": "INT64", "index": 178, "name": "mobile_conversion_purchases_post_view", "comment": null}, "mobile_conversion_purchases_sale_amount": {"type": "INT64", "index": 179, "name": "mobile_conversion_purchases_sale_amount", "comment": null}, "mobile_conversion_rates_assisted": {"type": "INT64", "index": 180, "name": "mobile_conversion_rates_assisted", "comment": null}, "mobile_conversion_rates_order_quantity": {"type": "INT64", "index": 181, "name": "mobile_conversion_rates_order_quantity", "comment": null}, "mobile_conversion_rates_post_engagement": {"type": "INT64", "index": 182, "name": "mobile_conversion_rates_post_engagement", "comment": null}, "mobile_conversion_rates_post_view": {"type": "INT64", "index": 183, "name": "mobile_conversion_rates_post_view", "comment": null}, "mobile_conversion_rates_sale_amount": {"type": "INT64", "index": 184, "name": "mobile_conversion_rates_sale_amount", "comment": null}, "mobile_conversion_re_engages_assisted": {"type": "INT64", "index": 185, "name": "mobile_conversion_re_engages_assisted", "comment": null}, "mobile_conversion_re_engages_order_quantity": {"type": "INT64", "index": 186, "name": "mobile_conversion_re_engages_order_quantity", "comment": null}, "mobile_conversion_re_engages_post_engagement": {"type": "INT64", "index": 187, "name": "mobile_conversion_re_engages_post_engagement", "comment": null}, "mobile_conversion_re_engages_post_view": {"type": "INT64", "index": 188, "name": "mobile_conversion_re_engages_post_view", "comment": null}, "mobile_conversion_re_engages_sale_amount": {"type": "INT64", "index": 189, "name": "mobile_conversion_re_engages_sale_amount", "comment": null}, "mobile_conversion_reservations_assisted": {"type": "INT64", "index": 190, "name": "mobile_conversion_reservations_assisted", "comment": null}, "mobile_conversion_reservations_order_quantity": {"type": "INT64", "index": 191, "name": "mobile_conversion_reservations_order_quantity", "comment": null}, "mobile_conversion_reservations_post_engagement": {"type": "INT64", "index": 192, "name": "mobile_conversion_reservations_post_engagement", "comment": null}, "mobile_conversion_reservations_post_view": {"type": "INT64", "index": 193, "name": "mobile_conversion_reservations_post_view", "comment": null}, "mobile_conversion_reservations_sale_amount": {"type": "INT64", "index": 194, "name": "mobile_conversion_reservations_sale_amount", "comment": null}, "mobile_conversion_searches_assisted": {"type": "INT64", "index": 195, "name": "mobile_conversion_searches_assisted", "comment": null}, "mobile_conversion_searches_order_quantity": {"type": "INT64", "index": 196, "name": "mobile_conversion_searches_order_quantity", "comment": null}, "mobile_conversion_searches_post_engagement": {"type": "INT64", "index": 197, "name": "mobile_conversion_searches_post_engagement", "comment": null}, "mobile_conversion_searches_post_view": {"type": "INT64", "index": 198, "name": "mobile_conversion_searches_post_view", "comment": null}, "mobile_conversion_searches_sale_amount": {"type": "INT64", "index": 199, "name": "mobile_conversion_searches_sale_amount", "comment": null}, "mobile_conversion_shares_assisted": {"type": "INT64", "index": 200, "name": "mobile_conversion_shares_assisted", "comment": null}, "mobile_conversion_shares_order_quantity": {"type": "INT64", "index": 201, "name": "mobile_conversion_shares_order_quantity", "comment": null}, "mobile_conversion_shares_post_engagement": {"type": "INT64", "index": 202, "name": "mobile_conversion_shares_post_engagement", "comment": null}, "mobile_conversion_shares_post_view": {"type": "INT64", "index": 203, "name": "mobile_conversion_shares_post_view", "comment": null}, "mobile_conversion_shares_sale_amount": {"type": "INT64", "index": 204, "name": "mobile_conversion_shares_sale_amount", "comment": null}, "mobile_conversion_sign_ups_assisted": {"type": "INT64", "index": 205, "name": "mobile_conversion_sign_ups_assisted", "comment": null}, "mobile_conversion_sign_ups_order_quantity": {"type": "INT64", "index": 206, "name": "mobile_conversion_sign_ups_order_quantity", "comment": null}, "mobile_conversion_sign_ups_post_engagement": {"type": "INT64", "index": 207, "name": "mobile_conversion_sign_ups_post_engagement", "comment": null}, "mobile_conversion_sign_ups_post_view": {"type": "INT64", "index": 208, "name": "mobile_conversion_sign_ups_post_view", "comment": null}, "mobile_conversion_sign_ups_sale_amount": {"type": "INT64", "index": 209, "name": "mobile_conversion_sign_ups_sale_amount", "comment": null}, "mobile_conversion_site_visits_order_quantity": {"type": "INT64", "index": 210, "name": "mobile_conversion_site_visits_order_quantity", "comment": null}, "mobile_conversion_site_visits_post_engagement": {"type": "INT64", "index": 211, "name": "mobile_conversion_site_visits_post_engagement", "comment": null}, "mobile_conversion_site_visits_post_view": {"type": "INT64", "index": 212, "name": "mobile_conversion_site_visits_post_view", "comment": null}, "mobile_conversion_site_visits_sale_amount": {"type": "INT64", "index": 213, "name": "mobile_conversion_site_visits_sale_amount", "comment": null}, "mobile_conversion_spent_credits_assisted": {"type": "INT64", "index": 214, "name": "mobile_conversion_spent_credits_assisted", "comment": null}, "mobile_conversion_spent_credits_order_quantity": {"type": "INT64", "index": 215, "name": "mobile_conversion_spent_credits_order_quantity", "comment": null}, "mobile_conversion_spent_credits_post_engagement": {"type": "INT64", "index": 216, "name": "mobile_conversion_spent_credits_post_engagement", "comment": null}, "mobile_conversion_spent_credits_post_view": {"type": "INT64", "index": 217, "name": "mobile_conversion_spent_credits_post_view", "comment": null}, "mobile_conversion_spent_credits_sale_amount": {"type": "INT64", "index": 218, "name": "mobile_conversion_spent_credits_sale_amount", "comment": null}, "mobile_conversion_tutorials_completed_assisted": {"type": "INT64", "index": 219, "name": "mobile_conversion_tutorials_completed_assisted", "comment": null}, "mobile_conversion_tutorials_completed_order_quantity": {"type": "INT64", "index": 220, "name": "mobile_conversion_tutorials_completed_order_quantity", "comment": null}, "mobile_conversion_tutorials_completed_post_engagement": {"type": "INT64", "index": 221, "name": "mobile_conversion_tutorials_completed_post_engagement", "comment": null}, "mobile_conversion_tutorials_completed_post_view": {"type": "INT64", "index": 222, "name": "mobile_conversion_tutorials_completed_post_view", "comment": null}, "mobile_conversion_tutorials_completed_sale_amount": {"type": "INT64", "index": 223, "name": "mobile_conversion_tutorials_completed_sale_amount", "comment": null}, "mobile_conversion_updates_assisted": {"type": "INT64", "index": 224, "name": "mobile_conversion_updates_assisted", "comment": null}, "mobile_conversion_updates_order_quantity": {"type": "INT64", "index": 225, "name": "mobile_conversion_updates_order_quantity", "comment": null}, "mobile_conversion_updates_post_engagement": {"type": "INT64", "index": 226, "name": "mobile_conversion_updates_post_engagement", "comment": null}, "mobile_conversion_updates_post_view": {"type": "INT64", "index": 227, "name": "mobile_conversion_updates_post_view", "comment": null}, "mobile_conversion_updates_sale_amount": {"type": "INT64", "index": 228, "name": "mobile_conversion_updates_sale_amount", "comment": null}, "poll_card_vote": {"type": "INT64", "index": 229, "name": "poll_card_vote", "comment": null}, "qualified_impressions": {"type": "INT64", "index": 230, "name": "qualified_impressions", "comment": null}, "replies": {"type": "INT64", "index": 231, "name": "replies", "comment": null}, "retweets": {"type": "INT64", "index": 232, "name": "retweets", "comment": null}, "tweets_send": {"type": "INT64", "index": 233, "name": "tweets_send", "comment": null}, "unfollows": {"type": "INT64", "index": 234, "name": "unfollows", "comment": null}, "url_clicks": {"type": "INT64", "index": 235, "name": "url_clicks", "comment": null}, "video_3_s_100_pct_views": {"type": "INT64", "index": 236, "name": "video_3_s_100_pct_views", "comment": null}, "video_6_s_views": {"type": "INT64", "index": 237, "name": "video_6_s_views", "comment": null}, "video_content_starts": {"type": "INT64", "index": 238, "name": "video_content_starts", "comment": null}, "video_cta_clicks": {"type": "INT64", "index": 239, "name": "video_cta_clicks", "comment": null}, "video_mrc_views": {"type": "INT64", "index": 240, "name": "video_mrc_views", "comment": null}, "video_total_views": {"type": "INT64", "index": 241, "name": "video_total_views", "comment": null}, "video_views_100": {"type": "INT64", "index": 242, "name": "video_views_100", "comment": null}, "video_views_25": {"type": "INT64", "index": 243, "name": "video_views_25", "comment": null}, "video_views_50": {"type": "INT64", "index": 244, "name": "video_views_50", "comment": null}, "video_views_75": {"type": "INT64", "index": 245, "name": "video_views_75", "comment": null}, "mobile_conversion_installs_skan_post_engagement": {"type": "INT64", "index": 246, "name": "mobile_conversion_installs_skan_post_engagement", "comment": null}, "mobile_conversion_installs_skan_post_view": {"type": "INT64", "index": 247, "name": "mobile_conversion_installs_skan_post_view", "comment": null}, "mobile_conversion_purchases_skan_post_engagement": {"type": "INT64", "index": 248, "name": "mobile_conversion_purchases_skan_post_engagement", "comment": null}, "mobile_conversion_purchases_skan_post_view": {"type": "INT64", "index": 249, "name": "mobile_conversion_purchases_skan_post_view", "comment": null}, "video_15_s_views": {"type": "INT64", "index": 250, "name": "video_15_s_views", "comment": null}, "auto_created_conversion_landing_page_view": {"type": "INT64", "index": 251, "name": "auto_created_conversion_landing_page_view", "comment": null}, "auto_created_conversion_session": {"type": "INT64", "index": 252, "name": "auto_created_conversion_session", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 8091.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.campaign_report"}, "source.microsoft_ads_source.microsoft_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "modified_time": {"type": "DATETIME", "index": 4, "name": "modified_time", "comment": null}, "type": {"type": "STRING", "index": 5, "name": "type", "comment": null}, "time_zone": {"type": "STRING", "index": 6, "name": "time_zone", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 940.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_history"}, "source.microsoft_ads_source.microsoft_ads.ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "modified_time": {"type": "DATETIME", "index": 4, "name": "modified_time", "comment": null}, "start_date": {"type": "DATE", "index": 5, "name": "start_date", "comment": null}, "end_date": {"type": "INT64", "index": 6, "name": "end_date", "comment": null}, "status": {"type": "STRING", "index": 7, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 658.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_history"}, "source.facebook_ads_source.facebook_ads.ad_set_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_ad_set_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 5, "name": "_fivetran_synced", "comment": null}, "updated_time": {"type": "DATETIME", "index": 6, "name": "updated_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 14.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 924.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.facebook_ads_source.facebook_ads.ad_set_history"}, "source.amazon_ads_source.amazon_ads.portfolio_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_portfolio_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "budget_amount": {"type": "INT64", "index": 4, "name": "budget_amount", "comment": null}, "budget_currency_code": {"type": "INT64", "index": 5, "name": "budget_currency_code", "comment": null}, "budget_end_date": {"type": "INT64", "index": 6, "name": "budget_end_date", "comment": null}, "budget_policy": {"type": "INT64", "index": 7, "name": "budget_policy", "comment": null}, "budget_start_date": {"type": "INT64", "index": 8, "name": "budget_start_date", "comment": null}, "creation_date": {"type": "STRING", "index": 9, "name": "creation_date", "comment": null}, "in_budget": {"type": "BOOL", "index": 10, "name": "in_budget", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "profile_id": {"type": "INT64", "index": 12, "name": "profile_id", "comment": null}, "serving_status": {"type": "STRING", "index": 13, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 14, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 144.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.portfolio_history"}, "source.pinterest_source.pinterest_ads.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "created_time": {"type": "STRING", "index": 2, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "status": {"type": "STRING", "index": 4, "name": "status", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}, "advertiser_id": {"type": "INT64", "index": 6, "name": "advertiser_id", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 120.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.campaign_history"}, "source.amazon_ads_source.amazon_ads.ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 5, "name": "creation_date", "comment": null}, "default_bid": {"type": "FLOAT64", "index": 6, "name": "default_bid", "comment": null}, "name": {"type": "STRING", "index": 7, "name": "name", "comment": null}, "serving_status": {"type": "STRING", "index": 8, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 9, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 288.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.ad_group_history"}, "source.amazon_ads_source.amazon_ads.ad_group_level_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_ad_group_level_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "campaign_bidding_strategy": {"type": "STRING", "index": 4, "name": "campaign_bidding_strategy", "comment": null}, "clicks": {"type": "INT64", "index": 5, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 6, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 7, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 8, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 840.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.ad_group_level_report"}, "source.reddit_ads_source.reddit_ads.ad_group": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_group_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "id": {"type": "INT64", "index": 2, "name": "id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "bid_strategy": {"type": "STRING", "index": 4, "name": "bid_strategy", "comment": null}, "bid_value": {"type": "INT64", "index": 5, "name": "bid_value", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "end_time": {"type": "DATETIME", "index": 9, "name": "end_time", "comment": null}, "expand_targeting": {"type": "BOOL", "index": 10, "name": "expand_targeting", "comment": null}, "goal_type": {"type": "STRING", "index": 11, "name": "goal_type", "comment": null}, "goal_value": {"type": "INT64", "index": 12, "name": "goal_value", "comment": null}, "is_processing": {"type": "BOOL", "index": 13, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 14, "name": "name", "comment": null}, "optimization_strategy_type": {"type": "INT64", "index": 15, "name": "optimization_strategy_type", "comment": null}, "start_time": {"type": "DATETIME", "index": 16, "name": "start_time", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 2325.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad_group"}, "source.snapchat_ads_source.snapchat_ads.ad_squad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_squad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "campaign_id": {"type": "STRING", "index": 2, "name": "campaign_id", "comment": null}, "name": {"type": "STRING", "index": 3, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 4, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 228.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 30780.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_history"}, "source.linkedin_source.linkedin.campaign_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_campaign_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "campaign_group_id": {"type": "INT64", "index": 4, "name": "campaign_group_id", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 5, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "version_tag": {"type": "INT64", "index": 7, "name": "version_tag", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 7400.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.campaign_history"}, "source.reddit_ads_source.reddit_ads.ad_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"account_id": {"type": "INT64", "index": 1, "name": "account_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "app_install_metrics_add_payment_info": {"type": "INT64", "index": 5, "name": "app_install_metrics_add_payment_info", "comment": null}, "app_install_metrics_add_to_cart": {"type": "INT64", "index": 6, "name": "app_install_metrics_add_to_cart", "comment": null}, "app_install_metrics_app_launch": {"type": "INT64", "index": 7, "name": "app_install_metrics_app_launch", "comment": null}, "app_install_metrics_completed_tutorial": {"type": "INT64", "index": 8, "name": "app_install_metrics_completed_tutorial", "comment": null}, "app_install_metrics_install": {"type": "INT64", "index": 9, "name": "app_install_metrics_install", "comment": null}, "app_install_metrics_level_achieved": {"type": "INT64", "index": 10, "name": "app_install_metrics_level_achieved", "comment": null}, "app_install_metrics_purchase": {"type": "INT64", "index": 11, "name": "app_install_metrics_purchase", "comment": null}, "app_install_metrics_search": {"type": "INT64", "index": 12, "name": "app_install_metrics_search", "comment": null}, "app_install_metrics_sign_up": {"type": "INT64", "index": 13, "name": "app_install_metrics_sign_up", "comment": null}, "app_install_metrics_spend": {"type": "INT64", "index": 14, "name": "app_install_metrics_spend", "comment": null}, "app_install_metrics_spend_credits": {"type": "INT64", "index": 15, "name": "app_install_metrics_spend_credits", "comment": null}, "app_install_metrics_view_content": {"type": "INT64", "index": 16, "name": "app_install_metrics_view_content", "comment": null}, "clicks": {"type": "INT64", "index": 17, "name": "clicks", "comment": null}, "comment_downvotes": {"type": "INT64", "index": 18, "name": "comment_downvotes", "comment": null}, "comment_upvotes": {"type": "INT64", "index": 19, "name": "comment_upvotes", "comment": null}, "comments_page_views": {"type": "INT64", "index": 20, "name": "comments_page_views", "comment": null}, "conversion_roas": {"type": "INT64", "index": 21, "name": "conversion_roas", "comment": null}, "cpc": {"type": "FLOAT64", "index": 22, "name": "cpc", "comment": null}, "ctr": {"type": "FLOAT64", "index": 23, "name": "ctr", "comment": null}, "ecpm": {"type": "FLOAT64", "index": 24, "name": "ecpm", "comment": null}, "gallery_item_caption": {"type": "INT64", "index": 25, "name": "gallery_item_caption", "comment": null}, "gallery_item_id": {"type": "INT64", "index": 26, "name": "gallery_item_id", "comment": null}, "impressions": {"type": "INT64", "index": 27, "name": "impressions", "comment": null}, "legacy_click_conversions_attribution_window_day": {"type": "INT64", "index": 28, "name": "legacy_click_conversions_attribution_window_day", "comment": null}, "legacy_click_conversions_attribution_window_month": {"type": "INT64", "index": 29, "name": "legacy_click_conversions_attribution_window_month", "comment": null}, "legacy_click_conversions_attribution_window_week": {"type": "INT64", "index": 30, "name": "legacy_click_conversions_attribution_window_week", "comment": null}, "legacy_view_conversions_attribution_window_day": {"type": "INT64", "index": 31, "name": "legacy_view_conversions_attribution_window_day", "comment": null}, "legacy_view_conversions_attribution_window_month": {"type": "INT64", "index": 32, "name": "legacy_view_conversions_attribution_window_month", "comment": null}, "legacy_view_conversions_attribution_window_week": {"type": "INT64", "index": 33, "name": "legacy_view_conversions_attribution_window_week", "comment": null}, "priority": {"type": "INT64", "index": 34, "name": "priority", "comment": null}, "region": {"type": "INT64", "index": 35, "name": "region", "comment": null}, "spend": {"type": "INT64", "index": 36, "name": "spend", "comment": null}, "video_fully_viewable_impressions": {"type": "INT64", "index": 37, "name": "video_fully_viewable_impressions", "comment": null}, "video_plays_expanded": {"type": "INT64", "index": 38, "name": "video_plays_expanded", "comment": null}, "video_plays_with_sound": {"type": "INT64", "index": 39, "name": "video_plays_with_sound", "comment": null}, "video_started": {"type": "INT64", "index": 40, "name": "video_started", "comment": null}, "video_viewable_impressions": {"type": "INT64", "index": 41, "name": "video_viewable_impressions", "comment": null}, "video_watched_100_percent": {"type": "INT64", "index": 42, "name": "video_watched_100_percent", "comment": null}, "video_watched_10_seconds": {"type": "INT64", "index": 43, "name": "video_watched_10_seconds", "comment": null}, "video_watched_25_percent": {"type": "INT64", "index": 44, "name": "video_watched_25_percent", "comment": null}, "video_watched_3_seconds": {"type": "INT64", "index": 45, "name": "video_watched_3_seconds", "comment": null}, "video_watched_50_percent": {"type": "INT64", "index": 46, "name": "video_watched_50_percent", "comment": null}, "video_watched_5_seconds": {"type": "INT64", "index": 47, "name": "video_watched_5_seconds", "comment": null}, "video_watched_75_percent": {"type": "INT64", "index": 48, "name": "video_watched_75_percent", "comment": null}, "video_watched_95_percent": {"type": "INT64", "index": 49, "name": "video_watched_95_percent", "comment": null}, "viewable_impressions": {"type": "INT64", "index": 50, "name": "viewable_impressions", "comment": null}, "viewer_comments": {"type": "INT64", "index": 51, "name": "viewer_comments", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 100.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 28000.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad_report"}, "source.tiktok_ads_source.tiktok_ads.ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_id": {"type": "INT64", "index": 1, "name": "ad_id", "comment": null}, "updated_at": {"type": "STRING", "index": 2, "name": "updated_at", "comment": null}, "advertiser_id": {"type": "INT64", "index": 3, "name": "advertiser_id", "comment": null}, "adgroup_id": {"type": "INT64", "index": 4, "name": "adgroup_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "create_time": {"type": "STRING", "index": 6, "name": "create_time", "comment": null}, "ad_name": {"type": "STRING", "index": 7, "name": "ad_name", "comment": null}, "call_to_action": {"type": "STRING", "index": 8, "name": "call_to_action", "comment": null}, "status": {"type": "STRING", "index": 9, "name": "status", "comment": null}, "opt_status": {"type": "STRING", "index": 10, "name": "opt_status", "comment": null}, "ad_text": {"type": "STRING", "index": 11, "name": "ad_text", "comment": null}, "video_id": {"type": "STRING", "index": 12, "name": "video_id", "comment": null}, "app_name": {"type": "INT64", "index": 13, "name": "app_name", "comment": null}, "open_url": {"type": "INT64", "index": 14, "name": "open_url", "comment": null}, "landing_page_url": {"type": "STRING", "index": 15, "name": "landing_page_url", "comment": null}, "display_name": {"type": "STRING", "index": 16, "name": "display_name", "comment": null}, "profile_image": {"type": "INT64", "index": 17, "name": "profile_image", "comment": null}, "impression_tracking_url": {"type": "INT64", "index": 18, "name": "impression_tracking_url", "comment": null}, "click_tracking_url": {"type": "INT64", "index": 19, "name": "click_tracking_url", "comment": null}, "playable_url": {"type": "INT64", "index": 20, "name": "playable_url", "comment": null}, "is_aco": {"type": "BOOL", "index": 21, "name": "is_aco", "comment": null}, "is_creative_authorized": {"type": "BOOL", "index": 22, "name": "is_creative_authorized", "comment": null}, "is_new_structure": {"type": "BOOL", "index": 23, "name": "is_new_structure", "comment": null}, "image_ids": {"type": "STRING", "index": 24, "name": "image_ids", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 25, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1072.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_history"}, "source.amazon_ads_source.amazon_ads.profile": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_profile_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_deleted": {"type": "BOOL", "index": 2, "name": "_fivetran_deleted", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 4, "name": "account_id", "comment": null}, "account_marketplace_string_id": {"type": "STRING", "index": 5, "name": "account_marketplace_string_id", "comment": null}, "account_name": {"type": "STRING", "index": 6, "name": "account_name", "comment": null}, "account_sub_type": {"type": "INT64", "index": 7, "name": "account_sub_type", "comment": null}, "account_type": {"type": "STRING", "index": 8, "name": "account_type", "comment": null}, "account_valid_payment_method": {"type": "BOOL", "index": 9, "name": "account_valid_payment_method", "comment": null}, "country_code": {"type": "STRING", "index": 10, "name": "country_code", "comment": null}, "currency_code": {"type": "STRING", "index": 11, "name": "currency_code", "comment": null}, "daily_budget": {"type": "INT64", "index": 12, "name": "daily_budget", "comment": null}, "timezone": {"type": "STRING", "index": 13, "name": "timezone", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 116.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.profile"}, "source.google_ads_source.google_ads.account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "updated_at": {"type": "DATETIME", "index": 2, "name": "updated_at", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "auto_tagging_enabled": {"type": "BOOL", "index": 4, "name": "auto_tagging_enabled", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "descriptive_name": {"type": "INT64", "index": 6, "name": "descriptive_name", "comment": null}, "final_url_suffix": {"type": "BOOL", "index": 7, "name": "final_url_suffix", "comment": null}, "hidden": {"type": "BOOL", "index": 8, "name": "hidden", "comment": null}, "manager": {"type": "INT64", "index": 9, "name": "manager", "comment": null}, "manager_customer_id": {"type": "FLOAT64", "index": 10, "name": "manager_customer_id", "comment": null}, "optimization_score": {"type": "STRING", "index": 11, "name": "optimization_score", "comment": null}, "pay_per_conversion_eligibility_failure_reasons": {"type": "BOOL", "index": 12, "name": "pay_per_conversion_eligibility_failure_reasons", "comment": null}, "test_account": {"type": "STRING", "index": 13, "name": "test_account", "comment": null}, "time_zone": {"type": "INT64", "index": 14, "name": "time_zone", "comment": null}, "tracking_url_template": {"type": "INT64", "index": 15, "name": "tracking_url_template", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 66.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.account_history"}, "source.snapchat_ads_source.snapchat_ads.ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "STRING", "index": 1, "name": "id", "comment": null}, "ad_squad_id": {"type": "STRING", "index": 2, "name": "ad_squad_id", "comment": null}, "creative_id": {"type": "STRING", "index": 3, "name": "creative_id", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 5, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 320.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 55360.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_history"}, "source.linkedin_source.linkedin.campaign_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_campaign_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "account_id": {"type": "INT64", "index": 3, "name": "account_id", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 4, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 5, "name": "name", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 232.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.campaign_group_history"}, "source.apple_search_ads_source.apple_search_ads.ad_group_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_group_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "date": {"type": "DATE", "index": 2, "name": "date", "comment": null}, "avg_cpa_amount": {"type": "FLOAT64", "index": 3, "name": "avg_cpa_amount", "comment": null}, "avg_cpa_currency": {"type": "STRING", "index": 4, "name": "avg_cpa_currency", "comment": null}, "avg_cpt_amount": {"type": "FLOAT64", "index": 5, "name": "avg_cpt_amount", "comment": null}, "avg_cpt_currency": {"type": "STRING", "index": 6, "name": "avg_cpt_currency", "comment": null}, "conversion_rate": {"type": "FLOAT64", "index": 7, "name": "conversion_rate", "comment": null}, "conversions": {"type": "INT64", "index": 8, "name": "conversions", "comment": null}, "impressions": {"type": "INT64", "index": 9, "name": "impressions", "comment": null}, "lat_off_installs": {"type": "INT64", "index": 10, "name": "lat_off_installs", "comment": null}, "lat_on_installs": {"type": "INT64", "index": 11, "name": "lat_on_installs", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 12, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 13, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 14, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 15, "name": "redownloads", "comment": null}, "tap_through_rate": {"type": "FLOAT64", "index": 16, "name": "tap_through_rate", "comment": null}, "taps": {"type": "INT64", "index": 17, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 13.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1651.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_report"}, "source.apple_search_ads_source.apple_search_ads.ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creation_time": {"type": "TIMESTAMP", "index": 1, "name": "creation_time", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "org_id": {"type": "INT64", "index": 3, "name": "org_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 5, "name": "ad_group_id", "comment": null}, "name": {"type": "STRING", "index": 6, "name": "name", "comment": null}, "id": {"type": "INT64", "index": 7, "name": "id", "comment": null}, "creative_id": {"type": "INT64", "index": 8, "name": "creative_id", "comment": null}, "creative_type": {"type": "STRING", "index": 9, "name": "creative_type", "comment": null}, "status": {"type": "STRING", "index": 10, "name": "status", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 101.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_history"}, "source.google_ads_source.google_ads.keyword_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_keyword_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_group_base_ad_group": {"type": "STRING", "index": 10, "name": "ad_group_base_ad_group", "comment": null}, "ad_group_criterion_criterion_id": {"type": "INT64", "index": 11, "name": "ad_group_criterion_criterion_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 12, "name": "ad_group_id", "comment": null}, "ad_network_type": {"type": "STRING", "index": 13, "name": "ad_network_type", "comment": null}, "campaign_base_campaign": {"type": "STRING", "index": 14, "name": "campaign_base_campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 15, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 16, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 17, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 18, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 19, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 20, "name": "device", "comment": null}, "impressions": {"type": "INT64", "index": 21, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 22, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 23, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 24, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4260.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.keyword_stats"}, "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_creative_url_tag_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"creative_id": {"type": "STRING", "index": 1, "name": "creative_id", "comment": null}, "key": {"type": "STRING", "index": 2, "name": "key", "comment": null}, "value": {"type": "STRING", "index": 3, "name": "value", "comment": null}, "updated_at": {"type": "STRING", "index": 4, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 383.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 41413.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history"}, "source.pinterest_source.pinterest_ads.keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 3, "name": "ad_group_id", "comment": null}, "advertiser_id": {"type": "INT64", "index": 4, "name": "advertiser_id", "comment": null}, "archived": {"type": "BOOL", "index": 5, "name": "archived", "comment": null}, "bid": {"type": "INT64", "index": 6, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 7, "name": "campaign_id", "comment": null}, "id": {"type": "INT64", "index": 8, "name": "id", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "parent_type": {"type": "STRING", "index": 10, "name": "parent_type", "comment": null}, "value": {"type": "STRING", "index": 11, "name": "value", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 799.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.keyword_history"}, "source.apple_search_ads_source.apple_search_ads.ad_group_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_group_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "modification_time": {"type": "TIMESTAMP", "index": 2, "name": "modification_time", "comment": null}, "automated_keywords_opt_in": {"type": "BOOL", "index": 3, "name": "automated_keywords_opt_in", "comment": null}, "campaign_id": {"type": "INT64", "index": 4, "name": "campaign_id", "comment": null}, "cpa_goal_amount": {"type": "INT64", "index": 5, "name": "cpa_goal_amount", "comment": null}, "cpa_goal_currency": {"type": "INT64", "index": 6, "name": "cpa_goal_currency", "comment": null}, "default_cpc_bid_amount": {"type": "INT64", "index": 7, "name": "default_cpc_bid_amount", "comment": null}, "default_cpc_bid_currency": {"type": "INT64", "index": 8, "name": "default_cpc_bid_currency", "comment": null}, "deleted": {"type": "BOOL", "index": 9, "name": "deleted", "comment": null}, "end_time": {"type": "TIMESTAMP", "index": 10, "name": "end_time", "comment": null}, "name": {"type": "STRING", "index": 11, "name": "name", "comment": null}, "organization_id": {"type": "INT64", "index": 12, "name": "organization_id", "comment": null}, "serving_state_reasons": {"type": "INT64", "index": 13, "name": "serving_state_reasons", "comment": null}, "serving_status": {"type": "STRING", "index": 14, "name": "serving_status", "comment": null}, "start_time": {"type": "TIMESTAMP", "index": 15, "name": "start_time", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "storefronts": {"type": "INT64", "index": 17, "name": "storefronts", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 334.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_history"}, "source.linkedin_source.linkedin.account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_modified_time": {"type": "TIMESTAMP", "index": 2, "name": "last_modified_time", "comment": null}, "created_time": {"type": "TIMESTAMP", "index": 3, "name": "created_time", "comment": null}, "name": {"type": "STRING", "index": 4, "name": "name", "comment": null}, "currency": {"type": "STRING", "index": 5, "name": "currency", "comment": null}, "version_tag": {"type": "INT64", "index": 6, "name": "version_tag", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 14.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 882.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.linkedin_source.linkedin.account_history"}, "source.tiktok_ads_source.tiktok_ads.advertiser": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_advertiser_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "name": {"type": "STRING", "index": 2, "name": "name", "comment": null}, "address": {"type": "STRING", "index": 3, "name": "address", "comment": null}, "company": {"type": "STRING", "index": 4, "name": "company", "comment": null}, "contacter": {"type": "INT64", "index": 5, "name": "contacter", "comment": null}, "country": {"type": "STRING", "index": 6, "name": "country", "comment": null}, "currency": {"type": "STRING", "index": 7, "name": "currency", "comment": null}, "description": {"type": "STRING", "index": 8, "name": "description", "comment": null}, "email": {"type": "STRING", "index": 9, "name": "email", "comment": null}, "industry": {"type": "INT64", "index": 10, "name": "industry", "comment": null}, "license_no": {"type": "INT64", "index": 11, "name": "license_no", "comment": null}, "license_url": {"type": "INT64", "index": 12, "name": "license_url", "comment": null}, "promotion_area": {"type": "INT64", "index": 13, "name": "promotion_area", "comment": null}, "reason": {"type": "INT64", "index": 14, "name": "reason", "comment": null}, "role": {"type": "STRING", "index": 15, "name": "role", "comment": null}, "status": {"type": "STRING", "index": 16, "name": "status", "comment": null}, "telephone": {"type": "INT64", "index": 17, "name": "telephone", "comment": null}, "timezone": {"type": "STRING", "index": 18, "name": "timezone", "comment": null}, "balance": {"type": "FLOAT64", "index": 19, "name": "balance", "comment": null}, "create_time": {"type": "STRING", "index": 20, "name": "create_time", "comment": null}, "language": {"type": "STRING", "index": 21, "name": "language", "comment": null}, "phone_number": {"type": "STRING", "index": 22, "name": "phone_number", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 23, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 439.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.advertiser"}, "source.amazon_ads_source.amazon_ads.keyword_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_keyword_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "bid": {"type": "FLOAT64", "index": 5, "name": "bid", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 7, "name": "creation_date", "comment": null}, "keyword_text": {"type": "STRING", "index": 8, "name": "keyword_text", "comment": null}, "match_type": {"type": "STRING", "index": 9, "name": "match_type", "comment": null}, "native_language_keyword": {"type": "INT64", "index": 10, "name": "native_language_keyword", "comment": null}, "serving_status": {"type": "STRING", "index": 11, "name": "serving_status", "comment": null}, "state": {"type": "STRING", "index": 12, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 9.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1545.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.keyword_history"}, "source.reddit_ads_source.reddit_ads.ad": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 2, "name": "_fivetran_synced", "comment": null}, "account_id": {"type": "STRING", "index": 3, "name": "account_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 5, "name": "campaign_id", "comment": null}, "click_url": {"type": "STRING", "index": 6, "name": "click_url", "comment": null}, "configured_status": {"type": "STRING", "index": 7, "name": "configured_status", "comment": null}, "effective_status": {"type": "STRING", "index": 8, "name": "effective_status", "comment": null}, "is_processing": {"type": "BOOL", "index": 9, "name": "is_processing", "comment": null}, "name": {"type": "STRING", "index": 10, "name": "name", "comment": null}, "post_id": {"type": "STRING", "index": 11, "name": "post_id", "comment": null}, "post_url": {"type": "INT64", "index": 12, "name": "post_url", "comment": null}, "preview_expiry": {"type": "INT64", "index": 13, "name": "preview_expiry", "comment": null}, "preview_url": {"type": "INT64", "index": 14, "name": "preview_url", "comment": null}, "rejection_reason": {"type": "INT64", "index": 15, "name": "rejection_reason", "comment": null}, "search_term": {"type": "INT64", "index": 16, "name": "search_term", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 5.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1243.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.reddit_ads_source.reddit_ads.ad"}, "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_group_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "currency_code": {"type": "STRING", "index": 5, "name": "currency_code", "comment": null}, "device_os": {"type": "STRING", "index": 6, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 7, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 8, "name": "network", "comment": null}, "language": {"type": "STRING", "index": 9, "name": "language", "comment": null}, "ad_distribution": {"type": "STRING", "index": 10, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 11, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 12, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 13, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 15, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 16, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 229.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 38470.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report"}, "source.apple_search_ads_source.apple_search_ads.ad_level_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 2, "name": "_fivetran_synced", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 5, "name": "ad_id", "comment": null}, "impressions": {"type": "INT64", "index": 6, "name": "impressions", "comment": null}, "local_spend_amount": {"type": "FLOAT64", "index": 7, "name": "local_spend_amount", "comment": null}, "local_spend_currency": {"type": "STRING", "index": 8, "name": "local_spend_currency", "comment": null}, "new_downloads": {"type": "INT64", "index": 9, "name": "new_downloads", "comment": null}, "redownloads": {"type": "INT64", "index": 10, "name": "redownloads", "comment": null}, "taps": {"type": "INT64", "index": 11, "name": "taps", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 2.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 170.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_level_report"}, "source.pinterest_source.pinterest_ads.advertiser_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_advertiser_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"advertiser_id": {"type": "INT64", "index": 1, "name": "advertiser_id", "comment": null}, "date": {"type": "DATETIME", "index": 2, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 3, "name": "_fivetran_synced", "comment": null}, "clickthrough_1": {"type": "INT64", "index": 4, "name": "clickthrough_1", "comment": null}, "clickthrough_1_gross": {"type": "INT64", "index": 5, "name": "clickthrough_1_gross", "comment": null}, "cpc_in_micro_dollar": {"type": "FLOAT64", "index": 6, "name": "cpc_in_micro_dollar", "comment": null}, "cpm_in_micro_dollar": {"type": "FLOAT64", "index": 7, "name": "cpm_in_micro_dollar", "comment": null}, "ctr": {"type": "FLOAT64", "index": 8, "name": "ctr", "comment": null}, "ecpc_in_micro_dollar": {"type": "FLOAT64", "index": 9, "name": "ecpc_in_micro_dollar", "comment": null}, "ecpm_in_micro_dollar": {"type": "FLOAT64", "index": 10, "name": "ecpm_in_micro_dollar", "comment": null}, "ectr": {"type": "FLOAT64", "index": 11, "name": "ectr", "comment": null}, "engagement_1": {"type": "INT64", "index": 12, "name": "engagement_1", "comment": null}, "impression_1": {"type": "INT64", "index": 13, "name": "impression_1", "comment": null}, "impression_1_gross": {"type": "INT64", "index": 14, "name": "impression_1_gross", "comment": null}, "outbound_click_1": {"type": "INT64", "index": 15, "name": "outbound_click_1", "comment": null}, "paid_impression": {"type": "INT64", "index": 16, "name": "paid_impression", "comment": null}, "spend_in_micro_dollar": {"type": "INT64", "index": 17, "name": "spend_in_micro_dollar", "comment": null}, "total_engagement": {"type": "INT64", "index": 18, "name": "total_engagement", "comment": null}, "total_impression_frequency": {"type": "FLOAT64", "index": 19, "name": "total_impression_frequency", "comment": null}, "total_impression_user": {"type": "INT64", "index": 20, "name": "total_impression_user", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1344.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.pinterest_source.pinterest_ads.advertiser_report"}, "source.amazon_ads_source.amazon_ads.product_ad_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_product_ad_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"id": {"type": "INT64", "index": 1, "name": "id", "comment": null}, "last_updated_date": {"type": "STRING", "index": 2, "name": "last_updated_date", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 3, "name": "_fivetran_synced", "comment": null}, "ad_group_id": {"type": "INT64", "index": 4, "name": "ad_group_id", "comment": null}, "asin": {"type": "STRING", "index": 5, "name": "asin", "comment": null}, "campaign_id": {"type": "INT64", "index": 6, "name": "campaign_id", "comment": null}, "creation_date": {"type": "STRING", "index": 7, "name": "creation_date", "comment": null}, "serving_status": {"type": "STRING", "index": 8, "name": "serving_status", "comment": null}, "sku": {"type": "INT64", "index": 9, "name": "sku", "comment": null}, "state": {"type": "STRING", "index": 10, "name": "state", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 3.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 425.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.product_ad_history"}, "source.amazon_ads_source.amazon_ads.advertised_product_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_advertised_product_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"ad_group_id": {"type": "INT64", "index": 1, "name": "ad_group_id", "comment": null}, "ad_id": {"type": "INT64", "index": 2, "name": "ad_id", "comment": null}, "campaign_id": {"type": "INT64", "index": 3, "name": "campaign_id", "comment": null}, "date": {"type": "DATE", "index": 4, "name": "date", "comment": null}, "_fivetran_synced": {"type": "TIMESTAMP", "index": 5, "name": "_fivetran_synced", "comment": null}, "campaign_budget_amount": {"type": "FLOAT64", "index": 6, "name": "campaign_budget_amount", "comment": null}, "campaign_budget_currency_code": {"type": "STRING", "index": 7, "name": "campaign_budget_currency_code", "comment": null}, "campaign_budget_type": {"type": "STRING", "index": 8, "name": "campaign_budget_type", "comment": null}, "click_through_rate": {"type": "FLOAT64", "index": 9, "name": "click_through_rate", "comment": null}, "clicks": {"type": "INT64", "index": 10, "name": "clicks", "comment": null}, "cost": {"type": "FLOAT64", "index": 11, "name": "cost", "comment": null}, "cost_per_click": {"type": "FLOAT64", "index": 12, "name": "cost_per_click", "comment": null}, "impressions": {"type": "INT64", "index": 13, "name": "impressions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1070.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.amazon_ads_source.amazon_ads.advertised_product_report"}, "source.google_ads_source.google_ads.account_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_account_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "conversions": {"type": "INT64", "index": 12, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 13, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 14, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 15, "name": "device", "comment": null}, "impressions": {"type": "INT64", "index": 16, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 17, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 18, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 19, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 19.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 3500.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.account_stats"}, "source.twitter_ads_source.twitter_ads.account_history": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "twitter_account_history_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_synced": {"type": "STRING", "index": 1, "name": "_fivetran_synced", "comment": null}, "approval_status": {"type": "STRING", "index": 2, "name": "approval_status", "comment": null}, "business_id": {"type": "INT64", "index": 3, "name": "business_id", "comment": null}, "business_name": {"type": "INT64", "index": 4, "name": "business_name", "comment": null}, "created_at": {"type": "STRING", "index": 5, "name": "created_at", "comment": null}, "deleted": {"type": "BOOL", "index": 6, "name": "deleted", "comment": null}, "id": {"type": "STRING", "index": 7, "name": "id", "comment": null}, "industry_type": {"type": "INT64", "index": 8, "name": "industry_type", "comment": null}, "name": {"type": "STRING", "index": 9, "name": "name", "comment": null}, "salt": {"type": "INT64", "index": 10, "name": "salt", "comment": null}, "timezone": {"type": "STRING", "index": 11, "name": "timezone", "comment": null}, "timezone_switch_at": {"type": "STRING", "index": 12, "name": "timezone_switch_at", "comment": null}, "updated_at": {"type": "STRING", "index": 13, "name": "updated_at", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 1.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 159.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.twitter_ads_source.twitter_ads.account_history"}, "source.google_ads_source.google_ads.ad_group_stats": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_stats_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"_fivetran_id": {"type": "STRING", "index": 1, "name": "_fivetran_id", "comment": null}, "customer_id": {"type": "INT64", "index": 2, "name": "customer_id", "comment": null}, "date": {"type": "DATE", "index": 3, "name": "date", "comment": null}, "_fivetran_synced": {"type": "DATETIME", "index": 4, "name": "_fivetran_synced", "comment": null}, "active_view_impressions": {"type": "INT64", "index": 5, "name": "active_view_impressions", "comment": null}, "active_view_measurability": {"type": "INT64", "index": 6, "name": "active_view_measurability", "comment": null}, "active_view_measurable_cost_micros": {"type": "INT64", "index": 7, "name": "active_view_measurable_cost_micros", "comment": null}, "active_view_measurable_impressions": {"type": "INT64", "index": 8, "name": "active_view_measurable_impressions", "comment": null}, "active_view_viewability": {"type": "INT64", "index": 9, "name": "active_view_viewability", "comment": null}, "ad_network_type": {"type": "STRING", "index": 10, "name": "ad_network_type", "comment": null}, "base_ad_group": {"type": "STRING", "index": 11, "name": "base_ad_group", "comment": null}, "campaign_base_campaign": {"type": "STRING", "index": 12, "name": "campaign_base_campaign", "comment": null}, "campaign_id": {"type": "INT64", "index": 13, "name": "campaign_id", "comment": null}, "clicks": {"type": "INT64", "index": 14, "name": "clicks", "comment": null}, "conversions": {"type": "FLOAT64", "index": 15, "name": "conversions", "comment": null}, "conversions_value": {"type": "INT64", "index": 16, "name": "conversions_value", "comment": null}, "cost_micros": {"type": "INT64", "index": 17, "name": "cost_micros", "comment": null}, "device": {"type": "STRING", "index": 18, "name": "device", "comment": null}, "id": {"type": "INT64", "index": 19, "name": "id", "comment": null}, "impressions": {"type": "INT64", "index": 20, "name": "impressions", "comment": null}, "interaction_event_types": {"type": "STRING", "index": 21, "name": "interaction_event_types", "comment": null}, "interactions": {"type": "INT64", "index": 22, "name": "interactions", "comment": null}, "view_through_conversions": {"type": "INT64", "index": 23, "name": "view_through_conversions", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 15.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 4150.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.google_ads_source.google_ads.ad_group_stats"}, "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_account_performance_daily_report_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"date": {"type": "DATE", "index": 1, "name": "date", "comment": null}, "account_id": {"type": "INT64", "index": 2, "name": "account_id", "comment": null}, "device_os": {"type": "STRING", "index": 3, "name": "device_os", "comment": null}, "device_type": {"type": "STRING", "index": 4, "name": "device_type", "comment": null}, "network": {"type": "STRING", "index": 5, "name": "network", "comment": null}, "currency_code": {"type": "STRING", "index": 6, "name": "currency_code", "comment": null}, "ad_distribution": {"type": "STRING", "index": 7, "name": "ad_distribution", "comment": null}, "bid_match_type": {"type": "STRING", "index": 8, "name": "bid_match_type", "comment": null}, "delivered_match_type": {"type": "STRING", "index": 9, "name": "delivered_match_type", "comment": null}, "top_vs_other": {"type": "STRING", "index": 10, "name": "top_vs_other", "comment": null}, "clicks": {"type": "INT64", "index": 11, "name": "clicks", "comment": null}, "impressions": {"type": "INT64", "index": 12, "name": "impressions", "comment": null}, "spend": {"type": "FLOAT64", "index": 13, "name": "spend", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 10.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1163.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report"}, "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": {"metadata": {"type": "table", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_adgroup_report_hourly_data", "database": "dbt-package-testing", "comment": null, "owner": null}, "columns": {"adgroup_id": {"type": "INT64", "index": 1, "name": "adgroup_id", "comment": null}, "stat_time_hour": {"type": "DATETIME", "index": 2, "name": "stat_time_hour", "comment": null}, "cost_per_conversion": {"type": "FLOAT64", "index": 3, "name": "cost_per_conversion", "comment": null}, "real_time_conversion": {"type": "INT64", "index": 4, "name": "real_time_conversion", "comment": null}, "cpc": {"type": "FLOAT64", "index": 5, "name": "cpc", "comment": null}, "video_play_actions": {"type": "INT64", "index": 6, "name": "video_play_actions", "comment": null}, "conversion_rate": {"type": "INT64", "index": 7, "name": "conversion_rate", "comment": null}, "video_views_p_75": {"type": "INT64", "index": 8, "name": "video_views_p_75", "comment": null}, "result": {"type": "INT64", "index": 9, "name": "result", "comment": null}, "video_views_p_50": {"type": "INT64", "index": 10, "name": "video_views_p_50", "comment": null}, "impressions": {"type": "INT64", "index": 11, "name": "impressions", "comment": null}, "comments": {"type": "INT64", "index": 12, "name": "comments", "comment": null}, "real_time_cost_per_result": {"type": "FLOAT64", "index": 13, "name": "real_time_cost_per_result", "comment": null}, "conversion": {"type": "INT64", "index": 14, "name": "conversion", "comment": null}, "real_time_result": {"type": "INT64", "index": 15, "name": "real_time_result", "comment": null}, "video_views_p_100": {"type": "INT64", "index": 16, "name": "video_views_p_100", "comment": null}, "shares": {"type": "INT64", "index": 17, "name": "shares", "comment": null}, "real_time_conversion_rate": {"type": "FLOAT64", "index": 18, "name": "real_time_conversion_rate", "comment": null}, "cost_per_secondary_goal_result": {"type": "STRING", "index": 19, "name": "cost_per_secondary_goal_result", "comment": null}, "secondary_goal_result_rate": {"type": "STRING", "index": 20, "name": "secondary_goal_result_rate", "comment": null}, "clicks": {"type": "INT64", "index": 21, "name": "clicks", "comment": null}, "cost_per_1000_reached": {"type": "FLOAT64", "index": 22, "name": "cost_per_1000_reached", "comment": null}, "video_views_p_25": {"type": "INT64", "index": 23, "name": "video_views_p_25", "comment": null}, "reach": {"type": "INT64", "index": 24, "name": "reach", "comment": null}, "real_time_cost_per_conversion": {"type": "FLOAT64", "index": 25, "name": "real_time_cost_per_conversion", "comment": null}, "profile_visits_rate": {"type": "INT64", "index": 26, "name": "profile_visits_rate", "comment": null}, "average_video_play": {"type": "FLOAT64", "index": 27, "name": "average_video_play", "comment": null}, "profile_visits": {"type": "INT64", "index": 28, "name": "profile_visits", "comment": null}, "cpm": {"type": "FLOAT64", "index": 29, "name": "cpm", "comment": null}, "ctr": {"type": "FLOAT64", "index": 30, "name": "ctr", "comment": null}, "video_watched_2_s": {"type": "INT64", "index": 31, "name": "video_watched_2_s", "comment": null}, "follows": {"type": "INT64", "index": 32, "name": "follows", "comment": null}, "result_rate": {"type": "FLOAT64", "index": 33, "name": "result_rate", "comment": null}, "video_watched_6_s": {"type": "INT64", "index": 34, "name": "video_watched_6_s", "comment": null}, "secondary_goal_result": {"type": "STRING", "index": 35, "name": "secondary_goal_result", "comment": null}, "cost_per_result": {"type": "FLOAT64", "index": 36, "name": "cost_per_result", "comment": null}, "average_video_play_per_user": {"type": "FLOAT64", "index": 37, "name": "average_video_play_per_user", "comment": null}, "real_time_result_rate": {"type": "FLOAT64", "index": 38, "name": "real_time_result_rate", "comment": null}, "spend": {"type": "FLOAT64", "index": 39, "name": "spend", "comment": null}, "likes": {"type": "INT64", "index": 40, "name": "likes", "comment": null}, "_fivetran_synced": {"type": "STRING", "index": 41, "name": "_fivetran_synced", "comment": null}}, "stats": {"num_rows": {"id": "num_rows", "label": "# Rows", "value": 4.0, "include": true, "description": "Approximate count of rows in this table"}, "num_bytes": {"id": "num_bytes", "label": "Approximate Size", "value": 1320.0, "include": true, "description": "Approximate size of table as reported by BigQuery"}, "has_stats": {"id": "has_stats", "label": "Has Stats?", "value": true, "include": false, "description": "Indicates whether there are statistics for this table"}}, "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly"}}, "errors": null} \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 0807e63..65749e4 100644 --- a/docs/index.html +++ b/docs/index.html @@ -97,6 +97,6 @@ * @author Feross Aboukhadijeh * @license MIT */ -e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){n(9).module("dbt").factory("locationService",["$state",function(e){var t={};return t.parseState=function(e){return function(e){return{selected:{include:e.g_i||"",exclude:e.g_e||""},show_graph:!!e.g_v}}(e)},t.setState=function(t){var n=function(e){var t={g_v:1};return t.g_i=e.include,t.g_e=e.exclude,t}(t),r=e.current.name;e.go(r,n)},t.clearState=function(){var t=e.current.name;e.go(t,{g_i:null,g_e:null,g_v:null})},t}])},function(e,t,n){"use strict";const r=n(9),i=n(202);r.module("dbt").controller("OverviewCtrl",["$scope","$state","project",function(e,t,n){e.overview_md="(loading)",n.ready((function(n){let r=t.params.project_name?t.params.project_name:null;var o=n.docs["doc.dbt.__overview__"],a=i.filter(n.docs,{name:"__overview__"});if(i.each(a,(function(e){"dbt"!=e.package_name&&(o=e)})),null!==r){o=n.docs[`doc.${r}.__${r}__`]||o;let e=i.filter(n.docs,{name:`__${r}__`});i.each(e,e=>{e.package_name!==r&&(o=e)})}e.overview_md=o.block_contents}))}])},function(e,t,n){"use strict";n(9).module("dbt").controller("SourceListCtrl",["$scope","$state","project",function(e,t,n){e.source=t.params.source,e.model={},e.extra_table_fields=[],e.has_more_info=function(e){return(e.description||"").length},e.toggle_source_expanded=function(t){e.has_more_info(t)&&(t.expanded=!t.expanded)},n.ready((function(t){var n=_.filter(t.nodes,(function(t){return t.source_name==e.source}));if(0!=n.length){n.sort((e,t)=>e.name.localeCompare(t.name));var r=n[0];e.model={name:e.source,source_description:r.source_description,sources:n};var i=_.uniq(_.map(n,"metadata.owner")),o=_.uniq(_.map(n,"database")),a=_.uniq(_.map(n,"schema"));e.extra_table_fields=[{name:"Loader",value:r.loader},{name:1==i.length?"Owner":"Owners",value:i.join(", ")},{name:1==o.length?"Database":"Databases",value:o.join(", ")},{name:1==a.length?"Schema":"Schemas",value:a.join(", ")},{name:"Tables",value:n.length}]}}))}])},function(e,t,n){const r=n(9),i={main:n(480),overview:n(481),graph:n(482),source:n(205),source_list:n(483),model:n(484),source:n(205),snapshot:n(485),seed:n(486),test:n(487),analysis:n(488),macro:n(489),exposure:n(490),metric:n(491),operation:n(492)};r.module("dbt").config(["$stateProvider","$urlRouterProvider",function(e,t){var n="g_v&g_i&g_e&g_p&g_n";t.otherwise("/overview"),e.state("dbt",{url:"/",abstract:!0,controller:"MainController",templateUrl:i.main}).state("dbt.overview",{url:"overview?"+n,controller:"OverviewCtrl",templateUrl:i.overview}).state("dbt.project_overview",{url:"overview/:project_name?"+n,controller:"OverviewCtrl",templateUrl:i.overview,params:{project_name:{type:"string"}}}).state("dbt.graph",{url:"graph",controller:"GraphCtrl",templateUrl:i.graph}).state("dbt.model",{url:"model/:unique_id?section&"+n,controller:"ModelCtrl",templateUrl:i.model,params:{unique_id:{type:"string"}}}).state("dbt.seed",{url:"seed/:unique_id?section&"+n,controller:"SeedCtrl",templateUrl:i.seed,params:{unique_id:{type:"string"}}}).state("dbt.snapshot",{url:"snapshot/:unique_id?section&"+n,controller:"SnapshotCtrl",templateUrl:i.snapshot,params:{unique_id:{type:"string"}}}).state("dbt.test",{url:"test/:unique_id?section&"+n,controller:"TestCtrl",templateUrl:i.test,params:{unique_id:{type:"string"}}}).state("dbt.analysis",{url:"analysis/:unique_id?section&"+n,controller:"AnalysisCtrl",templateUrl:i.analysis,params:{unique_id:{type:"string"}}}).state("dbt.source",{url:"source/:unique_id?section&"+n,controller:"SourceCtrl",templateUrl:i.source,params:{unique_id:{type:"string"}}}).state("dbt.source_list",{url:"source_list/:source?section&"+n,controller:"SourceListCtrl",templateUrl:i.source_list,params:{source:{type:"string"}}}).state("dbt.macro",{url:"macro/:unique_id?section",controller:"MacroCtrl",templateUrl:i.macro,params:{unique_id:{type:"string"}}}).state("dbt.exposure",{url:"exposure/:unique_id?section&"+n,controller:"ExposureCtrl",templateUrl:i.exposure,params:{unique_id:{type:"string"}}}).state("dbt.metric",{url:"metric/:unique_id?section&"+n,controller:"MetricCtrl",templateUrl:i.metric,params:{unique_id:{type:"string"}}}).state("dbt.operation",{url:"operation/:unique_id?section&"+n,controller:"OperationCtrl",templateUrl:i.operation,params:{unique_id:{type:"string"}}})}])},function(e,t){var n="/main/main.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/overview/overview.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'
\n \n
\n
\n

\n
\n
\n
\n\n')}]),e.exports=n},function(e,t){var n="/graph/graph.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'
\n
\n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/sources/source_list.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n\n
\n
\n
\n
Source Tables
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SourceTableDescriptionLinkMore?
\n
\n {{ source.source_name }}\n
\n
\n {{ source.name }}

\n
\n {{ source.description }}\n \n View docs\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
Description
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/model.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Columns
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/snapshot.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Columns
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/seed.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n
\n
\n
\n
Columns
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/test.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/analysis.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/macro.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ macro.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Arguments
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/exposure.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ exposure.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/metric.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ metric.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/operation.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n}]); +e.exports=function(e){return null!=e&&(n(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&n(e.slice(0,0))}(e)||!!e._isBuffer)}},function(e,t,n){n(9).module("dbt").factory("locationService",["$state",function(e){var t={};return t.parseState=function(e){return function(e){return{selected:{include:e.g_i||"",exclude:e.g_e||""},show_graph:!!e.g_v}}(e)},t.setState=function(t){var n=function(e){var t={g_v:1};return t.g_i=e.include,t.g_e=e.exclude,t}(t),r=e.current.name;e.go(r,n)},t.clearState=function(){var t=e.current.name;e.go(t,{g_i:null,g_e:null,g_v:null})},t}])},function(e,t,n){"use strict";const r=n(9),i=n(202);r.module("dbt").controller("OverviewCtrl",["$scope","$state","project",function(e,t,n){e.overview_md="(loading)",n.ready((function(n){let r=t.params.project_name?t.params.project_name:null;var o=n.docs["dbt.__overview__"],a=i.filter(n.docs,{name:"__overview__"});if(i.each(a,(function(e){"dbt"!=e.package_name&&(o=e)})),null!==r){o=n.docs[`${r}.__${r}__`]||o;let e=i.filter(n.docs,{name:`__${r}__`});i.each(e,e=>{e.package_name!==r&&(o=e)})}e.overview_md=o.block_contents}))}])},function(e,t,n){"use strict";n(9).module("dbt").controller("SourceListCtrl",["$scope","$state","project",function(e,t,n){e.source=t.params.source,e.model={},e.extra_table_fields=[],e.has_more_info=function(e){return(e.description||"").length},e.toggle_source_expanded=function(t){e.has_more_info(t)&&(t.expanded=!t.expanded)},n.ready((function(t){var n=_.filter(t.nodes,(function(t){return t.source_name==e.source}));if(0!=n.length){n.sort((e,t)=>e.name.localeCompare(t.name));var r=n[0];e.model={name:e.source,source_description:r.source_description,sources:n};var i=_.uniq(_.map(n,"metadata.owner")),o=_.uniq(_.map(n,"database")),a=_.uniq(_.map(n,"schema"));e.extra_table_fields=[{name:"Loader",value:r.loader},{name:1==i.length?"Owner":"Owners",value:i.join(", ")},{name:1==o.length?"Database":"Databases",value:o.join(", ")},{name:1==a.length?"Schema":"Schemas",value:a.join(", ")},{name:"Tables",value:n.length}]}}))}])},function(e,t,n){const r=n(9),i={main:n(480),overview:n(481),graph:n(482),source:n(205),source_list:n(483),model:n(484),source:n(205),snapshot:n(485),seed:n(486),test:n(487),analysis:n(488),macro:n(489),exposure:n(490),metric:n(491),operation:n(492)};r.module("dbt").config(["$stateProvider","$urlRouterProvider",function(e,t){var n="g_v&g_i&g_e&g_p&g_n";t.otherwise("/overview"),e.state("dbt",{url:"/",abstract:!0,controller:"MainController",templateUrl:i.main}).state("dbt.overview",{url:"overview?"+n,controller:"OverviewCtrl",templateUrl:i.overview}).state("dbt.project_overview",{url:"overview/:project_name?"+n,controller:"OverviewCtrl",templateUrl:i.overview,params:{project_name:{type:"string"}}}).state("dbt.graph",{url:"graph",controller:"GraphCtrl",templateUrl:i.graph}).state("dbt.model",{url:"model/:unique_id?section&"+n,controller:"ModelCtrl",templateUrl:i.model,params:{unique_id:{type:"string"}}}).state("dbt.seed",{url:"seed/:unique_id?section&"+n,controller:"SeedCtrl",templateUrl:i.seed,params:{unique_id:{type:"string"}}}).state("dbt.snapshot",{url:"snapshot/:unique_id?section&"+n,controller:"SnapshotCtrl",templateUrl:i.snapshot,params:{unique_id:{type:"string"}}}).state("dbt.test",{url:"test/:unique_id?section&"+n,controller:"TestCtrl",templateUrl:i.test,params:{unique_id:{type:"string"}}}).state("dbt.analysis",{url:"analysis/:unique_id?section&"+n,controller:"AnalysisCtrl",templateUrl:i.analysis,params:{unique_id:{type:"string"}}}).state("dbt.source",{url:"source/:unique_id?section&"+n,controller:"SourceCtrl",templateUrl:i.source,params:{unique_id:{type:"string"}}}).state("dbt.source_list",{url:"source_list/:source?section&"+n,controller:"SourceListCtrl",templateUrl:i.source_list,params:{source:{type:"string"}}}).state("dbt.macro",{url:"macro/:unique_id?section",controller:"MacroCtrl",templateUrl:i.macro,params:{unique_id:{type:"string"}}}).state("dbt.exposure",{url:"exposure/:unique_id?section&"+n,controller:"ExposureCtrl",templateUrl:i.exposure,params:{unique_id:{type:"string"}}}).state("dbt.metric",{url:"metric/:unique_id?section&"+n,controller:"MetricCtrl",templateUrl:i.metric,params:{unique_id:{type:"string"}}}).state("dbt.operation",{url:"operation/:unique_id?section&"+n,controller:"OperationCtrl",templateUrl:i.operation,params:{unique_id:{type:"string"}}})}])},function(e,t){var n="/main/main.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n\n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n \n
\n
\n
\n
\n \n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/overview/overview.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'
\n \n
\n
\n

\n
\n
\n
\n\n')}]),e.exports=n},function(e,t){var n="/graph/graph.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'
\n
\n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/sources/source_list.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n\n
\n
\n
\n
Source Tables
\n
\n
\n
\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n
SourceTableDescriptionLinkMore?
\n
\n {{ source.source_name }}\n
\n
\n {{ source.name }}

\n
\n {{ source.description }}\n \n View docs\n \n \n \n \n \n \n \n \n \n
\n
\n
\n
Description
\n \n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/model.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Columns
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/snapshot.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Columns
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/seed.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n
\n
\n
\n
Columns
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/test.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/analysis.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/macro.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ macro.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Arguments
\n \n
\n
\n\n
\n
\n
\n
Referenced By
\n \n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/exposure.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ exposure.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/metric.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n\n
\n
\n \n
\n\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ metric.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n},function(e,t){var n="/docs/operation.html";window.angular.module("ng").run(["$templateCache",function(e){e.put(n,'\n\n
\n \n
\n
\n
\n
\n
\n
Description
\n
\n
\n
\n
This {{ model.resource_type }} is not currently documented
\n
\n
\n
\n
\n\n
\n
\n
\n
Depends On
\n \n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n')}]),e.exports=n}]); //# sourceMappingURL=main.js.map diff --git a/docs/manifest.json b/docs/manifest.json index 6707509..104206a 100644 --- a/docs/manifest.json +++ b/docs/manifest.json @@ -1 +1 @@ -{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v8.json", "dbt_version": "1.4.5", "generated_at": "2023-03-21T19:12:46.158896Z", "invocation_id": "68c909e6-a9b9-43ee-8490-30580dd9d005", "env": {}, "project_id": "faebc42304447d4427374f806679ecb5", "user_id": "e607f749-4294-4b15-833b-0ae4a87d4d24", "send_anonymous_usage_stats": true, "adapter_type": "bigquery"}, "nodes": {"seed.my_new_project.adgroup_report_hourly": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "adgroup_report_hourly", "resource_type": "seed", "package_name": "my_new_project", "path": "adgroup_report_hourly.csv", "original_file_path": "seeds/adgroup_report_hourly.csv", "unique_id": "seed.my_new_project.adgroup_report_hourly", "fqn": ["my_new_project", "adgroup_report_hourly"], "alias": "adgroup_report_hourly", "checksum": {"name": "sha256", "checksum": "115ceb73e027a9ec64266c689bfd3d3f5c9ecb31fc59d349c128026ef0ebde6c"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.685348, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`adgroup_report_hourly`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "seed.my_new_project.adgroup_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "adgroup_history", "resource_type": "seed", "package_name": "my_new_project", "path": "adgroup_history.csv", "original_file_path": "seeds/adgroup_history.csv", "unique_id": "seed.my_new_project.adgroup_history", "fqn": ["my_new_project", "adgroup_history"], "alias": "adgroup_history", "checksum": {"name": "sha256", "checksum": "eb8c0708d9aa337c0314edd8232a825c37d15acac0cc8717facfaa452747e5dc"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.695735, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`adgroup_history`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "seed.my_new_project.campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "campaign_history", "resource_type": "seed", "package_name": "my_new_project", "path": "campaign_history.csv", "original_file_path": "seeds/campaign_history.csv", "unique_id": "seed.my_new_project.campaign_history", "fqn": ["my_new_project", "campaign_history"], "alias": "campaign_history", "checksum": {"name": "sha256", "checksum": "e41829f211b9a07f761121b42034f696822b01b5d7494a188eb90a826680cd48"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.697925, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`campaign_history`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "seed.my_new_project.advertiser": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "advertiser", "resource_type": "seed", "package_name": "my_new_project", "path": "advertiser.csv", "original_file_path": "seeds/advertiser.csv", "unique_id": "seed.my_new_project.advertiser", "fqn": ["my_new_project", "advertiser"], "alias": "advertiser", "checksum": {"name": "sha256", "checksum": "3272c4a8fcdabfb2b2b5244fe8ff5df3329769727883bbc4d510ca01379a7ba0"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.7003362, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`advertiser`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "seed.my_new_project.ad_report_hourly": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "ad_report_hourly", "resource_type": "seed", "package_name": "my_new_project", "path": "ad_report_hourly.csv", "original_file_path": "seeds/ad_report_hourly.csv", "unique_id": "seed.my_new_project.ad_report_hourly", "fqn": ["my_new_project", "ad_report_hourly"], "alias": "ad_report_hourly", "checksum": {"name": "sha256", "checksum": "39ed8b9dadd5bfec63a2439efdd1410e5f02c8f13d3048a1b6d8e1d546bd876d"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.702496, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`ad_report_hourly`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "seed.my_new_project.ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "ad_history", "resource_type": "seed", "package_name": "my_new_project", "path": "ad_history.csv", "original_file_path": "seeds/ad_history.csv", "unique_id": "seed.my_new_project.ad_history", "fqn": ["my_new_project", "ad_history"], "alias": "ad_history", "checksum": {"name": "sha256", "checksum": "e7decb78ac655fe1273ebe66de74179a344a7c42221f005099325e2f09fac937"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.704653, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`ad_history`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "seed.my_new_project.campaign_report_hourly": {"database": "dbt-package-testing", "schema": "zz_dbt_renee", "name": "campaign_report_hourly", "resource_type": "seed", "package_name": "my_new_project", "path": "campaign_report_hourly.csv", "original_file_path": "seeds/campaign_report_hourly.csv", "unique_id": "seed.my_new_project.campaign_report_hourly", "fqn": ["my_new_project", "campaign_report_hourly"], "alias": "campaign_report_hourly", "checksum": {"name": "sha256", "checksum": "24c3b6a29f99706b05478a2122a81f6e55acaa1a6d75a4e3de74bac8fbde1463"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": null, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425968.706805, "relation_name": "`dbt-package-testing`.`zz_dbt_renee`.`campaign_report_hourly`", "raw_code": "", "root_path": "/Users/renee.li/Documents/dbt/ad_reporting/develop", "depends_on": {"macros": []}}, "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__account_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__account_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__account_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__account_daily_report"], "alias": "stg_microsoft_ads__account_daily_report", "checksum": {"name": "sha256", "checksum": "13f0f5b9c0d3c8e1474867c8492a360d07f6cb1756022a352c821be8cda7af26"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.4661188, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__account_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__account_daily_report_tmp')),\n staging_columns=get_account_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n device_os,\n device_type,\n network,\n currency_code, \n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks, \n impressions,\n spend\n \n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__account_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report_tmp"], ["stg_microsoft_ads__account_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_account_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__account_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_distribution\n \n , \n cast(null as STRING) as \n \n bid_match_type\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n delivered_match_type\n \n , \n cast(null as STRING) as \n \n device_os\n \n , \n cast(null as STRING) as \n \n device_type\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n network\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as STRING) as \n \n top_vs_other\n \n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n device_os,\n device_type,\n network,\n currency_code, \n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks, \n impressions,\n spend\n \n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__search_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__search_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__search_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__search_daily_report"], "alias": "stg_microsoft_ads__search_daily_report", "checksum": {"name": "sha256", "checksum": "c776b1595930feed1c4dfa76f94f9c346ff92e0ccfe2c52275bfef45ddf71c7c"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.515149, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__search_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__search_daily_report_tmp')),\n staging_columns=get_search_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n search_query,\n device_os,\n device_type,\n network,\n language,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__search_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report_tmp"], ["stg_microsoft_ads__search_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_search_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__search_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n bid_match_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n delivered_match_type\n \n , \n cast(null as STRING) as \n \n device_os\n \n , \n cast(null as STRING) as \n \n device_type\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as INT64) as \n \n keyword_id\n \n , \n cast(null as STRING) as \n \n language\n \n , \n cast(null as STRING) as \n \n network\n \n , \n cast(null as STRING) as \n \n search_query\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as STRING) as \n \n top_vs_other\n \n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n search_query,\n device_os,\n device_type,\n network,\n language,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__keyword_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__keyword_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__keyword_daily_report"], "alias": "stg_microsoft_ads__keyword_daily_report", "checksum": {"name": "sha256", "checksum": "355959720c8f47de848c95bd42c6eefd81aeb89c02b20a3cc7e3e75098212212"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.508014, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__keyword_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__keyword_daily_report_tmp')),\n staging_columns=get_keyword_daily_report_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__keyword_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report_tmp"], ["stg_microsoft_ads__keyword_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_keyword_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__keyword_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_distribution\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n bid_match_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n delivered_match_type\n \n , \n cast(null as STRING) as \n \n device_os\n \n , \n cast(null as STRING) as \n \n device_type\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as INT64) as \n \n keyword_id\n \n , \n cast(null as STRING) as \n \n language\n \n , \n cast(null as STRING) as \n \n network\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as STRING) as \n \n top_vs_other\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__campaign_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__campaign_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__campaign_daily_report"], "alias": "stg_microsoft_ads__campaign_daily_report", "checksum": {"name": "sha256", "checksum": "13b5edfd52333941e6cbf976ac71d69c1f4986ea71948f644c0f6bbdc4ac7de8"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_association_status": {"name": "budget_association_status", "description": "The status of the campaign's budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.497324, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__campaign_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__campaign_daily_report_tmp')),\n staging_columns=get_campaign_daily_report_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n currency_code,\n device_os,\n device_type,\n network,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n budget_association_status,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report_tmp"], ["stg_microsoft_ads__campaign_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_campaign_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__campaign_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_distribution\n \n , \n cast(null as STRING) as \n \n bid_match_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n delivered_match_type\n \n , \n cast(null as STRING) as \n \n device_os\n \n , \n cast(null as STRING) as \n \n device_type\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n network\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as STRING) as \n \n top_vs_other\n \n , \n cast(null as STRING) as \n \n budget_association_status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n currency_code,\n device_os,\n device_type,\n network,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n budget_association_status,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__keyword_history.sql", "original_file_path": "models/stg_microsoft_ads__keyword_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__keyword_history"], "alias": "stg_microsoft_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "1ab4d19ab769d28e12c6671643ccd3abcdb71dfbabffa4dbbe0fc4b08bae4232"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft keywords.", "columns": {"keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_name": {"name": "keyword_name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this keyword; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/keywordstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.500863, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as keyword_id,\n name as keyword_name,\n modified_time as modified_at,\n ad_group_id,\n match_type,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__keyword_history_tmp"], ["stg_microsoft_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n modified_time\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n match_type\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as keyword_id,\n name as keyword_name,\n modified_time as modified_at,\n ad_group_id,\n match_type,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_group_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__ad_group_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_group_daily_report"], "alias": "stg_microsoft_ads__ad_group_daily_report", "checksum": {"name": "sha256", "checksum": "1469a2b46ec430dc3226a0ce28ad9e915104811f3b4aec44e6ef28aed7b2f48d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.4766579, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_group_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_group_daily_report_tmp')),\n staging_columns=get_ad_group_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report_tmp"], ["stg_microsoft_ads__ad_group_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_group_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_group_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_distribution\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n bid_match_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n delivered_match_type\n \n , \n cast(null as STRING) as \n \n device_os\n \n , \n cast(null as STRING) as \n \n device_type\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n language\n \n , \n cast(null as STRING) as \n \n network\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as STRING) as \n \n top_vs_other\n \n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_group_history.sql", "original_file_path": "models/stg_microsoft_ads__ad_group_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_group_history"], "alias": "stg_microsoft_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "4de2e41bc989a2384df40fae5c9ab580b60bbc880b0d26c7ca84ab3937f3a7cf"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft ad groups.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The date in which an ad group starts running.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The date in which this ad group will no longer run.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad group; see the following [documentation](https://help.ads.microsoft.com/apex/index/3/en/53094) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.469961, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_group_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_group_id,\n name as ad_group_name,\n campaign_id,\n modified_time as modified_at,\n start_date,\n end_date,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_history_tmp"], ["stg_microsoft_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n modified_time\n \n , \n cast(null as date) as \n \n start_date\n \n , \n cast(null as date) as \n \n end_date\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_group_id,\n name as ad_group_name,\n campaign_id,\n modified_time as modified_at,\n start_date,\n end_date,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_history.sql", "original_file_path": "models/stg_microsoft_ads__ad_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_history"], "alias": "stg_microsoft_ads__ad_history", "checksum": {"name": "sha256", "checksum": "8b09a143b8874327b96ac512de797191baa321edd39103216953d6badb73351d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft ads.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_url": {"name": "final_url", "description": "The full URL that the ad links to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.4805188, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n title_part_1 as ad_name,\n final_url,\n ad_group_id,\n modified_time as modified_at,\n status,\n type,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_history_tmp"], ["stg_microsoft_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n title_part_1\n \n , \n cast(null as STRING) as \n \n final_url\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as TIMESTAMP) as \n \n modified_time\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n title_part_1 as ad_name,\n final_url,\n ad_group_id,\n modified_time as modified_at,\n status,\n type,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__ad_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_daily_report"], "alias": "stg_microsoft_ads__ad_daily_report", "checksum": {"name": "sha256", "checksum": "5867c7ac2235bcdddd45c7c6f48b5340184f440ff88ffcd5f53f0e7e8a8f21c6"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.48733, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_daily_report_tmp')),\n staging_columns=get_ad_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__ad_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report_tmp"], ["stg_microsoft_ads__ad_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_distribution\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n bid_match_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n delivered_match_type\n \n , \n cast(null as STRING) as \n \n device_os\n \n , \n cast(null as STRING) as \n \n device_type\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n language\n \n , \n cast(null as STRING) as \n \n network\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as STRING) as \n \n top_vs_other\n \n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__account_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__account_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__account_history.sql", "original_file_path": "models/stg_microsoft_ads__account_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__account_history"], "alias": "stg_microsoft_ads__account_history", "checksum": {"name": "sha256", "checksum": "39eeb4c34161dd3e6ccee2310eb51adae09769ee8dca6b2e22d7d421048698e6"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft accounts.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.460733, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__account_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n name as account_name,\n last_modified_time as modified_at,\n time_zone,\n currency_code,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__account_history_tmp"], ["stg_microsoft_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n last_modified_time\n \n , \n cast(null as STRING) as \n \n time_zone\n \n , \n cast(null as STRING) as \n \n currency_code\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n name as account_name,\n last_modified_time as modified_at,\n time_zone,\n currency_code,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__campaign_history.sql", "original_file_path": "models/stg_microsoft_ads__campaign_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__campaign_history"], "alias": "stg_microsoft_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "c47ff718f4a476f21216ecc8fee70546821ffa8af1b6309a6a88bde23e6ce763"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft campaigns.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425973.4911602, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id,\n name as campaign_name,\n account_id,\n modified_time as modified_at,\n type,\n time_zone,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__campaign_history_tmp"], ["stg_microsoft_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as TIMESTAMP) as \n \n modified_time\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as STRING) as \n \n time_zone\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id,\n name as campaign_name,\n account_id,\n modified_time as modified_at,\n type,\n time_zone,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__search_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__search_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__search_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__search_daily_report_tmp"], "alias": "stg_microsoft_ads__search_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "9b8d4452caa10568d6716c0c6b39598a962e60ca1859c4902ad9f7ad2bd28626"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.0229828, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('search_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "search_query_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__search_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`search_query_performance_daily_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_group_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_group_history_tmp"], "alias": "stg_microsoft_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "0aebf1d34a59e00211f044b66e94c2d5141b3c0fc7b152dbdc769942a2da1c6e"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.030159, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_group_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`ad_group_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__campaign_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__campaign_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__campaign_daily_report_tmp"], "alias": "stg_microsoft_ads__campaign_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "673ffabe992b47d945786bc8f91ad5d586854df386a3bb40ddae76d7ad41da33"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.03712, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "campaign_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__campaign_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`campaign_performance_daily_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_history_tmp"], "alias": "stg_microsoft_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "f1af9df8b7a8c5f0eae62106592b9c8719d3f8ff9bd09f6d4f868a46b0acd0af"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.043898, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__account_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__account_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__account_history_tmp"], "alias": "stg_microsoft_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "f326243a07088f5fde31cda73d5ada38bc95edbb0acd6f20b1cc479d076eeeed"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.05059, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.account_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`account_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_daily_report_tmp"], "alias": "stg_microsoft_ads__ad_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "4cf26ae811cd73631d86eee119cf79e71fd008b630b39e2e4d9bec63df999506"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.057245, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`ad_performance_daily_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_group_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_group_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_group_daily_report_tmp"], "alias": "stg_microsoft_ads__ad_group_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "57f3f8acc0b43e57bba5c441bff246ada9d9ff8715098271628ac5122138dd0e"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.0645351, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_group_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_group_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`ad_group_performance_daily_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__keyword_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__keyword_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__keyword_daily_report_tmp"], "alias": "stg_microsoft_ads__keyword_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "ba23d7a4b13beac610573f8c6f8b5ba0ab4305b00e4453b7da4383c06062b9a7"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.071167, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "keyword_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__keyword_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`keyword_performance_daily_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__keyword_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__keyword_history_tmp"], "alias": "stg_microsoft_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "3d52da52eb899f748854c603db39c3fc0971a2140d4515e10c9f41623cc3bd3c"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.0777988, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.keyword_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`keyword_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__campaign_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__campaign_history_tmp"], "alias": "stg_microsoft_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "c4a882096d8a71aaee29080771645afbd99d3f680b5575cc798abbeb0925291d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.084636, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.campaign_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads_source", "name": "stg_microsoft_ads__account_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__account_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__account_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__account_daily_report_tmp"], "alias": "stg_microsoft_ads__account_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "f7861bfb9f1931e450f018bf995c5eb19f2f0a79efb7d426e69b28965d637aa5"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.092085, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "account_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.account_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__account_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`bingads`.`account_performance_daily_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_tiktok_ads", "name": "tiktok_ads__ad_group_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__ad_group_report.sql", "original_file_path": "models/tiktok_ads__ad_group_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__ad_group_report", "fqn": ["tiktok_ads", "tiktok_ads__ad_group_report"], "alias": "tiktok_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "cd6f0250ddc693a683fb43b67c723a0f30c205465b44856b369764e593d0188a"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the ad group level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.668628, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_group_report_hourly') }}\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n hourly.ad_group_id,\n ad_groups.ad_group_name,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_group_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ad_groups \n on hourly.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ad_groups.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(16) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"], ["stg_tiktok_ads__ad_group_history"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n hourly.ad_group_id,\n ad_groups.ad_group_name,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ad_groups \n on hourly.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ad_groups.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_tiktok_ads", "name": "tiktok_ads__url_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__url_report.sql", "original_file_path": "models/tiktok_ads__url_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__url_report", "fqn": ["tiktok_ads", "tiktok_ads__url_report"], "alias": "tiktok_ads__url_report", "checksum": {"name": "sha256", "checksum": "9d2e1b017a072d77ccdd7ce5d906429fdee130e6cefc34eb49358079223e2f32"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the URL level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.693284, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_report_hourly') }}\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n ads.utm_term,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n -- We are filtering for only ads where url fields are populated.\n where ads.landing_page_url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(26) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"], ["stg_tiktok_ads__ad_history"], ["stg_tiktok_ads__ad_group_history"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n ads.utm_term,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n\n \n -- We are filtering for only ads where url fields are populated.\n where ads.landing_page_url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_tiktok_ads", "name": "tiktok_ads__campaign_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__campaign_report.sql", "original_file_path": "models/tiktok_ads__campaign_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__campaign_report", "fqn": ["tiktok_ads", "tiktok_ads__campaign_report"], "alias": "tiktok_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "e326da741a25ba4b3cdbeca8fb8e249c30cd5ef582be47077c14f4259804286f"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the campaign level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.677244, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('campaign_report_hourly') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n advertiser.advertiser_id,\n advertiser.advertiser_name,\n hourly.campaign_id,\n campaigns.campaign_name,\n advertiser.currency,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__campaign_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join campaigns\n on hourly.campaign_id = campaigns.campaign_id\n left join advertiser\n on campaigns.advertiser_id = advertiser.advertiser_id\n {{ dbt_utils.group_by(6) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"], ["stg_tiktok_ads__campaign_history"], ["stg_tiktok_ads__advertiser"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n advertiser.advertiser_id,\n advertiser.advertiser_name,\n hourly.campaign_id,\n campaigns.campaign_name,\n advertiser.currency,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join campaigns\n on hourly.campaign_id = campaigns.campaign_id\n left join advertiser\n on campaigns.advertiser_id = advertiser.advertiser_id\n group by 1,2,3,4,5,6\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_tiktok_ads", "name": "tiktok_ads__ad_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__ad_report.sql", "original_file_path": "models/tiktok_ads__ad_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__ad_report", "fqn": ["tiktok_ads", "tiktok_ads__ad_report"], "alias": "tiktok_ads__ad_report", "checksum": {"name": "sha256", "checksum": "ceee3ce54092049c327198fdc079ec337fa26661db48a8f976bc996997f8cac6"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.656663, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_report_hourly') }}\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n),\n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n advertiser.currency,\n ad_groups.category,\n ad_groups.action_categories,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(18) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"], ["stg_tiktok_ads__ad_history"], ["stg_tiktok_ads__ad_group_history"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n),\n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n advertiser.currency,\n ad_groups.category,\n ad_groups.action_categories,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__advertiser_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_tiktok_ads", "name": "tiktok_ads__advertiser_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__advertiser_report.sql", "original_file_path": "models/tiktok_ads__advertiser_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__advertiser_report", "fqn": ["tiktok_ads", "tiktok_ads__advertiser_report"], "alias": "tiktok_ads__advertiser_report", "checksum": {"name": "sha256", "checksum": "b78cce2d035af7c7214232ba2acd99a6ade4908ee71ce08fed3322fa380c08b4"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.6440132, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_report_hourly') }}\n),\n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record\n), \n\njoined as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ads.advertiser_id,\n advertiser.advertiser_name,\n advertiser.currency,\n sum(hourly.clicks) as clicks,\n sum(hourly.impressions) as impressions,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s, \n sum(hourly.video_watched_6_s) as video_watched_6_s, \n sum(hourly.video_views_p_25) as video_views_p_25, \n sum(hourly.video_views_p_50) as video_views_p_50,\n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n {{ dbt_utils.group_by(4) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__ad_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__advertiser_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n),\n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n where is_most_recent_record\n), \n\njoined as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ads.advertiser_id,\n advertiser.advertiser_name,\n advertiser.currency,\n sum(hourly.clicks) as clicks,\n sum(hourly.impressions) as impressions,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s, \n sum(hourly.video_watched_6_s) as video_watched_6_s, \n sum(hourly.video_views_p_25) as video_views_p_25, \n sum(hourly.video_views_p_50) as video_views_p_50,\n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n group by 1,2,3,4\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads", "name": "twitter_ads__account_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__account_report.sql", "original_file_path": "models/twitter_ads__account_report.sql", "unique_id": "model.twitter_ads.twitter_ads__account_report", "fqn": ["twitter_ads", "twitter_ads__account_report"], "alias": "twitter_ads__account_report", "checksum": {"name": "sha256", "checksum": "16ac0265f5e3aa59cf06260bb446a6ef88d625c029d2e7298d44b9008c350fa9"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account level, within a placement in Twitter.\n", "columns": {"spend_micro": {"name": "spend_micro", "description": "The spend (in micros) for the account on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the account on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for th account on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the account on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the account on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_id": {"name": "business_id", "description": "The ID of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_name": {"name": "business_name", "description": "The name of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry_type": {"name": "industry_type", "description": "The industry of the accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The timezone the account is set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_switched_timestamp": {"name": "timezone_switched_timestamp", "description": "The timestamp the account's timezone was last changed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.77981, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith accounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\npromoted_tweet_report as (\n \n select *\n from {{ var('promoted_tweet_report') }}\n),\n\nrollup_report as (\n\n select \n date_day,\n account_id,\n placement,\n sum(clicks) as clicks, \n sum(impressions) as impressions,\n sum(spend) as spend,\n sum(spend_micro) as spend_micro,\n sum(url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from promoted_tweet_report\n group by 1,2,3\n\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n accounts.is_deleted,\n accounts.timezone,\n accounts.industry_type,\n accounts.approval_status,\n accounts.business_name,\n accounts.business_id,\n accounts.created_timestamp,\n accounts.updated_timestamp,\n accounts.timezone_switched_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from rollup_report as report\n left join accounts \n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=13) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__account_history"], ["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith accounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\npromoted_tweet_report as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n),\n\nrollup_report as (\n\n select \n date_day,\n account_id,\n placement,\n sum(clicks) as clicks, \n sum(impressions) as impressions,\n sum(spend) as spend,\n sum(spend_micro) as spend_micro,\n sum(url_clicks) as url_clicks\n\n \n\n\n\n\n\n from promoted_tweet_report\n group by 1,2,3\n\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n accounts.is_deleted,\n accounts.timezone,\n accounts.industry_type,\n accounts.approval_status,\n accounts.business_name,\n accounts.business_id,\n accounts.created_timestamp,\n accounts.updated_timestamp,\n accounts.timezone_switched_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from rollup_report as report\n left join accounts \n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads", "name": "twitter_ads__campaign_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__campaign_report.sql", "original_file_path": "models/twitter_ads__campaign_report.sql", "unique_id": "model.twitter_ads.twitter_ads__campaign_report", "fqn": ["twitter_ads", "twitter_ads__campaign_report"], "alias": "twitter_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "ac412006847147c6ef722fbf416456e8a94a3f0fee9eeed3b26a663e9820a3ab"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account and campaign level, within a placement in Twitter.\n", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on that date. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions on that date. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The amount of spend, in micros, on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The number of URL clicks on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The time the campaign will end", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_cap": {"name": "frequency_cap", "description": "The maximum number of times an ad could be delivered to a user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_servable": {"name": "is_servable", "description": "Whether the campaign is in a state to be actively served to users.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_standard_delivery": {"name": "is_standard_delivery", "description": "Whether standard delivery is enabled (vs accelerated delivery).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The time the campaign will start.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Reference to the funding instrument.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "The daily budget amount to be allocated to the campaign. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.760677, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('campaign_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.is_deleted,\n campaigns.entity_status as campaign_status,\n campaigns.currency,\n campaigns.is_servable,\n campaigns.is_standard_delivery,\n campaigns.frequency_cap,\n campaigns.start_timestamp,\n campaigns.end_timestamp,\n campaigns.created_timestamp,\n campaigns.updated_timestamp,\n campaigns.funding_instrument_id,\n campaigns.daily_budget_amount,\n campaigns.total_budget_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__campaign_report_passthrough_metrics', transform='sum') }}\n\n from report \n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=19) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.is_deleted,\n campaigns.entity_status as campaign_status,\n campaigns.currency,\n campaigns.is_servable,\n campaigns.is_standard_delivery,\n campaigns.frequency_cap,\n campaigns.start_timestamp,\n campaigns.end_timestamp,\n campaigns.created_timestamp,\n campaigns.updated_timestamp,\n campaigns.funding_instrument_id,\n campaigns.daily_budget_amount,\n campaigns.total_budget_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads", "name": "twitter_ads__url_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__url_report.sql", "original_file_path": "models/twitter_ads__url_report.sql", "unique_id": "model.twitter_ads.twitter_ads__url_report", "fqn": ["twitter_ads", "twitter_ads__url_report"], "alias": "twitter_ads__url_report", "checksum": {"name": "sha256", "checksum": "06fc0ec0eca546e85c1f848988ec0e3b8c4c30504aa9d920c690fc58ed4ae5cb"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, line item (ad group), promoted tweet, and url level, within a placement in Twitter.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item (ad group).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the promoted tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_name": {"name": "tweet_name", "description": "The name, if provided, of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_full_text": {"name": "tweet_full_text", "description": "The full text of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The URL as it will be displayed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expanded_url": {"name": "expanded_url", "description": "The fully expanded URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet + URL on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet + URL on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend, in micros, for the tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The URL clicks for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.806135, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('promoted_tweet_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from {{ var('promoted_tweet_history') }}\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from {{ var('tweet') }}\n),\n\ntweet_url as (\n\n select *\n from {{ var('tweet_url') }}\n where index = 0\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text as tweet_full_text,\n tweet_url.base_url,\n tweet_url.url_host,\n tweet_url.url_path,\n tweet_url.utm_source,\n tweet_url.utm_medium,\n tweet_url.utm_campaign,\n tweet_url.utm_content,\n tweet_url.utm_term,\n tweet_url.expanded_url,\n tweet_url.display_url,\n campaigns.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweet_url \n on promoted_tweets.tweet_id = tweet_url.tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n \n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where tweet_url.expanded_url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(n=23) }}\n\n \n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__promoted_tweet_history"], ["stg_twitter_ads__tweet"], ["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__tweet", "model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet`\n),\n\ntweet_url as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url`\n where index = 0\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text as tweet_full_text,\n tweet_url.base_url,\n tweet_url.url_host,\n tweet_url.url_path,\n tweet_url.utm_source,\n tweet_url.utm_medium,\n tweet_url.utm_campaign,\n tweet_url.utm_content,\n tweet_url.utm_term,\n tweet_url.expanded_url,\n tweet_url.display_url,\n campaigns.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweet_url \n on promoted_tweets.tweet_id = tweet_url.tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n \n \n where tweet_url.expanded_url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23\n\n \n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__promoted_tweet_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads", "name": "twitter_ads__promoted_tweet_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__promoted_tweet_report.sql", "original_file_path": "models/twitter_ads__promoted_tweet_report.sql", "unique_id": "model.twitter_ads.twitter_ads__promoted_tweet_report", "fqn": ["twitter_ads", "twitter_ads__promoted_tweet_report"], "alias": "twitter_ads__promoted_tweet_report", "checksum": {"name": "sha256", "checksum": "bfe92b3b7b4256289f1f52608543c3e81151c3e345dc27623c7e7658386058d6"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, line item (ad group), and promoted tweet level, within a placement in Twitter.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item (ad group).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the promoted tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_name": {"name": "tweet_name", "description": "The name, if provided, of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "full_text": {"name": "full_text", "description": "The full text of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet + URL on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet + URL on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend, in micros, for the tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The URL clicks for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_status": {"name": "promoted_tweet_status", "description": "The status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the tweet's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_status": {"name": "line_item_status", "description": "The status of the tweet's line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Two-letter language code of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.795437, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('promoted_tweet_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from {{ var('promoted_tweet_history') }}\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from {{ var('tweet') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text,\n promoted_tweets.is_deleted,\n promoted_tweets.entity_status as promoted_tweet_status,\n campaigns.entity_status as campaign_status,\n line_items.entity_status as line_item_status,\n tweets.language,\n campaigns.currency,\n promoted_tweets.approval_status,\n promoted_tweets.created_timestamp,\n promoted_tweets.updated_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=21) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__promoted_tweet_history"], ["stg_twitter_ads__tweet"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__tweet"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__promoted_tweet_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet`\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text,\n promoted_tweets.is_deleted,\n promoted_tweets.entity_status as promoted_tweet_status,\n campaigns.entity_status as campaign_status,\n line_items.entity_status as line_item_status,\n tweets.language,\n campaigns.currency,\n promoted_tweets.approval_status,\n promoted_tweets.created_timestamp,\n promoted_tweets.updated_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__line_item_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads", "name": "twitter_ads__line_item_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__line_item_report.sql", "original_file_path": "models/twitter_ads__line_item_report.sql", "unique_id": "model.twitter_ads.twitter_ads__line_item_report", "fqn": ["twitter_ads", "twitter_ads__line_item_report"], "alias": "twitter_ads__line_item_report", "checksum": {"name": "sha256", "checksum": "db0229d29cf1dbd5701d716465c399fe7be337436c2887f82fc25918d98ca90b"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, and line item (ad group) level, within a placement in Twitter.\n", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the line item's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the line item's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on that date. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions on that date. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The name of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The amount of spend, in micros, on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The number of URL clicks on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_domain": {"name": "advertiser_domain", "description": "The website domain for this advertiser, without the protocol specification.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_user_id": {"name": "advertiser_user_id", "description": "The Twitter user identifier for the handle promoting the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "The bidding mechanism.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_unit": {"name": "bid_unit", "description": "The bid unit for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "charge_by": {"name": "charge_by", "description": "The unit to charge this line item by.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_source": {"name": "creative_source", "description": "The source of the creatives for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency in which metrics will be reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The timestamp at which the line item will stop being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_status": {"name": "line_item_status", "description": "The status of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the line item's related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The campaign objective for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization": {"name": "optimization", "description": "The optimization setting to use with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "primary_web_event_tag": {"name": "primary_web_event_tag", "description": "The identifier of the primary web event tag. Allows more accurate tracking of engagements for the campaign pertaining to this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "product_type": {"name": "product_type", "description": "The type of promoted product that this line item will contain.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The timestamp at which the line item will start being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to be associated with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa": {"name": "target_cpa", "description": "The target cost per acquisition for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.773074, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('line_item_report') }}\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n line_items.is_deleted,\n line_items.entity_status as line_item_status,\n campaigns.entity_status as campaign_status,\n line_items.currency,\n line_items.advertiser_domain,\n line_items.advertiser_user_id,\n line_items.bid_type,\n line_items.bid_unit,\n line_items.charge_by,\n line_items.objective,\n line_items.optimization,\n line_items.product_type,\n line_items.primary_web_event_tag,\n line_items.creative_source,\n line_items.start_timestamp,\n line_items.end_timestamp,\n line_items.created_timestamp,\n line_items.updated_timestamp,\n line_items.target_cpa,\n line_items.total_budget_amount,\n line_items.bid_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__line_item_report_passthrough_metrics', transform='sum')}}\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=29) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__line_item_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report`\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n line_items.is_deleted,\n line_items.entity_status as line_item_status,\n campaigns.entity_status as campaign_status,\n line_items.currency,\n line_items.advertiser_domain,\n line_items.advertiser_user_id,\n line_items.bid_type,\n line_items.bid_unit,\n line_items.charge_by,\n line_items.objective,\n line_items.optimization,\n line_items.product_type,\n line_items.primary_web_event_tag,\n line_items.creative_source,\n line_items.start_timestamp,\n line_items.end_timestamp,\n line_items.created_timestamp,\n line_items.updated_timestamp,\n line_items.target_cpa,\n line_items.total_budget_amount,\n line_items.bid_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads", "name": "twitter_ads__keyword_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__keyword_report.sql", "original_file_path": "models/twitter_ads__keyword_report.sql", "unique_id": "model.twitter_ads.twitter_ads__keyword_report", "fqn": ["twitter_ads", "twitter_ads__keyword_report"], "alias": "twitter_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "0ddfaeac37414648fe3241b0c879c7162ed91f6345ef8687c23c903a19149705"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, line item (ad group), and keyword level, within a placement in Twitter.\n", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the line item + keyword on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the line item + keyword on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item + keyword on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "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.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item (ad group).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item + keyword on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword": {"name": "keyword", "description": "The keyword whose performance is being tracked.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique key of the table built from the combination of 'account_id', 'line_item_id', 'segment', and 'placement' fields.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Name of the associated account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.7861419, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__twitter_ads_enabled','twitter_ads__using_keywords'])) }}\n\nwith report as (\n\n select *\n from {{ var('line_item_keywords_report') }}\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n report.keyword_id,\n report.keyword,\n line_items.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__line_item_keywords_report_passthrough_metrics', transform='sum')}}\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=11) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report`\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n report.keyword_id,\n report.keyword,\n line_items.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads", "name": "reddit_ads__campaign_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__campaign_report.sql", "original_file_path": "models/reddit_ads__campaign_report.sql", "unique_id": "model.reddit_ads.reddit_ads__campaign_report", "fqn": ["reddit_ads", "reddit_ads__campaign_report"], "alias": "reddit_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "4ba6618f25acf0f70b0d33bbc6b438136761157c587f628db45109589889f80c"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per campaign, along with account information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.8988411, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('campaign_daily_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n),\n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n date_day,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__campaign_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(5)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__campaign_report"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n date_day,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads", "name": "reddit_ads__url_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__url_report.sql", "original_file_path": "models/reddit_ads__url_report.sql", "unique_id": "model.reddit_ads.reddit_ads__url_report", "fqn": ["reddit_ads", "reddit_ads__url_report"], "alias": "reddit_ads__url_report", "checksum": {"name": "sha256", "checksum": "864699cc2e0e57928ce86b6d6d08bce180a1bf87e52484614827f191dcd1734b"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per url and utm parameters, along with post,ad, account, campaign, and ad group information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_url": {"name": "post_url", "description": "The URL belonging to the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_url": {"name": "click_url", "description": "The destination url, or the website address, that a visitor goes to when they click on the ad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The site that sent traffic to your page. Microsoft Advertising sets this to Bing; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "Which channel was used. Microsoft Advertising sets this to cp; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "Which campaign the keyword came from; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "Which ad group the keyword came from; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "Which keyword brought people to your website; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.907087, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_daily_report') }}\n),\n\nads as (\n\n select *\n from {{ var('ad') }}\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n report.date_day,\n ads.ad_name,\n report.ad_id,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n ads.post_url,\n ads.click_url,\n {{ dbt.split_part('ads.click_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('ads.click_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('ads.click_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_term') }} as utm_term,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_content') }} as utm_content,\n coalesce( {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_campaign') }}, campaigns.campaign_name) as utm_campaign,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__ad_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(19) }}\n), \n\nfiltered as (\n\n select *\n from joined\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where click_url is not null -- filter for only ads with valid URLs\n {% endif %}\n)\n\nselect *\nfrom filtered", "language": "sql", "refs": [["stg_reddit_ads__ad_report"], ["stg_reddit_ads__ad"], ["stg_reddit_ads__ad_group"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report`\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad`\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n report.date_day,\n ads.ad_name,\n report.ad_id,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n ads.post_url,\n ads.click_url,\n \n\n \n split(\n ads.click_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n coalesce( nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,''), campaigns.campaign_name) as utm_campaign,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n), \n\nfiltered as (\n\n select *\n from joined\n\n \n where click_url is not null -- filter for only ads with valid URLs\n \n)\n\nselect *\nfrom filtered", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads", "name": "reddit_ads__account_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__account_report.sql", "original_file_path": "models/reddit_ads__account_report.sql", "unique_id": "model.reddit_ads.reddit_ads__account_report", "fqn": ["reddit_ads", "reddit_ads__account_report"], "alias": "reddit_ads__account_report", "checksum": {"name": "sha256", "checksum": "d6d9c826127b05037262bf50e1cb401a82890c7e67240a6d360232f64608a8ae"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend of ads by account, account timezone, attribution type, and currency.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attribution_type": {"name": "attribution_type", "description": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone_id": {"name": "time_zone_id", "description": "The time zone id preference for this account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.8865988, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('account_daily_report') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account') }}\n)\n\n, joined as (\n\n select\n report.date_day,\n report.account_id,\n accounts.currency,\n accounts.attribution_type,\n accounts.status,\n accounts.time_zone_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__account_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(6)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__account_report"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_report`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\n)\n\n, joined as (\n\n select\n report.date_day,\n report.account_id,\n accounts.currency,\n accounts.attribution_type,\n accounts.status,\n accounts.time_zone_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads", "name": "reddit_ads__ad_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__ad_report.sql", "original_file_path": "models/reddit_ads__ad_report.sql", "unique_id": "model.reddit_ads.reddit_ads__ad_report", "fqn": ["reddit_ads", "reddit_ads__ad_report"], "alias": "reddit_ads__ad_report", "checksum": {"name": "sha256", "checksum": "0c272b68d0923e014d9a34ea824efe46d2a79f7d0c6d9c922305411a3180c1e7"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per ad, along with account, campaign, ad group, and post information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.8954072, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_daily_report') }}\n),\n\nads as (\n\n select *\n from {{ var('ad') }}\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n),\n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n report.date_day,\n report.ad_id,\n ads.ad_name,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__ad_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(10) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__ad_report"], ["stg_reddit_ads__ad"], ["stg_reddit_ads__ad_group"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report`\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad`\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n report.date_day,\n report.ad_id,\n ads.ad_name,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads", "name": "reddit_ads__ad_group_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__ad_group_report.sql", "original_file_path": "models/reddit_ads__ad_group_report.sql", "unique_id": "model.reddit_ads.reddit_ads__ad_group_report", "fqn": ["reddit_ads", "reddit_ads__ad_group_report"], "alias": "reddit_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "f37deed104f54050975d4e7b44d3982f5221f4b62ceba54d26f9897ebd6f2593"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per ad group, along with campaign and account information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679425973.890578, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_daily_report') }}\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n),\n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n report.date_day,\n report.account_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n campaigns.campaign_name,\n ad_groups.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__ad_group_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(7)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report"], ["stg_reddit_ads__ad_group"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_report`\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n report.date_day,\n report.account_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n campaigns.campaign_name,\n ad_groups.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest", "name": "pinterest_ads__url_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__url_report.sql", "original_file_path": "models/pinterest_ads__url_report.sql", "unique_id": "model.pinterest.pinterest_ads__url_report", "fqn": ["pinterest", "pinterest_ads__url_report"], "alias": "pinterest_ads__url_report", "checksum": {"name": "sha256", "checksum": "1ee4b8fc3fdecf9aa27336f1939c1d5f78ee9ca877f4b85e5054f077ed9f12c2"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the advertiser, campaign, ad group, and url level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_name": {"name": "pin_name", "description": "Pin promotion name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_status": {"name": "pin_status", "description": "The status of the Pin promotion. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679425973.976161, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('pin_promotion_report') }}\n), \n\npins as (\n\n select *\n from {{ var('pin_promotion_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.destination_url,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.base_url,\n pins.url_host,\n pins.url_path,\n pins.utm_source,\n pins.utm_medium,\n pins.utm_campaign,\n pins.utm_content,\n pins.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__pin_promotion_report_passthrough_metrics', transform = 'sum') }}\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where pins.destination_url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(22) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"], ["stg_pinterest_ads__pin_promotion_history"], ["stg_pinterest_ads__ad_group_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\n), \n\npins as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.destination_url,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.base_url,\n pins.url_host,\n pins.url_path,\n pins.utm_source,\n pins.utm_medium,\n pins.utm_campaign,\n pins.utm_content,\n pins.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n \n where pins.destination_url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest", "name": "pinterest_ads__campaign_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__campaign_report.sql", "original_file_path": "models/pinterest_ads__campaign_report.sql", "unique_id": "model.pinterest.pinterest_ads__campaign_report", "fqn": ["pinterest", "pinterest_ads__campaign_report"], "alias": "pinterest_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "80ef7572b29ea31a7e5866ad9a6e6bf99fc0055ef64e527a9173fa440acbdcbd"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the advertiser and campaign level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679425973.98525, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('campaign_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nadvertisers as (\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.campaign_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__campaign_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(6) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nadvertisers as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n),\n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.campaign_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest", "name": "pinterest_ads__keyword_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__keyword_report.sql", "original_file_path": "models/pinterest_ads__keyword_report.sql", "unique_id": "model.pinterest.pinterest_ads__keyword_report", "fqn": ["pinterest", "pinterest_ads__keyword_report"], "alias": "pinterest_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "0c8aed643c742107bb4abb54739f3859a8fbe68ea6082f8e7b5b814d3f36dc51"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of a keyword at the advertiser, campaign, ad group, and keyword level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of match the keyword is tied to. Either Exact or Broad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "parent_type": {"name": "parent_type", "description": "Identifier of what grain the parent type is. Ad group or campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_value": {"name": "keyword_value", "description": "The text value that makes upd the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679425973.994477, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('keyword_report') }}\n), \n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nkeywords as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n report.keyword_id,\n keywords.match_type,\n keywords.parent_type,\n keywords.keyword_value,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__keyword_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join keywords\n on report.keyword_id = keywords.keyword_id\n left join ad_groups\n on keywords.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"], ["stg_pinterest_ads__advertiser_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__ad_group_history"], ["stg_pinterest_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__keyword_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report`\n), \n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nkeywords as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n report.keyword_id,\n keywords.match_type,\n keywords.parent_type,\n keywords.keyword_value,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join keywords\n on report.keyword_id = keywords.keyword_id\n left join ad_groups\n on keywords.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__advertiser_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest", "name": "pinterest_ads__advertiser_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__advertiser_report.sql", "original_file_path": "models/pinterest_ads__advertiser_report.sql", "unique_id": "model.pinterest.pinterest_ads__advertiser_report", "fqn": ["pinterest", "pinterest_ads__advertiser_report"], "alias": "pinterest_ads__advertiser_report", "checksum": {"name": "sha256", "checksum": "c1636464f5742460c31c1f5e1c83fa0f21d4985eb7faae46b3fab94444f5c7d1"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of an advertiser on the Pinterest Ads platform.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_status": {"name": "advertiser_status", "description": "Status of the advertiser account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code which the advertiser is set up using.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The country code where the advertiser is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_type": {"name": "billing_type", "description": "The billing type of the advertiser. Will typically be CREDIT_CARD or INVOICE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679425973.9892101, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('advertiser_report') }}\n), \n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n report.advertiser_id,\n advertisers.advertiser_status,\n advertisers.currency_code,\n advertisers.country,\n advertisers.billing_type,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__advertiser_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join advertisers\n on report.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(7) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__advertiser_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report`\n), \n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n report.advertiser_id,\n advertisers.advertiser_status,\n advertisers.currency_code,\n advertisers.country,\n advertisers.billing_type,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join advertisers\n on report.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6,7\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__pin_promotion_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest", "name": "pinterest_ads__pin_promotion_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__pin_promotion_report.sql", "original_file_path": "models/pinterest_ads__pin_promotion_report.sql", "unique_id": "model.pinterest.pinterest_ads__pin_promotion_report", "fqn": ["pinterest", "pinterest_ads__pin_promotion_report"], "alias": "pinterest_ads__pin_promotion_report", "checksum": {"name": "sha256", "checksum": "2784c143da7bdc10c3f26c175533bf2a6b688624492925b0d95ebdded2a6c873"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the advertiser, campaign, ad group, and pin level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_name": {"name": "pin_name", "description": "Name of the pin.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_status": {"name": "pin_status", "description": "Status of the pin.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679425974.0010319, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('pin_promotion_report') }}\n), \n\npins as (\n\n select *\n from {{ var('pin_promotion_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.destination_url,\n pins.base_url,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__pin_promotion_report_passthrough_metrics', transform = 'sum') }}\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n {{ dbt_utils.group_by(15) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"], ["stg_pinterest_ads__pin_promotion_history"], ["stg_pinterest_ads__ad_group_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__pin_promotion_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\n), \n\npins as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.destination_url,\n pins.base_url,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest", "name": "pinterest_ads__ad_group_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__ad_group_report.sql", "original_file_path": "models/pinterest_ads__ad_group_report.sql", "unique_id": "model.pinterest.pinterest_ads__ad_group_report", "fqn": ["pinterest", "pinterest_ads__ad_group_report"], "alias": "pinterest_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "d1304e8b32bec7251d7873aae88ed9f0bdbd754eda4fb64133ad79c8124906f6"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign, advertiser, and ad group level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Ad group creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679425973.981727, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_report') }}\n), \n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.created_at,\n ad_groups.start_time,\n ad_groups.end_time,\n ad_groups.ad_group_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__ad_group_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"], ["stg_pinterest_ads__advertiser_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report`\n), \n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.created_at,\n ad_groups.start_time,\n ad_groups.end_time,\n ad_groups.ad_group_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_group", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad_group.sql", "original_file_path": "models/stg_reddit_ads__ad_group.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad_group"], "alias": "stg_reddit_ads__ad_group", "checksum": {"name": "sha256", "checksum": "d40222148d3ca57cca6979f19a2ba903f8e0742fc83699039e9c7f26feb9c1fe"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents information about each ad group.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "The bid strategy for this entity. \"MAXIMIZE_VOLUME\", \"MANUAL_BIDDING\", or \"BIDLESS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_value": {"name": "bid_value", "description": "The amount to pay in microcurrency per bidding event.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time_at": {"name": "end_time_at", "description": "When the entity will stop delivering.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expand_targeting": {"name": "expand_targeting", "description": "Boolean that when selected, allows Reddit to expand your targeting to maximize your results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_type": {"name": "goal_type", "description": "The type of goal for the entity. \"IMPRESSIONS\", \"PERCENTAGE\", \"CLICKS\", \"CONVERSIONS\", \"LIFETIME_SPEND\", \"DAILY_SPEND\", or \"VIDEO_VIEWABLE_IMPRESSIONS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_value": {"name": "goal_value", "description": "The value used to determine the goal has been met. This is measured in microcurrency for monetary goals types.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_strategy_type": {"name": "optimization_strategy_type", "description": "The strategy to use when optimizing the delivery of an ad. \"DOWNSTREAM_CONVERSIONS\" or \"APP_INSTALLS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time_at": {"name": "start_time_at", "description": "When the entity will begin to deliver.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.142592, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_group_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_group_tmp')),\n staging_columns=get_ad_group_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n bid_strategy,\n bid_value,\n campaign_id,\n configured_status,\n effective_status,\n cast(end_time as {{ dbt.type_timestamp() }}) as end_time_at,\n expand_targeting,\n goal_type,\n goal_value,\n id as ad_group_id,\n is_processing,\n name as ad_group_name,\n optimization_strategy_type,\n cast(start_time as {{ dbt.type_timestamp() }}) as start_time_at\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_group_tmp"], ["stg_reddit_ads__ad_group_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_group_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad_group.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n bid_strategy\n \n , \n cast(null as INT64) as \n \n bid_value\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n configured_status\n \n , \n cast(null as STRING) as \n \n effective_status\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as boolean) as \n \n expand_targeting\n \n , \n cast(null as STRING) as \n \n goal_type\n \n , \n cast(null as INT64) as \n \n goal_value\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as boolean) as \n \n is_processing\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n optimization_strategy_type\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n bid_strategy,\n bid_value,\n campaign_id,\n configured_status,\n effective_status,\n cast(end_time as TIMESTAMP) as end_time_at,\n expand_targeting,\n goal_type,\n goal_value,\n id as ad_group_id,\n is_processing,\n name as ad_group_name,\n optimization_strategy_type,\n cast(start_time as TIMESTAMP) as start_time_at\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad.sql", "original_file_path": "models/stg_reddit_ads__ad.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad"], "alias": "stg_reddit_ads__ad", "checksum": {"name": "sha256", "checksum": "5caecd1e54c2c74dc284e635671e296ae5453eb903db934613213ae993997cf2"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents information about each ad.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_url": {"name": "click_url", "description": "The destination url, or the website address, that a visitor goes to when they click on the ad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_url": {"name": "post_url", "description": "The URL belonging to the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "rejection_reason": {"name": "rejection_reason", "description": "Reason why entity was rejected.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.134102, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_tmp')),\n staging_columns=get_ad_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_group_id,\n campaign_id,\n click_url,\n configured_status,\n effective_status,\n id as ad_id,\n is_processing,\n name as ad_name,\n post_id,\n post_url,\n rejection_reason\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_tmp"], ["stg_reddit_ads__ad_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n click_url\n \n , \n cast(null as STRING) as \n \n configured_status\n \n , \n cast(null as STRING) as \n \n effective_status\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as boolean) as \n \n is_processing\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n post_id\n \n , \n cast(null as STRING) as \n \n post_url\n \n , \n cast(null as STRING) as \n \n rejection_reason\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_group_id,\n campaign_id,\n click_url,\n configured_status,\n effective_status,\n id as ad_id,\n is_processing,\n name as ad_name,\n post_id,\n post_url,\n rejection_reason\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__campaign_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__campaign_report.sql", "original_file_path": "models/stg_reddit_ads__campaign_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__campaign_report"], "alias": "stg_reddit_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "5991e879f403a9124ff106ab631a50a9fe75c0f17e9a70fa282510647ff84418"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and campaign.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.1515331, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n campaign_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__campaign_report_tmp"], ["stg_reddit_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n region\n \n , \n cast(null as INT64) as \n \n spend\n \n , \n cast(null as date) as date_day \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n campaign_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__account", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__account.sql", "original_file_path": "models/stg_reddit_ads__account.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account", "fqn": ["reddit_ads_source", "stg_reddit_ads__account"], "alias": "stg_reddit_ads__account", "checksum": {"name": "sha256", "checksum": "188de870d0d6e4ed9b3969ce93b165b7902fd34fb53bd6ea5f80fe447ac1ab28"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents information about an account.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attribution_type": {"name": "attribution_type", "description": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_attribution_window": {"name": "click_attribution_window", "description": "Determines how long after clicking on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone_id": {"name": "time_zone_id", "description": "The time zone id preference for this account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_attribution_window": {"name": "view_attribution_window", "description": "Determines how long after viewing on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.127035, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__account_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__account_tmp')),\n staging_columns=get_account_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n attribution_type,\n click_attribution_window,\n cast(created_at as {{ dbt.type_timestamp() }}) as created_at,\n currency,\n id as account_id,\n status,\n time_zone_id,\n view_attribution_window\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__account_tmp"], ["stg_reddit_ads__account_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_account_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_tmp", "model.reddit_ads_source.stg_reddit_ads__account_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__account.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n attribution_type\n \n , \n cast(null as STRING) as \n \n click_attribution_window\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n time_zone_id\n \n , \n cast(null as STRING) as \n \n view_attribution_window\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n attribution_type,\n click_attribution_window,\n cast(created_at as TIMESTAMP) as created_at,\n currency,\n id as account_id,\n status,\n time_zone_id,\n view_attribution_window\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__account_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__account_report.sql", "original_file_path": "models/stg_reddit_ads__account_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__account_report"], "alias": "stg_reddit_ads__account_report", "checksum": {"name": "sha256", "checksum": "59c8532082272c5703b5fd50aa2222e315799710df33b89a837f9fa6d96f10e0"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and account.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.1296792, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__account_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__account_report_tmp')),\n staging_columns=get_account_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__account_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__account_report_tmp"], ["stg_reddit_ads__account_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_account_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report_tmp", "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n region\n \n , \n cast(null as INT64) as \n \n spend\n \n , \n cast(null as date) as date_day \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad_report.sql", "original_file_path": "models/stg_reddit_ads__ad_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad_report"], "alias": "stg_reddit_ads__ad_report", "checksum": {"name": "sha256", "checksum": "74e3b9cb13233b8fccfd8481929f156c179d78ed6764e280651c959fe3533620"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and ad.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.137065, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_report_tmp')),\n staging_columns=get_ad_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__ad_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_report_tmp"], ["stg_reddit_ads__ad_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n region\n \n , \n cast(null as INT64) as \n \n spend\n \n , \n cast(null as date) as date_day \n\n\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__campaign", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__campaign.sql", "original_file_path": "models/stg_reddit_ads__campaign.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign", "fqn": ["reddit_ads_source", "stg_reddit_ads__campaign"], "alias": "stg_reddit_ads__campaign", "checksum": {"name": "sha256", "checksum": "66b471962e2a59a217a9416aaf1b384cc5bb35a8b1415a22acd3845ea1099204"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents information about each campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Campaign level funding instrument id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The objective type of a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.148696, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__campaign_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__campaign_tmp')),\n staging_columns=get_campaign_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n configured_status,\n effective_status,\n funding_instrument_id,\n id as campaign_id,\n is_processing,\n name as campaign_name,\n objective\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__campaign_tmp"], ["stg_reddit_ads__campaign_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_campaign_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__campaign.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n configured_status\n \n , \n cast(null as STRING) as \n \n effective_status\n \n , \n cast(null as STRING) as \n \n funding_instrument_id\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as boolean) as \n \n is_processing\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n objective\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n configured_status,\n effective_status,\n funding_instrument_id,\n id as campaign_id,\n is_processing,\n name as campaign_name,\n objective\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_group_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad_group_report.sql", "original_file_path": "models/stg_reddit_ads__ad_group_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad_group_report"], "alias": "stg_reddit_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "9363e88ead8c691d2ee0ea510faebafacab7f3b0de9f64c7d4dbe47c416c8892"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and ad group.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.1454358, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_group_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_group_report_tmp')),\n staging_columns=get_ad_group_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n ad_group_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report_tmp"], ["stg_reddit_ads__ad_group_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_group_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n region\n \n , \n cast(null as INT64) as \n \n spend\n \n , \n cast(null as date) as date_day \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n ad_group_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__campaign_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__campaign_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__campaign_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__campaign_tmp"], "alias": "stg_reddit_ads__campaign_tmp", "checksum": {"name": "sha256", "checksum": "0797be3f32b6adff9e9fbfcc337e2ea0fa96e8cc4baabc5f6e9b27262edee104"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.6667352, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "campaign"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.campaign"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__campaign_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`campaign`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_group_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_group_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_group_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_group_report_tmp"], "alias": "stg_reddit_ads__ad_group_report_tmp", "checksum": {"name": "sha256", "checksum": "77f2b18ceaeb886a91db6f8daac187879d58d24c5a8110b8b2861e1ad40ee760"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.67341, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_group_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad_group_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_group_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`ad_group_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__campaign_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__campaign_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__campaign_report_tmp"], "alias": "stg_reddit_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "f5151ddbf3e6df66937d9cc64dbb1c476e82267dacec1a3938970f1ea2b94d54"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.6806579, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.campaign_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`campaign_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__account_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__account_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__account_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__account_report_tmp"], "alias": "stg_reddit_ads__account_report_tmp", "checksum": {"name": "sha256", "checksum": "f96a62a995587628f9aba4a5d4bc135833159befcbadc8c27f263599da8f9d2c"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.687325, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "account_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.account_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__account_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`account_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__account_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__account_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__account_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__account_tmp"], "alias": "stg_reddit_ads__account_tmp", "checksum": {"name": "sha256", "checksum": "e0d473a0a0e0547b39d78f16b21b8f29259cefa6585603a4951f2802e832c315"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.6939719, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "account"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.account"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__account_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`account`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_group_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_group_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_group_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_group_tmp"], "alias": "stg_reddit_ads__ad_group_tmp", "checksum": {"name": "sha256", "checksum": "7958db08db00edbec36447313920cc678c4b7b46f920dc414416590f40c307be"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.7006269, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_group') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad_group"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad_group"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_group_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`ad_group`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_report_tmp"], "alias": "stg_reddit_ads__ad_report_tmp", "checksum": {"name": "sha256", "checksum": "35ce3e1cdf726c5397007d18a628931beb6afd08ae50605e277e715ee477c238"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.708881, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`ad_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_reddit_ads_source", "name": "stg_reddit_ads__ad_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_tmp"], "alias": "stg_reddit_ads__ad_tmp", "checksum": {"name": "sha256", "checksum": "83a7646528de6e96567b5072213a39dc1df0c06a002ee43479a08ee6fd62cdf2"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425969.715733, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`reddit_ads`.`ad`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads", "name": "google_ads__keyword_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__keyword_report.sql", "original_file_path": "models/google_ads__keyword_report.sql", "unique_id": "model.google_ads.google_ads__keyword_report", "fqn": ["google_ads", "google_ads__keyword_report"], "alias": "google_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "8afc77ec6f8a7e4348762f06892b32e48f7066973ff0344fa4e23ceae20cd77f"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad group level for keywords.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "criterion_id": {"name": "criterion_id", "description": "The unique identifier of the criterion being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of keyword ad being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the keyword ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The match type criteria used for the keyword ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The specific keyword text that is used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.23179, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('keyword_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncriterions as (\n\n select *\n from {{ var('ad_group_criterion_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n stats.account_id,\n campaigns.campaign_name,\n stats.campaign_id,\n ad_groups.ad_group_name,\n stats.ad_group_id,\n criterions.criterion_id,\n criterions.type,\n criterions.status,\n criterions.keyword_match_type,\n criterions.keyword_text,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__keyword_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join criterions\n on stats.criterion_id = criterions.criterion_id\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on stats.account_id = accounts.account_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__keyword_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"], ["stg_google_ads__ad_group_criterion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncriterions as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_criterion_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n stats.account_id,\n campaigns.campaign_name,\n stats.campaign_id,\n ad_groups.ad_group_name,\n stats.ad_group_id,\n criterions.criterion_id,\n criterions.type,\n criterions.status,\n criterions.keyword_match_type,\n criterions.keyword_text,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join criterions\n on stats.criterion_id = criterions.criterion_id\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on stats.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads", "name": "google_ads__campaign_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__campaign_report.sql", "original_file_path": "models/google_ads__campaign_report.sql", "unique_id": "model.google_ads.google_ads__campaign_report", "fqn": ["google_ads", "google_ads__campaign_report"], "alias": "google_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "b0bd1cd3691181888cba6ff2c8247dade9fad09a62b433ccb75f3b8854a7275c"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of a campaign at the campaign/advertising_channel/advertising_channel_subtype level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_type": {"name": "advertising_channel_type", "description": "The channel type of the ads being served within the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_subtype": {"name": "advertising_channel_subtype", "description": "The channel subtype of the ads being served within the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.226269, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('campaign_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n campaigns.advertising_channel_type,\n campaigns.advertising_channel_subtype,\n campaigns.status,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__campaign_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n {{ dbt_utils.group_by(8) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__campaign_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n campaigns.advertising_channel_type,\n campaigns.advertising_channel_subtype,\n campaigns.status,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads", "name": "google_ads__url_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__url_report.sql", "original_file_path": "models/google_ads__url_report.sql", "unique_id": "model.google_ads.google_ads__url_report", "fqn": ["google_ads", "google_ads__url_report"], "alias": "google_ads__url_report", "checksum": {"name": "sha256", "checksum": "c0cd7ac20f5d6e744a3ab249e75f5a0facce6a833c9fe6bbb9efce90e78bd328"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of URLs at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The unique identifier of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.208255, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('ad_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ads.ad_id,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n\n {% if var('google_auto_tagging_enabled', false) %}\n\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_source') }} , 'google') as utm_source,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_medium') }} , 'cpc') as utm_medium,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_campaign') }} , campaigns.campaign_name) as utm_campaign,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_content') }} , ad_groups.ad_group_name) as utm_content,\n\n {% else %}\n\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n \n {% endif %}\n\n ads.utm_term,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__ad_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where ads.source_final_urls is not null\n {% endif %}\n\n {{ dbt_utils.group_by(16) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__ad_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"], ["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ads.ad_id,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n\n \n\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n \n \n\n ads.utm_term,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n\n \n where ads.source_final_urls is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads", "name": "google_ads__ad_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__ad_report.sql", "original_file_path": "models/google_ads__ad_report.sql", "unique_id": "model.google_ads.google_ads__ad_report", "fqn": ["google_ads", "google_ads__ad_report"], "alias": "google_ads__ad_report", "checksum": {"name": "sha256", "checksum": "d37cc295aa04e6ad61dfac2a9a77267009ac200771988ed13937fe62f847301b"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The unique identifier of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The url which is displayed with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "source_final_urls": {"name": "source_final_urls", "description": "The final urls that are used within the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "The status of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_type": {"name": "ad_type", "description": "The type of the ad that is being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.2220118, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('ad_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n stats.ad_id,\n ads.ad_name,\n ads.ad_status,\n ads.ad_type,\n ads.display_url,\n ads.source_final_urls,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__ad_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n {{ dbt_utils.group_by(13) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__ad_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"], ["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n stats.ad_id,\n ads.ad_name,\n ads.ad_status,\n ads.ad_type,\n ads.display_url,\n ads.source_final_urls,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads", "name": "google_ads__ad_group_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__ad_group_report.sql", "original_file_path": "models/google_ads__ad_group_report.sql", "unique_id": "model.google_ads.google_ads__ad_group_report", "fqn": ["google_ads", "google_ads__ad_group_report"], "alias": "google_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "7f608fbc1b314740591eb4acc64fb45bc8303cefd50c850a31caecc33a8fad23"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad group level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "The status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_type": {"name": "ad_group_type", "description": "The type of ad group which is serving ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.216457, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('ad_group_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_status,\n ad_groups.ad_group_type,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__ad_group_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n {{ dbt_utils.group_by(9) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_status,\n ad_groups.ad_group_type,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads", "name": "google_ads__account_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__account_report.sql", "original_file_path": "models/google_ads__account_report.sql", "unique_id": "model.google_ads.google_ads__account_report", "fqn": ["google_ads", "google_ads__account_report"], "alias": "google_ads__account_report", "checksum": {"name": "sha256", "checksum": "e16fa20ded7cc2a36a0a1eabe5ad1b0bdb16503068002078b640704ec7cc8bef"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the account level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone which the account is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency which the account uses.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "auto_tagging_enabled": {"name": "auto_tagging_enabled", "description": "Boolean indicating if the account uses auto tagging within ad urls.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.21187, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('account_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n accounts.currency_code,\n accounts.auto_tagging_enabled,\n accounts.time_zone,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__account_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join accounts\n on stats.account_id = accounts.account_id\n {{ dbt_utils.group_by(6) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__account_stats"], ["stg_google_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats", "model.google_ads_source.stg_google_ads__account_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n accounts.currency_code,\n accounts.auto_tagging_enabled,\n accounts.time_zone,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join accounts\n on stats.account_id = accounts.account_id\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__campaign_level_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__campaign_level_report.sql", "original_file_path": "models/stg_amazon_ads__campaign_level_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__campaign_level_report"], "alias": "stg_amazon_ads__campaign_level_report", "checksum": {"name": "sha256", "checksum": "5ce672eafd208b1e9b7aa8bf32b50629a584366ac793d1d8efc1b4c22b754a93"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Campaign reports contain performance data broken down at the campaign level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_applicable_budget_rule_id": {"name": "campaign_applicable_budget_rule_id", "description": "The ID associated to the active budget rule for a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_applicable_budget_rule_name": {"name": "campaign_applicable_budget_rule_name", "description": "The name associated to the active budget rule for a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_rule_based_budget_amount": {"name": "campaign_rule_based_budget_amount", "description": "The value of the rule-based budget for a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.303186, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__campaign_level_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__campaign_level_report_tmp')),\n staging_columns=get_campaign_level_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n campaign_applicable_budget_rule_id,\n campaign_applicable_budget_rule_name,\n campaign_bidding_strategy,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n campaign_rule_based_budget_amount,\n clicks,\n cost,\n date as date_day,\n impressions\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report_tmp"], ["stg_amazon_ads__campaign_level_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_campaign_level_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__campaign_level_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n campaign_applicable_budget_rule_id\n \n , \n cast(null as STRING) as \n \n campaign_applicable_budget_rule_name\n \n , \n cast(null as STRING) as \n \n campaign_bidding_strategy\n \n , \n cast(null as FLOAT64) as \n \n campaign_budget_amount\n \n , \n cast(null as STRING) as \n \n campaign_budget_currency_code\n \n , \n cast(null as STRING) as \n \n campaign_budget_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as FLOAT64) as \n \n campaign_rule_based_budget_amount\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as FLOAT64) as \n \n cost\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n campaign_applicable_budget_rule_id,\n campaign_applicable_budget_rule_name,\n campaign_bidding_strategy,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n campaign_rule_based_budget_amount,\n clicks,\n cost,\n date as date_day,\n impressions\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__ad_group_level_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__ad_group_level_report.sql", "original_file_path": "models/stg_amazon_ads__ad_group_level_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__ad_group_level_report"], "alias": "stg_amazon_ads__ad_group_level_report", "checksum": {"name": "sha256", "checksum": "35b1ce707ad6d7b38edddcd87412acfe91e8c4d5f6977c76f2a99b2ea60ebfa3"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by Amazon ad group.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.2877061, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__ad_group_level_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__ad_group_level_report_tmp')),\n staging_columns=get_ad_group_level_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n campaign_bidding_strategy,\n clicks,\n cost,\n date as date_day,\n impressions\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report_tmp"], ["stg_amazon_ads__ad_group_level_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_ad_group_level_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__ad_group_level_report.sql", "compiled": true, "compiled_code": "\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n campaign_bidding_strategy\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as FLOAT64) as \n \n cost\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n campaign_bidding_strategy,\n clicks,\n cost,\n date as date_day,\n impressions\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__advertised_product_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__advertised_product_report.sql", "original_file_path": "models/stg_amazon_ads__advertised_product_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__advertised_product_report"], "alias": "stg_amazon_ads__advertised_product_report", "checksum": {"name": "sha256", "checksum": "2baf384e65bf9a5c433907885435b20bc372447c8c569dbad8d3eb6b817658da"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Advertised product reports contain performance data for products that are advertised as part of your campaigns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_asin": {"name": "advertised_asin", "description": "The ASIN associated to an advertised product.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_sku": {"name": "advertised_sku", "description": "The SKU being advertised.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.292216, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__advertised_product_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__advertised_product_report_tmp')),\n staging_columns=get_advertised_product_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_id,\n advertised_asin,\n advertised_sku,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__advertised_product_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report_tmp"], ["stg_amazon_ads__advertised_product_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_advertised_product_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__advertised_product_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__advertised_product_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n advertised_asin\n \n , \n cast(null as STRING) as \n \n advertised_sku\n \n , \n cast(null as FLOAT64) as \n \n campaign_budget_amount\n \n , \n cast(null as STRING) as \n \n campaign_budget_currency_code\n \n , \n cast(null as STRING) as \n \n campaign_budget_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as FLOAT64) as \n \n cost\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_id,\n advertised_asin,\n advertised_sku,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__portfolio_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__portfolio_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__portfolio_history.sql", "original_file_path": "models/stg_amazon_ads__portfolio_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__portfolio_history"], "alias": "stg_amazon_ads__portfolio_history", "checksum": {"name": "sha256", "checksum": "dbb5664f227d1f730798be0a23d37be10111a421a76a6cf2e6bc18336fef266a"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a portfolio in Amazon Ads.", "columns": {"portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_amount": {"name": "budget_amount", "description": "The budget amount associated with the portfolio. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_currency_code": {"name": "budget_currency_code", "description": "The currency used for all monetary values for entities under this profile. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_end_date": {"name": "budget_end_date", "description": "The end date after which the budget is no longer applied. Optional if policy is set to dateRange or monthlyRecurring.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_start_date": {"name": "budget_start_date", "description": "The starting date in YYYYMMDD format to which the budget is applied. Required if policy is set to dateRange. Not specified if policy is set to monthlyRecurring. Note that the starting date for monthlyRecurring is the date when the policy is set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_policy": {"name": "budget_policy", "description": "The budget policy. Set to dateRange to specify a budget for a specific period of time. Set to monthlyRecurring to specify a budget that is automatically renewed at the beginning of each month. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "in_budget": {"name": "in_budget", "description": "Indicates the current budget status of the portfolio. Set to true if the portfolio is in budget, set to false if the portfolio is out of budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.313581, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__amazon_ads_enabled','amazon_ads__portfolio_history_enabled'])) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__portfolio_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__portfolio_history_tmp')),\n staging_columns=get_portfolio_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n budget_amount,\n budget_currency_code,\n budget_end_date,\n budget_policy,\n budget_start_date,\n creation_date,\n id as portfolio_id,\n in_budget,\n last_updated_date,\n name as portfolio_name,\n profile_id,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history_tmp"], ["stg_amazon_ads__portfolio_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.amazon_ads_source.get_portfolio_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp", "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__portfolio_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as FLOAT64) as \n \n budget_amount\n \n , \n cast(null as STRING) as \n \n budget_currency_code\n \n , \n cast(null as date) as \n \n budget_end_date\n \n , \n cast(null as STRING) as \n \n budget_policy\n \n , \n cast(null as date) as \n \n budget_start_date\n \n , \n cast(null as TIMESTAMP) as \n \n creation_date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as boolean) as \n \n in_budget\n \n , \n cast(null as TIMESTAMP) as \n \n last_updated_date\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n profile_id\n \n , \n cast(null as STRING) as \n \n serving_status\n \n , \n cast(null as STRING) as \n \n state\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n budget_amount,\n budget_currency_code,\n budget_end_date,\n budget_policy,\n budget_start_date,\n creation_date,\n id as portfolio_id,\n in_budget,\n last_updated_date,\n name as portfolio_name,\n profile_id,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__campaign_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__campaign_history.sql", "original_file_path": "models/stg_amazon_ads__campaign_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__campaign_history"], "alias": "stg_amazon_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "17353e4bb7480533cb8c24a7a24e992c737998607f7515ac648cc92053653257"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a campaign in Amazon Ads.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bidding_strategy": {"name": "bidding_strategy", "description": "The bidding strategy associated with a campaign (legacyForSales, autoForSales, or manual.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "The ad type related to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "The daily budget for the campaign as set by the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"name": "placement", "description": "The placement location where bid controls are used (placementTop or placementProductPage.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "premium_bid_adjustment": {"name": "premium_bid_adjustment", "description": "A boolean representing whether premium bid adjustment is turned on for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting_type": {"name": "targeting_type", "description": "The type of targeting used for the campaign, either manual or auto.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.298537, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n bidding_strategy,\n campaign_type,\n creation_date,\n daily_budget,\n end_date,\n id as campaign_id,\n last_updated_date,\n name as campaign_name,\n placement,\n portfolio_id,\n premium_bid_adjustment,\n profile_id,\n serving_status,\n start_date,\n state,\n targeting_type,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__campaign_history_tmp"], ["stg_amazon_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n bidding_strategy\n \n , \n cast(null as STRING) as \n \n campaign_type\n \n , \n cast(null as TIMESTAMP) as \n \n creation_date\n \n , \n cast(null as INT64) as \n \n daily_budget\n \n , \n cast(null as date) as \n \n end_date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_updated_date\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n placement\n \n , \n cast(null as INT64) as \n \n portfolio_id\n \n , \n cast(null as boolean) as \n \n premium_bid_adjustment\n \n , \n cast(null as INT64) as \n \n profile_id\n \n , \n cast(null as STRING) as \n \n serving_status\n \n , \n cast(null as date) as \n \n start_date\n \n , \n cast(null as STRING) as \n \n state\n \n , \n cast(null as STRING) as \n \n targeting_type\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n bidding_strategy,\n campaign_type,\n creation_date,\n daily_budget,\n end_date,\n id as campaign_id,\n last_updated_date,\n name as campaign_name,\n placement,\n portfolio_id,\n premium_bid_adjustment,\n profile_id,\n serving_status,\n start_date,\n state,\n targeting_type,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__product_ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__product_ad_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__product_ad_history.sql", "original_file_path": "models/stg_amazon_ads__product_ad_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__product_ad_history"], "alias": "stg_amazon_ads__product_ad_history", "checksum": {"name": "sha256", "checksum": "c37feb8ade64671464ffca13e9b884b218d0e8a20cd67464d17ff98922da87fd"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a product in Amazon Ads.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asin": {"name": "asin", "description": "The ASIN associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "sku": {"name": "sku", "description": "The product SKU associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.317433, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__product_ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__product_ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__product_ad_history_tmp')),\n staging_columns=get_product_ad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n asin,\n campaign_id,\n creation_date,\n id as ad_id,\n last_updated_date,\n serving_status,\n sku,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__product_ad_history_tmp"], ["stg_amazon_ads__product_ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_product_ad_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp", "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__product_ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__product_ad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n asin\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n creation_date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_updated_date\n \n , \n cast(null as STRING) as \n \n serving_status\n \n , \n cast(null as STRING) as \n \n sku\n \n , \n cast(null as STRING) as \n \n state\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n asin,\n campaign_id,\n creation_date,\n id as ad_id,\n last_updated_date,\n serving_status,\n sku,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__targeting_keyword_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__targeting_keyword_report.sql", "original_file_path": "models/stg_amazon_ads__targeting_keyword_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__targeting_keyword_report"], "alias": "stg_amazon_ads__targeting_keyword_report", "checksum": {"name": "sha256", "checksum": "0b676271538c47839aaa7a6acae657599564b83c3017faed34dabf71db3f1a7a"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Targeting reports contain performance metrics broken down by both targeting expressions and keywords.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_keyword_status": {"name": "ad_keyword_status", "description": "Current status of a keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_bid": {"name": "keyword_bid", "description": "Bid associated with a keyword or targeting expression.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_type": {"name": "keyword_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting": {"name": "targeting", "description": "A string representation of the expression object used in the targeting clause.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.327845, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__targeting_keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__targeting_keyword_report_tmp')),\n staging_columns=get_targeting_keyword_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n keyword_type,\n match_type,\n targeting\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__targeting_keyword_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report_tmp"], ["stg_amazon_ads__targeting_keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_targeting_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__targeting_keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n ad_keyword_status\n \n , \n cast(null as FLOAT64) as \n \n campaign_budget_amount\n \n , \n cast(null as STRING) as \n \n campaign_budget_currency_code\n \n , \n cast(null as STRING) as \n \n campaign_budget_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as FLOAT64) as \n \n cost\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as FLOAT64) as \n \n keyword_bid\n \n , \n cast(null as INT64) as \n \n keyword_id\n \n , \n cast(null as STRING) as \n \n keyword_type\n \n , \n cast(null as STRING) as \n \n match_type\n \n , \n cast(null as STRING) as \n \n targeting\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n keyword_type,\n match_type,\n targeting\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__profile": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__profile", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__profile.sql", "original_file_path": "models/stg_amazon_ads__profile.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile", "fqn": ["amazon_ads_source", "stg_amazon_ads__profile"], "alias": "stg_amazon_ads__profile", "checksum": {"name": "sha256", "checksum": "77978f552619be228968f6c3fae4e2c6222783f8fa99885e4481a6d3e230f3ca"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a profile. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "columns": {"_fivetran_deleted": {"name": "_fivetran_deleted", "description": "Boolean created by Fivetran to indicate whether the record has been deleted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_marketplace_string_id": {"name": "account_marketplace_string_id", "description": "The identifier of the marketplace to which the account is associated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_sub_type": {"name": "account_sub_type", "description": "The account subtype.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_type": {"name": "account_type", "description": "One of seller, vendor, or agency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_valid_payment_method": {"name": "account_valid_payment_method", "description": "For Vendors, this returns if the Advertiser has set up a valid payment method.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency used for all monetary values for entities under this profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget for Sponsored Product campaigns for seller type accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The time zone used for all date-based campaign management and reporting.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.322004, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__profile_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__profile_tmp')),\n staging_columns=get_profile_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as profile_id,\n account_id,\n account_marketplace_string_id,\n account_name,\n account_sub_type,\n account_type,\n account_valid_payment_method,\n country_code,\n currency_code,\n daily_budget,\n timezone,\n _fivetran_deleted\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__profile_tmp"], ["stg_amazon_ads__profile_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_profile_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__profile_tmp", "model.amazon_ads_source.stg_amazon_ads__profile_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__profile.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n account_marketplace_string_id\n \n , \n cast(null as STRING) as \n \n account_name\n \n , \n cast(null as STRING) as \n \n account_sub_type\n \n , \n cast(null as STRING) as \n \n account_type\n \n , \n cast(null as BOOLEAN) as \n \n account_valid_payment_method\n \n , \n cast(null as STRING) as \n \n country_code\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as INT64) as \n \n daily_budget\n \n , \n cast(null as STRING) as \n \n timezone\n \n , \n cast(null as BOOLEAN) as \n \n _fivetran_deleted\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as profile_id,\n account_id,\n account_marketplace_string_id,\n account_name,\n account_sub_type,\n account_type,\n account_valid_payment_method,\n country_code,\n currency_code,\n daily_budget,\n timezone,\n _fivetran_deleted\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__keyword_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__keyword_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__keyword_history.sql", "original_file_path": "models/stg_amazon_ads__keyword_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__keyword_history"], "alias": "stg_amazon_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "bad9aeabb9eaba513e15d17f016799815ff7c0a4c2fe5b7970d29beaec9a02f5"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a keyword in Amazon Ads.", "columns": {"keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid associated with this keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "One of (broad, exact, or phrase.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "native_language_keyword": {"name": "native_language_keyword", "description": "The unlocalized keyword text in the preferred locale of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.307921, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n bid,\n campaign_id,\n creation_date,\n id as keyword_id,\n keyword_text,\n last_updated_date,\n match_type,\n native_language_keyword,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__keyword_history_tmp"], ["stg_amazon_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp", "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as FLOAT64) as \n \n bid\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n creation_date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n keyword_text\n \n , \n cast(null as TIMESTAMP) as \n \n last_updated_date\n \n , \n cast(null as STRING) as \n \n match_type\n \n , \n cast(null as STRING) as \n \n native_language_keyword\n \n , \n cast(null as STRING) as \n \n serving_status\n \n , \n cast(null as STRING) as \n \n state\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n bid,\n campaign_id,\n creation_date,\n id as keyword_id,\n keyword_text,\n last_updated_date,\n match_type,\n native_language_keyword,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__ad_group_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__ad_group_history.sql", "original_file_path": "models/stg_amazon_ads__ad_group_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__ad_group_history"], "alias": "stg_amazon_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "89a99f9f72fd70bfbc51eca3088513648b319c478477f4f974b65bc7cb24e880"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents an ad group in Amazon Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "default_bid": {"name": "default_bid", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.28497, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__ad_group_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n creation_date,\n default_bid,\n id as ad_group_id,\n last_updated_date,\n name as ad_group_name,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__ad_group_history_tmp"], ["stg_amazon_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n creation_date\n \n , \n cast(null as FLOAT64) as \n \n default_bid\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_updated_date\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n serving_status\n \n , \n cast(null as STRING) as \n \n state\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n creation_date,\n default_bid,\n id as ad_group_id,\n last_updated_date,\n name as ad_group_name,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__search_term_ad_keyword_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__search_term_ad_keyword_report.sql", "original_file_path": "models/stg_amazon_ads__search_term_ad_keyword_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__search_term_ad_keyword_report"], "alias": "stg_amazon_ads__search_term_ad_keyword_report", "checksum": {"name": "sha256", "checksum": "64c6289e258a9cad91edad9b189ca8f4c0259d49723aa0d4e9bfcaf6a3074281"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Search term reports contain search term performance metrics broken down by targeting expressions and keywords.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_keyword_status": {"name": "ad_keyword_status", "description": "Current status of a keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_bid": {"name": "keyword_bid", "description": "Bid associated with a keyword or targeting expression.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term": {"name": "search_term", "description": "The search term used by the customer.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting": {"name": "targeting", "description": "A string representation of the expression object used in the targeting clause.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425974.3327942, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__search_term_ad_keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__search_term_ad_keyword_report_tmp')),\n staging_columns=get_search_term_ad_keyword_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n search_term,\n targeting\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__search_term_ad_keyword_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report_tmp"], ["stg_amazon_ads__search_term_ad_keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_search_term_ad_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__search_term_ad_keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n ad_keyword_status\n \n , \n cast(null as FLOAT64) as \n \n campaign_budget_amount\n \n , \n cast(null as STRING) as \n \n campaign_budget_currency_code\n \n , \n cast(null as STRING) as \n \n campaign_budget_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as FLOAT64) as \n \n cost\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as FLOAT64) as \n \n keyword_bid\n \n , \n cast(null as INT64) as \n \n keyword_id\n \n , \n cast(null as STRING) as \n \n search_term\n \n , \n cast(null as STRING) as \n \n targeting\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n search_term,\n targeting\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__keyword_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__keyword_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__keyword_history_tmp"], "alias": "stg_amazon_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "7ba2cd1f2f0abf685c4d5ceb2b0e753cc1aad50f6a722db0152a8d4c477f612a"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.084856, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.keyword_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`keyword_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__profile_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__profile_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__profile_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__profile_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__profile_tmp"], "alias": "stg_amazon_ads__profile_tmp", "checksum": {"name": "sha256", "checksum": "b7c0823e89ac3513c15ea916f4fa4c1a05a9ef8b5e08446c3812797c733870a3"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.091582, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('profile') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "profile"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.profile"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__profile_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`profile`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__search_term_ad_keyword_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__search_term_ad_keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__search_term_ad_keyword_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__search_term_ad_keyword_report_tmp"], "alias": "stg_amazon_ads__search_term_ad_keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "73d9f3ed1f49d3695cfb2266e7ad8ef6dd60f794bd767ae0dc7458eb4705a350"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.098907, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('search_term_ad_keyword_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "search_term_ad_keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__search_term_ad_keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`search_term_ad_keyword_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__product_ad_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__product_ad_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__product_ad_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__product_ad_history_tmp"], "alias": "stg_amazon_ads__product_ad_history_tmp", "checksum": {"name": "sha256", "checksum": "58aa82e3cba0533f9ea4bd0b8213b88f7596934bebb0939159b34955e7cf7016"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.10559, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__product_ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('product_ad_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "product_ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__product_ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`product_ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__ad_group_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__ad_group_history_tmp"], "alias": "stg_amazon_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "0a0799551d10a2e0c0b5ea747e66aad1a55bf0091d318e902938f906ef53a5ef"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.1122391, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`ad_group_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__campaign_level_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__campaign_level_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__campaign_level_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__campaign_level_report_tmp"], "alias": "stg_amazon_ads__campaign_level_report_tmp", "checksum": {"name": "sha256", "checksum": "f767f297f6f15fce324971641eca1f2c7c2b0a0d13f2aed1ac3c80425a816e4f"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.118881, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_level_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "campaign_level_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.campaign_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__campaign_level_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`campaign_level_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__targeting_keyword_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__targeting_keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__targeting_keyword_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__targeting_keyword_report_tmp"], "alias": "stg_amazon_ads__targeting_keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "1411fae1c9263de0790201a68288f49218e686bd8888b5405923b4548fa40aef"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.126304, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('targeting_keyword_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "targeting_keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.targeting_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__targeting_keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`targeting_keyword_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__portfolio_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__portfolio_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__portfolio_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__portfolio_history_tmp"], "alias": "stg_amazon_ads__portfolio_history_tmp", "checksum": {"name": "sha256", "checksum": "652c00944c6643c4077189683c73cf52042ec68c3ffc50085d288c6d7c11fe48"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.1329658, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history_tmp`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__amazon_ads_enabled','amazon_ads__portfolio_history_enabled'])) }}\n\nselect * \nfrom {{ var('portfolio_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "portfolio_history"]], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars"], "nodes": ["source.amazon_ads_source.amazon_ads.portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__portfolio_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`portfolio_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__campaign_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__campaign_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__campaign_history_tmp"], "alias": "stg_amazon_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "e3099ab2e93224097e46899d6f07b3db453c1fcfc65e1b0f2be7e5264b044e99"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.140196, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.campaign_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__ad_group_level_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__ad_group_level_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__ad_group_level_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__ad_group_level_report_tmp"], "alias": "stg_amazon_ads__ad_group_level_report_tmp", "checksum": {"name": "sha256", "checksum": "3adb9bbf019585b634b92ac775cd16e72b395be0691cbb2325da59ced157db6f"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.146837, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_level_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "ad_group_level_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.ad_group_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__ad_group_level_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`ad_group_level_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads_source", "name": "stg_amazon_ads__advertised_product_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__advertised_product_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__advertised_product_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__advertised_product_report_tmp"], "alias": "stg_amazon_ads__advertised_product_report_tmp", "checksum": {"name": "sha256", "checksum": "4a026b403c68336b435e4ae3c2169dfd1174085ed660f27b2ad5d2e3fbf8b0a7"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679425970.154242, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__advertised_product_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('advertised_product_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "advertised_product_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.advertised_product_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__advertised_product_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`amazon_ads`.`advertised_product_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__creative_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__creative_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__creative_history.sql", "original_file_path": "models/stg_linkedin_ads__creative_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history", "fqn": ["linkedin_source", "stg_linkedin_ads__creative_history"], "alias": "stg_linkedin_ads__creative_history", "checksum": {"name": "sha256", "checksum": "d00cfaa4090be843e4157a73bf2e05ae970fe6fa654b234cd2d05b304c0c36e0"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of a creative.", "columns": {"creative_id": {"name": "creative_id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the creative was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign the creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text with Sponsored Link to landing page on your site.\nSPONSORED_STATUS_UPDATE - Sponsored status update from a profile page.\nSPONSORED_INMAILS - Single message ad delivered to the member's inbox\nSPONSORED_MESSAGE - Conversation ad containing a tree of pre-determined messages delivered to the member's inbox\nSPONSORED_VIDEO - Sponsored videos.\nSPONSORED_UPDATE_CAROUSEL - Sponsored Carousels\nFOLLOW_COMPANY_V2 - Dynamic Follow Ad\nSPOTLIGHT_V2 - Dynamic Spotlight Ad\nJOBS_V2 - Dynamic Job Ad\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Creative creation is complete and creative is available for review and serve.\nPAUSED - Creative creation is complete and creative is current, but should temporarily not be served. This status is not valid upon creation.\nDRAFT - Creative creation is incomplete and may still be edited.\nARCHIVED - Creative creation is complete, but creative should not be served and should be separated from non-archived creatives in any UI.\nCANCELED - Creative is permanently canceled.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action_label_type": {"name": "call_to_action_label_type", "description": "The labeled call-to-action on this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the cretive.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425974.5616992, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__creative_history_tmp') }}\n\n), macro as (\n\n select \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__creative_history_tmp')),\n staging_columns=get_creative_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select\n id as creative_id,\n campaign_id,\n type,\n cast(version_tag as numeric) as version_tag,\n status,\n click_uri,\n call_to_action_label_type,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n), url_fields as (\n\n select \n *,\n {{ dbt.split_part('click_uri', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('click_uri') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('click_uri') }} as url_path,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_term') }} as utm_term\n \n from fields\n)\n\nselect *\nfrom url_fields", "language": "sql", "refs": [["stg_linkedin_ads__creative_history_tmp"], ["stg_linkedin_ads__creative_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_creative_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history_tmp", "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history_tmp`\n\n), macro as (\n\n select \n \n cast(null as STRING) as \n \n call_to_action_label_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n click_uri\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_modified_time\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as STRING) as \n \n version_tag\n \n \n\n\n from base\n\n), fields as (\n\n select\n id as creative_id,\n campaign_id,\n type,\n cast(version_tag as numeric) as version_tag,\n status,\n click_uri,\n call_to_action_label_type,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n), url_fields as (\n\n select \n *,\n \n\n \n split(\n click_uri,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term\n \n from fields\n)\n\nselect *\nfrom url_fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__campaign_history.sql", "original_file_path": "models/stg_linkedin_ads__campaign_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history", "fqn": ["linkedin_source", "stg_linkedin_ads__campaign_history"], "alias": "stg_linkedin_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "12f98866db796269913da635f3597191300af87f91d3e018768b16c927e8f77f"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of a campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "The ID of the campaign group the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_audience_expansion_enabled": {"name": "is_audience_expansion_enabled", "description": "Boolean (default=false) representing whether Audience Expansion is enabled for the campaign provides query expansion for certain targeting criteria.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_type": {"name": "cost_type", "description": "CPM - Cost per thousand advertising impressions. If type=SPONSORED_INMAILS; cost per send(CPS) is measured as CPM x 1000.\nCPC- Cost per individual click on the associated link.\nCPV- Cost per view for video ads.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_selection": {"name": "creative_selection", "description": "ROUND_ROBIN - Rotate through available creatives to serve them as evenly as possible.\nOPTIMIZED (default) - Bias selection taking into account such as expected performance. Not available for Message and Conversation Ads (type=SPONSORED_INMAILS).\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "Maximum amount to spend per day UTC. The amount of money as a real number string.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_currency_code": {"name": "daily_budget_currency_code", "description": "ISO currency code. The currency must match that of the parent account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "format": {"name": "format", "description": "The ad format on the campaign level. See https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/campaign-formats?view=li-lms-2022-07", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_country": {"name": "locale_country", "description": "Locale of the campaign. An uppercase two-letter country code as defined by ISO-3166.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_language": {"name": "locale_language", "description": "Locale of the campaign. A lowercase two-letter language code as defined by ISO-639.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Campaign Objective type values. Click [here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ad-budget-pricing-type-combinations?view=li-lms-2022-07) for Campaign Objective descriptions. One of: - BRAND_AWARENESS - ENGAGEMENT - JOB_APPLICANTS - LEAD_GENERATION - WEBSITE_CONVERSIONS - WEBSITE_VISITS - VIDEO_VIEWS\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_offsite_delivery_enabled": {"name": "is_offsite_delivery_enabled", "description": "Boolean indicating if this campaign to allowed to be served on the LinkedIn Audience Network to extend the reach of your campaign by delivering ads beyond the LinkedIn feed to members on third-party apps and sites.\t(default will be \"True\" from June 30, 2022)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_target_type": {"name": "optimization_target_type", "description": "Determines how this campaign is optimized for spending. If this is not set, there is no optimization. Refer to the documentation here. Default = 'NONE'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the inclusive (greater than or equal to) value in which to start the range.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the exclusive (strictly less than) value in which to end the range, if provided.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text-based ads that show up in the right column or top of the page on LinkedIn.\nSPONSORED_UPDATES - Native ads that promote a company's content updates in the LinkedIn feed.\nSPONSORED_INMAILS - Personalized messages with a call-to-action button delivered to a LinkedIn's member inbox.\nDYNAMIC - Ads that are dynamically personalized.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_amount": {"name": "unit_cost_amount", "description": "This value is used as one of the following: amount to bid (for manual bidding), amount which is the target cost (for target cost bidding) per click, impression, or other event depending on the pricing model, or cost cap (for cost cap bidding). The amount of money as a real number string. The amount should be non-negative if the bidding strategy is manual, target cost, or cost cap bidding. The default is 0 with the currency code set to match that of the associated account.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_currency_code": {"name": "unit_cost_currency_code", "description": "Amount to bid per click, impression, or other event depending on the pricing model. The default is 0 with the currency code set to match that of the associated account. ISO currency code.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425974.574485, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__campaign_history_tmp') }}\n\n), macro as (\n\n select \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select \n id as campaign_id,\n name as campaign_name,\n cast(version_tag as numeric) as version_tag,\n campaign_group_id,\n account_id,\n status,\n type,\n cost_type,\n creative_selection,\n daily_budget_amount,\n daily_budget_currency_code,\n unit_cost_amount,\n unit_cost_currency_code,\n format,\n locale_country,\n locale_language,\n objective_type,\n optimization_target_type,\n audience_expansion_enabled as is_audience_expansion_enabled,\n offsite_delivery_enabled as is_offsite_delivery_enabled,\n cast(run_schedule_start as {{ dbt.type_timestamp() }}) as run_schedule_start_at,\n cast(run_schedule_end as {{ dbt.type_timestamp() }}) as run_schedule_end_at,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history_tmp"], ["stg_linkedin_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history_tmp`\n\n), macro as (\n\n select \n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as boolean) as \n \n audience_expansion_enabled\n \n , \n cast(null as INT64) as \n \n campaign_group_id\n \n , \n cast(null as STRING) as \n \n cost_type\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n creative_selection\n \n , \n cast(null as FLOAT64) as \n \n daily_budget_amount\n \n , \n cast(null as STRING) as \n \n daily_budget_currency_code\n \n , \n cast(null as STRING) as \n \n format\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_modified_time\n \n , \n cast(null as STRING) as \n \n locale_country\n \n , \n cast(null as STRING) as \n \n locale_language\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n objective_type\n \n , \n cast(null as boolean) as \n \n offsite_delivery_enabled\n \n , \n cast(null as STRING) as \n \n optimization_target_type\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_end\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_start\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as FLOAT64) as \n \n unit_cost_amount\n \n , \n cast(null as STRING) as \n \n unit_cost_currency_code\n \n , \n cast(null as STRING) as \n \n version_tag\n \n \n\n\n from base\n\n), fields as (\n\n select \n id as campaign_id,\n name as campaign_name,\n cast(version_tag as numeric) as version_tag,\n campaign_group_id,\n account_id,\n status,\n type,\n cost_type,\n creative_selection,\n daily_budget_amount,\n daily_budget_currency_code,\n unit_cost_amount,\n unit_cost_currency_code,\n format,\n locale_country,\n locale_language,\n objective_type,\n optimization_target_type,\n audience_expansion_enabled as is_audience_expansion_enabled,\n offsite_delivery_enabled as is_offsite_delivery_enabled,\n cast(run_schedule_start as TIMESTAMP) as run_schedule_start_at,\n cast(run_schedule_end as TIMESTAMP) as run_schedule_end_at,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_campaign", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__ad_analytics_by_campaign.sql", "original_file_path": "models/stg_linkedin_ads__ad_analytics_by_campaign.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "fqn": ["linkedin_source", "stg_linkedin_ads__ad_analytics_by_campaign"], "alias": "stg_linkedin_ads__ad_analytics_by_campaign", "checksum": {"name": "sha256", "checksum": "b0bf02e1776326897d77e8060a8f30689fa628b67e826fa86198aef533c31569"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign level.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425974.55161, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_linkedin_ads__ad_analytics_by_campaign_tmp') }}\n),\n\nmacro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__ad_analytics_by_campaign_tmp')),\n staging_columns=get_ad_analytics_by_campaign_columns()\n )\n }}\n from base\n),\n\nfields as (\n \n select \n {{ dbt.date_trunc('day', 'day') }} as date_day,\n campaign_id,\n clicks,\n impressions,\n {% if var('linkedin_ads__use_local_currency', false) %}\n cost_in_local_currency as cost\n {% else %}\n cost_in_usd as cost\n {% endif %}\n\n {{ fivetran_utils.fill_pass_through_columns('linkedin_ads__campaign_passthrough_metrics') }}\n\n from macro\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign_tmp"], ["stg_linkedin_ads__ad_analytics_by_campaign_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_ad_analytics_by_campaign_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__ad_analytics_by_campaign.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign_tmp`\n),\n\nmacro as (\n\n select\n \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as numeric) as \n \n cost_in_local_currency\n \n , \n cast(null as numeric) as \n \n cost_in_usd\n \n , \n cast(null as TIMESTAMP) as \n \n day\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfields as (\n \n select \n timestamp_trunc(\n cast(day as timestamp),\n day\n ) as date_day,\n campaign_id,\n clicks,\n impressions,\n \n cost_in_usd as cost\n \n\n \n\n\n\n\n\n from macro\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_group_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__campaign_group_history.sql", "original_file_path": "models/stg_linkedin_ads__campaign_group_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "fqn": ["linkedin_source", "stg_linkedin_ads__campaign_group_history"], "alias": "stg_linkedin_ads__campaign_group_history", "checksum": {"name": "sha256", "checksum": "9e4b57accd4f0a428f53d1b953c3c9dc25d6b5fbf4255f3a224f071f35474b66"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of a campaign group.", "columns": {"campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign group belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign group was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_backfilled": {"name": "is_backfilled", "description": "Flag that denotes whether the campaign group was created organically or to backfill existing campaigns. This is a read-only field set by the system. Default = false.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Represents the inclusive (greater than or equal to) date when to start running the associated campaigns under this campaign group. This field is required.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Represents the exclusive (strictly less than) date when to stop running the associated campaigns under this campaign group. If this field is unset, it indicates an open range with no end date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425974.579322, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__campaign_group_history_tmp') }}\n\n), macro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__campaign_group_history_tmp')),\n staging_columns=get_campaign_group_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select \n id as campaign_group_id,\n name as campaign_group_name,\n account_id,\n status,\n backfilled as is_backfilled,\n cast(run_schedule_start as {{ dbt.type_timestamp() }}) as run_schedule_start_at,\n cast(run_schedule_end as {{ dbt.type_timestamp() }}) as run_schedule_end_at,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history_tmp"], ["stg_linkedin_ads__campaign_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_campaign_group_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__campaign_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history_tmp`\n\n), macro as (\n\n select\n \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as boolean) as \n \n backfilled\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_modified_time\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_end\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_start\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n from base\n\n), fields as (\n\n select \n id as campaign_group_id,\n name as campaign_group_name,\n account_id,\n status,\n backfilled as is_backfilled,\n cast(run_schedule_start as TIMESTAMP) as run_schedule_start_at,\n cast(run_schedule_end as TIMESTAMP) as run_schedule_end_at,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__account_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__account_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__account_history.sql", "original_file_path": "models/stg_linkedin_ads__account_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history", "fqn": ["linkedin_source", "stg_linkedin_ads__account_history"], "alias": "stg_linkedin_ads__account_history", "checksum": {"name": "sha256", "checksum": "60047b6cc68c2bee2b8c25f07872167514305c30028cb0a589f55d82721f8593"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of an account.", "columns": {"account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Account is active; this is the default state\nCANCELLED - Account has been permanently cancelled\nDRAFT - Account is in draft status, meaning it's not yet fully set up and it is not serving\nPENDING_DELETION - Denotes that the account has been requested to be deleted that is currently pending\nREMOVED - Denotes that the account was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "BUSINESS - This is the only value allowed when creating accounts through the API.\nENTERPRISE - This value cannot be used to create accounts through the API and is reserved for accounts created by LinkedIn's internal ad operations systems.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425974.583905, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__account_history_tmp') }}\n\n), macro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select \n id as account_id,\n name as account_name,\n currency,\n cast(version_tag as numeric) as version_tag,\n status,\n type,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__account_history_tmp"], ["stg_linkedin_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history_tmp", "model.linkedin_source.stg_linkedin_ads__account_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history_tmp`\n\n), macro as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n last_modified_time\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as STRING) as \n \n version_tag\n \n \n\n\n from base\n\n), fields as (\n\n select \n id as account_id,\n name as account_name,\n currency,\n cast(version_tag as numeric) as version_tag,\n status,\n type,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_creative", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__ad_analytics_by_creative.sql", "original_file_path": "models/stg_linkedin_ads__ad_analytics_by_creative.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "fqn": ["linkedin_source", "stg_linkedin_ads__ad_analytics_by_creative"], "alias": "stg_linkedin_ads__ad_analytics_by_creative", "checksum": {"name": "sha256", "checksum": "b5f5b1df9cc38a98aa8438602b219af4468b1493711e5b3ee01fb8836c61d2de"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the creative level.", "columns": {"creative_id": {"name": "creative_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425974.547926, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__ad_analytics_by_creative_tmp') }}\n\n), macro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__ad_analytics_by_creative_tmp')),\n staging_columns=get_ad_analytics_by_creative_columns()\n )\n }}\n from base\n\n), fields as (\n\n select\n {{ dbt.date_trunc('day', 'day') }} as date_day,\n creative_id,\n clicks, \n impressions,\n {% if var('linkedin_ads__use_local_currency', false) %}\n cost_in_local_currency as cost\n {% else %}\n cost_in_usd as cost\n {% endif %}\n\n {{ fivetran_utils.fill_pass_through_columns('linkedin_ads__creative_passthrough_metrics') }}\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative_tmp"], ["stg_linkedin_ads__ad_analytics_by_creative_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_ad_analytics_by_creative_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__ad_analytics_by_creative.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative_tmp`\n\n), macro as (\n\n select\n \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as numeric) as \n \n cost_in_local_currency\n \n , \n cast(null as numeric) as \n \n cost_in_usd\n \n , \n cast(null as INT64) as \n \n creative_id\n \n , \n cast(null as TIMESTAMP) as \n \n day\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n\n), fields as (\n\n select\n timestamp_trunc(\n cast(day as timestamp),\n day\n ) as date_day,\n creative_id,\n clicks, \n impressions,\n \n cost_in_usd as cost\n \n\n \n\n\n\n\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_creative_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__ad_analytics_by_creative_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__ad_analytics_by_creative_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__ad_analytics_by_creative_tmp"], "alias": "stg_linkedin_ads__ad_analytics_by_creative_tmp", "checksum": {"name": "sha256", "checksum": "b1140ca3ef37dcf51382d1d423a866f8e99ab568e995419aaa0d6cc46ba9e2c2"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425970.290039, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_analytics_by_creative') }}", "language": "sql", "refs": [], "sources": [["linkedin", "ad_analytics_by_creative"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__ad_analytics_by_creative_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`linkedin_ads`.`ad_analytics_by_creative`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__campaign_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__campaign_history_tmp"], "alias": "stg_linkedin_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "cebe89ef38c2b2a3e4c78f3a30350598b00910af0597c348f07c9e2d29591441"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425970.297246, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`linkedin_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__account_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__account_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__account_history_tmp"], "alias": "stg_linkedin_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "d7ffa4b7ad250c8643b99abf7d1ee1099a1b01e847424247f469fb8b49bac5b9"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425970.303794, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`linkedin_ads`.`account_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_group_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__campaign_group_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__campaign_group_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__campaign_group_history_tmp"], "alias": "stg_linkedin_ads__campaign_group_history_tmp", "checksum": {"name": "sha256", "checksum": "704cfe15aec2c0f1de75b8c78a082b45ae6fa6a03198dc210d8eeacb8bd643b8"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425970.310372, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_group_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "campaign_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__campaign_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`linkedin_ads`.`campaign_group_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__creative_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__creative_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__creative_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__creative_history_tmp"], "alias": "stg_linkedin_ads__creative_history_tmp", "checksum": {"name": "sha256", "checksum": "0b886b1ffe53a073e6123a79cc2dd4b0576178d82e38be84fddc1f70e8b3d0fc"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425970.31691, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('creative_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "creative_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.creative_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__creative_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`linkedin_ads`.`creative_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_campaign_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__ad_analytics_by_campaign_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__ad_analytics_by_campaign_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__ad_analytics_by_campaign_tmp"], "alias": "stg_linkedin_ads__ad_analytics_by_campaign_tmp", "checksum": {"name": "sha256", "checksum": "03a126189ee0a2fe1d514ff02883403a1c9e8d8f9fe928262c338b61246cd7ef"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679425970.3241768, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_analytics_by_campaign') }}", "language": "sql", "refs": [], "sources": [["linkedin", "ad_analytics_by_campaign"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__ad_analytics_by_campaign_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`linkedin_ads`.`ad_analytics_by_campaign`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__portfolio_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__portfolio_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__portfolio_report.sql", "original_file_path": "models/amazon_ads__portfolio_report.sql", "unique_id": "model.amazon_ads.amazon_ads__portfolio_report", "fqn": ["amazon_ads", "amazon_ads__portfolio_report"], "alias": "amazon_ads__portfolio_report", "checksum": {"name": "sha256", "checksum": "cabdd1c6fd859f1ccd8a40429234ba4b38c71fb303fcb298ffd44e8e35367712"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the portfolio level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_amount": {"name": "budget_amount", "description": "The budget amount associated with the portfolio. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_currency_code": {"name": "budget_currency_code", "description": "The currency used for all monetary values for entities under this profile. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_end_date": {"name": "budget_end_date", "description": "The end date after which the budget is no longer applied. Optional if policy is set to dateRange or monthlyRecurring.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_start_date": {"name": "budget_start_date", "description": "The starting date in YYYYMMDD format to which the budget is applied. Required if policy is set to dateRange. Not specified if policy is set to monthlyRecurring. Note that the starting date for monthlyRecurring is the date when the policy is set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_policy": {"name": "budget_policy", "description": "The budget policy. Set to dateRange to specify a budget for a specific period of time. Set to monthlyRecurring to specify a budget that is automatically renewed at the beginning of each month. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "in_budget": {"name": "in_budget", "description": "Indicates the current budget status of the portfolio. Set to true if the portfolio is in budget, set to false if the portfolio is out of budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.711736, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__portfolio_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__amazon_ads_enabled','amazon_ads__portfolio_history_enabled'])) }}\n\nwith report as (\n select *\n --use campaign report since portfolio report not provided\n from {{ var('campaign_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ var('portfolio_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n portfolios.budget_amount,\n portfolios.budget_currency_code,\n portfolios.budget_start_date,\n portfolios.budget_end_date,\n portfolios.budget_policy,\n portfolios.in_budget,\n portfolios.serving_status,\n portfolios.state,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__campaign_passthrough_metrics', transform='sum') }}\n\n from portfolios\n\n left join campaigns\n on campaigns.portfolio_id = portfolios.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n left join report\n on report.campaign_id = campaigns.campaign_id\n\n {{ dbt_utils.group_by(15) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"], ["stg_amazon_ads__profile"], ["stg_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__portfolio_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n --use campaign report since portfolio report not provided\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n portfolios.budget_amount,\n portfolios.budget_currency_code,\n portfolios.budget_start_date,\n portfolios.budget_end_date,\n portfolios.budget_policy,\n portfolios.in_budget,\n portfolios.serving_status,\n portfolios.state,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n \n\n\n\n\n\n from portfolios\n\n left join campaigns\n on campaigns.portfolio_id = portfolios.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n left join report\n on report.campaign_id = campaigns.campaign_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__search_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__search_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__search_report.sql", "original_file_path": "models/amazon_ads__search_report.sql", "unique_id": "model.amazon_ads.amazon_ads__search_report", "fqn": ["amazon_ads", "amazon_ads__search_report"], "alias": "amazon_ads__search_report", "checksum": {"name": "sha256", "checksum": "d9ad83ecb9dd1081b6220d8ab0fdd3e192eeefe5bee5acb98af91c07e6bd04fd"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the search term level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term": {"name": "search_term", "description": "The search term used by the customer.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting": {"name": "targeting", "description": "A string representation of the expression object used in the targeting clause.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.727048, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__search_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('search_term_ad_keyword_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.match_type,\n keywords.serving_status,\n keywords.state,\n report.search_term,\n report.targeting,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__search_term_ad_keyword_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(18) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"], ["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__search_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.match_type,\n keywords.serving_status,\n keywords.state,\n report.search_term,\n report.targeting,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__ad_group_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__ad_group_report.sql", "original_file_path": "models/amazon_ads__ad_group_report.sql", "unique_id": "model.amazon_ads.amazon_ads__ad_group_report", "fqn": ["amazon_ads", "amazon_ads__ad_group_report"], "alias": "amazon_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "e30ef8e1875095bb2f60e56a16c993c5578e51e3819ccbae8d577380c5e9e55f"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad group level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "default_bid": {"name": "default_bid", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.691267, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('ad_group_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.serving_status,\n ad_groups.state,\n ad_groups.default_bid,\n report.campaign_bidding_strategy,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__ad_group_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = ad_groups.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(15) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.serving_status,\n ad_groups.state,\n ad_groups.default_bid,\n report.campaign_bidding_strategy,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = ad_groups.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__keyword_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__keyword_report.sql", "original_file_path": "models/amazon_ads__keyword_report.sql", "unique_id": "model.amazon_ads.amazon_ads__keyword_report", "fqn": ["amazon_ads", "amazon_ads__keyword_report"], "alias": "amazon_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "853d0f5a2efe33b0098beb4728854589e3e57387a1993c289277e0263624e32e"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the keyword level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_bid": {"name": "keyword_bid", "description": "Bid associated with a keyword or targeting expression.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_type": {"name": "keyword_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.719251, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('targeting_keyword_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.serving_status,\n keywords.state,\n report.keyword_bid,\n report.keyword_type,\n report.match_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__targeting_keyword_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(18) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"], ["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.serving_status,\n keywords.state,\n report.keyword_bid,\n report.keyword_type,\n report.match_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__campaign_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__campaign_report.sql", "original_file_path": "models/amazon_ads__campaign_report.sql", "unique_id": "model.amazon_ads.amazon_ads__campaign_report", "fqn": ["amazon_ads", "amazon_ads__campaign_report"], "alias": "amazon_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "58fad347379a7dce3b65a0032928042be589773051054f9a842e5b2794613b0e"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the campaign level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.705059, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('campaign_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n report.campaign_bidding_strategy,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__campaign_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(13) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n report.campaign_bidding_strategy,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__account_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__account_report.sql", "original_file_path": "models/amazon_ads__account_report.sql", "unique_id": "model.amazon_ads.amazon_ads__account_report", "fqn": ["amazon_ads", "amazon_ads__account_report"], "alias": "amazon_ads__account_report", "checksum": {"name": "sha256", "checksum": "0301d1001503ea32f7bff3358c9c625e14d371ff1a9a229caee3e5432a61a316"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the account level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.684635, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n --use campaign report since account report not provided\n from {{ var('campaign_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__campaign_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n \n\n {{ dbt_utils.group_by(5) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"], ["stg_amazon_ads__profile"], ["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n --use campaign report since account report not provided\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n \n\n\n\n\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n \n\n group by 1,2,3,4,5\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "amazon_ads__ad_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__ad_report.sql", "original_file_path": "models/amazon_ads__ad_report.sql", "unique_id": "model.amazon_ads.amazon_ads__ad_report", "fqn": ["amazon_ads", "amazon_ads__ad_report"], "alias": "amazon_ads__ad_report", "checksum": {"name": "sha256", "checksum": "6e290fb18f0fd7e67d23f5f3421d14d468f89d31088e8245c2505b702b6e552d"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_asin": {"name": "advertised_asin", "description": "The ASIN associated to an advertised product.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_sku": {"name": "advertised_sku", "description": "The SKU being advertised.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.699172, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('advertised_product_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nads as (\n select *\n from {{ var('product_ad_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.ad_id,\n ads.serving_status,\n ads.state,\n report.advertised_asin,\n report.advertised_sku,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__advertised_product_passthrough_metrics', transform='sum') }}\n\n from report\n \n left join ads\n on ads.ad_id = report.ad_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(19) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"], ["stg_amazon_ads__product_ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nads as (\n select *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__product_ad_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.ad_id,\n ads.serving_status,\n ads.state,\n report.advertised_asin,\n report.advertised_sku,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n \n left join ads\n on ads.ad_id = report.ad_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.int_amazon_ads__portfolio_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_amazon_ads", "name": "int_amazon_ads__portfolio_history", "resource_type": "model", "package_name": "amazon_ads", "path": "intermediate/int_amazon_ads__portfolio_history.sql", "original_file_path": "models/intermediate/int_amazon_ads__portfolio_history.sql", "unique_id": "model.amazon_ads.int_amazon_ads__portfolio_history", "fqn": ["amazon_ads", "intermediate", "int_amazon_ads__portfolio_history"], "alias": "int_amazon_ads__portfolio_history", "checksum": {"name": "sha256", "checksum": "f16073f69f2861ff80a5f7ebf6c93e4ad665ec5f091717de9b52f1a985028bae"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "view", "enabled": true}, "created_at": 1679425970.429648, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`int_amazon_ads__portfolio_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\n{# This intermediate model creates a dummy portfolio table if the user does not use portfolios. \nIf they are using them, the normal portfolio_history will be used. #}\n\nwith portfolios as (\n select\n {% if var('amazon_ads__portfolio_history_enabled', True) %}\n *\n from {{ var('portfolio_history') }}\n where is_most_recent_record = True\n {% else %}\n {# uses the columns macro from the source package to populate column names #}\n {%- set columns = amazon_ads_source.get_portfolio_history_columns() -%}\n {% for column in columns %}\n {# set null for each column #}\n {%- if column['name'] == 'id' -%}\n cast(null as {{ dbt.type_bigint() }}) as portfolio_id\n {%- elif column['name'] == 'name' -%}\n null as portfolio_name\n {%- else -%}\n null as {{column['name']}}\n {%- endif -%}\n {# add comma if not the last column #}\n {%- if not loop.last -%} , {% endif -%}\n {% endfor %}\n {% endif %}\n)\n\nselect * \nfrom portfolios", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history"]], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads/models/intermediate/int_amazon_ads__portfolio_history.sql", "compiled": true, "compiled_code": "\n\n\n\nwith portfolios as (\n select\n \n *\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\n where is_most_recent_record = True\n \n)\n\nselect * \nfrom portfolios", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "facebook_ads__url_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__url_report.sql", "original_file_path": "models/facebook_ads__url_report.sql", "unique_id": "model.facebook_ads.facebook_ads__url_report", "fqn": ["facebook_ads", "facebook_ads__url_report"], "alias": "facebook_ads__url_report", "checksum": {"name": "sha256", "checksum": "f70f450f715f519a00124348bc02f28ba3c9512aeb5f3ce0d57f01421e7a7f18"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook ad at the URL level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "The ID of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_name": {"name": "creative_name", "description": "The name of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.79181, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\ncreatives as (\n\n select *\n from {{ ref('int_facebook_ads__creative_history') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), \n\nad_sets as (\n\n select *\n from {{ var('ad_set_history') }}\n where is_most_recent_record = true\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n creatives.creative_id,\n creatives.creative_name,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads \n on report.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id \n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where creatives.url is not null\n {% endif %}\n \n {{ dbt_utils.group_by(19) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["int_facebook_ads__creative_history"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__ad_history"], ["stg_facebook_ads__ad_set_history"], ["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads.int_facebook_ads__creative_history", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\ncreatives as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`int_facebook_ads__creative_history`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n), \n\nad_sets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n where is_most_recent_record = true\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n creatives.creative_id,\n creatives.creative_name,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads \n on report.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id \n\n \n where creatives.url is not null\n \n \n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__url_tags": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "facebook_ads__url_tags", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__url_tags.sql", "original_file_path": "models/facebook_ads__url_tags.sql", "unique_id": "model.facebook_ads.facebook_ads__url_tags", "fqn": ["facebook_ads", "facebook_ads__url_tags"], "alias": "facebook_ads__url_tags", "checksum": {"name": "sha256", "checksum": "94dcb7faf1441b289fcec62f3e81794a05a34cf10bf2955e8a8f8c18555f8ad2"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record is a unique combination of creative_id and corresponding key, value, type contained in the url_tags field", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "The unique fivetran ID for this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The associated creative_id for this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "key": {"name": "key", "description": "The url tag object name e.g. utm_source associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "value": {"name": "value", "description": "The value assigned to the url tag object associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type assigned to the url tag object e.g. 'AD_VIDEO'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.808059, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_tags`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ var('creative_history') }}\n where is_most_recent_record = true\n), \n\nrequired_fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags\n from base\n where url_tags is not null\n), \n\n{{ get_url_tags_query() }} \n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads.get_url_tags_query"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__url_tags.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history`\n where is_most_recent_record = true\n), \n\nrequired_fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags\n from base\n where url_tags is not null\n), \n\n\n\n cleaned_json as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_array(replace(trim(url_tags, '\"'),'\\\\','')) as cleaned_url_tags\n from required_fields\n ), \n\n unnested as (\n\n select \n _fivetran_id, \n creative_id, \n url_tag_element\n from cleaned_json\n left join unnest(cleaned_url_tags) as url_tag_element\n where cleaned_url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_scalar(url_tag_element, '$.key') as key,\n json_extract_scalar(url_tag_element, '$.value') as value,\n json_extract_scalar(url_tag_element, '$.type') as type\n from unnested\n )\n\n \n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "facebook_ads__campaign_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__campaign_report.sql", "original_file_path": "models/facebook_ads__campaign_report.sql", "unique_id": "model.facebook_ads.facebook_ads__campaign_report", "fqn": ["facebook_ads", "facebook_ads__campaign_report"], "alias": "facebook_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "4bec447c9d29e7a26180ce14a68d0a1217d60f0d24bed7c89716b3520c053a75"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook campaign.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.803615, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n campaigns.start_at,\n campaigns.end_at,\n campaigns.status,\n campaigns.daily_budget,\n campaigns.lifetime_budget,\n campaigns.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__campaign_history"], ["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n campaigns.start_at,\n campaigns.end_at,\n campaigns.status,\n campaigns.daily_budget,\n campaigns.lifetime_budget,\n campaigns.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "facebook_ads__account_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__account_report.sql", "original_file_path": "models/facebook_ads__account_report.sql", "unique_id": "model.facebook_ads.facebook_ads__account_report", "fqn": ["facebook_ads", "facebook_ads__account_report"], "alias": "facebook_ads__account_report", "checksum": {"name": "sha256", "checksum": "845cdb5118e536d66d515c2e11eee71d380e406ba4f443bae4828ec70362841e"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.806019, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n accounts.account_status,\n accounts.business_country_code,\n accounts.created_at,\n accounts.currency,\n accounts.timezone_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(8) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n accounts.account_status,\n accounts.business_country_code,\n accounts.created_at,\n accounts.currency,\n accounts.timezone_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "facebook_ads__ad_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__ad_report.sql", "original_file_path": "models/facebook_ads__ad_report.sql", "unique_id": "model.facebook_ads.facebook_ads__ad_report", "fqn": ["facebook_ads", "facebook_ads__ad_report"], "alias": "facebook_ads__ad_report", "checksum": {"name": "sha256", "checksum": "36088a9abc521347aacc7d9bf0f56fd712441e94a2bc66ef334f85ff8f4761ea"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook ad.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "The ID of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.796372, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from {{ var('ad_set_history') }}\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n {{ dbt_utils.group_by(9) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__campaign_history"], ["stg_facebook_ads__ad_set_history"], ["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n group by 1,2,3,4,5,6,7,8,9\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__ad_set_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "facebook_ads__ad_set_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__ad_set_report.sql", "original_file_path": "models/facebook_ads__ad_set_report.sql", "unique_id": "model.facebook_ads.facebook_ads__ad_set_report", "fqn": ["facebook_ads", "facebook_ads__ad_set_report"], "alias": "facebook_ads__ad_set_report", "checksum": {"name": "sha256", "checksum": "d1b0e28fe240e405fe8f746c38d4fad26a8d43e10dcd6f375617b78095f87e01"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook ad set.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "The ID of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.8002582, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_set_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from {{ var('ad_set_history') }}\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ad_sets.start_at,\n ad_sets.end_at,\n ad_sets.bid_strategy,\n ad_sets.daily_budget,\n ad_sets.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__campaign_history"], ["stg_facebook_ads__ad_set_history"], ["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__ad_set_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ad_sets.start_at,\n ad_sets.end_at,\n ad_sets.bid_strategy,\n ad_sets.daily_budget,\n ad_sets.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.int_facebook_ads__creative_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads", "name": "int_facebook_ads__creative_history", "resource_type": "model", "package_name": "facebook_ads", "path": "intermediate/int_facebook_ads__creative_history.sql", "original_file_path": "models/intermediate/int_facebook_ads__creative_history.sql", "unique_id": "model.facebook_ads.int_facebook_ads__creative_history", "fqn": ["facebook_ads", "intermediate", "int_facebook_ads__creative_history"], "alias": "int_facebook_ads__creative_history", "checksum": {"name": "sha256", "checksum": "58070e7fbe67471ca464a7f8fdb011e4e8582d1651e7b42b966218bdaf1b4235"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "view", "enabled": true}, "created_at": 1679425970.610116, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`int_facebook_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\n{% set url_field = \"coalesce(page_link,template_page_link)\" %}\n\nwith base as (\n\n select *\n from {{ var('creative_history') }}\n where is_most_recent_record = true\n\n), \n\nurl_tags as (\n\n select *\n from {{ ref('facebook_ads__url_tags') }}\n), \n\nurl_tags_pivoted as (\n\n select \n _fivetran_id,\n creative_id,\n min(case when key = 'utm_source' then value end) as utm_source,\n min(case when key = 'utm_medium' then value end) as utm_medium,\n min(case when key = 'utm_campaign' then value end) as utm_campaign,\n min(case when key = 'utm_content' then value end) as utm_content,\n min(case when key = 'utm_term' then value end) as utm_term\n from url_tags\n group by 1,2\n\n), \n\nfields as (\n\n select\n base._fivetran_id,\n base.creative_id,\n base.account_id,\n base.creative_name,\n {{ url_field }} as url,\n {{ dbt.split_part(url_field, \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host(url_field) }} as url_host,\n '/' || {{ dbt_utils.get_url_path(url_field) }} as url_path,\n coalesce(url_tags_pivoted.utm_source, {{ dbt_utils.get_url_parameter(url_field, 'utm_source') }}) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, {{ dbt_utils.get_url_parameter(url_field, 'utm_medium') }}) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, {{ dbt_utils.get_url_parameter(url_field, 'utm_campaign') }}) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, {{ dbt_utils.get_url_parameter(url_field, 'utm_content') }}) as utm_content,\n coalesce(url_tags_pivoted.utm_term, {{ dbt_utils.get_url_parameter(url_field, 'utm_term') }}) as utm_term\n from base\n left join url_tags_pivoted\n on base._fivetran_id = url_tags_pivoted._fivetran_id\n and base.creative_id = url_tags_pivoted.creative_id\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_facebook_ads__creative_history"], ["facebook_ads__url_tags"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history", "model.facebook_ads.facebook_ads__url_tags"]}, "compiled_path": "target/compiled/facebook_ads/models/intermediate/int_facebook_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\n\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history`\n where is_most_recent_record = true\n\n), \n\nurl_tags as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_tags`\n), \n\nurl_tags_pivoted as (\n\n select \n _fivetran_id,\n creative_id,\n min(case when key = 'utm_source' then value end) as utm_source,\n min(case when key = 'utm_medium' then value end) as utm_medium,\n min(case when key = 'utm_campaign' then value end) as utm_campaign,\n min(case when key = 'utm_content' then value end) as utm_content,\n min(case when key = 'utm_term' then value end) as utm_term\n from url_tags\n group by 1,2\n\n), \n\nfields as (\n\n select\n base._fivetran_id,\n base.creative_id,\n base.account_id,\n base.creative_name,\n coalesce(page_link,template_page_link) as url,\n \n\n \n split(\n coalesce(page_link,template_page_link),\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base._fivetran_id = url_tags_pivoted._fivetran_id\n and base.creative_id = url_tags_pivoted.creative_id\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads", "name": "snapchat_ads__ad_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__ad_report.sql", "original_file_path": "models/snapchat_ads__ad_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__ad_report", "fqn": ["snapchat_ads", "snapchat_ads__ad_report"], "alias": "snapchat_ads__ad_report", "checksum": {"name": "sha256", "checksum": "883a24dba7248457561b24e845d2e8beec4fd361a2a8aef051b5cb01305f48fe"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat ad account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.8779972, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_hourly as (\n\n select *\n from {{ var('ad_hourly_report') }}\n\n), creatives as (\n\n select *\n from {{ ref('snapchat_ads__creative_history_prep') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n \n {{ dbt_utils.group_by(6) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"], ["snapchat_ads__creative_history_prep"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n),ad_hourly as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n\n), creatives as (\n\n select *\n from __dbt__cte__snapchat_ads__creative_history_prep\n\n), account as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n where is_most_recent_record = true\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n \n group by 1,2,3,4,5,6\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.snapchat_ads.snapchat_ads__creative_history_prep", "sql": " __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n)"}]}, "model.snapchat_ads.snapchat_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads", "name": "snapchat_ads__url_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__url_report.sql", "original_file_path": "models/snapchat_ads__url_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__url_report", "fqn": ["snapchat_ads", "snapchat_ads__url_report"], "alias": "snapchat_ads__url_report", "checksum": {"name": "sha256", "checksum": "5ef679cec36298aa943c64d752fd4f730f71b1ab20127e5bbbd5d1ad952131f4"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of Snapchat ads that leverage urls.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_name": {"name": "ad_squad_name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.894274, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_hourly as (\n\n select *\n from {{ var('ad_hourly_report') }}\n\n), creatives as (\n\n select *\n from {{ ref('snapchat_ads__creative_history_prep') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from {{ var('ad_squad_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n ad_squads.ad_squad_id,\n ad_squads.ad_squad_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n account.currency,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n -- We only want utm ads to populate this report. Therefore, we filter where url ads are populated.\n where creatives.url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(18) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"], ["snapchat_ads__creative_history_prep"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_history"], ["stg_snapchat_ads__ad_squad_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n),ad_hourly as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n\n), creatives as (\n\n select *\n from __dbt__cte__snapchat_ads__creative_history_prep\n\n), account as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n ad_squads.ad_squad_id,\n ad_squads.ad_squad_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n account.currency,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n\n \n -- We only want utm ads to populate this report. Therefore, we filter where url ads are populated.\n where creatives.url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.snapchat_ads.snapchat_ads__creative_history_prep", "sql": " __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n)"}]}, "model.snapchat_ads.snapchat_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads", "name": "snapchat_ads__account_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__account_report.sql", "original_file_path": "models/snapchat_ads__account_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__account_report", "fqn": ["snapchat_ads", "snapchat_ads__account_report"], "alias": "snapchat_ads__account_report", "checksum": {"name": "sha256", "checksum": "712da861e6b20cf879f1f5c936329cbfaf3a0e98728c707d692405b5629df197"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat ad account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.874241, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_hourly as (\n\n select *\n from {{ var('ad_hourly_report') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from {{ var('ad_squad_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n\n {{ dbt_utils.group_by(4) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_history"], ["stg_snapchat_ads__ad_squad_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith ad_hourly as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n\n), account as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n\n \n\n\n\n\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n\n group by 1,2,3,4\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__ad_squad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads", "name": "snapchat_ads__ad_squad_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__ad_squad_report.sql", "original_file_path": "models/snapchat_ads__ad_squad_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__ad_squad_report", "fqn": ["snapchat_ads", "snapchat_ads__ad_squad_report"], "alias": "snapchat_ads__ad_squad_report", "checksum": {"name": "sha256", "checksum": "6d33fd85d1fc074fd8ba3f52b028d3b6f97d8e33c77bcd1fa5795527170a065a"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat ad squad.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_name": {"name": "ad_squad_name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.886532, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_squad_hourly as (\n\n select *\n from {{ var('ad_squad_hourly_report') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from {{ var('ad_squad_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_squad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_squad_hourly.ad_squad_id,\n ad_squads.ad_squad_name,\n account.currency,\n sum(ad_squad_hourly.swipes) as swipes,\n sum(ad_squad_hourly.impressions) as impressions,\n round(sum(ad_squad_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_squad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_squad_hourly\n left join ad_squads\n on ad_squad_hourly.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n {{ dbt_utils.group_by(8) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_squad_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__ad_squad_report.sql", "compiled": true, "compiled_code": "\n\nwith ad_squad_hourly as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\n\n), account as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_squad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_squad_hourly.ad_squad_id,\n ad_squads.ad_squad_name,\n account.currency,\n sum(ad_squad_hourly.swipes) as swipes,\n sum(ad_squad_hourly.impressions) as impressions,\n round(sum(ad_squad_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from ad_squad_hourly\n left join ad_squads\n on ad_squad_hourly.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n group by 1,2,3,4,5,6,7,8\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads", "name": "snapchat_ads__campaign_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__campaign_report.sql", "original_file_path": "models/snapchat_ads__campaign_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__campaign_report", "fqn": ["snapchat_ads", "snapchat_ads__campaign_report"], "alias": "snapchat_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "37a0ae79a3b9a6455f3c7f6d5c83ca1ab54ae0fc2b2c103c981a43e0744fdc88"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat campaign.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679425974.882116, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith campaign_hourly as (\n\n select *\n from {{ var('campaign_hourly_report') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(campaign_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaign_hourly.campaign_id,\n campaigns.campaign_name,\n account.currency,\n sum(campaign_hourly.swipes) as swipes,\n sum(campaign_hourly.impressions) as impressions,\n round(sum(campaign_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__campaign_hourly_report_passthrough_metrics', transform = 'sum') }}\n \n from campaign_hourly\n left join campaigns\n on campaign_hourly.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n {{ dbt_utils.group_by(6) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith campaign_hourly as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\n\n), account as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(campaign_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaign_hourly.campaign_id,\n campaigns.campaign_name,\n account.currency,\n sum(campaign_hourly.swipes) as swipes,\n sum(campaign_hourly.impressions) as impressions,\n round(sum(campaign_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from campaign_hourly\n left join campaigns\n on campaign_hourly.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n group by 1,2,3,4,5,6\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__creative_history_prep": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads", "name": "snapchat_ads__creative_history_prep", "resource_type": "model", "package_name": "snapchat_ads", "path": "intermediate/snapchat_ads__creative_history_prep.sql", "original_file_path": "models/intermediate/snapchat_ads__creative_history_prep.sql", "unique_id": "model.snapchat_ads.snapchat_ads__creative_history_prep", "fqn": ["snapchat_ads", "intermediate", "snapchat_ads__creative_history_prep"], "alias": "snapchat_ads__creative_history_prep", "checksum": {"name": "sha256", "checksum": "96937fe8400a512c70ff7cf59a4f215276169b68df7c5bdd67b9a0c1234d86e8"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "ephemeral", "enabled": true}, "created_at": 1679425970.691653, "relation_name": null, "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\nwith base as (\n\n select *\n from {{ var('creative_history') }}\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from {{ var('creative_url_tag_history') }}\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n {{ dbt.split_part('base.url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('base.url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('base.url') }} as url_path,\n coalesce(url_tags_pivoted.utm_source, {{ dbt_utils.get_url_parameter('base.url', 'utm_source') }}) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, {{ dbt_utils.get_url_parameter('base.url', 'utm_medium') }}) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, {{ dbt_utils.get_url_parameter('base.url', 'utm_campaign') }}) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, {{ dbt_utils.get_url_parameter('base.url', 'utm_content') }}) as utm_content,\n coalesce(url_tags_pivoted.utm_term, {{ dbt_utils.get_url_parameter('base.url', 'utm_term') }}) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"], ["stg_snapchat_ads__creative_url_tag_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/intermediate/snapchat_ads__creative_history_prep.sql", "compiled": true, "compiled_code": "\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_stats": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_group_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_group_stats.sql", "original_file_path": "models/stg_google_ads__ad_group_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats", "fqn": ["google_ads_source", "stg_google_ads__ad_group_stats"], "alias": "stg_google_ads__ad_group_stats", "checksum": {"name": "sha256", "checksum": "50112c5d48ed15989072dc56b8e1fc598778564b5fef97bcc538ca6927117713"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad group in Google Ads broken down to the ad network and device type.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.978852, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_group_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_group_stats_tmp')),\n staging_columns=get_ad_group_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n customer_id as account_id, \n date as date_day, \n cast(id as {{ dbt.type_string() }}) as ad_group_id, \n campaign_id, \n device,\n ad_network_type,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__ad_group_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__ad_group_stats_tmp"], ["stg_google_ads__ad_group_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_group_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats_tmp", "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_group_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_network_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as INT64) as \n \n cost_micros\n \n , \n cast(null as INT64) as \n \n customer_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n device\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n customer_id as account_id, \n date as date_day, \n cast(id as STRING) as ad_group_id, \n campaign_id, \n device,\n ad_network_type,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_stats": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__account_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__account_stats.sql", "original_file_path": "models/stg_google_ads__account_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_stats", "fqn": ["google_ads_source", "stg_google_ads__account_stats"], "alias": "stg_google_ads__account_stats", "checksum": {"name": "sha256", "checksum": "ab5bb273d256a42be530160f2c20aa597ff974ad43e5fdbd20046f6f0699ef7f"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an account in Google Ads broken down to the ad network and device type.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.989008, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__account_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__account_stats_tmp')),\n staging_columns=get_account_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day,\n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__account_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__account_stats_tmp"], ["stg_google_ads__account_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_account_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats_tmp", "model.google_ads_source.stg_google_ads__account_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__account_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_network_type\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as INT64) as \n \n cost_micros\n \n , \n cast(null as INT64) as \n \n customer_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n device\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day,\n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_group_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_group_history.sql", "original_file_path": "models/stg_google_ads__ad_group_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history", "fqn": ["google_ads_source", "stg_google_ads__ad_group_history"], "alias": "stg_google_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "a74962ca2bca2e4507e3c647d9dd4ff276be310258c25d99c1228024b6e7e03c"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad group in Google Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_type": {"name": "ad_group_type", "description": "The type of the ad group in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.9561589, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_group_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as {{ dbt.type_string() }}) as ad_group_id,\n updated_at,\n type as ad_group_type, \n campaign_id, \n campaign_name, \n name as ad_group_name, \n status as ad_group_status,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_google_ads__ad_group_history_tmp"], ["stg_google_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history_tmp`\n\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n campaign_name\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as STRING) as ad_group_id,\n updated_at,\n type as ad_group_type, \n campaign_id, \n campaign_name, \n name as ad_group_name, \n status as ad_group_status,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_history.sql", "original_file_path": "models/stg_google_ads__ad_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_history", "fqn": ["google_ads_source", "stg_google_ads__ad_history"], "alias": "stg_google_ads__ad_history", "checksum": {"name": "sha256", "checksum": "e0ff6b7aea218822442000bf423b307647e99e54c9bf48ed4bf411bcc6f00edb"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad in Google Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The display url of the ad that is being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_type": {"name": "ad_type", "description": "The type of the ad in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "Status of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "source_final_urls": {"name": "source_final_urls", "description": "The original list of final urls expressed as an array. Please be aware the test used on this field is intended to warn you if you have fields with multiple urls. If you do, the `final_url` field will filter down the urls within the array to just the first. Therefore, this package will only leverage one of possibly many urls within this field array.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_url": {"name": "final_url", "description": "The first url in the list of the urls within the `final_urls` source field.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.962625, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_group_id as {{ dbt.type_string() }}) as ad_group_id, \n id as ad_id,\n name as ad_name,\n updated_at,\n type as ad_type,\n status as ad_status,\n display_url,\n final_urls as source_final_urls,\n replace(replace(final_urls, '[', ''),']','') as final_urls,\n row_number() over (partition by id, ad_group_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n),\n\nfinal_urls as (\n\n select \n *,\n --Extract the first url within the list of urls provided within the final_urls field\n {{ dbt.split_part(string_text='final_urls', delimiter_text=\"','\", part_number=1) }} as final_url\n\n from final\n\n),\n\nurl_fields as (\n select \n *,\n {{ dbt.split_part('final_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('final_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('final_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_term') }} as utm_term\n from final_urls\n)\n\nselect * \nfrom url_fields", "language": "sql", "refs": [["stg_google_ads__ad_history_tmp"], ["stg_google_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history_tmp", "model.google_ads_source.stg_google_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n display_url\n \n , \n cast(null as STRING) as \n \n final_urls\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_group_id as STRING) as ad_group_id, \n id as ad_id,\n name as ad_name,\n updated_at,\n type as ad_type,\n status as ad_status,\n display_url,\n final_urls as source_final_urls,\n replace(replace(final_urls, '[', ''),']','') as final_urls,\n row_number() over (partition by id, ad_group_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n),\n\nfinal_urls as (\n\n select \n *,\n --Extract the first url within the list of urls provided within the final_urls field\n \n\n \n split(\n final_urls,\n ','\n )[safe_offset(0)]\n \n\n as final_url\n\n from final\n\n),\n\nurl_fields as (\n select \n *,\n \n\n \n split(\n final_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n final_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term\n from final_urls\n)\n\nselect * \nfrom url_fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__keyword_stats": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__keyword_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__keyword_stats.sql", "original_file_path": "models/stg_google_ads__keyword_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats", "fqn": ["google_ads_source", "stg_google_ads__keyword_stats"], "alias": "stg_google_ads__keyword_stats", "checksum": {"name": "sha256", "checksum": "ffc5f45c98b6b7a2824807980d55ad185258b67c2e8b3066844722616cdf4074"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a keyword in Google Ads.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The unique ID of the keyword record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "criterion_id": {"name": "criterion_id", "description": "Reference to the ad group criterion used for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.985941, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__keyword_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__keyword_stats_tmp')),\n staging_columns=get_keyword_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n _fivetran_id as keyword_id,\n customer_id as account_id, \n date as date_day, \n cast(ad_group_id as {{ dbt.type_string() }}) as ad_group_id,\n ad_group_criterion_criterion_id as criterion_id,\n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__keyword_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__keyword_stats_tmp"], ["stg_google_ads__keyword_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_keyword_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats_tmp", "model.google_ads_source.stg_google_ads__keyword_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__keyword_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as INT64) as \n \n ad_group_criterion_criterion_id\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n ad_network_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as INT64) as \n \n cost_micros\n \n , \n cast(null as INT64) as \n \n customer_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n device\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n _fivetran_id as keyword_id,\n customer_id as account_id, \n date as date_day, \n cast(ad_group_id as STRING) as ad_group_id,\n ad_group_criterion_criterion_id as criterion_id,\n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_stats": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_stats.sql", "original_file_path": "models/stg_google_ads__ad_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_stats", "fqn": ["google_ads_source", "stg_google_ads__ad_stats"], "alias": "stg_google_ads__ad_stats", "checksum": {"name": "sha256", "checksum": "be21b75b017ffad3f142c3d90ab9be8f9d99e9f16ea682acdf00217e6817fea2"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad in Google Ads broken down to the ad network, device type, and ad_group_id.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_ad_group_criterion": {"name": "keyword_ad_group_criterion", "description": "The ad group which the keyword criterion resides.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.966895, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_stats_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_stats_tmp')),\n staging_columns=get_ad_stats_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n {% if target.type in ('spark','databricks') %}\n coalesce(cast(ad_group_id as {{ dbt.type_string() }}), split(ad_group,'adGroups/')[1]) as ad_group_id,\n {% else %}\n coalesce(cast(ad_group_id as {{ dbt.type_string() }}), {{ dbt.split_part(string_text='ad_group', delimiter_text=\"'adGroups/'\", part_number=2) }}) as ad_group_id,\n {% endif %}\n keyword_ad_group_criterion,\n ad_network_type,\n device,\n ad_id, \n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__ad_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect * from final", "language": "sql", "refs": [["stg_google_ads__ad_stats_tmp"], ["stg_google_ads__ad_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.dbt.split_part", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats_tmp", "model.google_ads_source.stg_google_ads__ad_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats_tmp`\n\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n ad_group\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n ad_network_type\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as INT64) as \n \n cost_micros\n \n , \n cast(null as INT64) as \n \n customer_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n device\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n keyword_ad_group_criterion\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n \n coalesce(cast(ad_group_id as STRING), \n\n \n split(\n ad_group,\n 'adGroups/'\n )[safe_offset(1)]\n \n\n) as ad_group_id,\n \n keyword_ad_group_criterion,\n ad_network_type,\n device,\n ad_id, \n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_criterion_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_group_criterion_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_group_criterion_history.sql", "original_file_path": "models/stg_google_ads__ad_group_criterion_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history", "fqn": ["google_ads_source", "stg_google_ads__ad_group_criterion_history"], "alias": "stg_google_ads__ad_group_criterion_history", "checksum": {"name": "sha256", "checksum": "0f6a6882c94309772926b30b0b1d0ddf5f38fa9cdc8133ad6d771ead57c0a6a3"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a historical version of an ad group criterion in Google Ads.", "columns": {"criterion_id": {"name": "criterion_id", "description": "Unique identifier of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_campaign_id": {"name": "base_campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The match type which dictate how closely the keyword needs to match with the user\u2019s search query so that the ad can be considered for the auction.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The text used within the keyword criterion that is being matched against.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.975256, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_criterion_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_group_criterion_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_group_criterion_history_tmp')),\n staging_columns=get_ad_group_criterion_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as criterion_id,\n cast(ad_group_id as {{ dbt.type_string() }}) as ad_group_id,\n base_campaign_id,\n updated_at,\n type,\n status,\n keyword_match_type,\n keyword_text,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__ad_group_criterion_history_tmp"], ["stg_google_ads__ad_group_criterion_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_group_criterion_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_group_criterion_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_criterion_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n base_campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n keyword_match_type\n \n , \n cast(null as STRING) as \n \n keyword_text\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as criterion_id,\n cast(ad_group_id as STRING) as ad_group_id,\n base_campaign_id,\n updated_at,\n type,\n status,\n keyword_match_type,\n keyword_text,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_stats": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__campaign_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__campaign_stats.sql", "original_file_path": "models/stg_google_ads__campaign_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats", "fqn": ["google_ads_source", "stg_google_ads__campaign_stats"], "alias": "stg_google_ads__campaign_stats", "checksum": {"name": "sha256", "checksum": "4d8f1522db5e641f065131caf87cc3d4bb2895837d1da1adb9373e6f6e3187a3"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a campaign in Google Ads broken down to the ad network and device type.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.98225, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__campaign_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__campaign_stats_tmp')),\n staging_columns=get_campaign_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n id as campaign_id, \n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__campaign_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__campaign_stats_tmp"], ["stg_google_ads__campaign_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_campaign_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats_tmp", "model.google_ads_source.stg_google_ads__campaign_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__campaign_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_network_type\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as INT64) as \n \n cost_micros\n \n , \n cast(null as INT64) as \n \n customer_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as STRING) as \n \n device\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as INT64) as \n \n impressions\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n id as campaign_id, \n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__campaign_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__campaign_history.sql", "original_file_path": "models/stg_google_ads__campaign_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_history", "fqn": ["google_ads_source", "stg_google_ads__campaign_history"], "alias": "stg_google_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "48aacc738e5cbe391f544a5e16f40107b193fb5e84e3b7f1a3673cfe51e42bed"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a campaign in Google Ads.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_type": {"name": "advertising_channel_type", "description": "The type of advertising channel being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_subtype": {"name": "advertising_channel_subtype", "description": "The advertising channel subtype that is being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "Status of the ads and how they are currently being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "General status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tracking_url_template": {"name": "tracking_url_template", "description": "The tracking url template being used throughout the campaign ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.97157, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__campaign_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id, \n updated_at,\n name as campaign_name,\n customer_id as account_id,\n advertising_channel_type,\n advertising_channel_subtype,\n start_date,\n end_date,\n serving_status,\n status,\n tracking_url_template,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_google_ads__campaign_history_tmp"], ["stg_google_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_history_tmp", "model.google_ads_source.stg_google_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history_tmp`\n\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n advertising_channel_subtype\n \n , \n cast(null as STRING) as \n \n advertising_channel_type\n \n , \n cast(null as INT64) as \n \n customer_id\n \n , \n cast(null as STRING) as \n \n end_date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n serving_status\n \n , \n cast(null as STRING) as \n \n start_date\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n tracking_url_template\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id, \n updated_at,\n name as campaign_name,\n customer_id as account_id,\n advertising_channel_type,\n advertising_channel_subtype,\n start_date,\n end_date,\n serving_status,\n status,\n tracking_url_template,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__account_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__account_history.sql", "original_file_path": "models/stg_google_ads__account_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_history", "fqn": ["google_ads_source", "stg_google_ads__account_history"], "alias": "stg_google_ads__account_history", "checksum": {"name": "sha256", "checksum": "343005eab065e14bf0ee42e8efc615b9397add7d783d1e2e77158d2781f253bb"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an account in Google Ads.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the Account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency of the spend reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "auto_tagging_enabled": {"name": "auto_tagging_enabled", "description": "Boolean indicating if auto tagging is enabled on the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone of the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425974.952796, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__account_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n updated_at,\n currency_code,\n auto_tagging_enabled,\n time_zone,\n descriptive_name as account_name,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_google_ads__account_history_tmp"], ["stg_google_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.google_ads_source.stg_google_ads__account_history_tmp", "model.google_ads_source.stg_google_ads__account_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history_tmp`\n\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as boolean) as \n \n auto_tagging_enabled\n \n , \n cast(null as STRING) as \n \n currency_code\n \n , \n cast(null as STRING) as \n \n descriptive_name\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n time_zone\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n updated_at,\n currency_code,\n auto_tagging_enabled,\n time_zone,\n descriptive_name as account_name,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_stats_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__account_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__account_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__account_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__account_stats_tmp"], "alias": "stg_google_ads__account_stats_tmp", "checksum": {"name": "sha256", "checksum": "64986ed4826b8e88bc9cbc3bde6840448bc855e6084bc3d12da016addb34dafa"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.912378, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "account_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__account_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`account_stats`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_group_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_group_history_tmp"], "alias": "stg_google_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "663aad714cdf84b0a06475835364f36ffca4392b342ce434ea9ac3b38b96e548"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.919148, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_group_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`ad_group_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_stats_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__campaign_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__campaign_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__campaign_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__campaign_stats_tmp"], "alias": "stg_google_ads__campaign_stats_tmp", "checksum": {"name": "sha256", "checksum": "ac4bf76095a969b6cc66bdfc6bf1e53e555be2fee1eb08c867e0489a910ab491"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.92578, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "campaign_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__campaign_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`campaign_stats`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_stats_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_stats_tmp"], "alias": "stg_google_ads__ad_stats_tmp", "checksum": {"name": "sha256", "checksum": "69fac90225ad40ce593bc7a83bea96739e0018b2d4b90c4dd7be0555b980c316"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.932392, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`ad_stats`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__campaign_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__campaign_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__campaign_history_tmp"], "alias": "stg_google_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "1ca8c796342ffe6e1c664697a81bbe0787b3999df6e155e114aabb3f85df6ac6"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.939766, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.campaign_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_group_criterion_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_group_criterion_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_group_criterion_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_group_criterion_history_tmp"], "alias": "stg_google_ads__ad_group_criterion_history_tmp", "checksum": {"name": "sha256", "checksum": "82cd3b85a00f84d6433d30fb5a2c6b6882381c4200bdad44fd5a761219418b48"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.9464178, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_criterion_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_criterion_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_group_criterion_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_group_criterion_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`ad_group_criterion_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_group_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_group_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_group_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_group_stats_tmp"], "alias": "stg_google_ads__ad_group_stats_tmp", "checksum": {"name": "sha256", "checksum": "df5f65c5bda3d22cada3c02ded54c4eb2a7e13ef2f1bc6169fed1f0c03fe761e"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.953043, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_group_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_group_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`ad_group_stats`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__keyword_stats_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__keyword_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__keyword_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__keyword_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__keyword_stats_tmp"], "alias": "stg_google_ads__keyword_stats_tmp", "checksum": {"name": "sha256", "checksum": "4568538a6402c68eb5e94f0e9f17373b8473723218597ad8990553524dc31691"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.95966, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "keyword_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__keyword_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`keyword_stats`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__ad_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_history_tmp"], "alias": "stg_google_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "237e4cca801b026f9d0aaeff2130bf3d2f3c9050e364406b5b59ba18db547166"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.968439, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_google_ads_source", "name": "stg_google_ads__account_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__account_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__account_history_tmp"], "alias": "stg_google_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "b5f8dd1b72ffdcf3bd32a1c0ab81a33aed0f43b042998b6d9cf57605a4226386"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425970.97563, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.account_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`google_ads`.`account_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads", "name": "apple_search_ads__ad_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__ad_report.sql", "original_file_path": "models/apple_search_ads__ad_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__ad_report", "fqn": ["apple_search_ads", "apple_search_ads__ad_report"], "alias": "apple_search_ads__ad_report", "checksum": {"name": "sha256", "checksum": "9be99b8581d2c85b4b11327ae3eef34d26121ed866e5762ff7f627b2c24b63a9"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each ad.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "The status of the ad associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on ad group on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on ad group in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679425975.149905, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_report') }}\n), \n\nad as (\n\n select * \n from {{ var('ad_history') }}\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select * \n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n ad.ad_id,\n ad.ad_name,\n report.currency,\n ad.ad_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__ad_passthrough_metrics', transform = 'sum') }}\n from report\n join ad \n on report.ad_id = ad.ad_id\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on ad.organization_id = organization.organization_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"], ["stg_apple_search_ads__ad_history"], ["stg_apple_search_ads__ad_group_history"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\n), \n\nad as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n ad.ad_id,\n ad.ad_name,\n report.currency,\n ad.ad_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join ad \n on report.ad_id = ad.ad_id\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on ad.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads", "name": "apple_search_ads__ad_group_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__ad_group_report.sql", "original_file_path": "models/apple_search_ads__ad_group_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__ad_group_report", "fqn": ["apple_search_ads", "apple_search_ads__ad_group_report"], "alias": "apple_search_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "a1edd5d4e81de3dadca268c67fc1bee311cab1edc7efe48a494c7017c7acdc80"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each ad group.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "The status of the ad group associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The start timestamp for this ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The end timestamp for this ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on ad group on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on ad group in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679425975.143587, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_report') }}\n), \n\nad_group as (\n\n select * \n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n report.currency,\n ad_group.ad_group_status,\n ad_group.start_at, \n ad_group.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__ad_group_passthrough_metrics', transform = 'sum') }}\n from report\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"], ["stg_apple_search_ads__ad_group_history"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\n), \n\nad_group as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n report.currency,\n ad_group.ad_group_status,\n ad_group.start_at, \n ad_group.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads", "name": "apple_search_ads__keyword_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__keyword_report.sql", "original_file_path": "models/apple_search_ads__keyword_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__keyword_report", "fqn": ["apple_search_ads", "apple_search_ads__keyword_report"], "alias": "apple_search_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "91250ca8167dc8fee98582ff093d56a498b854e5c66a51325076191016bfb0e7"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each creative set.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Creative set name associatd with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "Creative set ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_status": {"name": "keyword_status", "description": "The status of the keyword associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on keyword on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of keyword in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of keyword in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of keyword in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on keyword in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679425975.1621919, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('keyword_report') }}\n), \n\nkeyword as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n keyword.keyword_id,\n keyword.keyword_text,\n keyword.match_type,\n report.currency,\n keyword.keyword_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__keyword_passthrough_metrics', transform = 'sum') }}\n from report\n join keyword \n on report.keyword_id = keyword.keyword_id\n join ad_group \n on keyword.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"], ["stg_apple_search_ads__keyword_history"], ["stg_apple_search_ads__ad_group_history"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\n), \n\nkeyword as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n keyword.keyword_id,\n keyword.keyword_text,\n keyword.match_type,\n report.currency,\n keyword.keyword_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join keyword \n on report.keyword_id = keyword.keyword_id\n join ad_group \n on keyword.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__search_term_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads", "name": "apple_search_ads__search_term_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__search_term_report.sql", "original_file_path": "models/apple_search_ads__search_term_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__search_term_report", "fqn": ["apple_search_ads", "apple_search_ads__search_term_report"], "alias": "apple_search_ads__search_term_report", "checksum": {"name": "sha256", "checksum": "4827d710dac6b2e632dcf3ba421a8166d719d1ae59e98128736b8689cf4039a1"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each search term, only includes records with search term values.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_text": {"name": "search_term_text", "description": "Search term text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on organization on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on organization in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679425975.17154, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__apple_search_ads_enabled','apple_search_ads__using_search_terms'])) }}\n\nwith report as (\n\n select *\n from {{ var('search_term_report') }}\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.ad_group_id,\n report.ad_group_name,\n report.keyword_id,\n report.keyword_text,\n report.search_term_text,\n report.match_type,\n report.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__search_term_passthrough_metrics', transform = 'sum') }}\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n where report.search_term_text is not null\n {{ dbt_utils.group_by(12) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__search_term_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.ad_group_id,\n report.ad_group_name,\n report.keyword_id,\n report.keyword_text,\n report.search_term_text,\n report.match_type,\n report.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n where report.search_term_text is not null\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads", "name": "apple_search_ads__campaign_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__campaign_report.sql", "original_file_path": "models/apple_search_ads__campaign_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__campaign_report", "fqn": ["apple_search_ads", "apple_search_ads__campaign_report"], "alias": "apple_search_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "d555ffbfe1f914afd50ba592ab961f1ebdb40a4d4315c0696f1c80738930080f"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each campaign.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the campaign associted with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The start timestamp of this campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The end timestamp of this campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on campaign on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of campaign in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of campaign in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of campaign in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on campaign in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679425975.155565, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n \n select *\n from {{ var('campaign_report') }}\n\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n\n), \n\njoined as (\n\n select \n report.date_day,\n campaign.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.currency,\n campaign.campaign_status,\n campaign.start_at,\n campaign.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__campaign_passthrough_metrics', transform = 'sum') }}\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n {{ dbt_utils.group_by(9) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\n\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n\n), \n\njoined as (\n\n select \n report.date_day,\n campaign.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.currency,\n campaign.campaign_status,\n campaign.start_at,\n campaign.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__organization_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads", "name": "apple_search_ads__organization_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__organization_report.sql", "original_file_path": "models/apple_search_ads__organization_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__organization_report", "fqn": ["apple_search_ads", "apple_search_ads__organization_report"], "alias": "apple_search_ads__organization_report", "checksum": {"name": "sha256", "checksum": "47084fe8809edaeeda722e20590b19c6488687d05ad654b8fef4a0021088e0a2"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each organization.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on organization on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on organization in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679425975.1659, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n \n select *\n from {{ var('campaign_report') }}\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n organization.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__campaign_passthrough_metrics', transform = 'sum') }}\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n {{ dbt_utils.group_by(4) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__organization_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n \n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n organization.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n group by 1,2,3,4\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.ad_reporting__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__campaign_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__campaign_report.sql", "original_file_path": "models/ad_reporting__campaign_report.sql", "unique_id": "model.ad_reporting.ad_reporting__campaign_report", "fqn": ["ad_reporting", "ad_reporting__campaign_report"], "alias": "ad_reporting__campaign_report", "checksum": {"name": "sha256", "checksum": "2483fb7d8542d9dea58ad86c4e2821501bf104c2f6802e7c4f74baea277ce39c"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.3072991, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__campaign_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__campaign_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(6) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__campaign_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__campaign_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__campaign_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__campaign_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__campaign_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__campaign_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__campaign_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__campaign_report", "sql": " __dbt__cte__int_ad_reporting__campaign_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__campaign_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__campaign_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__campaign_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__campaign_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__account_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__account_report.sql", "original_file_path": "models/ad_reporting__account_report.sql", "unique_id": "model.ad_reporting.ad_reporting__account_report", "fqn": ["ad_reporting", "ad_reporting__account_report"], "alias": "ad_reporting__account_report", "checksum": {"name": "sha256", "checksum": "7a5c7e7a4d03a8a074b5e23154de600f7dfa06931055665906e407e2eaad8a8a"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.294367, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__account_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__account_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(4) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__account_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__account_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__account_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__account_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__account_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__account_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__account_report", "sql": " __dbt__cte__int_ad_reporting__account_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__account_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__account_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__account_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__ad_group_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__ad_group_report.sql", "original_file_path": "models/ad_reporting__ad_group_report.sql", "unique_id": "model.ad_reporting.ad_reporting__ad_group_report", "fqn": ["ad_reporting", "ad_reporting__ad_group_report"], "alias": "ad_reporting__ad_group_report", "checksum": {"name": "sha256", "checksum": "fe93b1aa6e8cc66827b9b6ed209113e7af61fa090c025adc18a657278c4fc15b"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.298741, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__ad_group_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__ad_group_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(8) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__ad_group_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__ad_group_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_group_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_group_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_set_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_group_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__ad_group_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__ad_group_report", "sql": " __dbt__cte__int_ad_reporting__ad_group_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_group_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_group_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_set_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_group_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__search_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__search_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__search_report.sql", "original_file_path": "models/ad_reporting__search_report.sql", "unique_id": "model.ad_reporting.ad_reporting__search_report", "fqn": ["ad_reporting", "ad_reporting__search_report"], "alias": "ad_reporting__search_report", "checksum": {"name": "sha256", "checksum": "6bc6ff01c66a8e32bcedc6a6f3f8429bc445c65f6bd18ed2ee4813ddb065fb2b"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by search query, ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID representing the keyword, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The keyword text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The search query text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_match_type": {"name": "search_match_type", "description": "The search match type associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.318309, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__search_report`", "raw_code": "{% if var('apple_search_ads__using_search_terms', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'microsoft_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'microsoft_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__search_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n search_query,\n search_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__search_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith __dbt__cte__int_ad_reporting__search_report as (\n\n \n\n\n\n\n\nwith \n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_query as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__search_report`\n\n), \n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term_text as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term as STRING) as search_query \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__search_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from microsoft_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__search_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n search_query,\n search_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__search_report", "sql": " __dbt__cte__int_ad_reporting__search_report as (\n\n \n\n\n\n\n\nwith \n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_query as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__search_report`\n\n), \n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term_text as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term as STRING) as search_query \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__search_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from microsoft_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__ad_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__ad_report.sql", "original_file_path": "models/ad_reporting__ad_report.sql", "unique_id": "model.ad_reporting.ad_reporting__ad_report", "fqn": ["ad_reporting", "ad_reporting__ad_report"], "alias": "ad_reporting__ad_report", "checksum": {"name": "sha256", "checksum": "87a1850a3d333ed329ac0fe5fe08fe66b351da3b7eac0ed33af0b0737af6b057"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by ad, ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID representing the ad, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.3037179, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__ad_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__ad_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n ad_id,\n ad_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(10) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__ad_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__ad_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(creative_id as STRING) as ad_id \n ,cast(null as STRING) as ad_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(pin_promotion_id as STRING) as ad_id \n ,cast(pin_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(null as STRING) as ad_group_id \n ,cast(null as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(null as STRING) as campaign_id \n ,cast(null as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(promoted_tweet_id as STRING) as ad_id \n ,cast(tweet_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(advertised_asin as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__ad_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n ad_id,\n ad_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__ad_report", "sql": " __dbt__cte__int_ad_reporting__ad_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(creative_id as STRING) as ad_id \n ,cast(null as STRING) as ad_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(pin_promotion_id as STRING) as ad_id \n ,cast(pin_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(null as STRING) as ad_group_id \n ,cast(null as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(null as STRING) as campaign_id \n ,cast(null as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(promoted_tweet_id as STRING) as ad_id \n ,cast(tweet_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(advertised_asin as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__url_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__url_report.sql", "original_file_path": "models/ad_reporting__url_report.sql", "unique_id": "model.ad_reporting.ad_reporting__url_report", "fqn": ["ad_reporting", "ad_reporting__url_report"], "alias": "ad_reporting__url_report", "checksum": {"name": "sha256", "checksum": "0df96babf636b0d123d5368bd60ec0f6447614786299fdc3705d5fabb6fb8686"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by URL (and if applicable, URL UTM parameters), ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base url of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.325568, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__url_report`", "raw_code": "{% set enabled_packages = get_enabled_packages(exclude=['amazon_ads', 'apple_search_ads']) %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__url_report') }}\n),\n\naggregated as (\n \n select \n date_day, \n platform,\n account_id, \n account_name, \n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n base_url,\n url_host,\n url_path,\n utm_source,\n utm_medium,\n utm_campaign,\n utm_content,\n utm_term,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(16) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__url_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__url_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__url_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__url_report`\n\n),\n\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__url_report\n),\n\naggregated as (\n \n select \n date_day, \n platform,\n account_id, \n account_name, \n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n base_url,\n url_host,\n url_path,\n utm_source,\n utm_medium,\n utm_campaign,\n utm_content,\n utm_term,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__url_report", "sql": " __dbt__cte__int_ad_reporting__url_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__url_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__url_report`\n\n),\n\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_ad_reporting", "name": "ad_reporting__keyword_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__keyword_report.sql", "original_file_path": "models/ad_reporting__keyword_report.sql", "unique_id": "model.ad_reporting.ad_reporting__keyword_report", "fqn": ["ad_reporting", "ad_reporting__keyword_report"], "alias": "ad_reporting__keyword_report", "checksum": {"name": "sha256", "checksum": "19712b5731c1c125a6a6940b48c1b72255d30ad165ceb8be94d17e0af110c044"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by keyword, ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID representing the keyword, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The keyword text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The keyword match type associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679425975.312603, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__keyword_report`", "raw_code": "{% if var('twitter_ads__using_keywords', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads', 'twitter_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__keyword_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n keyword_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(11) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__keyword_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith __dbt__cte__int_ad_reporting__keyword_report as (\n\n \n\n\n\n\n\nwith\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`\n\n),\n\n\n\ngoogle_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(criterion_id as STRING) as keyword_id \n ,cast(keyword_match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__keyword_report`\n\n),\n\n\n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__keyword_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_value as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`\n\n),\n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(null as STRING) as keyword_match_type \n ,cast(keyword as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__keyword_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from twitter_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__keyword_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n keyword_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__keyword_report", "sql": " __dbt__cte__int_ad_reporting__keyword_report as (\n\n \n\n\n\n\n\nwith\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`\n\n),\n\n\n\ngoogle_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(criterion_id as STRING) as keyword_id \n ,cast(keyword_match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__keyword_report`\n\n),\n\n\n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__keyword_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_value as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`\n\n),\n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(null as STRING) as keyword_match_type \n ,cast(keyword as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__keyword_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from twitter_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.int_ad_reporting__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__campaign_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__campaign_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__campaign_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__campaign_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__campaign_report"], "alias": "int_ad_reporting__campaign_report", "checksum": {"name": "sha256", "checksum": "fa96bcb55ec7c848acb1ee90f5026164682349b38262b9fa4b3b0f56803c0851"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.236192, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['twitter_ads', 'facebook_ads', 'google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='campaign',\n relation=ref(package ~ '__campaign_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='campaign', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__campaign_group_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__campaign_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__campaign_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='campaign', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('amazon_ads__campaign_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='campaign', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["twitter_ads__campaign_report"], ["facebook_ads__campaign_report"], ["google_ads__campaign_report"], ["microsoft_ads__campaign_report"], ["apple_search_ads__campaign_report"], ["linkedin_ads__campaign_group_report"], ["pinterest_ads__campaign_report"], ["snapchat_ads__campaign_report"], ["tiktok_ads__campaign_report"], ["amazon_ads__campaign_report"], ["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report", "model.facebook_ads.facebook_ads__campaign_report", "model.google_ads.google_ads__campaign_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.pinterest.pinterest_ads__campaign_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.amazon_ads.amazon_ads__campaign_report", "model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__campaign_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__campaign_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__campaign_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__campaign_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__campaign_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__keyword_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__keyword_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__keyword_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__keyword_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__keyword_report"], "alias": "int_ad_reporting__keyword_report", "checksum": {"name": "sha256", "checksum": "29b788469d109e4a6a03f5c5ed31ad693712c1f0e4bae524c9ed3271924f133d"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.299006, "relation_name": null, "raw_code": "{% if var('twitter_ads__using_keywords', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads', 'twitter_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='keyword', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'keyword_match_type': 'match_type',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'google_ads' in enabled_packages %}\ngoogle_ads as (\n\n {{ get_query(\n platform='google_ads', \n report_type='keyword', \n field_mapping={\n 'keyword_id': 'criterion_id',\n },\n relation=ref('google_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'microsoft_ads' in enabled_packages %}\nmicrosoft_ads as (\n\n {{ get_query(\n platform='microsoft_ads', \n report_type='keyword', \n field_mapping={\n 'keyword_text': 'keyword_name',\n 'keyword_match_type': 'match_type'\n },\n relation=ref('microsoft_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='keyword', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name',\n 'keyword_text': 'keyword_value',\n 'keyword_match_type': 'match_type'\n },\n relation=ref('pinterest_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages and var('twitter_ads__using_keywords', True) %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='keyword', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name',\n 'keyword_id': 'keyword_id',\n 'keyword_text': 'keyword',\n 'keyword_match_type': 'null'\n },\n relation=ref('twitter_ads__keyword_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='keyword', \n field_mapping={\n 'spend': 'cost',\n 'keyword_match_type': 'match_type'\n },\n relation=ref('amazon_ads__keyword_report')\n ) }}\n), \n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["apple_search_ads__keyword_report"], ["google_ads__keyword_report"], ["microsoft_ads__keyword_report"], ["pinterest_ads__keyword_report"], ["twitter_ads__keyword_report"], ["amazon_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report", "model.google_ads.google_ads__keyword_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.pinterest.pinterest_ads__keyword_report", "model.twitter_ads.twitter_ads__keyword_report", "model.amazon_ads.amazon_ads__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__keyword_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`\n\n),\n\n\n\ngoogle_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(criterion_id as STRING) as keyword_id \n ,cast(keyword_match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__keyword_report`\n\n),\n\n\n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__keyword_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_value as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`\n\n),\n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(null as STRING) as keyword_match_type \n ,cast(keyword as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__keyword_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from twitter_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__ad_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__ad_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__ad_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__ad_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__ad_report"], "alias": "int_ad_reporting__ad_report", "checksum": {"name": "sha256", "checksum": "540cec6af930e2a24dbf60c4d4114bf17e543797bc7fd909329e4be917d869a4"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.33717, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='ad',\n relation=ref(package ~ '__ad_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__ad_report')\n ) }}\n),\n{% endif %}\n\n{% if 'facebook_ads' in enabled_packages %}\nfacebook_ads as (\n\n {{ get_query(\n platform='facebook_ads', \n report_type='ad', \n field_mapping={\n 'ad_group_id': 'ad_set_id',\n 'ad_group_name': 'ad_set_name'\n },\n relation=ref('facebook_ads__ad_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='ad', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'ad_group_id': 'campaign_id',\n 'ad_group_name': 'campaign_name',\n 'ad_id': 'creative_id',\n 'ad_name': 'null',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__creative_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name',\n 'ad_id': 'pin_promotion_id',\n 'ad_name': 'pin_name'\n },\n relation=ref('pinterest_ads__pin_promotion_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'campaign_id': 'null',\n 'campaign_name': 'null',\n 'ad_group_id': 'null',\n 'ad_group_name': 'null',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__ad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__ad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='ad', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name',\n 'ad_id': 'promoted_tweet_id',\n 'ad_name': 'tweet_name'\n },\n relation=ref('twitter_ads__promoted_tweet_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='ad', \n field_mapping={\n 'spend': 'cost',\n 'ad_name': 'advertised_asin'\n },\n relation=ref('amazon_ads__ad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='ad', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__ad_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["google_ads__ad_report"], ["microsoft_ads__ad_report"], ["apple_search_ads__ad_report"], ["facebook_ads__ad_report"], ["linkedin_ads__creative_report"], ["pinterest_ads__pin_promotion_report"], ["snapchat_ads__ad_report"], ["tiktok_ads__ad_report"], ["twitter_ads__promoted_tweet_report"], ["amazon_ads__ad_report"], ["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.google_ads.google_ads__ad_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.facebook_ads.facebook_ads__ad_report", "model.linkedin.linkedin_ads__creative_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.amazon_ads.amazon_ads__ad_report", "model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__ad_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(creative_id as STRING) as ad_id \n ,cast(null as STRING) as ad_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(pin_promotion_id as STRING) as ad_id \n ,cast(pin_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(null as STRING) as ad_group_id \n ,cast(null as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(null as STRING) as campaign_id \n ,cast(null as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(promoted_tweet_id as STRING) as ad_id \n ,cast(tweet_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(advertised_asin as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__account_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__account_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__account_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__account_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__account_report"], "alias": "int_ad_reporting__account_report", "checksum": {"name": "sha256", "checksum": "7c78606eeac98c9cb1f523e081c71330ef2d067c6c3d4ec8a9619bf6f1bb696c"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.395166, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['twitter_ads', 'facebook_ads', 'google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='account',\n relation=ref(package ~ '__account_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__organization_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='account', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__account_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__advertiser_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__account_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__advertiser_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='account', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('amazon_ads__account_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='account', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__account_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["twitter_ads__account_report"], ["facebook_ads__account_report"], ["google_ads__account_report"], ["microsoft_ads__account_report"], ["apple_search_ads__organization_report"], ["linkedin_ads__account_report"], ["pinterest_ads__advertiser_report"], ["snapchat_ads__account_report"], ["tiktok_ads__advertiser_report"], ["amazon_ads__account_report"], ["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.twitter_ads.twitter_ads__account_report", "model.facebook_ads.facebook_ads__account_report", "model.google_ads.google_ads__account_report", "model.microsoft_ads.microsoft_ads__account_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.linkedin.linkedin_ads__account_report", "model.pinterest.pinterest_ads__advertiser_report", "model.snapchat_ads.snapchat_ads__account_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.amazon_ads.amazon_ads__account_report", "model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__account_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__account_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__account_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__account_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__url_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__url_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__url_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__url_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__url_report"], "alias": "int_ad_reporting__url_report", "checksum": {"name": "sha256", "checksum": "e174558a546f62bc92e0c9395b4c1d6c99185a3192f4978110e47338674af6c0"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.431865, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages(exclude=['amazon_ads', 'apple_search_ads']) %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='url',\n relation=ref(package ~ '__url_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'facebook_ads' in enabled_packages %}\nfacebook_ads as (\n\n {{ get_query(\n platform='facebook_ads', \n report_type='url', \n field_mapping={\n 'ad_group_id': 'ad_set_id',\n 'ad_group_name': 'ad_set_name'\n },\n relation=ref('facebook_ads__url_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='url', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'ad_group_id': 'campaign_id',\n 'ad_group_name': 'campaign_name',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__url_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='url', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__url_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='url', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'ad_group_id': 'ad_squad_id',\n 'ad_group_name': 'ad_squad_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__url_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='url', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__url_report')\n ) }}\n), \n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='url', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name'\n },\n relation=ref('twitter_ads__url_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='url', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__url_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["google_ads__url_report"], ["microsoft_ads__url_report"], ["facebook_ads__url_report"], ["linkedin_ads__url_report"], ["pinterest_ads__url_report"], ["snapchat_ads__url_report"], ["tiktok_ads__url_report"], ["twitter_ads__url_report"], ["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.google_ads.google_ads__url_report", "model.microsoft_ads.microsoft_ads__url_report", "model.facebook_ads.facebook_ads__url_report", "model.linkedin.linkedin_ads__url_report", "model.pinterest.pinterest_ads__url_report", "model.snapchat_ads.snapchat_ads__url_report", "model.tiktok_ads.tiktok_ads__url_report", "model.twitter_ads.twitter_ads__url_report", "model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__url_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__url_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__url_report`\n\n),\n\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__search_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__search_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__search_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__search_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__search_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__search_report"], "alias": "int_ad_reporting__search_report", "checksum": {"name": "sha256", "checksum": "c54a943cafae9d0d7576cb97fdd93653f099b36133aa3a2ff454c1f0039d279c"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.4982731, "relation_name": null, "raw_code": "{% if var('apple_search_ads__using_search_terms', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'microsoft_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'microsoft_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith \n{% if 'microsoft_ads' in enabled_packages %}\nmicrosoft_ads as (\n\n {{ get_query(\n platform='microsoft_ads', \n report_type='search', \n field_mapping={\n 'keyword_text': 'keyword_name',\n 'search_match_type': 'match_type'\n },\n relation=ref('microsoft_ads__search_report')\n ) }}\n), \n{% endif %}\n\n{% if 'apple_search_ads' in enabled_packages and var('apple_search_ads__using_search_terms', True) %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='search', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'search_match_type': 'match_type',\n 'search_query': 'search_term_text',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__search_term_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='search', \n field_mapping={\n 'spend': 'cost',\n 'search_match_type': 'match_type',\n 'search_query': 'search_term'\n },\n relation=ref('amazon_ads__search_report')\n ) }}\n), \n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["microsoft_ads__search_report"], ["apple_search_ads__search_term_report"], ["amazon_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.microsoft_ads.microsoft_ads__search_report", "model.apple_search_ads.apple_search_ads__search_term_report", "model.amazon_ads.amazon_ads__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__search_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith \n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_query as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__search_report`\n\n), \n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term_text as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term as STRING) as search_query \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__search_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from microsoft_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_int_ad_reporting", "name": "int_ad_reporting__ad_group_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__ad_group_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__ad_group_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__ad_group_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__ad_group_report"], "alias": "int_ad_reporting__ad_group_report", "checksum": {"name": "sha256", "checksum": "8020b2e69bd0f228a2f3c63c5e9aaa01116863ac9c1c1c89ef33f0a4df48606c"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679425971.5222762, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='ad_group',\n relation=ref(package ~ '__ad_group_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__ad_group_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='ad_group', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'ad_group_id': 'campaign_id',\n 'ad_group_name': 'campaign_name',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\n{% if 'facebook_ads' in enabled_packages %}\nfacebook_ads as (\n\n {{ get_query(\n platform='facebook_ads', \n report_type='ad_group', \n field_mapping={\n 'ad_group_id': 'ad_set_id',\n 'ad_group_name': 'ad_set_name'\n },\n relation=ref('facebook_ads__ad_set_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__ad_group_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'ad_group_id': 'ad_squad_id',\n 'ad_group_name': 'ad_squad_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__ad_squad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__ad_group_report')\n ) }}\n), \n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='ad_group', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name'\n },\n relation=ref('twitter_ads__line_item_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='ad_group', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('amazon_ads__ad_group_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='ad_group', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__ad_group_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["google_ads__ad_group_report"], ["microsoft_ads__ad_group_report"], ["apple_search_ads__ad_group_report"], ["linkedin_ads__campaign_report"], ["facebook_ads__ad_set_report"], ["pinterest_ads__ad_group_report"], ["snapchat_ads__ad_squad_report"], ["tiktok_ads__ad_group_report"], ["twitter_ads__line_item_report"], ["amazon_ads__ad_group_report"], ["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.google_ads.google_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.pinterest.pinterest_ads__ad_group_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.tiktok_ads.tiktok_ads__ad_group_report", "model.twitter_ads.twitter_ads__line_item_report", "model.amazon_ads.amazon_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__ad_group_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_group_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_group_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_set_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_group_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__campaign_history.sql", "original_file_path": "models/stg_apple_search_ads__campaign_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__campaign_history"], "alias": "stg_apple_search_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "294e54bc10f47e44786be1c445e764b49464643d75c0bf7a4fc3a38f3868e0de"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a campaign in Apple Search Ads.", "columns": {"modified_at": {"name": "modified_at", "description": "Timestamp of when the campaign object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The designated ad group start time (ad group with the earliest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The designated campaign end time (ad group with the latest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name for the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the campaign, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.465465, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select\n modification_time as modified_at,\n organization_id,\n name as campaign_name,\n id as campaign_id,\n status as campaign_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history_tmp"], ["stg_apple_search_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n modification_time\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n organization_id\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select\n modification_time as modified_at,\n organization_id,\n name as campaign_name,\n id as campaign_id,\n status as campaign_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_report.sql", "original_file_path": "models/stg_apple_search_ads__ad_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_report"], "alias": "stg_apple_search_ads__ad_report", "checksum": {"name": "sha256", "checksum": "45019dc2d949eecadbbd9d4a052049a60dca00c32f726da678972fa8bdadd1f6"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad in Apple Search Ads.", "columns": {"date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.462081, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_report_tmp')),\n staging_columns=get_ad_level_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n campaign_id,\n ad_group_id,\n ad_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__ad_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_report_tmp"], ["stg_apple_search_ads__ad_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_level_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n ad_id\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n local_spend_amount\n \n , \n cast(null as STRING) as \n \n local_spend_currency\n \n , \n cast(null as INT64) as \n \n new_downloads\n \n , \n cast(null as INT64) as \n \n redownloads\n \n , \n cast(null as INT64) as \n \n taps\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n campaign_id,\n ad_group_id,\n ad_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__campaign_report.sql", "original_file_path": "models/stg_apple_search_ads__campaign_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__campaign_report"], "alias": "stg_apple_search_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "c4681d203c58d68501b9d2d3a84fc28598e9705eb4cc7f4496be52e3209768d3"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a campaign in Apple Search Ads.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.468835, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as campaign_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report_tmp"], ["stg_apple_search_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n local_spend_amount\n \n , \n cast(null as STRING) as \n \n local_spend_currency\n \n , \n cast(null as INT64) as \n \n new_downloads\n \n , \n cast(null as INT64) as \n \n redownloads\n \n , \n cast(null as INT64) as \n \n taps\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as campaign_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__organization": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__organization", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__organization.sql", "original_file_path": "models/stg_apple_search_ads__organization.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__organization"], "alias": "stg_apple_search_ads__organization", "checksum": {"name": "sha256", "checksum": "24d3ee4e2d050e8ade0b3222ea535ed1837d2ea4265f00cf3f3b7b67a7a30dab"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents an organization in Apple Search Ads.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Specified currency for respective organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "payment_model": {"name": "payment_model", "description": "Values include 'LOC', 'PAYG' or (payment method hasn't been set).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Name of organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "Organization default timezone; values can be ORTZ or UTC.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.4788868, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__organization_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__organization_tmp')),\n staging_columns=get_organization_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as organization_id,\n currency,\n payment_model,\n name as organization_name,\n time_zone\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__organization_tmp"], ["stg_apple_search_ads__organization_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_organization_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__organization_tmp", "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__organization.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n payment_model\n \n , \n cast(null as STRING) as \n \n time_zone\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as organization_id,\n currency,\n payment_model,\n name as organization_name,\n time_zone\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__keyword_report.sql", "original_file_path": "models/stg_apple_search_ads__keyword_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__keyword_report"], "alias": "stg_apple_search_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "087cf73b201edc946f1b30c28096f4d513aca817fc3e510cac05f28dc781c665"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a keyword in Apple Search Ads.", "columns": {"keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.4765499, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__keyword_report_tmp')),\n staging_columns=get_keyword_report_columns()\n )\n }} \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as keyword_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__keyword_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report_tmp"], ["stg_apple_search_ads__keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n local_spend_amount\n \n , \n cast(null as STRING) as \n \n local_spend_currency\n \n , \n cast(null as INT64) as \n \n new_downloads\n \n , \n cast(null as INT64) as \n \n redownloads\n \n , \n cast(null as INT64) as \n \n taps\n \n \n\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as keyword_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__keyword_history.sql", "original_file_path": "models/stg_apple_search_ads__keyword_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__keyword_history"], "alias": "stg_apple_search_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "5ee576e97a5fffaf97916376ca747fcb9389b6733d268f9b42308a8f244ade8e"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a keyword in Apple Search Ads.", "columns": {"modified_at": {"name": "modified_at", "description": "Timestamp of when the keyword object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_currency": {"name": "bid_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the keyword, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.47314, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n modification_time as modified_at,\n campaign_id,\n ad_group_id,\n id as keyword_id,\n bid_amount, \n bid_currency,\n match_type,\n status as keyword_status,\n text as keyword_text,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history_tmp"], ["stg_apple_search_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as numeric) as \n \n bid_amount\n \n , \n cast(null as STRING) as \n \n bid_currency\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n match_type\n \n , \n cast(null as TIMESTAMP) as \n \n modification_time\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n text\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n modification_time as modified_at,\n campaign_id,\n ad_group_id,\n id as keyword_id,\n bid_amount, \n bid_currency,\n match_type,\n status as keyword_status,\n text as keyword_text,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__search_term_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__search_term_report.sql", "original_file_path": "models/stg_apple_search_ads__search_term_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__search_term_report"], "alias": "stg_apple_search_ads__search_term_report", "checksum": {"name": "sha256", "checksum": "6345a092b669f3283eb8b09b8590cdcf4e89da7ac486c18bb626315fac6db0e0"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a search term in Apple Search Ads.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "A Fivetran internal unique id that helps us avoid duplicate rows in primary keyless tables.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_format": {"name": "ad_format", "description": "Format of creative set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_currency": {"name": "bid_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_display_status": {"name": "keyword_display_status", "description": "The keyword display status can either be ACTIVE or PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; values include EXACT, BROAD or AUTO.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_source": {"name": "search_term_source", "description": "The search term source can either be TARGETED or AUTO; if this value is AUTO so will match_type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_text": {"name": "search_term_text", "description": "The word or phrase to match of user searches.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.486211, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__apple_search_ads_enabled','apple_search_ads__using_search_terms'])) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__search_term_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__search_term_report_tmp')),\n staging_columns=get_search_term_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n _fivetran_id,\n campaign_id,\n ad_group_id,\n ad_group_name,\n bid_amount_amount as bid_amount,\n bid_amount_currency as bid_currency,\n keyword as keyword_text,\n keyword_display_status,\n keyword_id,\n local_spend_amount as spend,\n local_spend_currency as currency,\n match_type,\n search_term_source,\n search_term_text,\n impressions,\n taps,\n new_downloads,\n redownloads\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__search_term_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report_tmp"], ["stg_apple_search_ads__search_term_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.apple_search_ads_source.get_search_term_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__search_term_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as boolean) as \n \n ad_group_deleted\n \n , \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n ad_group_name\n \n , \n cast(null as numeric) as \n \n bid_amount_amount\n \n , \n cast(null as STRING) as \n \n bid_amount_currency\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as boolean) as \n \n deleted\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n keyword\n \n , \n cast(null as STRING) as \n \n keyword_display_status\n \n , \n cast(null as INT64) as \n \n keyword_id\n \n , \n cast(null as numeric) as \n \n local_spend_amount\n \n , \n cast(null as STRING) as \n \n local_spend_currency\n \n , \n cast(null as STRING) as \n \n match_type\n \n , \n cast(null as INT64) as \n \n new_downloads\n \n , \n cast(null as INT64) as \n \n redownloads\n \n , \n cast(null as STRING) as \n \n search_term_source\n \n , \n cast(null as STRING) as \n \n search_term_text\n \n , \n cast(null as INT64) as \n \n taps\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n _fivetran_id,\n campaign_id,\n ad_group_id,\n ad_group_name,\n bid_amount_amount as bid_amount,\n bid_amount_currency as bid_currency,\n keyword as keyword_text,\n keyword_display_status,\n keyword_id,\n local_spend_amount as spend,\n local_spend_currency as currency,\n match_type,\n search_term_source,\n search_term_text,\n impressions,\n taps,\n new_downloads,\n redownloads\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_group_history.sql", "original_file_path": "models/stg_apple_search_ads__ad_group_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_group_history"], "alias": "stg_apple_search_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "b2081179706957545ca7818fd65e298a3948051372426039e2ecffd091fef371"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad group in Apple Search Ads.", "columns": {"modified_at": {"name": "modified_at", "description": "Timestamp of when the ad group object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The designated ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The designated ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.451267, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_group_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n select \n modification_time as modified_at,\n organization_id,\n campaign_id,\n name as ad_group_name,\n id as ad_group_id,\n status as ad_group_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history_tmp"], ["stg_apple_search_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n modification_time\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n organization_id\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n select \n modification_time as modified_at,\n organization_id,\n campaign_id,\n name as ad_group_name,\n id as ad_group_id,\n status as ad_group_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_history.sql", "original_file_path": "models/stg_apple_search_ads__ad_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_history"], "alias": "stg_apple_search_ads__ad_history", "checksum": {"name": "sha256", "checksum": "4abb76f80d87af32ba976747bb0accf3b1641854a41a3e9d8ebec94533405d23"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad in Apple Search Ads.", "columns": {"created_at": {"name": "created_at", "description": "Timestamp of when ad was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "Timestamp of when the ad object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "The current status of the ad, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.45788, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n creation_time as created_at,\n modification_time as modified_at,\n org_id as organization_id,\n campaign_id,\n ad_group_id,\n name as ad_name,\n id as ad_id,\n status as ad_status, \n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_history_tmp"], ["stg_apple_search_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n creation_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n modification_time\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n org_id\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n creation_time as created_at,\n modification_time as modified_at,\n org_id as organization_id,\n campaign_id,\n ad_group_id,\n name as ad_name,\n id as ad_id,\n status as ad_status, \n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_group_report.sql", "original_file_path": "models/stg_apple_search_ads__ad_group_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_group_report"], "alias": "stg_apple_search_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "a6f8f1e79e88e2512acd90e2768436ef73939e82acd46b79c0775ba19865147d"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad group in Apple Search Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served. Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.454632, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_group_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_group_report_tmp')),\n staging_columns=get_ad_group_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n date as date_day, \n ad_group_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report_tmp"], ["stg_apple_search_ads__ad_group_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_group_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n ad_group_id\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n local_spend_amount\n \n , \n cast(null as STRING) as \n \n local_spend_currency\n \n , \n cast(null as INT64) as \n \n new_downloads\n \n , \n cast(null as INT64) as \n \n redownloads\n \n , \n cast(null as INT64) as \n \n taps\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n date as date_day, \n ad_group_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__search_term_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__search_term_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__search_term_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__search_term_report_tmp"], "alias": "stg_apple_search_ads__search_term_report_tmp", "checksum": {"name": "sha256", "checksum": "86f6e99ff5c0373cf5ec106d4011966278601cb5350d588466564e2dca2fa951"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.7463958, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report_tmp`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__apple_search_ads_enabled','apple_search_ads__using_search_terms'])) }}\n\nselect * \nfrom {{ var('search_term_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "search_term_report"]], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars"], "nodes": ["source.apple_search_ads_source.apple_search_ads.search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__search_term_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`search_term_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__campaign_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__campaign_history_tmp"], "alias": "stg_apple_search_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "e23c062d3d75b890a717ab4047e5a0dccf7c098b3927935df02f76c17acb3ea7"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.753528, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__keyword_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__keyword_history_tmp"], "alias": "stg_apple_search_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "852fa9ece91c72dd36f654ce0d71f2af4a1707385c0fa00e3d68e206e4ac456b"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.760277, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`keyword_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_group_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_group_history_tmp"], "alias": "stg_apple_search_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "69317b26b7a3c109c0e5e61d7fdad053cb0549479a0dfdacd0d67ff0757cc97e"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.767048, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`ad_group_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_group_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_group_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_group_report_tmp"], "alias": "stg_apple_search_ads__ad_group_report_tmp", "checksum": {"name": "sha256", "checksum": "91089253c95dee7d0aea3f9b8cc49cf343c2d06acf0de36641ebaef03e1d2b1b"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.77443, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_group_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_group_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`ad_group_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_history_tmp"], "alias": "stg_apple_search_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "7b184af2299b7d42defa4606467cf9bf379e10cec768bf1e5825c040dbdfacb8"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.781107, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__campaign_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__campaign_report_tmp"], "alias": "stg_apple_search_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "ae8d95be0097305356d0ba251d324d35bbe367edcf342c958f69fea9f89625f2"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.787803, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`campaign_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__organization_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__organization_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__organization_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__organization_tmp"], "alias": "stg_apple_search_ads__organization_tmp", "checksum": {"name": "sha256", "checksum": "4a62af784e819ec6034aa89fe16019f027c9994b192426e70bcf18bda3d117a9"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.7945979, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('organization') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "organization"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.organization"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__organization_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`organization`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__keyword_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__keyword_report_tmp"], "alias": "stg_apple_search_ads__keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "5009b770850f4f2648d5498a78b1491e6a44250d9ac2d7c08c249e8624f517f2"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.8020039, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`keyword_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_apple_search_ads_source", "name": "stg_apple_search_ads__ad_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_report_tmp"], "alias": "stg_apple_search_ads__ad_report_tmp", "checksum": {"name": "sha256", "checksum": "1744a47e20045a53726079456f5aba358e0292dd8a14d670e6ab7b2c30ece7ee"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425971.808855, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_level_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_level_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`apple_search_ads`.`ad_level_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__pin_promotion_history.sql", "original_file_path": "models/stg_pinterest_ads__pin_promotion_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "fqn": ["pinterest_source", "stg_pinterest_ads__pin_promotion_history"], "alias": "stg_pinterest_ads__pin_promotion_history", "checksum": {"name": "sha256", "checksum": "e24e7b799bab5b8e676d2cd221c948f13063c4ac00fe3a6bdfe459413bb1a404"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a Pinterest Pin promotion.", "columns": {"pin_promotion_id": {"name": "pin_promotion_id", "description": "Pin promotion ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Pin promotion ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Pin creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_name": {"name": "pin_name", "description": "Pin promotion name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_id": {"name": "pin_id", "description": "Original pin ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_status": {"name": "pin_status", "description": "The status of the Pin promotion. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.5964952, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__pin_promotion_history_tmp') }}\n), \n\nfields as (\n\n select\n\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__pin_promotion_history_tmp')),\n staging_columns=get_pin_promotion_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select\n id as pin_promotion_id,\n ad_group_id,\n created_time as created_at,\n destination_url,\n {{ dbt.split_part('destination_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('destination_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('destination_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_term') }} as utm_term,\n name as pin_name,\n pin_id,\n status as pin_status,\n creative_type,\n _fivetran_synced,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_history_tmp"], ["stg_pinterest_ads__pin_promotion_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_pin_promotion_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__pin_promotion_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history_tmp`\n), \n\nfields as (\n\n select\n\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n android_deep_link\n \n , \n cast(null as STRING) as \n \n click_tracking_url\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n creative_type\n \n , \n cast(null as STRING) as \n \n destination_url\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n ios_deep_link\n \n , \n cast(null as boolean) as \n \n is_pin_deleted\n \n , \n cast(null as boolean) as \n \n is_removable\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n pin_id\n \n , \n cast(null as STRING) as \n \n review_status\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as TIMESTAMP) as \n \n updated_time\n \n , \n cast(null as STRING) as \n \n view_tracking_url\n \n \n\n\n from base\n), \n\nfinal as (\n\n select\n id as pin_promotion_id,\n ad_group_id,\n created_time as created_at,\n destination_url,\n \n\n \n split(\n destination_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n name as pin_name,\n pin_id,\n status as pin_status,\n creative_type,\n _fivetran_synced,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__keyword_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__keyword_report.sql", "original_file_path": "models/stg_pinterest_ads__keyword_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report", "fqn": ["pinterest_source", "stg_pinterest_ads__keyword_report"], "alias": "stg_pinterest_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "041972aec2c8e0b6e3655d0c2c13ff2d06dd8569a75a835ea881824a3c07dcca"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of Keywords by ad group, campaign, and advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.717707, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__keyword_report_tmp')),\n staging_columns=get_keyword_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n {{ dbt.date_trunc('day', 'date') }} as date_day,\n keyword_id,\n pin_promotion_id,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__keyword_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report_tmp"], ["stg_pinterest_ads__keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n ad_group_name\n \n , \n cast(null as STRING) as \n \n ad_group_status\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clickthrough_1\n \n , \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impression_1\n \n , \n cast(null as INT64) as \n \n impression_2\n \n , \n cast(null as STRING) as \n \n keyword_id\n \n , \n cast(null as STRING) as \n \n pin_promotion_id\n \n , \n cast(null as INT64) as \n \n spend_in_micro_dollar\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n keyword_id,\n pin_promotion_id,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__ad_group_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__ad_group_report.sql", "original_file_path": "models/stg_pinterest_ads__ad_group_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report", "fqn": ["pinterest_source", "stg_pinterest_ads__ad_group_report"], "alias": "stg_pinterest_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "9617b510c122f03795bf8c8e2978d343fd8ea7a3bc11d4d687c91869e309143f"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Pinterest Ad Groups by campaign and advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.687775, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__ad_group_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__ad_group_report_tmp')),\n staging_columns=get_ad_group_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__ad_group_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report_tmp"], ["stg_pinterest_ads__ad_group_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_ad_group_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n ad_group_name\n \n , \n cast(null as STRING) as \n \n ad_group_status\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clickthrough_1\n \n , \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impression_1\n \n , \n cast(null as INT64) as \n \n impression_2\n \n , \n cast(null as INT64) as \n \n spend_in_micro_dollar\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__campaign_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__campaign_history.sql", "original_file_path": "models/stg_pinterest_ads__campaign_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history", "fqn": ["pinterest_source", "stg_pinterest_ads__campaign_history"], "alias": "stg_pinterest_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "945f535a560d134e94225647469d1cfbe295ed547b84be7af6575b9d86d4baa0"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a Pinterest Campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Campaign creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the Campaign. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.5893, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__campaign_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n id as campaign_id,\n name as campaign_name,\n advertiser_id,\n status as campaign_status,\n _fivetran_synced,\n created_time as created_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__campaign_history_tmp"], ["stg_pinterest_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_history_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n id as campaign_id,\n name as campaign_name,\n advertiser_id,\n status as campaign_status,\n _fivetran_synced,\n created_time as created_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__advertiser_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__advertiser_report.sql", "original_file_path": "models/stg_pinterest_ads__advertiser_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report", "fqn": ["pinterest_source", "stg_pinterest_ads__advertiser_report"], "alias": "stg_pinterest_ads__advertiser_report", "checksum": {"name": "sha256", "checksum": "870b2eac0c7dc5686b5b7cc39c6d07f31f8d6f9d6cbc84ae0ee4cf6c2f5b20b8"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an Advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.699467, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__advertiser_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__advertiser_report_tmp')),\n staging_columns=get_advertiser_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__advertiser_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report_tmp"], ["stg_pinterest_ads__advertiser_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_advertiser_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__advertiser_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as INT64) as \n \n clickthrough_1\n \n , \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impression_1\n \n , \n cast(null as INT64) as \n \n impression_2\n \n , \n cast(null as INT64) as \n \n spend_in_micro_dollar\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__advertiser_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__advertiser_history.sql", "original_file_path": "models/stg_pinterest_ads__advertiser_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history", "fqn": ["pinterest_source", "stg_pinterest_ads__advertiser_history"], "alias": "stg_pinterest_ads__advertiser_history", "checksum": {"name": "sha256", "checksum": "c373922dcac412d7b7290ec100cdf341ca19176968c29f240be32e7acd0ca7d9"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an advertiser.", "columns": {"advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_status": {"name": "advertiser_status", "description": "Status of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_profile_status": {"name": "billing_profile_status", "description": "Status of the billing profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_type": {"name": "billing_type", "description": "The billing type of the advertiser. Will typically be CREDIT_CARD or INVOICE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The country code where the advertiser is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Timestamp of when a record was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code which the advertiser is set up using.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "merchant_id": {"name": "merchant_id", "description": "Unique ID of the merchant associated with the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "owner_user_id": {"name": "owner_user_id", "description": "Unique identifier of the owner user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when a record was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.695874, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__advertiser_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__advertiser_history_tmp')),\n staging_columns=get_advertiser_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as advertiser_id,\n name as advertiser_name,\n status as advertiser_status,\n billing_profile_status,\n billing_type,\n country,\n created_time as created_at,\n currency as currency_code,\n merchant_id,\n owner_user_id,\n updated_time as updated_at,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_history_tmp"], ["stg_pinterest_ads__advertiser_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_advertiser_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__advertiser_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n billing_profile_status\n \n , \n cast(null as STRING) as \n \n billing_type\n \n , \n cast(null as STRING) as \n \n country\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n merchant_id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n owner_user_id\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as TIMESTAMP) as \n \n updated_time\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as advertiser_id,\n name as advertiser_name,\n status as advertiser_status,\n billing_profile_status,\n billing_type,\n country,\n created_time as created_at,\n currency as currency_code,\n merchant_id,\n owner_user_id,\n updated_time as updated_at,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__campaign_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__campaign_report.sql", "original_file_path": "models/stg_pinterest_ads__campaign_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report", "fqn": ["pinterest_source", "stg_pinterest_ads__campaign_report"], "alias": "stg_pinterest_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "d329a85922efac69ec814a21b6650f97f0c4658550fb9d345d38c7ba5bfa69bc"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of Campaigns by advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.7046342, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n campaign_id,\n campaign_name,\n campaign_status,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__campaign_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report_tmp"], ["stg_pinterest_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n campaign_name\n \n , \n cast(null as STRING) as \n \n campaign_status\n \n , \n cast(null as INT64) as \n \n clickthrough_1\n \n , \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impression_1\n \n , \n cast(null as INT64) as \n \n impression_2\n \n , \n cast(null as INT64) as \n \n spend_in_micro_dollar\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n campaign_id,\n campaign_name,\n campaign_status,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__keyword_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__keyword_history.sql", "original_file_path": "models/stg_pinterest_ads__keyword_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history", "fqn": ["pinterest_source", "stg_pinterest_ads__keyword_history"], "alias": "stg_pinterest_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "8b3313f6551f5e5a8929436411869bcd40e86fdcf8093d1158ac4ccbb75a063d"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Keyword.", "columns": {"keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_value": {"name": "keyword_value", "description": "The text value that makes upd the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_id": {"name": "_fivetran_id", "description": "The unique identifier of the record within the Fivetran synced table.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "archived": {"name": "archived", "description": "Boolean indicating if the keyword is archived.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid amount set for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of match the keyword is tied to. Either Exact or Broad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "parent_type": {"name": "parent_type", "description": "Identifier of what grain the parent type is. Ad group or campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.711326, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n id as keyword_id,\n value as keyword_value,\n _fivetran_id,\n _fivetran_synced,\n ad_group_id,\n advertiser_id,\n archived,\n bid,\n campaign_id,\n match_type,\n parent_type,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__keyword_history_tmp"], ["stg_pinterest_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_history_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as boolean) as \n \n archived\n \n , \n cast(null as INT64) as \n \n bid\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n match_type\n \n , \n cast(null as STRING) as \n \n parent_type\n \n , \n cast(null as STRING) as \n \n value\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n id as keyword_id,\n value as keyword_value,\n _fivetran_id,\n _fivetran_synced,\n ad_group_id,\n advertiser_id,\n archived,\n bid,\n campaign_id,\n match_type,\n parent_type,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__pin_promotion_report.sql", "original_file_path": "models/stg_pinterest_ads__pin_promotion_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "fqn": ["pinterest_source", "stg_pinterest_ads__pin_promotion_report"], "alias": "stg_pinterest_ads__pin_promotion_report", "checksum": {"name": "sha256", "checksum": "8399848dccc00c25a8bc40f817330fe92ac295b3afdb9742d663200a25a0fdc0"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Pinterest Pin promotion by ad group, campaign, and advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.599741, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__pin_promotion_report_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__pin_promotion_report_tmp')),\n staging_columns=get_pin_promotion_report_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n pin_promotion_id,\n ad_group_id,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__pin_promotion_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report_tmp"], ["stg_pinterest_ads__pin_promotion_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_pin_promotion_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__pin_promotion_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_group_id\n \n , \n cast(null as STRING) as \n \n advertiser_id\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as numeric) as \n \n clickthrough_1\n \n , \n cast(null as numeric) as \n \n clickthrough_2\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as numeric) as \n \n impression_1\n \n , \n cast(null as numeric) as \n \n impression_2\n \n , \n cast(null as STRING) as \n \n pin_promotion_id\n \n , \n cast(null as numeric) as \n \n spend_in_micro_dollar\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n pin_promotion_id,\n ad_group_id,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__ad_group_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__ad_group_history.sql", "original_file_path": "models/stg_pinterest_ads__ad_group_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history", "fqn": ["pinterest_source", "stg_pinterest_ads__ad_group_history"], "alias": "stg_pinterest_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "3fc611eb025a550beebacb144b8fd5b95070cc7d212cdc73029b5e2132272902"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a Pinterest Ad Group.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Parent Campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Ad group creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "The status of the Ad group. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679425975.586197, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__ad_group_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n id as ad_group_id,\n name as ad_group_name,\n status as ad_group_status,\n _fivetran_synced,\n campaign_id,\n created_time as created_at,\n end_time,\n start_time,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_history_tmp"], ["stg_pinterest_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n id as ad_group_id,\n name as ad_group_name,\n status as ad_group_status,\n _fivetran_synced,\n campaign_id,\n created_time as created_at,\n end_time,\n start_time,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__advertiser_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__advertiser_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__advertiser_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__advertiser_history_tmp"], "alias": "stg_pinterest_ads__advertiser_history_tmp", "checksum": {"name": "sha256", "checksum": "30228e737c74f3502de539edf195e6ac0f1bc20d81b4625f2a7d38b7b444e025"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.087154, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('advertiser_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "advertiser_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.advertiser_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__advertiser_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`pinterest_ads`.`advertiser_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__pin_promotion_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__pin_promotion_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__pin_promotion_report_tmp"], "alias": "stg_pinterest_ads__pin_promotion_report_tmp", "checksum": {"name": "sha256", "checksum": "055e6b22a0ebf3ae5ebc592a2d59fde23e9c4aa97307e7bc9d07fdd564d29318"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.09375, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('pin_promotion_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "pin_promotion_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__pin_promotion_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`pinterest_ads`.`pin_promotion_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__campaign_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__campaign_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__campaign_report_tmp"], "alias": "stg_pinterest_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "297b62832ce1e1cf4ec432c98f64696ae82b6d5461ba9a6991f9143d8680600e"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.100351, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`pinterest_ads`.`campaign_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__advertiser_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__advertiser_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__advertiser_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__advertiser_report_tmp"], "alias": "stg_pinterest_ads__advertiser_report_tmp", "checksum": {"name": "sha256", "checksum": "51f6279568da2b328c230e1141b82a8d4cf23f0db1d71797da244ba0f850f80c"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.1076632, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('advertiser_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "advertiser_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__advertiser_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`pinterest_ads`.`advertiser_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__keyword_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__keyword_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__keyword_report_tmp"], "alias": "stg_pinterest_ads__keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "8d5de2659df4d8c7f106988e098aad658de1e0df637686bc39641dbfd58528ab"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.1142132, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`pinterest_ads`.`keyword_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__ad_group_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__ad_group_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__ad_group_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__ad_group_report_tmp"], "alias": "stg_pinterest_ads__ad_group_report_tmp", "checksum": {"name": "sha256", "checksum": "416b2ba76c7422ae9d0cc9027cfda76b1461ead0158a8cc3d7bcec5765fa7fa4"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.120827, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "ad_group_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__ad_group_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`pinterest_ads`.`ad_group_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__keyword_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__keyword_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__keyword_history_tmp"], "alias": "stg_pinterest_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "7fbf43157af6c11490590879cc6abd74a981291eaa179873d44ee6517d058272"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.1275158, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.keyword_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`pinterest_ads`.`keyword_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__campaign_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__campaign_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__campaign_history_tmp"], "alias": "stg_pinterest_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "6b6e9567363f5912e8f6c2f8547e79e160a7e998dbfb2ac6fe193c73949b9163"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.1348858, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.campaign_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`pinterest_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__ad_group_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__ad_group_history_tmp"], "alias": "stg_pinterest_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "781c3dac60c7fc9e9f08f8ad4fce2e5fec42b09036486e24814e717cec4b4ce3"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.141433, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.ad_group_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`pinterest_ads`.`ad_group_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__pin_promotion_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__pin_promotion_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__pin_promotion_history_tmp"], "alias": "stg_pinterest_ads__pin_promotion_history_tmp", "checksum": {"name": "sha256", "checksum": "268ac897534336c397f3c313861c98d0a47f3022d3fc2aefcc201fb3d1db81b9"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.147989, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('pin_promotion_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "pin_promotion_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.pin_promotion_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__pin_promotion_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`pinterest_ads`.`pin_promotion_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_report_hourly", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__campaign_report_hourly.sql", "original_file_path": "models/stg_tiktok_ads__campaign_report_hourly.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__campaign_report_hourly"], "alias": "stg_tiktok_ads__campaign_report_hourly", "checksum": {"name": "sha256", "checksum": "4a1fb091732e5edc0b035accbe4bf8d5485868129b8e52e6573cc9b06bca582e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represent data for each campaign for each hour.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time per user your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425976.014246, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__campaign_report_hourly_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__campaign_report_hourly_tmp')),\n staging_columns=get_campaign_report_hourly_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(stat_time_hour as {{ dbt.type_timestamp() }}) as stat_time_hour,\n cpc, \n cpm,\n ctr,\n impressions,\n clicks,\n spend,\n reach,\n conversion,\n cost_per_conversion,\n conversion_rate,\n likes,\n comments,\n shares,\n profile_visits,\n follows,\n video_play_actions,\n video_watched_2_s,\n video_watched_6_s,\n video_views_p_25,\n video_views_p_50,\n video_views_p_75,\n average_video_play,\n average_video_play_per_user\n\n {{ fivetran_utils.fill_pass_through_columns('tiktok_ads__campaign_hourly_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly_tmp"], ["stg_tiktok_ads__campaign_report_hourly_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_campaign_report_hourly_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__campaign_report_hourly.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as numeric) as \n \n campaign_id\n \n , \n cast(null as FLOAT64) as \n \n average_video_play\n \n , \n cast(null as FLOAT64) as \n \n average_video_play_per_user\n \n , \n cast(null as numeric) as \n \n clicks\n \n , \n cast(null as numeric) as \n \n comments\n \n , \n cast(null as numeric) as \n \n conversion\n \n , \n cast(null as FLOAT64) as \n \n conversion_rate\n \n , \n cast(null as FLOAT64) as \n \n cost_per_conversion\n \n , \n cast(null as FLOAT64) as \n \n cpc\n \n , \n cast(null as FLOAT64) as \n \n cpm\n \n , \n cast(null as FLOAT64) as \n \n ctr\n \n , \n cast(null as numeric) as \n \n follows\n \n , \n cast(null as numeric) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n likes\n \n , \n cast(null as numeric) as \n \n profile_visits\n \n , \n cast(null as numeric) as \n \n reach\n \n , \n cast(null as numeric) as \n \n shares\n \n , \n cast(null as numeric) as \n \n spend\n \n , \n cast(null as TIMESTAMP) as \n \n stat_time_hour\n \n , \n cast(null as numeric) as \n \n video_play_actions\n \n , \n cast(null as numeric) as \n \n video_views_p_25\n \n , \n cast(null as numeric) as \n \n video_views_p_50\n \n , \n cast(null as numeric) as \n \n video_views_p_75\n \n , \n cast(null as numeric) as \n \n video_watched_2_s\n \n , \n cast(null as numeric) as \n \n video_watched_6_s\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(stat_time_hour as TIMESTAMP) as stat_time_hour,\n cpc, \n cpm,\n ctr,\n impressions,\n clicks,\n spend,\n reach,\n conversion,\n cost_per_conversion,\n conversion_rate,\n likes,\n comments,\n shares,\n profile_visits,\n follows,\n video_play_actions,\n video_watched_2_s,\n video_watched_6_s,\n video_views_p_25,\n video_views_p_50,\n video_views_p_75,\n average_video_play,\n average_video_play_per_user\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_report_hourly", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_group_report_hourly.sql", "original_file_path": "models/stg_tiktok_ads__ad_group_report_hourly.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_group_report_hourly"], "alias": "stg_tiktok_ads__ad_group_report_hourly", "checksum": {"name": "sha256", "checksum": "e6aa8625ed40497e25ec5f7f5dd5a02febf003e50002aad7d5fa11bc5cd353b8"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad group for each hour.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time per user your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425976.004504, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_group_report_hourly_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_group_report_hourly_tmp')),\n staging_columns=get_ad_group_report_hourly_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n adgroup_id as ad_group_id,\n cast(stat_time_hour as {{ dbt.type_timestamp() }}) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n {{ fivetran_utils.fill_pass_through_columns('tiktok_ads__ad_group_hourly_passthrough_metrics') }}\n\n from fields\n) \n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly_tmp"], ["stg_tiktok_ads__ad_group_report_hourly_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_group_report_hourly_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_group_report_hourly.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as numeric) as \n \n adgroup_id\n \n , \n cast(null as FLOAT64) as \n \n average_video_play\n \n , \n cast(null as FLOAT64) as \n \n average_video_play_per_user\n \n , \n cast(null as numeric) as \n \n clicks\n \n , \n cast(null as numeric) as \n \n comments\n \n , \n cast(null as numeric) as \n \n conversion\n \n , \n cast(null as FLOAT64) as \n \n conversion_rate\n \n , \n cast(null as FLOAT64) as \n \n cost_per_conversion\n \n , \n cast(null as FLOAT64) as \n \n cpc\n \n , \n cast(null as FLOAT64) as \n \n cpm\n \n , \n cast(null as FLOAT64) as \n \n ctr\n \n , \n cast(null as numeric) as \n \n follows\n \n , \n cast(null as numeric) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n likes\n \n , \n cast(null as numeric) as \n \n profile_visits\n \n , \n cast(null as numeric) as \n \n reach\n \n , \n cast(null as numeric) as \n \n shares\n \n , \n cast(null as numeric) as \n \n spend\n \n , \n cast(null as TIMESTAMP) as \n \n stat_time_hour\n \n , \n cast(null as numeric) as \n \n video_play_actions\n \n , \n cast(null as numeric) as \n \n video_views_p_25\n \n , \n cast(null as numeric) as \n \n video_views_p_50\n \n , \n cast(null as numeric) as \n \n video_views_p_75\n \n , \n cast(null as numeric) as \n \n video_watched_2_s\n \n , \n cast(null as numeric) as \n \n video_watched_6_s\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n adgroup_id as ad_group_id,\n cast(stat_time_hour as TIMESTAMP) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n \n\n\n\n\n\n from fields\n) \n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_history", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_group_history.sql", "original_file_path": "models/stg_tiktok_ads__ad_group_history.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_group_history"], "alias": "stg_tiktok_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "293ad5bd25638965207578b5a55376e173cb199e24c62f0e3fd643c9db913a5a"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad group.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The Ad group's campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_days": {"name": "action_days", "description": "Action days", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name. Character limit is 512 and cannot contain emoji.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_name": {"name": "display_name", "description": "Display name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "frequency, together with frequency_schedule, controls how often people see your ad (only available for REACH ads). For example, frequency = 2 frequency_schedule = 3 means \"show ads no more than twice every 3 day\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_schedule": {"name": "frequency_schedule", "description": "frequency, together with frequency, controls how often people see your ad (only available for REACH ads).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Whether record is the most recent one for this particular grain.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425975.9749079, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_group_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n\n from base\n), \n\nfinal as (\n\n select\n adgroup_id as ad_group_id,\n cast(updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n advertiser_id,\n campaign_id,\n action_days,\n action_categories,\n adgroup_name as ad_group_name,\n age,\n audience_type,\n budget,\n category,\n display_name,\n interest_category_v_2 as interest_category,\n frequency,\n frequency_schedule,\n gender,\n languages, \n landing_page_url,\n row_number() over (partition by adgroup_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_history_tmp"], ["stg_tiktok_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as numeric) as \n \n action_days\n \n , \n cast(null as numeric) as \n \n adgroup_id\n \n , \n cast(null as STRING) as \n \n adgroup_name\n \n , \n cast(null as numeric) as \n \n advertiser_id\n \n , \n cast(null as STRING) as \n \n audience_type\n \n , \n cast(null as FLOAT64) as \n \n budget\n \n , \n cast(null as numeric) as \n \n campaign_id\n \n , \n cast(null as numeric) as \n \n category\n \n , \n cast(null as STRING) as \n \n display_name\n \n , \n cast(null as numeric) as \n \n frequency\n \n , \n cast(null as numeric) as \n \n frequency_schedule\n \n , \n cast(null as STRING) as \n \n gender\n \n , \n cast(null as STRING) as \n \n landing_page_url\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n , \n cast(null as STRING) as \n \n interest_category_v_2\n \n , \n cast(null as STRING) as \n \n action_categories\n \n , \n cast(null as STRING) as \n \n age\n \n , \n cast(null as STRING) as \n \n languages\n \n \n\n\n\n from base\n), \n\nfinal as (\n\n select\n adgroup_id as ad_group_id,\n cast(updated_at as TIMESTAMP) as updated_at,\n advertiser_id,\n campaign_id,\n action_days,\n action_categories,\n adgroup_name as ad_group_name,\n age,\n audience_type,\n budget,\n category,\n display_name,\n interest_category_v_2 as interest_category,\n frequency,\n frequency_schedule,\n gender,\n languages, \n landing_page_url,\n row_number() over (partition by adgroup_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_report_hourly", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_report_hourly.sql", "original_file_path": "models/stg_tiktok_ads__ad_report_hourly.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_report_hourly"], "alias": "stg_tiktok_ads__ad_report_hourly", "checksum": {"name": "sha256", "checksum": "6da656ea12d8f458960301cdc683b06b0556eb112a4d553491d9b9267ff78776"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad for each hour.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time per user your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425975.994708, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_report_hourly_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_report_hourly_tmp')),\n staging_columns=get_ad_report_hourly_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n ad_id, \n cast(stat_time_hour as {{ dbt.type_timestamp() }}) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n {{ fivetran_utils.fill_pass_through_columns('tiktok_ads__ad_hourly_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly_tmp"], ["stg_tiktok_ads__ad_report_hourly_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_report_hourly_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_report_hourly.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as numeric) as \n \n ad_id\n \n , \n cast(null as FLOAT64) as \n \n average_video_play\n \n , \n cast(null as FLOAT64) as \n \n average_video_play_per_user\n \n , \n cast(null as numeric) as \n \n clicks\n \n , \n cast(null as numeric) as \n \n comments\n \n , \n cast(null as numeric) as \n \n conversion\n \n , \n cast(null as FLOAT64) as \n \n conversion_rate\n \n , \n cast(null as FLOAT64) as \n \n cost_per_conversion\n \n , \n cast(null as FLOAT64) as \n \n cpc\n \n , \n cast(null as FLOAT64) as \n \n cpm\n \n , \n cast(null as FLOAT64) as \n \n ctr\n \n , \n cast(null as numeric) as \n \n follows\n \n , \n cast(null as numeric) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n likes\n \n , \n cast(null as numeric) as \n \n profile_visits\n \n , \n cast(null as numeric) as \n \n reach\n \n , \n cast(null as numeric) as \n \n shares\n \n , \n cast(null as numeric) as \n \n spend\n \n , \n cast(null as TIMESTAMP) as \n \n stat_time_hour\n \n , \n cast(null as numeric) as \n \n video_play_actions\n \n , \n cast(null as numeric) as \n \n video_views_p_25\n \n , \n cast(null as numeric) as \n \n video_views_p_50\n \n , \n cast(null as numeric) as \n \n video_views_p_75\n \n , \n cast(null as numeric) as \n \n video_watched_2_s\n \n , \n cast(null as numeric) as \n \n video_watched_6_s\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n ad_id, \n cast(stat_time_hour as TIMESTAMP) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__advertiser": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__advertiser", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__advertiser.sql", "original_file_path": "models/stg_tiktok_ads__advertiser.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__advertiser"], "alias": "stg_tiktok_ads__advertiser", "checksum": {"name": "sha256", "checksum": "759a97a786242ecdb350f1852e0861bbeae8218dc19a4047fee98c96ea0ba8be"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each advertiser.", "columns": {"advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "address": {"name": "address", "description": "Advertiser address information", "meta": {}, "data_type": null, "quote": null, "tags": []}, "balance": {"name": "balance", "description": "Account available balance", "meta": {}, "data_type": null, "quote": null, "tags": []}, "company": {"name": "company", "description": "Advertiser's company name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "contacter": {"name": "contacter", "description": "Contact Person", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The advertiser's country", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Advertiser's create time", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Type of currency used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "description": {"name": "description", "description": "Brand description, i.e. promotional content", "meta": {}, "data_type": null, "quote": null, "tags": []}, "email": {"name": "email", "description": "Advertiser contact email, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry": {"name": "industry", "description": "Advertiser industry category", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Language used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_no": {"name": "license_no", "description": "License number", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_url": {"name": "license_url", "description": "License preview address, the link is valid for an hour by default.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "phone_number": {"name": "phone_number", "description": "Contact mobile number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "telephone": {"name": "telephone", "description": "Fixed phone number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Ad account time zone including GMT offset", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425975.9679391, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__advertiser_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__advertiser_tmp')),\n staging_columns=get_advertiser_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n\n select \n id as advertiser_id, \n address, \n balance, \n company, \n contacter, \n country, \n currency, \n description, \n email, \n industry, \n language,\n name as advertiser_name, \n phone_number, \n telephone, \n timezone\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__advertiser_tmp"], ["stg_tiktok_ads__advertiser_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_advertiser_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp", "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__advertiser.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n address\n \n , \n cast(null as FLOAT64) as \n \n balance\n \n , \n cast(null as STRING) as \n \n company\n \n , \n cast(null as STRING) as \n \n contacter\n \n , \n cast(null as STRING) as \n \n country\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as STRING) as \n \n description\n \n , \n cast(null as STRING) as \n \n email\n \n , \n cast(null as numeric) as \n \n id\n \n , \n cast(null as STRING) as \n \n industry\n \n , \n cast(null as STRING) as \n \n language\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n phone_number\n \n , \n cast(null as STRING) as \n \n telephone\n \n , \n cast(null as STRING) as \n \n timezone\n \n \n\n\n\n from base\n),\n\nfinal as (\n\n select \n id as advertiser_id, \n address, \n balance, \n company, \n contacter, \n country, \n currency, \n description, \n email, \n industry, \n language,\n name as advertiser_name, \n phone_number, \n telephone, \n timezone\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_history", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_history.sql", "original_file_path": "models/stg_tiktok_ads__ad_history.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_history"], "alias": "stg_tiktok_ads__ad_history", "checksum": {"name": "sha256", "checksum": "04ee4bd6f5c670fa46d8c3d6846d21da350c898d5287ee8cca7a8db9518f5b5e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad Name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action": {"name": "call_to_action", "description": "Call to action values.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_tracking_url": {"name": "click_tracking_url", "description": "Click monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_tracking_url": {"name": "impression_tracking_url", "description": "Display monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Whether record is the most recent one for this particular grain.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425975.981826, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n\n from base\n), \n\nfinal as (\n\n select \n ad_id,\n cast(updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n adgroup_id as ad_group_id,\n advertiser_id,\n campaign_id,\n ad_name,\n call_to_action,\n click_tracking_url,\n impression_tracking_url,\n {{ dbt.split_part('landing_page_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('landing_page_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('landing_page_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_term') }} as utm_term,\n landing_page_url,\n row_number() over (partition by ad_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_history_tmp"], ["stg_tiktok_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as numeric) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n ad_name\n \n , \n cast(null as numeric) as \n \n adgroup_id\n \n , \n cast(null as numeric) as \n \n advertiser_id\n \n , \n cast(null as STRING) as \n \n call_to_action\n \n , \n cast(null as numeric) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n click_tracking_url\n \n , \n cast(null as STRING) as \n \n impression_tracking_url\n \n , \n cast(null as STRING) as \n \n landing_page_url\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n ad_id,\n cast(updated_at as TIMESTAMP) as updated_at,\n adgroup_id as ad_group_id,\n advertiser_id,\n campaign_id,\n ad_name,\n call_to_action,\n click_tracking_url,\n impression_tracking_url,\n \n\n \n split(\n landing_page_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n landing_page_url,\n row_number() over (partition by ad_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_history", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__campaign_history.sql", "original_file_path": "models/stg_tiktok_ads__campaign_history.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__campaign_history"], "alias": "stg_tiktok_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "cee0a9b6849129be52b0512780a02bfc3ced5461a128c9a7006cfaf5230673c9"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "Campaign Type, indicates the campaign is a regular campaign or iOS 14 campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "split_test_variable": {"name": "split_test_variable", "description": "Split Test variables. Optional values; TARGETING, BIDDING_OPTIMIZATION , CREATIVE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Whether record is the most recent one for this particular grain.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425975.984707, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__campaign_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n advertiser_id,\n campaign_name,\n campaign_type,\n split_test_variable,\n row_number() over (partition by campaign_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__campaign_history_tmp"], ["stg_tiktok_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history_tmp`\n), \n\nfields as (\n\n select\n \n cast(null as numeric) as \n \n advertiser_id\n \n , \n cast(null as numeric) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n campaign_name\n \n , \n cast(null as STRING) as \n \n campaign_type\n \n , \n cast(null as STRING) as \n \n split_test_variable\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(updated_at as TIMESTAMP) as updated_at,\n advertiser_id,\n campaign_name,\n campaign_type,\n split_test_variable,\n row_number() over (partition by campaign_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_report_hourly_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_report_hourly_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_report_hourly_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_report_hourly_tmp"], "alias": "stg_tiktok_ads__ad_report_hourly_tmp", "checksum": {"name": "sha256", "checksum": "30949b79355e85af66a3df6de9ef124c666c0bf8ecc911ad673eb56cf3124b7e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.3294442, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_report_hourly') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "ad_report_hourly"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_report_hourly_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`ad_report_hourly`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_history_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_history_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_history_tmp"], "alias": "stg_tiktok_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "70d0e01a26a5250c141b3a67fd3b1ffcfceea35645e82096257852badea2b9d2"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.336243, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.ad_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_group_history_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_group_history_tmp"], "alias": "stg_tiktok_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "656a88662bd5fe65b7e782c1d24ecfc5459e7541ec41b4418f4472f3633aa347"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.34289, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "adgroup_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.adgroup_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`adgroup_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_report_hourly_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__campaign_report_hourly_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__campaign_report_hourly_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__campaign_report_hourly_tmp"], "alias": "stg_tiktok_ads__campaign_report_hourly_tmp", "checksum": {"name": "sha256", "checksum": "3a734b2b71b67ce84e5c0fadfff18429e2aa52abcae9f16aa3832a7c5e94c25e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.3494248, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_report_hourly') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "campaign_report_hourly"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__campaign_report_hourly_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`campaign_report_hourly`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_report_hourly_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_group_report_hourly_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_group_report_hourly_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_group_report_hourly_tmp"], "alias": "stg_tiktok_ads__ad_group_report_hourly_tmp", "checksum": {"name": "sha256", "checksum": "5e607a6ea02a4f66c2d50b092e2d37d6b07d0de03b0490dddde773197364937e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.356907, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_group_hourly') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "adgroup_report_hourly"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_group_report_hourly_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`adgroup_report_hourly`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_history_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__campaign_history_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__campaign_history_tmp"], "alias": "stg_tiktok_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "1c8e0405cc5ddf7b7748f613590108b0b3f786b44a35ac4382079c19072febe5"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.36344, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_stg_tiktok_ads", "name": "stg_tiktok_ads__advertiser_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__advertiser_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__advertiser_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__advertiser_tmp"], "alias": "stg_tiktok_ads__advertiser_tmp", "checksum": {"name": "sha256", "checksum": "43da3da14719af2f23e901aa756fc51b3bd807b1172a7776a811541ee26e8688"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679425972.369953, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('advertiser') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "advertiser"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.advertiser"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__advertiser_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`tiktok_ads`.`advertiser`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__basic_ad": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__basic_ad", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__basic_ad.sql", "original_file_path": "models/stg_facebook_ads__basic_ad.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad", "fqn": ["facebook_ads_source", "stg_facebook_ads__basic_ad"], "alias": "stg_facebook_ads__basic_ad", "checksum": {"name": "sha256", "checksum": "2034249ba6885eae9434fc88a91b108e34b667b7e29c83711b29498b85da644a"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad in Facebook.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "Name of the ad set the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the reported performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of people who saw any content from your Page or about your Page. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "The average number of times each person saw your ad; it is calculated as impressions divided by reach.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.1004732, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__basic_ad_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__basic_ad_tmp')),\n staging_columns=get_basic_ad_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_id as {{ dbt.type_bigint() }}) as ad_id,\n ad_name,\n adset_name as ad_set_name,\n date as date_day,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n impressions,\n coalesce(inline_link_clicks,0) as clicks,\n spend,\n reach,\n frequency\n\n {{ fivetran_utils.fill_pass_through_columns('facebook_ads__basic_ad_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__basic_ad_tmp"], ["stg_facebook_ads__basic_ad_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_basic_ad_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp", "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__basic_ad.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n ad_id\n \n , \n cast(null as STRING) as \n \n ad_name\n \n , \n cast(null as STRING) as \n \n adset_name\n \n , \n cast(null as date) as \n \n date\n \n , \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as INT64) as \n \n inline_link_clicks\n \n , \n cast(null as FLOAT64) as \n \n spend\n \n , \n cast(null as INT64) as \n \n reach\n \n , \n cast(null as FLOAT64) as \n \n frequency\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_id as bigint) as ad_id,\n ad_name,\n adset_name as ad_set_name,\n date as date_day,\n cast(account_id as bigint) as account_id,\n impressions,\n coalesce(inline_link_clicks,0) as clicks,\n spend,\n reach,\n frequency\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__creative_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__creative_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__creative_history.sql", "original_file_path": "models/stg_facebook_ads__creative_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__creative_history"], "alias": "stg_facebook_ads__creative_history", "checksum": {"name": "sha256", "checksum": "b881fe7a6d7f0ec06355c9073495a4e1f89529eceffc1771ca48044e6f401309"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook creative.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "Unique record identifier", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "Unique ID for an ad creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Ad account ID for the account this ad creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_name": {"name": "creative_name", "description": "Name of this ad creative as seen in the ad account's library.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_tags": {"name": "url_tags", "description": "A set of query string parameters which will replace or be appended to urls clicked from page post ads, message of the post, and canvas app install creatives only.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Indicates whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "page_link": {"name": "page_link", "description": "Link for the page.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_page_link": {"name": "template_page_link", "description": "URL destination of Facebook dynamic ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asset_feed_spec_link_urls": {"name": "asset_feed_spec_link_urls", "description": "Link to the asset feed spec", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_child_attachments": {"name": "object_story_link_data_child_attachments", "description": "Link of the object story child attachments", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_caption": {"name": "object_story_link_data_caption", "description": "Link of the object story caption", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_description": {"name": "object_story_link_data_description", "description": "Link of the object story description", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_link": {"name": "object_story_link_data_link", "description": "Link of the object story link", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_message": {"name": "object_story_link_data_message", "description": "Link of the object story message", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ios": {"name": "template_app_link_spec_ios", "description": "Link of the object story spec for ios", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ipad": {"name": "template_app_link_spec_ipad", "description": "Link of the template app spec for ipad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_android": {"name": "template_app_link_spec_android", "description": "Link of the template app for android", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_iphone": {"name": "template_app_link_spec_iphone", "description": "Link of the template app for iphone", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.0963259, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__creative_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__creative_history_tmp')),\n staging_columns=get_creative_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n _fivetran_id,\n _fivetran_synced,\n cast(id as {{ dbt.type_bigint() }}) as creative_id,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n name as creative_name,\n page_link,\n template_page_link,\n url_tags,\n asset_feed_spec_link_urls,\n object_story_link_data_child_attachments,\n object_story_link_data_caption, \n object_story_link_data_description, \n object_story_link_data_link, \n object_story_link_data_message,\n template_app_link_spec_ios,\n template_app_link_spec_ipad,\n template_app_link_spec_android,\n template_app_link_spec_iphone,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__creative_history_tmp"], ["stg_facebook_ads__creative_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_creative_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history_tmp", "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n _fivetran_id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n page_link\n \n , \n cast(null as STRING) as \n \n template_page_link\n \n , \n cast(null as STRING) as \n \n url_tags\n \n , \n cast(null as STRING) as \n \n asset_feed_spec_link_urls\n \n , \n cast(null as STRING) as \n \n object_story_link_data_child_attachments\n \n , \n cast(null as STRING) as \n \n object_story_link_data_caption\n \n , \n cast(null as STRING) as \n \n object_story_link_data_description\n \n , \n cast(null as STRING) as \n \n object_story_link_data_link\n \n , \n cast(null as STRING) as \n \n object_story_link_data_message\n \n , \n cast(null as STRING) as \n \n template_app_link_spec_android\n \n , \n cast(null as STRING) as \n \n template_app_link_spec_ios\n \n , \n cast(null as STRING) as \n \n template_app_link_spec_ipad\n \n , \n cast(null as STRING) as \n \n template_app_link_spec_iphone\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n _fivetran_id,\n _fivetran_synced,\n cast(id as bigint) as creative_id,\n cast(account_id as bigint) as account_id,\n name as creative_name,\n page_link,\n template_page_link,\n url_tags,\n asset_feed_spec_link_urls,\n object_story_link_data_child_attachments,\n object_story_link_data_caption, \n object_story_link_data_description, \n object_story_link_data_link, \n object_story_link_data_message,\n template_app_link_spec_ios,\n template_app_link_spec_ipad,\n template_app_link_spec_android,\n template_app_link_spec_iphone,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__campaign_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__campaign_history.sql", "original_file_path": "models/stg_facebook_ads__campaign_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__campaign_history"], "alias": "stg_facebook_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "d536771ac164bc64d15f6a8f03f6c06626d76f344c02de8d04bf97b978ed60d7"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The time the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "Timestamp of designated campaign start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "Timestamp of designated campaign end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "lifetime_budget": {"name": "lifetime_budget", "description": "Lifetime budget of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.0888052, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n created_time as created_at,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n cast(id as {{ dbt.type_bigint() }}) as campaign_id,\n name as campaign_name,\n start_time as start_at,\n stop_time as end_at,\n status,\n daily_budget,\n lifetime_budget,\n budget_remaining,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__campaign_history_tmp"], ["stg_facebook_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp", "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n updated_time\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as TIMESTAMP) as \n \n stop_time\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as INT64) as \n \n daily_budget\n \n , \n cast(null as INT64) as \n \n lifetime_budget\n \n , \n cast(null as FLOAT64) as \n \n budget_remaining\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n created_time as created_at,\n cast(account_id as bigint) as account_id,\n cast(id as bigint) as campaign_id,\n name as campaign_name,\n start_time as start_at,\n stop_time as end_at,\n status,\n daily_budget,\n lifetime_budget,\n budget_remaining,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__account_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__account_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__account_history.sql", "original_file_path": "models/stg_facebook_ads__account_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__account_history"], "alias": "stg_facebook_ads__account_history", "checksum": {"name": "sha256", "checksum": "db38aeeedb4c0b457605036f2452543a77d1e65f0d7d13287fac1b705c1d1407"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook ad account.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the ad account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_status": {"name": "account_status", "description": "Current status of account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_country_code": {"name": "business_country_code", "description": "Country code of business associated to account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The time account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_name": {"name": "timezone_name", "description": "Timezone associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.075964, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__account_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as {{ dbt.type_bigint() }}) as account_id,\n _fivetran_synced,\n name as account_name,\n account_status,\n business_country_code,\n created_time as created_at,\n currency,\n timezone_name,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__account_history_tmp"], ["stg_facebook_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history_tmp", "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n id\n \n , \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n account_status\n \n , \n cast(null as STRING) as \n \n business_country_code\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as STRING) as \n \n timezone_name\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as bigint) as account_id,\n _fivetran_synced,\n name as account_name,\n account_status,\n business_country_code,\n created_time as created_at,\n currency,\n timezone_name,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__ad_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__ad_history.sql", "original_file_path": "models/stg_facebook_ads__ad_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__ad_history"], "alias": "stg_facebook_ads__ad_history", "checksum": {"name": "sha256", "checksum": "19719ef45773ae189aeec4da0c5467b45bc6a253bbaf2a13ee271d63723e64da"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook ad.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "ID of the ad set that contains the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the ad creative to be used by this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.079346, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as {{ dbt.type_bigint() }}) as ad_id,\n name as ad_name,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n cast(ad_set_id as {{ dbt.type_bigint() }}) as ad_set_id, \n cast(campaign_id as {{ dbt.type_bigint() }}) as campaign_id,\n cast(creative_id as {{ dbt.type_bigint() }}) as creative_id,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__ad_history_tmp"], ["stg_facebook_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n updated_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n ad_set_id\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n creative_id\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as bigint) as ad_id,\n name as ad_name,\n cast(account_id as bigint) as account_id,\n cast(ad_set_id as bigint) as ad_set_id, \n cast(campaign_id as bigint) as campaign_id,\n cast(creative_id as bigint) as creative_id,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_set_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__ad_set_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__ad_set_history.sql", "original_file_path": "models/stg_facebook_ads__ad_set_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__ad_set_history"], "alias": "stg_facebook_ads__ad_set_history", "checksum": {"name": "sha256", "checksum": "32c6ae0ef94b4f88261a0dd4dda62e6e92de99a56ffbe8ae1360c6469052e212"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook ad set.", "columns": {"ad_set_id": {"name": "ad_set_id", "description": "The ID of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad set belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "Timestamp of designated ad set start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "Timestamp of designated ad set end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "Bid strategy values are - 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.083953, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__ad_set_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__ad_set_history_tmp')),\n staging_columns=get_ad_set_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as {{ dbt.type_bigint() }}) as ad_set_id,\n name as ad_set_name,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n cast(campaign_id as {{ dbt.type_bigint() }}) as campaign_id,\n start_time as start_at,\n end_time as end_at,\n bid_strategy,\n daily_budget,\n budget_remaining,\n status,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history_tmp"], ["stg_facebook_ads__ad_set_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_ad_set_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__ad_set_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n updated_time\n \n , \n cast(null as INT64) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as INT64) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as STRING) as \n \n bid_strategy\n \n , \n cast(null as INT64) as \n \n daily_budget\n \n , \n cast(null as INT64) as \n \n budget_remaining\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as bigint) as ad_set_id,\n name as ad_set_name,\n cast(account_id as bigint) as account_id,\n cast(campaign_id as bigint) as campaign_id,\n start_time as start_at,\n end_time as end_at,\n bid_strategy,\n daily_budget,\n budget_remaining,\n status,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__ad_set_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__ad_set_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__ad_set_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__ad_set_history_tmp"], "alias": "stg_facebook_ads__ad_set_history_tmp", "checksum": {"name": "sha256", "checksum": "dad1782db9e8232b2613b5b9959963ad0d0ff99b7462524fc223610cd3e14442"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.48903, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_set_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "ad_set_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__ad_set_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`facebook_ads`.`ad_set_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__basic_ad_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__basic_ad_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__basic_ad_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__basic_ad_tmp"], "alias": "stg_facebook_ads__basic_ad_tmp", "checksum": {"name": "sha256", "checksum": "46e4ec682f4ed2b33b3123c24ae2b20d9d9bce50ed7ef83b547dd83b57339f89"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.4957912, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('basic_ad') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "basic_ad"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__basic_ad_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`facebook_ads`.`basic_ad`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__ad_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__ad_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__ad_history_tmp"], "alias": "stg_facebook_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "438f57c6bd1ce2a8c4a73600c1e12878efc0a091f42b3a43ed0334067779eace"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.5024588, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`facebook_ads`.`ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__campaign_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__campaign_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__campaign_history_tmp"], "alias": "stg_facebook_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "617b7e683421a5712cc129d02e07eeb0f5876b7fdeb680429b4d6069b4dcdfc1"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.509778, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`facebook_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__creative_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__creative_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__creative_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__creative_history_tmp"], "alias": "stg_facebook_ads__creative_history_tmp", "checksum": {"name": "sha256", "checksum": "9cf5ffb0bc31c525388d169c90fb8b6150e5141777b14337c0fee0730faeecd9"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.516505, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('creative_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "creative_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__creative_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`facebook_ads`.`creative_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_facebook_ads_source", "name": "stg_facebook_ads__account_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__account_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__account_history_tmp"], "alias": "stg_facebook_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "caa1f4a119ca187458bff00bd8682eabffdba914962ff8ae7d4cfe55f25833ff"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.5236108, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`facebook_ads`.`account_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_hourly_report", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_squad_hourly_report.sql", "original_file_path": "models/stg_snapchat_ads__ad_squad_hourly_report.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_squad_hourly_report"], "alias": "stg_snapchat_ads__ad_squad_hourly_report", "checksum": {"name": "sha256", "checksum": "aad7890ff2546a5611d55ff7393a3580ffae73d4f1036f158589bd8c20dd36e7"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"ad_squad_id": {"name": "ad_squad_id", "description": "ID of the ad squad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_hour": {"name": "date_hour", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time": {"name": "attachment_total_view_time", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time": {"name": "screen_time", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time": {"name": "view_time", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.261889, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_squad_hourly_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_squad_hourly_report_tmp')),\n staging_columns=get_ad_squad_hourly_report_columns()\n )\n }} \n from base\n),\n\nfinal as (\n \n select \n ad_squad_id,\n cast (date as {{ dbt.type_timestamp() }}) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n {{ fivetran_utils.fill_pass_through_columns('snapchat_ads__ad_squad_hourly_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report_tmp"], ["stg_snapchat_ads__ad_squad_hourly_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_squad_hourly_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_squad_hourly_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n ad_squad_id\n \n , \n cast(null as INT64) as \n \n attachment_quartile_1\n \n , \n cast(null as INT64) as \n \n attachment_quartile_2\n \n , \n cast(null as INT64) as \n \n attachment_quartile_3\n \n , \n cast(null as INT64) as \n \n attachment_total_view_time_millis\n \n , \n cast(null as INT64) as \n \n attachment_view_completion\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as INT64) as \n \n quartile_1\n \n , \n cast(null as INT64) as \n \n quartile_2\n \n , \n cast(null as INT64) as \n \n quartile_3\n \n , \n cast(null as INT64) as \n \n saves\n \n , \n cast(null as INT64) as \n \n screen_time_millis\n \n , \n cast(null as INT64) as \n \n shares\n \n , \n cast(null as INT64) as \n \n spend\n \n , \n cast(null as INT64) as \n \n swipes\n \n , \n cast(null as INT64) as \n \n video_views\n \n , \n cast(null as INT64) as \n \n view_completion\n \n , \n cast(null as INT64) as \n \n view_time_millis\n \n \n\n \n from base\n),\n\nfinal as (\n \n select \n ad_squad_id,\n cast (date as TIMESTAMP) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_history.sql", "original_file_path": "models/stg_snapchat_ads__ad_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_history"], "alias": "stg_snapchat_ads__ad_history", "checksum": {"name": "sha256", "checksum": "b9f87bec0fe3fe17b30ccd2de99f8cb85d764a3867d0c7d1876f60a91b717445"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the related ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.24372, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n name as ad_name,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n ad_squad_id,\n creative_id,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_history_tmp"], ["stg_snapchat_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_squad_id\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n creative_id\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n name as ad_name,\n cast (created_at as TIMESTAMP) as created_at,\n ad_squad_id,\n creative_id,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_squad_history.sql", "original_file_path": "models/stg_snapchat_ads__ad_squad_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_squad_history"], "alias": "stg_snapchat_ads__ad_squad_history", "checksum": {"name": "sha256", "checksum": "b78ca2d715716a88b33e55219ef00243ae62fa062be779ccbd0e4ace8351e903"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad squad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_name": {"name": "ad_squad_name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.254632, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_squad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_squad_history_tmp')),\n staging_columns=get_ad_squad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n\n select \n id as ad_squad_id,\n name as ad_squad_name,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n campaign_id,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history_tmp"], ["stg_snapchat_ads__ad_squad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_squad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_squad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n\n select \n id as ad_squad_id,\n name as ad_squad_name,\n cast (created_at as TIMESTAMP) as created_at,\n campaign_id,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_hourly_report", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_hourly_report.sql", "original_file_path": "models/stg_snapchat_ads__ad_hourly_report.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_hourly_report"], "alias": "stg_snapchat_ads__ad_hourly_report", "checksum": {"name": "sha256", "checksum": "ce7ad13fe4751d9607130fc2995b208171cfd944ac7fbd8a499209ae6a75aba2"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents an hourly performance summary for an ad in Snapchat.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad that the report relates to in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_hour": {"name": "date_hour", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time": {"name": "attachment_total_view_time", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time": {"name": "screen_time", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time": {"name": "view_time", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend for an ad in the hour of the record converted from micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.251576, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_hourly_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_hourly_report_tmp')),\n staging_columns=get_ad_hourly_report_columns()\n )\n }} \n from base\n),\n\nfinal as (\n \n select \n ad_id,\n cast (date as {{ dbt.type_timestamp() }}) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n {{ fivetran_utils.fill_pass_through_columns('snapchat_ads__ad_hourly_passthrough_metrics') }}\n\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report_tmp"], ["stg_snapchat_ads__ad_hourly_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_hourly_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_hourly_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n ad_id\n \n , \n cast(null as numeric) as \n \n attachment_quartile_1\n \n , \n cast(null as numeric) as \n \n attachment_quartile_2\n \n , \n cast(null as numeric) as \n \n attachment_quartile_3\n \n , \n cast(null as numeric) as \n \n attachment_total_view_time_millis\n \n , \n cast(null as numeric) as \n \n attachment_view_completion\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as numeric) as \n \n impressions\n \n , \n cast(null as numeric) as \n \n quartile_1\n \n , \n cast(null as numeric) as \n \n quartile_2\n \n , \n cast(null as numeric) as \n \n quartile_3\n \n , \n cast(null as numeric) as \n \n saves\n \n , \n cast(null as numeric) as \n \n screen_time_millis\n \n , \n cast(null as numeric) as \n \n shares\n \n , \n cast(null as numeric) as \n \n spend\n \n , \n cast(null as numeric) as \n \n swipes\n \n , \n cast(null as numeric) as \n \n video_views\n \n , \n cast(null as numeric) as \n \n view_completion\n \n , \n cast(null as numeric) as \n \n view_time_millis\n \n \n\n \n from base\n),\n\nfinal as (\n \n select \n ad_id,\n cast (date as TIMESTAMP) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n \n\n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__creative_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__creative_history.sql", "original_file_path": "models/stg_snapchat_ads__creative_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__creative_history"], "alias": "stg_snapchat_ads__creative_history", "checksum": {"name": "sha256", "checksum": "52f2479f057f755f7fca3153351bb4bbda4767ca96ed9379a2fa1ec30df6fb52"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of a creative in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_name": {"name": "creative_name", "description": "The name of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url": {"name": "url", "description": "The URL of the creative if the creative is of type 'web view'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.276206, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__creative_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__creative_history_tmp')),\n staging_columns=get_creative_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as creative_id,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n ad_account_id,\n name as creative_name,\n web_view_url as url,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__creative_history_tmp"], ["stg_snapchat_ads__creative_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_creative_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_account_id\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n , \n cast(null as STRING) as \n \n web_view_url\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as creative_id,\n cast (created_at as TIMESTAMP) as created_at,\n ad_account_id,\n name as creative_name,\n web_view_url as url,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__creative_url_tag_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__creative_url_tag_history.sql", "original_file_path": "models/stg_snapchat_ads__creative_url_tag_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__creative_url_tag_history"], "alias": "stg_snapchat_ads__creative_url_tag_history", "checksum": {"name": "sha256", "checksum": "ed5cc64860273e4d9198143e337401240d61e563e41e587369e82184ee3254f5"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a URL paramter key-value pair for a creative in Snapchat.", "columns": {"creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "param_key": {"name": "param_key", "description": "The URL parameter key, i.e. UTM_SOURCE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "param_value": {"name": "param_value", "description": "The URL parameter value, i.e. Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.2791538, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__creative_url_tag_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__creative_url_tag_history_tmp')),\n staging_columns=get_creative_url_tag_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n creative_id,\n key as param_key,\n value as param_value,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by creative_id, key order by updated_at desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__creative_url_tag_history_tmp"], ["stg_snapchat_ads__creative_url_tag_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_creative_url_tag_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__creative_url_tag_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history_tmp`\n\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n creative_id\n \n , \n cast(null as STRING) as \n \n key\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n , \n cast(null as STRING) as \n \n value\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n creative_id,\n key as param_key,\n value as param_value,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by creative_id, key order by updated_at desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_account_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_account_history.sql", "original_file_path": "models/stg_snapchat_ads__ad_account_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_account_history"], "alias": "stg_snapchat_ads__ad_account_history", "checksum": {"name": "sha256", "checksum": "b3c1ecb6e139e06bd3242b0ae35973de841a51fc916e32db5ee62a61c69da760"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad account in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser": {"name": "advertiser", "description": "Name of advertiser", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency used by account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Account timezone", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.24047, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_account_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_account_history_tmp')),\n staging_columns=get_ad_account_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as ad_account_id,\n name as ad_account_name,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n advertiser, \n currency,\n timezone,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history_tmp"], ["stg_snapchat_ads__ad_account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_account_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n advertiser\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n timezone\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as ad_account_id,\n name as ad_account_name,\n cast (created_at as TIMESTAMP) as created_at,\n advertiser, \n currency,\n timezone,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_hourly_report", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__campaign_hourly_report.sql", "original_file_path": "models/stg_snapchat_ads__campaign_hourly_report.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__campaign_hourly_report"], "alias": "stg_snapchat_ads__campaign_hourly_report", "checksum": {"name": "sha256", "checksum": "b8abf4f1e0b0aa8d163a63e275f064d72d58b1f1ccb72b6c0a28d90dca2ecf38"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"campaign_id": {"name": "campaign_id", "description": "ID of campaign", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_hour": {"name": "date_hour", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time": {"name": "attachment_total_view_time", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time": {"name": "screen_time", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time": {"name": "view_time", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.272386, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__campaign_hourly_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__campaign_hourly_report_tmp')),\n staging_columns=get_campaign_hourly_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n cast (date as {{ dbt.type_timestamp() }}) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n {{ fivetran_utils.fill_pass_through_columns('snapchat_ads__campaign_hourly_report_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report_tmp"], ["stg_snapchat_ads__campaign_hourly_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_campaign_hourly_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__campaign_hourly_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as INT64) as \n \n attachment_quartile_1\n \n , \n cast(null as INT64) as \n \n attachment_quartile_2\n \n , \n cast(null as INT64) as \n \n attachment_quartile_3\n \n , \n cast(null as INT64) as \n \n attachment_total_view_time_millis\n \n , \n cast(null as INT64) as \n \n attachment_view_completion\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as INT64) as \n \n quartile_1\n \n , \n cast(null as INT64) as \n \n quartile_2\n \n , \n cast(null as INT64) as \n \n quartile_3\n \n , \n cast(null as INT64) as \n \n saves\n \n , \n cast(null as INT64) as \n \n screen_time_millis\n \n , \n cast(null as INT64) as \n \n shares\n \n , \n cast(null as INT64) as \n \n spend\n \n , \n cast(null as INT64) as \n \n swipes\n \n , \n cast(null as INT64) as \n \n video_views\n \n , \n cast(null as INT64) as \n \n view_completion\n \n , \n cast(null as INT64) as \n \n view_time_millis\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n cast (date as TIMESTAMP) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__campaign_history.sql", "original_file_path": "models/stg_snapchat_ads__campaign_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__campaign_history"], "alias": "stg_snapchat_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "a8a584b7e724b5a0d6b89278795b3d2a9cfc45aa83be000333e2acb288da179d"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of a campaign in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The id of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679425976.264987, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n id as campaign_id,\n ad_account_id,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n name as campaign_name,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history_tmp"], ["stg_snapchat_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as TIMESTAMP) as \n \n _fivetran_synced\n \n , \n cast(null as STRING) as \n \n ad_account_id\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n id as campaign_id,\n ad_account_id,\n cast (created_at as TIMESTAMP) as created_at,\n name as campaign_name,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__creative_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__creative_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__creative_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__creative_history_tmp"], "alias": "stg_snapchat_ads__creative_history_tmp", "checksum": {"name": "sha256", "checksum": "97f2460634e450cdce998385dac55f4754305b6c9ea9c8756b1d8cd6ef961e4d"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.6935208, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('creative_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "creative_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__creative_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`creative_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_account_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_account_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_account_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_account_history_tmp"], "alias": "stg_snapchat_ads__ad_account_history_tmp", "checksum": {"name": "sha256", "checksum": "92091ce537ab3d626fde67bcce6f168cb41ab6ee9975afa0551603e42cc5d78a"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.700246, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_account_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`ad_account_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_hourly_report_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_hourly_report_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_hourly_report_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_hourly_report_tmp"], "alias": "stg_snapchat_ads__ad_hourly_report_tmp", "checksum": {"name": "sha256", "checksum": "c1fd36fe859740eae7e8c35022731b4090dd0e6a0cc598f8ce7275134e500fe0"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.706841, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_hourly_report') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_hourly_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_hourly_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`ad_hourly_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__creative_url_tag_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__creative_url_tag_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__creative_url_tag_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__creative_url_tag_history_tmp"], "alias": "stg_snapchat_ads__creative_url_tag_history_tmp", "checksum": {"name": "sha256", "checksum": "65d5edd0f0e93654debad17d56afa3f77abd57601fa4e296320dec000d272056"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.713433, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('creative_url_tag_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "creative_url_tag_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__creative_url_tag_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`creative_url_tag_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_hourly_report_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_squad_hourly_report_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_squad_hourly_report_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_squad_hourly_report_tmp"], "alias": "stg_snapchat_ads__ad_squad_hourly_report_tmp", "checksum": {"name": "sha256", "checksum": "aa1aa691bef011ccfd98f91b4b82a8838fab485131f0e17f53799f7c21bb09f3"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.720556, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_squad_hourly_report') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_squad_hourly_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_squad_hourly_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`ad_squad_hourly_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__campaign_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__campaign_history_tmp"], "alias": "stg_snapchat_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "8ba400ddeeb2cf5c0cb71d6361ee8455d1a5272936dce07eaade1606a596cfdb"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.726996, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_history_tmp"], "alias": "stg_snapchat_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "3cbc363ef9fe699bcc42261d8eda6184c55f2574efa083ca7091aa5ddedd42e9"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.734209, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`ad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_squad_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_squad_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_squad_history_tmp"], "alias": "stg_snapchat_ads__ad_squad_history_tmp", "checksum": {"name": "sha256", "checksum": "20be450378d3826688fd5d75226187b30b17782d6ea922076111a4d6440598f9"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.740754, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_squad_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_squad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_squad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`ad_squad_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_hourly_report_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__campaign_hourly_report_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__campaign_hourly_report_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__campaign_hourly_report_tmp"], "alias": "stg_snapchat_ads__campaign_hourly_report_tmp", "checksum": {"name": "sha256", "checksum": "b18dc4fa023f874afa53107adf3b50bf02fa4ac757d01f176279822b37a3c1ee"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679425972.82709, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_hourly_report') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "campaign_hourly_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__campaign_hourly_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`snapchat_ads`.`campaign_hourly_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__ad_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__ad_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__ad_report.sql", "original_file_path": "models/microsoft_ads__ad_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__ad_report", "fqn": ["microsoft_ads", "microsoft_ads__ad_report"], "alias": "microsoft_ads__ad_report", "checksum": {"name": "sha256", "checksum": "934fc75d0e83e5d37bb42d7e6d12bcbabd93de634135fcdd7d865735d2d3393a"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by ad, ad group, campaign, account, ad type, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_type": {"name": "ad_type", "description": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.381828, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_performance_daily_report') }}\n\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n ads.type as ad_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__ad_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(14) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\n\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n ads.type as ad_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__ad_group_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__ad_group_report.sql", "original_file_path": "models/microsoft_ads__ad_group_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__ad_group_report", "fqn": ["microsoft_ads", "microsoft_ads__ad_group_report"], "alias": "microsoft_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "82d1cfaf1da6109ebe37a96d610aef7b6618cf1b3aa14978ec1466c290db1a39"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by ad group, campaign, account, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.375402, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_performance_daily_report') }}\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__ad_group_passthrough_metrics', transform = 'sum') }}\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n {{ dbt_utils.group_by(11)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n \n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__keyword_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__keyword_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__keyword_report.sql", "original_file_path": "models/microsoft_ads__keyword_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__keyword_report", "fqn": ["microsoft_ads", "microsoft_ads__keyword_report"], "alias": "microsoft_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "d68019c66e2ec76c9e4b63d44639606aaefdb559b7e82220549a206332762798"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by keyword, ad, ad group, campaign, account, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_name": {"name": "keyword_name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.395736, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('keyword_performance_daily_report') }}\n\n), \n\nkeywords as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n keywords.keyword_name,\n report.keyword_id,\n keywords.match_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__keyword_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n {{ dbt_utils.group_by(16) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report"], ["stg_microsoft_ads__keyword_history"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`\n\n), \n\nkeywords as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n keywords.keyword_name,\n report.keyword_id,\n keywords.match_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__url_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__url_report.sql", "original_file_path": "models/microsoft_ads__url_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__url_report", "fqn": ["microsoft_ads", "microsoft_ads__url_report"], "alias": "microsoft_ads__url_report", "checksum": {"name": "sha256", "checksum": "568188d83446e2332ec4fc7053bb17ed95bf0cd1a878ab8fec2835f82035a2cb"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by ad, ad group, campaign, account, ad type, device os, device type, network, currency code, url and utm parameters.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The site that sent traffic to your page. Microsoft Advertising sets this to Bing; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "Which channel was used. Microsoft Advertising sets this to cp; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "Which campaign the keyword came from; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "Which ad group the keyword came from; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "Which keyword brought people to your website; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.411328, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_performance_daily_report') }}\n\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n {{ dbt.split_part('ads.final_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('ads.final_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('ads.final_url') }} as url_path,\n\n {% if var('microsoft_ads_auto_tagging_enabled', false) %}\n\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_source') }} , 'Bing') as utm_source,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_medium') }}, 'cpc') as utm_medium,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_campaign') }}, campaigns.campaign_name) as utm_campaign,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_content') }}, ad_groups.ad_group_name) as utm_content,\n {% else %}\n\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_content') }} as utm_content,\n {% endif %}\n\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_term') }} as utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__ad_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(21) }}\n), \n\nfiltered as (\n\n select * \n from joined\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where base_url is not null\n {% endif %}\n)\n\nselect *\nfrom filtered", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\n\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n \n\n \n split(\n ads.final_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n\n \n\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n \n\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21\n), \n\nfiltered as (\n\n select * \n from joined\n\n \n where base_url is not null\n \n)\n\nselect *\nfrom filtered", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__account_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__account_report.sql", "original_file_path": "models/microsoft_ads__account_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__account_report", "fqn": ["microsoft_ads", "microsoft_ads__account_report"], "alias": "microsoft_ads__account_report", "checksum": {"name": "sha256", "checksum": "33fcae2d635e30598310a5da35782efce11b976c89c69da690ff50160271cc8f"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by account, account timezone, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_timezone": {"name": "account_timezone", "description": "The time zone associated with this account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.370087, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('account_performance_daily_report') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n)\n\n, joined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n accounts.time_zone as account_timezone,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__account_passthrough_metrics', transform = 'sum') }}\n from report\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(8)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n)\n\n, joined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n accounts.time_zone as account_timezone,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n \n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__search_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__search_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__search_report.sql", "original_file_path": "models/microsoft_ads__search_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__search_report", "fqn": ["microsoft_ads", "microsoft_ads__search_report"], "alias": "microsoft_ads__search_report", "checksum": {"name": "sha256", "checksum": "6eebba936b78f5793b3d0dc2cd72916637af31cbd2a94ee628b7b1561019511d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by search query, keyword, ad, ad group, campaign, account, device os, device type and network.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_name": {"name": "keyword_name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The search query string associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.4027, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__search_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('search_performance_daily_report') }}\n\n), \n\nkeywords as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.keyword_id,\n keywords.keyword_name,\n coalesce(report.delivered_match_type, report.bid_match_type) as match_type,\n report.search_query,\n report.device_os,\n report.device_type,\n report.network,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__search_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n {{ dbt_utils.group_by(16) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report"], ["stg_microsoft_ads__keyword_history"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__search_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`\n\n), \n\nkeywords as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.keyword_id,\n keywords.keyword_name,\n coalesce(report.delivered_match_type, report.bid_match_type) as match_type,\n report.search_query,\n report.device_os,\n report.device_type,\n report.network,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_microsoft_ads", "name": "microsoft_ads__campaign_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__campaign_report.sql", "original_file_path": "models/microsoft_ads__campaign_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__campaign_report", "fqn": ["microsoft_ads", "microsoft_ads__campaign_report"], "alias": "microsoft_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "67405deb1cc6d60f53c6743998081fa4ea77b67191d8a84a423ac68f2051396e"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by campaign, account, campaign type, campaign timezone, campaign status, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_timezone": {"name": "campaign_timezone", "description": "The time zone associated with this campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679425976.388747, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('campaign_performance_daily_report') }}\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.type as campaign_type,\n campaigns.time_zone as campaign_timezone,\n campaigns.status as campaign_status,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__campaign_passthrough_metrics', transform = 'sum') }}\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(12)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.type as campaign_type,\n campaigns.time_zone as campaign_timezone,\n campaigns.status as campaign_status,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n \n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__line_item_keywords_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__line_item_keywords_report.sql", "original_file_path": "models/stg_twitter_ads__line_item_keywords_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__line_item_keywords_report"], "alias": "stg_twitter_ads__line_item_keywords_report", "checksum": {"name": "sha256", "checksum": "b980b624c4483406f75c6c3f69c6ad4579616881539ba383f96f6e1b001df09a"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of a line item (ad group) and keyword combination on a given day, for its placement in Twitter.", "columns": {"keyword_id": {"name": "keyword_id", "description": "Unique key of the table built from the combination of 'account_id', 'line_item_id','segment', and 'placement' fields.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the line item + keyword on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the line item + keyword on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item + keyword on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "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.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item + keyword on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword": {"name": "keyword", "description": "The keyword whose performance is being tracked.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.590718, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__twitter_ads_enabled','twitter_ads__using_keywords'])) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__line_item_keywords_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__line_item_keywords_report_tmp')),\n staging_columns=get_line_item_keywords_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n {{ dbt_utils.generate_surrogate_key(['account_id', 'line_item_id','segment','placement']) }} as keyword_id,\n account_id,\n line_item_id,\n segment as keyword,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__line_item_keywords_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report_tmp"], ["stg_twitter_ads__line_item_keywords_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.twitter_ads_source.get_line_item_keywords_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.dbt_utils.generate_surrogate_key", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__line_item_keywords_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n billed_charge_local_micro\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n line_item_id\n \n , \n cast(null as STRING) as \n \n placement\n \n , \n cast(null as STRING) as \n \n segment\n \n , \n cast(null as INT64) as \n \n url_clicks\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n \n \nto_hex(md5(cast(coalesce(cast(account_id as STRING), '_dbt_utils_surrogate_key_null_') || '-' || coalesce(cast(line_item_id as STRING), '_dbt_utils_surrogate_key_null_') || '-' || coalesce(cast(segment as STRING), '_dbt_utils_surrogate_key_null_') || '-' || coalesce(cast(placement as STRING), '_dbt_utils_surrogate_key_null_') as STRING))) as keyword_id,\n account_id,\n line_item_id,\n segment as keyword,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__campaign_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__campaign_report.sql", "original_file_path": "models/stg_twitter_ads__campaign_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__campaign_report"], "alias": "stg_twitter_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "f81071b6cdbc860c2ae2316870f010fe0f0fc2c8166fc3b2d5eeea729f6defcd"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of an ad campaign on a given day, for its placement in Twitter.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the campaign on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the campaign on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the campaign on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the campaign on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the campaign on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.582439, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n account_id,\n campaign_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__campaign_report_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__campaign_report_tmp"], ["stg_twitter_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n billed_charge_local_micro\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n placement\n \n , \n cast(null as INT64) as \n \n url_clicks\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n account_id,\n campaign_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__line_item_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__line_item_history.sql", "original_file_path": "models/stg_twitter_ads__line_item_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__line_item_history"], "alias": "stg_twitter_ads__line_item_history", "checksum": {"name": "sha256", "checksum": "46a8268335b747ca45d70e2b6f3c9a426b26a655d751cdc0843b4a3d41af8598"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each line item. The versions can be differentiated by the updated_at timestamp.", "columns": {"advertiser_domain": {"name": "advertiser_domain", "description": "The website domain for this advertiser, without the protocol specification.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_user_id": {"name": "advertiser_user_id", "description": "The Twitter user identifier for the handle promoting the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "automatically_select_bid": {"name": "automatically_select_bid", "description": "Whether automatically optimize bidding is enabled based on daily budget and campaign flight dates.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_local_micro": {"name": "bid_amount_local_micro", "description": "The bid amount to be associated with this line item, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "The bidding mechanism.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_unit": {"name": "bid_unit", "description": "The bid unit for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "charge_by": {"name": "charge_by", "description": "The unit to charge this line item by.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_source": {"name": "creative_source", "description": "The source of the creatives for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency in which metrics will be reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The timestamp at which the line item will stop being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The campaign objective for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization": {"name": "optimization", "description": "The optimization setting to use with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "primary_web_event_tag": {"name": "primary_web_event_tag", "description": "The identifier of the primary web event tag. Allows more accurate tracking of engagements for the campaign pertaining to this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "product_type": {"name": "product_type", "description": "The type of promoted product that this line item will contain.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The timestamp at which the line item will start being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa_local_micro": {"name": "target_cpa_local_micro", "description": "The target cost per acquisition for the line item, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the line item, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to be associated with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa": {"name": "target_cpa", "description": "The target cost per acquisition for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.565662, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__line_item_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__line_item_history_tmp')),\n staging_columns=get_line_item_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n advertiser_domain,\n advertiser_user_id,\n automatically_select_bid,\n bid_amount_local_micro,\n bid_type,\n bid_unit,\n campaign_id,\n charge_by,\n created_at as created_timestamp,\n creative_source,\n currency,\n deleted as is_deleted,\n end_time as end_timestamp,\n entity_status,\n id as line_item_id,\n name,\n objective,\n optimization,\n primary_web_event_tag,\n product_type,\n start_time as start_timestamp,\n target_cpa_local_micro,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(bid_amount_local_micro / 1000000.0,2) as bid_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n round(target_cpa_local_micro / 1000000.0,2) as target_cpa,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__line_item_history_tmp"], ["stg_twitter_ads__line_item_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_line_item_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__line_item_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n cast(null as STRING) as \n \n advertiser_domain\n \n , \n cast(null as INT64) as \n \n advertiser_user_id\n \n , \n cast(null as boolean) as \n \n automatically_select_bid\n \n , \n cast(null as INT64) as \n \n bid_amount_local_micro\n \n , \n cast(null as STRING) as \n \n bid_type\n \n , \n cast(null as STRING) as \n \n bid_unit\n \n , \n cast(null as STRING) as \n \n campaign_id\n \n , \n cast(null as STRING) as \n \n charge_by\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n creative_source\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as boolean) as \n \n deleted\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as STRING) as \n \n entity_status\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n objective\n \n , \n cast(null as STRING) as \n \n optimization\n \n , \n cast(null as STRING) as \n \n primary_web_event_tag\n \n , \n cast(null as STRING) as \n \n product_type\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as INT64) as \n \n target_cpa_local_micro\n \n , \n cast(null as INT64) as \n \n total_budget_amount_local_micro\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n advertiser_domain,\n advertiser_user_id,\n automatically_select_bid,\n bid_amount_local_micro,\n bid_type,\n bid_unit,\n campaign_id,\n charge_by,\n created_at as created_timestamp,\n creative_source,\n currency,\n deleted as is_deleted,\n end_time as end_timestamp,\n entity_status,\n id as line_item_id,\n name,\n objective,\n optimization,\n primary_web_event_tag,\n product_type,\n start_time as start_timestamp,\n target_cpa_local_micro,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(bid_amount_local_micro / 1000000.0,2) as bid_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n round(target_cpa_local_micro / 1000000.0,2) as target_cpa,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__line_item_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__line_item_report.sql", "original_file_path": "models/stg_twitter_ads__line_item_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__line_item_report"], "alias": "stg_twitter_ads__line_item_report", "checksum": {"name": "sha256", "checksum": "3e4a99488dfe650a4fbdcd7a60b982d2044c2c2b3ad1be7479fc35c4b929d343"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of a line item (ad group) on a given day, for its placement in Twitter.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the line item on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the line item on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the line item on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.58642, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__line_item_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__line_item_report_tmp')),\n staging_columns=get_line_item_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n account_id,\n line_item_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__line_item_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_report_tmp"], ["stg_twitter_ads__line_item_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_line_item_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__line_item_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n billed_charge_local_micro\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n line_item_id\n \n , \n cast(null as STRING) as \n \n placement\n \n , \n cast(null as INT64) as \n \n url_clicks\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n account_id,\n line_item_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__campaign_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__campaign_history.sql", "original_file_path": "models/stg_twitter_ads__campaign_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__campaign_history"], "alias": "stg_twitter_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "774d386e9ad64cc31bc4067ef71444c35b0dd5b24e7635905ca4f774d6996934"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each campaign. The versions can be differentiated by the updated_at timestamp.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount_local_micro": {"name": "daily_budget_amount_local_micro", "description": "The daily budget amount to be allocated to the campaign, in micros. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "duration_in_days": {"name": "duration_in_days", "description": "The time period within which the frequency_cap is achieved.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The time the campaign will end", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_cap": {"name": "frequency_cap", "description": "The maximum number of times an ad could be delivered to a user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_servable": {"name": "is_servable", "description": "Whether the campaign is in a state to be actively served to users.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_standard_delivery": {"name": "is_standard_delivery", "description": "Whether standard delivery is enabled (vs accelerated delivery).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The time the campaign will start.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the campaign, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the campaign", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Reference to the funding instrument.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "The daily budget amount to be allocated to the campaign. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.555518, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__campaign_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n account_id,\n created_at as created_timestamp,\n currency,\n daily_budget_amount_local_micro,\n deleted as is_deleted,\n duration_in_days,\n end_time as end_timestamp,\n entity_status,\n frequency_cap,\n funding_instrument_id,\n id as campaign_id,\n name as campaign_name,\n servable as is_servable,\n standard_delivery as is_standard_delivery,\n start_time as start_timestamp,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(daily_budget_amount_local_micro / 1000000.0,2) as daily_budget_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__campaign_history_tmp"], ["stg_twitter_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as INT64) as \n \n daily_budget_amount_local_micro\n \n , \n cast(null as boolean) as \n \n deleted\n \n , \n cast(null as INT64) as \n \n duration_in_days\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as STRING) as \n \n entity_status\n \n , \n cast(null as INT64) as \n \n frequency_cap\n \n , \n cast(null as STRING) as \n \n funding_instrument_id\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as boolean) as \n \n servable\n \n , \n cast(null as boolean) as \n \n standard_delivery\n \n , \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as INT64) as \n \n total_budget_amount_local_micro\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n account_id,\n created_at as created_timestamp,\n currency,\n daily_budget_amount_local_micro,\n deleted as is_deleted,\n duration_in_days,\n end_time as end_timestamp,\n entity_status,\n frequency_cap,\n funding_instrument_id,\n id as campaign_id,\n name as campaign_name,\n servable as is_servable,\n standard_delivery as is_standard_delivery,\n start_time as start_timestamp,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(daily_budget_amount_local_micro / 1000000.0,2) as daily_budget_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__promoted_tweet_report.sql", "original_file_path": "models/stg_twitter_ads__promoted_tweet_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__promoted_tweet_report"], "alias": "stg_twitter_ads__promoted_tweet_report", "checksum": {"name": "sha256", "checksum": "90aa40996baaf0ab4455ec96ddd1bb6e9fabee419da4496f9b534e0d866ac36d"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of a promoted tweet on a given day, in the tweet's defined placement.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend (in micros) for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the related promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.5734, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__promoted_tweet_report_tmp') }}\n\n),\n\nrenamed as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__promoted_tweet_report_tmp')),\n staging_columns=get_promoted_tweet_report_columns()\n )\n }}\n\n from source\n\n), spend_calc as (\n\n select\n {{ dbt.date_trunc('day', 'date') }} as date_day,\n account_id,\n promoted_tweet_id,\n placement,\n clicks as clicks,\n impressions as impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks as url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics') }}\n \n from renamed\n\n)\n\nselect * from spend_calc", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report_tmp"], ["stg_twitter_ads__promoted_tweet_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_promoted_tweet_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__promoted_tweet_report.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report_tmp`\n\n),\n\nrenamed as (\n\n select\n \n \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as INT64) as \n \n billed_charge_local_micro\n \n , \n cast(null as INT64) as \n \n clicks\n \n , \n cast(null as TIMESTAMP) as \n \n date\n \n , \n cast(null as INT64) as \n \n impressions\n \n , \n cast(null as STRING) as \n \n placement\n \n , \n cast(null as STRING) as \n \n promoted_tweet_id\n \n , \n cast(null as INT64) as \n \n url_clicks\n \n \n\n\n\n from source\n\n), spend_calc as (\n\n select\n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n account_id,\n promoted_tweet_id,\n placement,\n clicks as clicks,\n impressions as impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks as url_clicks\n\n \n\n\n\n\n \n from renamed\n\n)\n\nselect * from spend_calc", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__tweet", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__tweet.sql", "original_file_path": "models/stg_twitter_ads__tweet.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet", "fqn": ["twitter_ads_source", "stg_twitter_ads__tweet"], "alias": "stg_twitter_ads__tweet", "checksum": {"name": "sha256", "checksum": "495071fcb565d9bcb5f607119259a6a0db5f562833a4c5b4e6b415947b763e21"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a tweet, promoted or not.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "Unique identifier of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "If provided, the non-public title of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "full_text": {"name": "full_text", "description": "Full text of the tweet's content.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Two-letter language code of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.593055, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__tweet_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__tweet_tmp')),\n staging_columns=get_tweet_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n id as tweet_id,\n name,\n full_text,\n lang as language\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__tweet_tmp"], ["stg_twitter_ads__tweet_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_tweet_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__tweet.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_tmp`\n),\n\nfields as (\n\n select\n \n cast(null as STRING) as \n \n account_id\n \n , \n cast(null as STRING) as \n \n full_text\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n lang\n \n , \n cast(null as STRING) as \n \n name\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n id as tweet_id,\n name,\n full_text,\n lang as language\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__account_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__account_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__account_history.sql", "original_file_path": "models/stg_twitter_ads__account_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__account_history"], "alias": "stg_twitter_ads__account_history", "checksum": {"name": "sha256", "checksum": "9ac9bf89b2163524505de7f16c38d7103b3af267458bf5190428238b25b87bd4"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each account. The versions can be differentiated by the updated_at timestamp.", "columns": {"approval_status": {"name": "approval_status", "description": "The approval status of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_id": {"name": "business_id", "description": "The ID of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_name": {"name": "business_name", "description": "The name of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry_type": {"name": "industry_type", "description": "The industry of the accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The timezone the account is set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_switched_timestamp": {"name": "timezone_switched_timestamp", "description": "The timestamp the account's timezone was last changed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "salt": {"name": "salt", "description": "The random encryption key used to hash data.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.548129, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__account_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n business_id,\n business_name,\n created_at as created_timestamp,\n deleted as is_deleted,\n id as account_id,\n industry_type,\n name,\n salt,\n timezone,\n timezone_switch_at as timezone_switched_timestamp,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__account_history_tmp"], ["stg_twitter_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history_tmp", "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n cast(null as STRING) as \n \n approval_status\n \n , \n cast(null as STRING) as \n \n business_id\n \n , \n cast(null as STRING) as \n \n business_name\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as boolean) as \n \n deleted\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n industry_type\n \n , \n cast(null as STRING) as \n \n name\n \n , \n cast(null as STRING) as \n \n salt\n \n , \n cast(null as STRING) as \n \n timezone\n \n , \n cast(null as TIMESTAMP) as \n \n timezone_switch_at\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n business_id,\n business_name,\n created_at as created_timestamp,\n deleted as is_deleted,\n id as account_id,\n industry_type,\n name,\n salt,\n timezone,\n timezone_switch_at as timezone_switched_timestamp,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet_url": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__tweet_url", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__tweet_url.sql", "original_file_path": "models/stg_twitter_ads__tweet_url.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url", "fqn": ["twitter_ads_source", "stg_twitter_ads__tweet_url"], "alias": "stg_twitter_ads__tweet_url", "checksum": {"name": "sha256", "checksum": "96ff5a0344a66484694df8a7eff61312f4b5e5dd177f81470447d7a4698ee2d1"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a URL used in a tweet.", "columns": {"display_url": {"name": "display_url", "description": "The URL as it will be displayed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expanded_url": {"name": "expanded_url", "description": "The fully expanded URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "index": {"name": "index", "description": "The index of the URL within the tweet (ie if there are multiple URLs)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "indices": {"name": "indices", "description": "The start and end point of where the URL is placed in the tweet text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url": {"name": "url", "description": "The 't.co' shortened URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.578666, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__tweet_url_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__tweet_url_tmp')),\n staging_columns=get_tweet_url_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n display_url,\n expanded_url,\n index,\n indices,\n tweet_id,\n url,\n {{ dbt.split_part('expanded_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('expanded_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('expanded_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_term') }} as utm_term\n \n from fields\n\n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__tweet_url_tmp"], ["stg_twitter_ads__tweet_url_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_tweet_url_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__tweet_url.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url_tmp`\n\n),\n\nfields as (\n\n select\n \n \n cast(null as STRING) as \n \n display_url\n \n , \n cast(null as STRING) as \n \n expanded_url\n \n , \n cast(null as INT64) as \n \n index\n \n , \n cast(null as STRING) as \n \n indices\n \n , \n cast(null as STRING) as \n \n tweet_id\n \n , \n cast(null as STRING) as \n \n url\n \n \n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n display_url,\n expanded_url,\n index,\n indices,\n tweet_id,\n url,\n \n\n \n split(\n expanded_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term\n \n from fields\n\n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__promoted_tweet_history.sql", "original_file_path": "models/stg_twitter_ads__promoted_tweet_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__promoted_tweet_history"], "alias": "stg_twitter_ads__promoted_tweet_history", "checksum": {"name": "sha256", "checksum": "c80a0cb29ef10133607a7a85d12f01b4a3dfe4100939746893a2ac56d17dd03b"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each promoted tweet. The versions can be differentiated by the updated_at timestamp.", "columns": {"approval_status": {"name": "approval_status", "description": "The approval status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425976.5695791, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__promoted_tweet_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__promoted_tweet_history_tmp')),\n staging_columns=get_promoted_tweet_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n created_at as created_timestamp,\n deleted as is_deleted,\n entity_status,\n id as promoted_tweet_id,\n line_item_id,\n tweet_id,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_history_tmp"], ["stg_twitter_ads__promoted_tweet_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_promoted_tweet_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__promoted_tweet_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n cast(null as STRING) as \n \n approval_status\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as boolean) as \n \n deleted\n \n , \n cast(null as STRING) as \n \n entity_status\n \n , \n cast(null as STRING) as \n \n id\n \n , \n cast(null as STRING) as \n \n line_item_id\n \n , \n cast(null as STRING) as \n \n tweet_id\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n created_at as created_timestamp,\n deleted as is_deleted,\n entity_status,\n id as promoted_tweet_id,\n line_item_id,\n tweet_id,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__tweet_url_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__tweet_url_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__tweet_url_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__tweet_url_tmp"], "alias": "stg_twitter_ads__tweet_url_tmp", "checksum": {"name": "sha256", "checksum": "9a7338e00449b6c913d5f3c059679ed5be9c64d82f22bb155f6b807124089552"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.135443, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('tweet_url') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "tweet_url"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__tweet_url_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`twitter_ads`.`tweet_url`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__tweet_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__tweet_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__tweet_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__tweet_tmp"], "alias": "stg_twitter_ads__tweet_tmp", "checksum": {"name": "sha256", "checksum": "ed6397b8a2245ad4f4e79b75ed4ed8de08fdc4049d651c49e3849db6c073cafd"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.142074, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('tweet') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "tweet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.tweet"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__tweet_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`twitter_ads`.`tweet`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__promoted_tweet_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__promoted_tweet_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__promoted_tweet_report_tmp"], "alias": "stg_twitter_ads__promoted_tweet_report_tmp", "checksum": {"name": "sha256", "checksum": "6bf2743294837bc2b2316127f2df7a40126f942a226653c2f7668e78d972856a"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.149444, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('promoted_tweet_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "promoted_tweet_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__promoted_tweet_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`twitter_ads`.`promoted_tweet_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__line_item_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__line_item_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__line_item_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__line_item_history_tmp"], "alias": "stg_twitter_ads__line_item_history_tmp", "checksum": {"name": "sha256", "checksum": "d796be56366271bfcc2f2d4d23b50372472b0e47a1ba5d62f09ea7218d842b07"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.156012, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('line_item_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "line_item_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.line_item_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__line_item_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`twitter_ads`.`line_item_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__campaign_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__campaign_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__campaign_report_tmp"], "alias": "stg_twitter_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "cde4096c85a4069b4865fe37600bed81c625f2ec5e1cb91863d50888a217f562"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.162615, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`twitter_ads`.`campaign_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__campaign_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__campaign_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__campaign_history_tmp"], "alias": "stg_twitter_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "343754878288e6e847d9af5524d0dd1b09edffac90a7e83f0f8dbd610c028837"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.16917, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.campaign_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`twitter_ads`.`campaign_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__line_item_keywords_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__line_item_keywords_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__line_item_keywords_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__line_item_keywords_report_tmp"], "alias": "stg_twitter_ads__line_item_keywords_report_tmp", "checksum": {"name": "sha256", "checksum": "114060cd4737b070ccbc5aef04da886811de6b4bec7e6246e7e36df4f115d55e"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.176523, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report_tmp`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__twitter_ads_enabled','twitter_ads__using_keywords'])) }}\n\nselect * \nfrom {{ var('line_item_keywords_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "line_item_keywords_report"]], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars"], "nodes": ["source.twitter_ads_source.twitter_ads.line_item_keywords_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__line_item_keywords_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`twitter_ads`.`line_item_keywords_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__line_item_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__line_item_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__line_item_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__line_item_report_tmp"], "alias": "stg_twitter_ads__line_item_report_tmp", "checksum": {"name": "sha256", "checksum": "9e053b03293d2511468496eb5fafd60ca8a3883594d2b2a24bb61862fb53c552"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.1832058, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('line_item_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "line_item_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__line_item_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`twitter_ads`.`line_item_report`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__account_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__account_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__account_history_tmp"], "alias": "stg_twitter_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "76ca411a663d62ed96988cf38c0ea000cb691006c8a9f4a6c326f357d874a7fc"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.189767, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.account_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`twitter_ads`.`account_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__promoted_tweet_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__promoted_tweet_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__promoted_tweet_history_tmp"], "alias": "stg_twitter_ads__promoted_tweet_history_tmp", "checksum": {"name": "sha256", "checksum": "b528c88b68e5a01988e4fb4467e2298ac2be47cfe74ba3ac840044fd214f59da"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679425973.196346, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('promoted_tweet_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "promoted_tweet_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.promoted_tweet_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__promoted_tweet_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`twitter_ads`.`promoted_tweet_history`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__campaign_group_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads", "name": "linkedin_ads__campaign_group_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__campaign_group_report.sql", "original_file_path": "models/linkedin_ads__campaign_group_report.sql", "unique_id": "model.linkedin.linkedin_ads__campaign_group_report", "fqn": ["linkedin", "linkedin_ads__campaign_group_report"], "alias": "linkedin_ads__campaign_group_report", "checksum": {"name": "sha256", "checksum": "bc4b9b9b612d1fbbecffc8059005e832e333df998e1b9aad50a3a2dc71125885"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign group level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign group was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_backfilled": {"name": "is_backfilled", "description": "Flag that denotes whether the campaign group was created organically or to backfill existing campaigns. This is a read-only field set by the system. Default = false.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Represents the inclusive (greater than or equal to) date when to start running the associated campaigns under this campaign group. This field is required.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Represents the exclusive (strictly less than) date when to stop running the associated campaigns under this campaign group. If this field is unset, it indicates an open range with no end date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679425976.704227, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith campaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_campaign') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign_group.status,\n account.currency,\n campaign_group.is_backfilled,\n campaign_group.run_schedule_start_at,\n campaign_group.run_schedule_end_at,\n campaign_group.last_modified_at,\n campaign_group.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__campaign_passthrough_metrics', transform='sum') }}\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=12) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__campaign_group_report.sql", "compiled": true, "compiled_code": "\n\nwith campaign_group as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n),\n\nfinal as (\n\n select \n report.date_day,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign_group.status,\n account.currency,\n campaign_group.is_backfilled,\n campaign_group.run_schedule_start_at,\n campaign_group.run_schedule_end_at,\n campaign_group.last_modified_at,\n campaign_group.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__creative_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads", "name": "linkedin_ads__creative_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__creative_report.sql", "original_file_path": "models/linkedin_ads__creative_report.sql", "unique_id": "model.linkedin.linkedin_ads__creative_report", "fqn": ["linkedin", "linkedin_ads__creative_report"], "alias": "linkedin_ads__creative_report", "checksum": {"name": "sha256", "checksum": "ad0eb0c1b25863f9e362dc4aa0d568a06f4a12bed2bd47cfb6bb4cb51ac658d3"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the creative level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the creative was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text with Sponsored Link to landing page on your site.\nSPONSORED_STATUS_UPDATE - Sponsored status update from a profile page.\nSPONSORED_INMAILS - Single message ad delivered to the member's inbox\nSPONSORED_MESSAGE - Conversation ad containing a tree of pre-determined messages delivered to the member's inbox\nSPONSORED_VIDEO - Sponsored videos.\nSPONSORED_UPDATE_CAROUSEL - Sponsored Carousels\nFOLLOW_COMPANY_V2 - Dynamic Follow Ad\nSPOTLIGHT_V2 - Dynamic Spotlight Ad\nJOBS_V2 - Dynamic Job Ad\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_status": {"name": "creative_status", "description": "ACTIVE - Creative creation is complete and creative is available for review and serve.\nPAUSED - Creative creation is complete and creative is current, but should temporarily not be served. This status is not valid upon creation.\nDRAFT - Creative creation is incomplete and may still be edited.\nARCHIVED - Creative creation is complete, but creative should not be served and should be separated from non-archived creatives in any UI.\nCANCELED - Creative is permanently canceled.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action_label_type": {"name": "call_to_action_label_type", "description": "The labeled call-to-action on this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_status": {"name": "campaign_group_status", "description": "Status of campaign's campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679425976.711988, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith creative as (\n\n select *\n from {{ var('creative_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_creative') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n creative.creative_id,\n creative.version_tag,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n creative.type,\n creative.click_uri,\n creative.status as creative_status,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n creative.call_to_action_label_type,\n account.currency,\n creative.last_modified_at,\n creative.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__creative_passthrough_metrics', transform='sum') }}\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=18) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__creative_report.sql", "compiled": true, "compiled_code": "\n\nwith creative as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\n),\n\nfinal as (\n\n select \n report.date_day,\n creative.creative_id,\n creative.version_tag,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n creative.type,\n creative.click_uri,\n creative.status as creative_status,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n creative.call_to_action_label_type,\n account.currency,\n creative.last_modified_at,\n creative.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__campaign_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads", "name": "linkedin_ads__campaign_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__campaign_report.sql", "original_file_path": "models/linkedin_ads__campaign_report.sql", "unique_id": "model.linkedin.linkedin_ads__campaign_report", "fqn": ["linkedin", "linkedin_ads__campaign_report"], "alias": "linkedin_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "1c31aeced5e5a136b419b285d15509067f2556a279da032a1002b4a3fa18879c"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_status": {"name": "campaign_group_status", "description": "Status of campaign's campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_audience_expansion_enabled": {"name": "is_audience_expansion_enabled", "description": "Boolean (default=false) representing whether Audience Expansion is enabled for the campaign provides query expansion for certain targeting criteria.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_type": {"name": "cost_type", "description": "CPM - Cost per thousand advertising impressions. If type=SPONSORED_INMAILS; cost per send(CPS) is measured as CPM x 1000.\nCPC- Cost per individual click on the associated link.\nCPV- Cost per view for video ads.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_selection": {"name": "creative_selection", "description": "ROUND_ROBIN - Rotate through available creatives to serve them as evenly as possible.\nOPTIMIZED (default) - Bias selection taking into account such as expected performance. Not available for Message and Conversation Ads (type=SPONSORED_INMAILS).\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "Maximum amount to spend per day UTC. The amount of money as a real number string.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_currency_code": {"name": "daily_budget_currency_code", "description": "ISO currency code. The currency must match that of the parent account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "format": {"name": "format", "description": "The ad format on the campaign level. See https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/campaign-formats?view=li-lms-2022-07", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_country": {"name": "locale_country", "description": "Locale of the campaign. An uppercase two-letter country code as defined by ISO-3166.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_language": {"name": "locale_language", "description": "Locale of the campaign. A lowercase two-letter language code as defined by ISO-639.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Campaign Objective type values. Click [here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ad-budget-pricing-type-combinations?view=li-lms-2022-07) for Campaign Objective descriptions. One of: - BRAND_AWARENESS - ENGAGEMENT - JOB_APPLICANTS - LEAD_GENERATION - WEBSITE_CONVERSIONS - WEBSITE_VISITS - VIDEO_VIEWS\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_offsite_delivery_enabled": {"name": "is_offsite_delivery_enabled", "description": "Boolean indicating if this campaign to allowed to be served on the LinkedIn Audience Network to extend the reach of your campaign by delivering ads beyond the LinkedIn feed to members on third-party apps and sites.\t(default will be \"True\" from June 30, 2022)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_target_type": {"name": "optimization_target_type", "description": "Determines how this campaign is optimized for spending. If this is not set, there is no optimization. Refer to the documentation here. Default = 'NONE'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the inclusive (greater than or equal to) value in which to start the range.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the exclusive (strictly less than) value in which to end the range, if provided.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text-based ads that show up in the right column or top of the page on LinkedIn.\nSPONSORED_UPDATES - Native ads that promote a company's content updates in the LinkedIn feed.\nSPONSORED_INMAILS - Personalized messages with a call-to-action button delivered to a LinkedIn's member inbox.\nDYNAMIC - Ads that are dynamically personalized.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_amount": {"name": "unit_cost_amount", "description": "This value is used as one of the following: amount to bid (for manual bidding), amount which is the target cost (for target cost bidding) per click, impression, or other event depending on the pricing model, or cost cap (for cost cap bidding). The amount of money as a real number string. The amount should be non-negative if the bidding strategy is manual, target cost, or cost cap bidding. The default is 0 with the currency code set to match that of the associated account.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_currency_code": {"name": "unit_cost_currency_code", "description": "Amount to bid per click, impression, or other event depending on the pricing model. The default is 0 with the currency code set to match that of the associated account. ISO currency code.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679425976.698556, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith campaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_campaign') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign.version_tag,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n campaign.type,\n campaign.cost_type,\n campaign.creative_selection,\n campaign.daily_budget_amount,\n campaign.daily_budget_currency_code,\n campaign.unit_cost_amount,\n campaign.unit_cost_currency_code,\n account.currency,\n campaign.format,\n campaign.locale_country,\n campaign.locale_language,\n campaign.objective_type,\n campaign.optimization_target_type,\n campaign.is_audience_expansion_enabled,\n campaign.is_offsite_delivery_enabled,\n campaign.run_schedule_start_at,\n campaign.run_schedule_end_at,\n campaign.last_modified_at,\n campaign.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__campaign_passthrough_metrics', transform='sum') }}\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=29) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith campaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n),\n\nfinal as (\n\n select \n report.date_day,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign.version_tag,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n campaign.type,\n campaign.cost_type,\n campaign.creative_selection,\n campaign.daily_budget_amount,\n campaign.daily_budget_currency_code,\n campaign.unit_cost_amount,\n campaign.unit_cost_currency_code,\n account.currency,\n campaign.format,\n campaign.locale_country,\n campaign.locale_language,\n campaign.objective_type,\n campaign.optimization_target_type,\n campaign.is_audience_expansion_enabled,\n campaign.is_offsite_delivery_enabled,\n campaign.run_schedule_start_at,\n campaign.run_schedule_end_at,\n campaign.last_modified_at,\n campaign.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__account_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads", "name": "linkedin_ads__account_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__account_report.sql", "original_file_path": "models/linkedin_ads__account_report.sql", "unique_id": "model.linkedin.linkedin_ads__account_report", "fqn": ["linkedin", "linkedin_ads__account_report"], "alias": "linkedin_ads__account_report", "checksum": {"name": "sha256", "checksum": "081d8687fbed2359f5893891308f9b3a0f25a7982a8b206f416f1a60d5c1aa6f"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Account is active; this is the default state\nCANCELLED - Account has been permanently cancelled\nDRAFT - Account is in draft status, meaning it's not yet fully set up and it is not serving\nPENDING_DELETION - Denotes that the account has been requested to be deleted that is currently pending\nREMOVED - Denotes that the account was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "BUSINESS - This is the only value allowed when creating accounts through the API.\nENTERPRISE - This value cannot be used to create accounts through the API and is reserved for accounts created by LinkedIn's internal ad operations systems.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679425976.6867042, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith account as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_campaign') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n account.account_id,\n account.account_name,\n account.version_tag,\n account.currency,\n account.status,\n account.type,\n account.last_modified_at,\n account.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__campaign_passthrough_metrics', transform='sum') }}\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=9) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith account as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n),\n\nfinal as (\n\n select \n report.date_day,\n account.account_id,\n account.account_name,\n account.version_tag,\n account.currency,\n account.status,\n account.type,\n account.last_modified_at,\n account.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__url_report": {"database": "dbt-package-testing", "schema": "zz_dbt_renee_linkedin_ads", "name": "linkedin_ads__url_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__url_report.sql", "original_file_path": "models/linkedin_ads__url_report.sql", "unique_id": "model.linkedin.linkedin_ads__url_report", "fqn": ["linkedin", "linkedin_ads__url_report"], "alias": "linkedin_ads__url_report", "checksum": {"name": "sha256", "checksum": "f27d55e979f8fb3ef7e216f896b7ae0875426ffa511baa0d19606b3ddc54737f"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the url level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679425976.720146, "relation_name": "`dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith creative as (\n\n select *\n from {{ var('creative_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_creative') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n creative.click_uri,\n creative.base_url,\n creative.url_host,\n creative.url_path,\n creative.utm_source,\n creative.utm_medium,\n creative.utm_campaign,\n creative.utm_content,\n creative.utm_term,\n creative.creative_id,\n creative.version_tag,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n account.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__creative_passthrough_metrics', transform='sum') }}\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where creative.click_uri is not null\n {% endif %}\n\n {{ dbt_utils.group_by(n=19) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith creative as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\n),\n\nfinal as (\n\n select \n report.date_day,\n creative.click_uri,\n creative.base_url,\n creative.url_host,\n creative.url_path,\n creative.utm_source,\n creative.utm_medium,\n creative.utm_campaign,\n creative.utm_content,\n creative.utm_term,\n creative.creative_id,\n creative.version_tag,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n account.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n \n where creative.click_uri is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__account_history_account_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__account_history_account_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__account_history_account_id"], "alias": "not_null_stg_microsoft_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.5243032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_microsoft_ads__account_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at"], "alias": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7"}, "created_at": 1679425973.526308, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7\") }}", "language": "sql", "refs": [["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n group by account_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__account_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__account_daily_report_account_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__account_daily_report_account_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__account_daily_report_account_id"], "alias": "not_null_stg_microsoft_ads__account_daily_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.538958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__account_daily_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_microsoft_ads__account_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "device_os", "device_type", "network", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3"}, "created_at": 1679425973.540976, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3\") }}", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`\n group by date_day, account_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__account_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_microsoft_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.548525, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_microsoft_ads__ad_group_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at"], "alias": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb"}, "created_at": 1679425973.550582, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n group by ad_group_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_group_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id"], "alias": "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.5552828, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_microsoft_ads__ad_group_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "device_os", "device_type", "network", "language", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016"}, "created_at": 1679425973.5574012, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_group_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_history_ad_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_history_ad_id"], "alias": "not_null_stg_microsoft_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.56607, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_microsoft_ads__ad_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at"], "alias": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb"}, "created_at": 1679425973.567947, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n group by ad_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_daily_report_ad_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_daily_report_ad_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_daily_report_ad_id"], "alias": "not_null_stg_microsoft_ads__ad_daily_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.57292, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_daily_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_microsoft_ads__ad_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "device_os", "device_type", "network", "language", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269"}, "created_at": 1679425973.574805, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__campaign_history_campaign_id"], "alias": "not_null_stg_microsoft_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.583766, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_microsoft_ads__campaign_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at"], "alias": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0"}, "created_at": 1679425973.585825, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0\") }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n group by campaign_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__campaign_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id"], "alias": "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.590741, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_microsoft_ads__campaign_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "device_os", "device_type", "network", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other", "budget_association_status"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status"], "alias": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27"}, "created_at": 1679425973.592632, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27\") }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other, budget_association_status\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`\n group by date_day, account_id, campaign_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other, budget_association_status\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__campaign_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__keyword_history_keyword_id"], "alias": "not_null_stg_microsoft_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.600746, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_microsoft_ads__keyword_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at"], "alias": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67"}, "created_at": 1679425973.602603, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67\") }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\n group by keyword_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__keyword_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id"], "alias": "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.607507, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_microsoft_ads__keyword_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "device_os", "device_type", "network", "language", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7"}, "created_at": 1679425973.609399, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7\") }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__keyword_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_query", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__search_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_microsoft_ads__search_daily_report_search_query", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__search_daily_report_search_query.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__search_daily_report_search_query"], "alias": "not_null_stg_microsoft_ads__search_daily_report_search_query", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.618626, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__search_daily_report_search_query.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_query\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`\nwhere search_query is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_query", "file_key_name": "models.stg_microsoft_ads__search_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "search_query", "device_os", "device_type", "network", "language", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__search_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379"}, "created_at": 1679425973.620519, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379\") }}", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, language, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, language, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__search_daily_report"}, "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__advertiser_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__advertiser_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99", "fqn": ["tiktok_ads", "not_null_tiktok_ads__advertiser_report_date_day"], "alias": "not_null_tiktok_ads__advertiser_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.6941051, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__advertiser_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__advertiser_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__advertiser_report"}, "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('tiktok_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__advertiser_report_advertiser_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__advertiser_report_advertiser_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce", "fqn": ["tiktok_ads", "not_null_tiktok_ads__advertiser_report_advertiser_id"], "alias": "not_null_tiktok_ads__advertiser_report_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.696002, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__advertiser_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__advertiser_report_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.tiktok_ads__advertiser_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__advertiser_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89"}, "created_at": 1679425973.69788, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89\") }}", "language": "sql", "refs": [["tiktok_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__advertiser_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__advertiser_report`\n group by advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__advertiser_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__ad_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_report_date_day"], "alias": "not_null_tiktok_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.702802, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__ad_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__ad_report_ad_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_report_ad_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_report_ad_id"], "alias": "not_null_tiktok_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.704913, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.tiktok_ads__ad_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85"}, "created_at": 1679425973.706805, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85\") }}", "language": "sql", "refs": [["tiktok_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_report`\n group by ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__ad_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_group_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_group_report_date_day"], "alias": "not_null_tiktok_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.712811, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_group_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__ad_group_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_group_report_ad_group_id"], "alias": "not_null_tiktok_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.714881, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_group_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.tiktok_ads__ad_group_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0"}, "created_at": 1679425973.716761, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0\") }}", "language": "sql", "refs": [["tiktok_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_group_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__ad_group_report`\n group by ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__ad_group_report"}, "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__campaign_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__campaign_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836", "fqn": ["tiktok_ads", "not_null_tiktok_ads__campaign_report_date_day"], "alias": "not_null_tiktok_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.722303, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__campaign_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__campaign_report"}, "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('tiktok_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__campaign_report_campaign_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8", "fqn": ["tiktok_ads", "not_null_tiktok_ads__campaign_report_campaign_id"], "alias": "not_null_tiktok_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.724169, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__campaign_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.tiktok_ads__campaign_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645"}, "created_at": 1679425973.72606, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645\") }}", "language": "sql", "refs": [["tiktok_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__campaign_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__campaign_report`\n group by campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__campaign_report"}, "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__url_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__url_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff", "fqn": ["tiktok_ads", "not_null_tiktok_ads__url_report_date_day"], "alias": "not_null_tiktok_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.7313669, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__url_report"}, "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__url_report_ad_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__url_report_ad_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0", "fqn": ["tiktok_ads", "not_null_tiktok_ads__url_report_ad_id"], "alias": "not_null_tiktok_ads__url_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.733224, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__url_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.tiktok_ads__url_report"}, "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_tiktok_ads__url_report_base_url", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__url_report_base_url.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b", "fqn": ["tiktok_ads", "not_null_tiktok_ads__url_report_base_url"], "alias": "not_null_tiktok_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425973.7356958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.tiktok_ads__url_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50"}, "created_at": 1679425973.738562, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50\") }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_tiktok_ads`.`tiktok_ads__url_report`\n group by ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__campaign_report_campaign_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8", "fqn": ["twitter_ads", "not_null_twitter_ads__campaign_report_campaign_id"], "alias": "not_null_twitter_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.806999, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__campaign_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__campaign_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0", "fqn": ["twitter_ads", "not_null_twitter_ads__campaign_report_date_day"], "alias": "not_null_twitter_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.808937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__campaign_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__campaign_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82", "fqn": ["twitter_ads", "not_null_twitter_ads__campaign_report_placement"], "alias": "not_null_twitter_ads__campaign_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.810986, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__campaign_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "placement", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id"], "alias": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63"}, "created_at": 1679425973.812885, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63\") }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, placement, account_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__campaign_report`\n group by date_day, campaign_id, placement, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__line_item_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__line_item_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce", "fqn": ["twitter_ads", "not_null_twitter_ads__line_item_report_date_day"], "alias": "not_null_twitter_ads__line_item_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.818561, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__line_item_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "line_item_id", "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__line_item_report_line_item_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__line_item_report_line_item_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211", "fqn": ["twitter_ads", "not_null_twitter_ads__line_item_report_line_item_id"], "alias": "not_null_twitter_ads__line_item_report_line_item_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.8204238, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__line_item_report_line_item_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect line_item_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\nwhere line_item_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "line_item_id", "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__line_item_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__line_item_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312", "fqn": ["twitter_ads", "not_null_twitter_ads__line_item_report_placement"], "alias": "not_null_twitter_ads__line_item_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.8223622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__line_item_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "line_item_id", "placement", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168"}, "created_at": 1679425973.824258, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168\") }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, line_item_id, placement, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__line_item_report`\n group by date_day, line_item_id, placement, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__account_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__account_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846", "fqn": ["twitter_ads", "not_null_twitter_ads__account_report_date_day"], "alias": "not_null_twitter_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.830698, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__account_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__account_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194", "fqn": ["twitter_ads", "not_null_twitter_ads__account_report_placement"], "alias": "not_null_twitter_ads__account_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.832541, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__account_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__account_report_account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__account_report_account_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908", "fqn": ["twitter_ads", "not_null_twitter_ads__account_report_account_id"], "alias": "not_null_twitter_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.834503, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "placement"], "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement"], "alias": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f"}, "created_at": 1679425973.83661, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f\") }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, placement\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__account_report`\n group by date_day, account_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__keyword_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__keyword_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec", "fqn": ["twitter_ads", "not_null_twitter_ads__keyword_report_date_day"], "alias": "not_null_twitter_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.8425999, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__keyword_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__keyword_report"}, "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('twitter_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__keyword_report_keyword_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538", "fqn": ["twitter_ads", "not_null_twitter_ads__keyword_report_keyword_id"], "alias": "not_null_twitter_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.844388, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__keyword_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.twitter_ads__keyword_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id", "campaign_id"], "model": "{{ get_where_subquery(ref('twitter_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id"], "alias": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1"}, "created_at": 1679425973.846132, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1\") }}", "language": "sql", "refs": [["twitter_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__keyword_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, keyword_id, campaign_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__keyword_report`\n group by date_day, keyword_id, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__keyword_report"}, "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__promoted_tweet_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__promoted_tweet_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5", "fqn": ["twitter_ads", "not_null_twitter_ads__promoted_tweet_report_placement"], "alias": "not_null_twitter_ads__promoted_tweet_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.851439, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__promoted_tweet_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__promoted_tweet_report"}, "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e", "fqn": ["twitter_ads", "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id"], "alias": "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.853277, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.twitter_ads__promoted_tweet_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "promoted_tweet_id", "placement", "line_item_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__promoted_tweet_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1"}, "created_at": 1679425973.855135, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1\") }}", "language": "sql", "refs": [["twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__promoted_tweet_report`\n group by date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__promoted_tweet_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__url_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_date_day"], "alias": "not_null_twitter_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.8613381, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__url_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_placement"], "alias": "not_null_twitter_ads__url_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.863381, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__url_report_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_promoted_tweet_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_promoted_tweet_id"], "alias": "not_null_twitter_ads__url_report_promoted_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.865217, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_promoted_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_twitter_ads__url_report_base_url", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_base_url.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_base_url"], "alias": "not_null_twitter_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425973.867625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "promoted_tweet_id", "placement", "line_item_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7"}, "created_at": 1679425973.870068, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7\") }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads`.`twitter_ads__url_report`\n group by date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__url_report"}, "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__account_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__account_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90", "fqn": ["reddit_ads", "not_null_reddit_ads__account_report_date_day"], "alias": "not_null_reddit_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.907875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__account_report"}, "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('reddit_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__account_report_account_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__account_report_account_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5", "fqn": ["reddit_ads", "not_null_reddit_ads__account_report_account_id"], "alias": "not_null_reddit_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.909864, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.reddit_ads__account_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "attribution_type", "currency", "status", "time_zone_id"], "model": "{{ get_where_subquery(ref('reddit_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id"], "alias": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c"}, "created_at": 1679425973.91172, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c\") }}", "language": "sql", "refs": [["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, attribution_type, currency, status, time_zone_id\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__account_report`\n group by date_day, account_id, attribution_type, currency, status, time_zone_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__account_report"}, "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_group_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_group_report_date_day"], "alias": "not_null_reddit_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.917881, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__ad_group_report"}, "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('reddit_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_group_report_ad_group_id"], "alias": "not_null_reddit_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.919722, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.reddit_ads__ad_group_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "ad_group_id", "campaign_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency"], "alias": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85"}, "created_at": 1679425973.921581, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85\") }}", "language": "sql", "refs": [["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, ad_group_id, campaign_id, currency\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_group_report`\n group by date_day, account_id, ad_group_id, campaign_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__ad_group_report"}, "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__ad_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_report_date_day"], "alias": "not_null_reddit_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.927912, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__ad_report"}, "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('reddit_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__ad_report_ad_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_report_ad_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_report_ad_id"], "alias": "not_null_reddit_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.929739, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.reddit_ads__ad_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_id", "post_id", "account_id", "ad_group_id", "campaign_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency"], "alias": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff"}, "created_at": 1679425973.931836, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff\") }}", "language": "sql", "refs": [["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_id, post_id, account_id, ad_group_id, campaign_id, currency\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__ad_report`\n group by date_day, ad_id, post_id, account_id, ad_group_id, campaign_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__ad_report"}, "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__campaign_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__campaign_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131", "fqn": ["reddit_ads", "not_null_reddit_ads__campaign_report_date_day"], "alias": "not_null_reddit_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.9383302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__campaign_report"}, "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('reddit_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__campaign_report_campaign_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49", "fqn": ["reddit_ads", "not_null_reddit_ads__campaign_report_campaign_id"], "alias": "not_null_reddit_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.940165, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.reddit_ads__campaign_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency"], "alias": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e"}, "created_at": 1679425973.942027, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e\") }}", "language": "sql", "refs": [["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, currency\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__campaign_report`\n group by date_day, account_id, campaign_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__campaign_report"}, "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__url_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__url_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da", "fqn": ["reddit_ads", "not_null_reddit_ads__url_report_date_day"], "alias": "not_null_reddit_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.947594, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__url_report"}, "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__url_report_ad_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__url_report_ad_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0", "fqn": ["reddit_ads", "not_null_reddit_ads__url_report_ad_id"], "alias": "not_null_reddit_ads__url_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425973.9494321, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__url_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.reddit_ads__url_report"}, "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_reddit_ads__url_report_base_url", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__url_report_base_url.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb", "fqn": ["reddit_ads", "not_null_reddit_ads__url_report_base_url"], "alias": "not_null_reddit_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425973.951819, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.reddit_ads__url_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "click_url", "ad_id", "account_id", "ad_group_id", "campaign_id", "post_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency"], "alias": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f"}, "created_at": 1679425973.953953, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f\") }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, click_url, ad_id, account_id, ad_group_id, campaign_id, post_id, currency\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads`.`reddit_ads__url_report`\n group by date_day, click_url, ad_id, account_id, ad_group_id, campaign_id, post_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__url_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__url_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e", "fqn": ["pinterest", "not_null_pinterest_ads__url_report_date_day"], "alias": "not_null_pinterest_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.0018198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "destination_url", "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__url_report_destination_url", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__url_report_destination_url.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502", "fqn": ["pinterest", "not_null_pinterest_ads__url_report_destination_url"], "alias": "not_null_pinterest_ads__url_report_destination_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425974.0042272, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__url_report_destination_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect destination_url\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\nwhere destination_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "destination_url", "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__url_report_pin_promotion_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__url_report_pin_promotion_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a", "fqn": ["pinterest", "not_null_pinterest_ads__url_report_pin_promotion_id"], "alias": "not_null_pinterest_ads__url_report_pin_promotion_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.00626, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__url_report_pin_promotion_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4"}, "created_at": 1679425974.008745, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4\") }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__url_report`\n group by pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__ad_group_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7", "fqn": ["pinterest", "not_null_pinterest_ads__ad_group_report_date_day"], "alias": "not_null_pinterest_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.01464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__ad_group_report"}, "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2", "fqn": ["pinterest", "not_null_pinterest_ads__ad_group_report_ad_group_id"], "alias": "not_null_pinterest_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.01648, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.pinterest_ads__ad_group_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "advertiser_id", "campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506"}, "created_at": 1679425974.018338, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506\") }}", "language": "sql", "refs": [["pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, advertiser_id, campaign_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__ad_group_report`\n group by ad_group_id, advertiser_id, campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__ad_group_report"}, "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__campaign_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__campaign_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf", "fqn": ["pinterest", "not_null_pinterest_ads__campaign_report_date_day"], "alias": "not_null_pinterest_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.0238678, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__campaign_report"}, "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__campaign_report_campaign_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2", "fqn": ["pinterest", "not_null_pinterest_ads__campaign_report_campaign_id"], "alias": "not_null_pinterest_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.025698, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.pinterest_ads__campaign_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334"}, "created_at": 1679425974.027775, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334\") }}", "language": "sql", "refs": [["pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__campaign_report`\n group by campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__campaign_report"}, "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__advertiser_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__advertiser_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca", "fqn": ["pinterest", "not_null_pinterest_ads__advertiser_report_date_day"], "alias": "not_null_pinterest_ads__advertiser_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.0327601, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__advertiser_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__advertiser_report"}, "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__advertiser_report_advertiser_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__advertiser_report_advertiser_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672", "fqn": ["pinterest", "not_null_pinterest_ads__advertiser_report_advertiser_id"], "alias": "not_null_pinterest_ads__advertiser_report_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.03481, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__advertiser_report_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.pinterest_ads__advertiser_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__advertiser_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f"}, "created_at": 1679425974.0366662, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f\") }}", "language": "sql", "refs": [["pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__advertiser_report`\n group by advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__advertiser_report"}, "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__keyword_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__keyword_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba", "fqn": ["pinterest", "not_null_pinterest_ads__keyword_report_date_day"], "alias": "not_null_pinterest_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.041773, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__keyword_report"}, "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__keyword_report_keyword_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198", "fqn": ["pinterest", "not_null_pinterest_ads__keyword_report_keyword_id"], "alias": "not_null_pinterest_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.043603, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.pinterest_ads__keyword_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f"}, "created_at": 1679425974.0454552, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f\") }}", "language": "sql", "refs": [["pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__keyword_report`\n group by keyword_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__keyword_report"}, "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__pin_promotion_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__pin_promotion_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd", "fqn": ["pinterest", "not_null_pinterest_ads__pin_promotion_report_date_day"], "alias": "not_null_pinterest_ads__pin_promotion_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.051645, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__pin_promotion_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__pin_promotion_report"}, "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561", "fqn": ["pinterest", "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id"], "alias": "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.053487, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.pinterest_ads__pin_promotion_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__pin_promotion_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c"}, "created_at": 1679425974.055344, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c\") }}", "language": "sql", "refs": [["pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_pinterest`.`pinterest_ads__pin_promotion_report`\n group by pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__pin_promotion_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__account')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "unique_stg_reddit_ads__account_account_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__account_account_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__account_account_id"], "alias": "unique_stg_reddit_ads__account_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.152328, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__account_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select account_id as unique_field\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\n where account_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_reddit_ads__account"}, "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__account')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__account_account_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__account_account_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__account_account_id"], "alias": "not_null_stg_reddit_ads__account_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.154347, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__account_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_reddit_ads__account"}, "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__account_report_account_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__account_report_account_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__account_report_account_id"], "alias": "not_null_stg_reddit_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.156194, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_reddit_ads__account_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day"], "alias": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8"}, "created_at": 1679425974.1580532, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8\") }}", "language": "sql", "refs": [["stg_reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__account_report`\n group by account_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__account_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "unique_stg_reddit_ads__ad_ad_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__ad_ad_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__ad_ad_id"], "alias": "unique_stg_reddit_ads__ad_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.1632671, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__ad_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select ad_id as unique_field\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad`\n where ad_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_reddit_ads__ad"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_ad_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_ad_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_ad_id"], "alias": "not_null_stg_reddit_ads__ad_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.1651552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_reddit_ads__ad"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_report_ad_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_report_ad_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_report_ad_id"], "alias": "not_null_stg_reddit_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.166999, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_reddit_ads__ad_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff"}, "created_at": 1679425974.168861, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff\") }}", "language": "sql", "refs": [["stg_reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__ad_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "unique_stg_reddit_ads__ad_group_ad_group_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__ad_group_ad_group_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__ad_group_ad_group_id"], "alias": "unique_stg_reddit_ads__ad_group_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.1737752, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__ad_group_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select ad_group_id as unique_field\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group`\n where ad_group_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_reddit_ads__ad_group"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_group_ad_group_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_group_ad_group_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_group_ad_group_id"], "alias": "not_null_stg_reddit_ads__ad_group_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.175613, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_group_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_reddit_ads__ad_group"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_group_report_ad_group_id"], "alias": "not_null_stg_reddit_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.1776729, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_reddit_ads__ad_group_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac"}, "created_at": 1679425974.179529, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac\") }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__ad_group_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__ad_group_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "unique_stg_reddit_ads__campaign_campaign_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__campaign_campaign_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__campaign_campaign_id"], "alias": "unique_stg_reddit_ads__campaign_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.184404, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__campaign_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select campaign_id as unique_field\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`\n where campaign_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_reddit_ads__campaign"}, "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__campaign_campaign_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__campaign_campaign_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__campaign_campaign_id"], "alias": "not_null_stg_reddit_ads__campaign_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.186234, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__campaign_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_reddit_ads__campaign"}, "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_reddit_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__campaign_report_campaign_id"], "alias": "not_null_stg_reddit_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.188253, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_reddit_ads__campaign_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1"}, "created_at": 1679425974.1901, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1\") }}", "language": "sql", "refs": [["stg_reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_reddit_ads_source`.`stg_reddit_ads__campaign_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__campaign_report"}, "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('google_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_google_ads__url_report_base_url", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__url_report_base_url.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72", "fqn": ["google_ads", "not_null_google_ads__url_report_base_url"], "alias": "not_null_google_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425974.2331362, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["google_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__url_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.google_ads__url_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b"}, "created_at": 1679425974.235565, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b\") }}", "language": "sql", "refs": [["google_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__url_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__url_report`\n group by ad_id, ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__url_report"}, "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('google_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_google_ads__account_report_account_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__account_report_account_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422", "fqn": ["google_ads", "not_null_google_ads__account_report_account_id"], "alias": "not_null_google_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.2408168, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__account_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.google_ads__account_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day"], "alias": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9"}, "created_at": 1679425974.2426748, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9\") }}", "language": "sql", "refs": [["google_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__account_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__account_report`\n group by account_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__account_report"}, "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('google_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_google_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c", "fqn": ["google_ads", "not_null_google_ads__ad_group_report_ad_group_id"], "alias": "not_null_google_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.247515, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_group_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.google_ads__ad_group_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f"}, "created_at": 1679425974.249372, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f\") }}", "language": "sql", "refs": [["google_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_group_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_group_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__ad_group_report"}, "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('google_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_google_ads__ad_report_ad_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__ad_report_ad_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad", "fqn": ["google_ads", "not_null_google_ads__ad_report_ad_id"], "alias": "not_null_google_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.2545779, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.google_ads__ad_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a"}, "created_at": 1679425974.256386, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a\") }}", "language": "sql", "refs": [["google_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__ad_report`\n group by ad_id, ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__ad_report"}, "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('google_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_google_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__campaign_report_campaign_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e", "fqn": ["google_ads", "not_null_google_ads__campaign_report_campaign_id"], "alias": "not_null_google_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.261269, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__campaign_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.google_ads__campaign_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "advertising_channel_type", "advertising_channel_subtype", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day"], "alias": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a"}, "created_at": 1679425974.263005, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a\") }}", "language": "sql", "refs": [["google_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__campaign_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, advertising_channel_type, advertising_channel_subtype, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__campaign_report`\n group by campaign_id, advertising_channel_type, advertising_channel_subtype, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__campaign_report"}, "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "criterion_id", "model": "{{ get_where_subquery(ref('google_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_google_ads__keyword_report_criterion_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__keyword_report_criterion_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055", "fqn": ["google_ads", "not_null_google_ads__keyword_report_criterion_id"], "alias": "not_null_google_ads__keyword_report_criterion_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.268158, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__keyword_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__keyword_report_criterion_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect criterion_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__keyword_report`\nwhere criterion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "criterion_id", "file_key_name": "models.google_ads__keyword_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "criterion_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day"], "alias": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97"}, "created_at": 1679425974.2699258, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97\") }}", "language": "sql", "refs": [["google_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__keyword_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, criterion_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads`.`google_ads__keyword_report`\n group by ad_group_id, criterion_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__keyword_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_amazon_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.3335402, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_amazon_ads__ad_group_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1"}, "created_at": 1679425974.335511, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1\") }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, last_updated_date\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n group by ad_group_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__ad_group_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_level_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id"], "alias": "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.340134, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_amazon_ads__ad_group_level_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_level_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d"}, "created_at": 1679425974.341884, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d\") }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__ad_group_level_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__advertised_product_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__advertised_product_report_ad_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__advertised_product_report_ad_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__advertised_product_report_ad_id"], "alias": "not_null_stg_amazon_ads__advertised_product_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.346719, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__advertised_product_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_amazon_ads__advertised_product_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__advertised_product_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417"}, "created_at": 1679425974.348586, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417\") }}", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__advertised_product_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__campaign_history_campaign_id"], "alias": "not_null_stg_amazon_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.353486, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_amazon_ads__campaign_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9"}, "created_at": 1679425974.355353, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9\") }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, last_updated_date\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n group by campaign_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__campaign_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_level_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__campaign_level_report_campaign_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__campaign_level_report_campaign_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__campaign_level_report_campaign_id"], "alias": "not_null_stg_amazon_ads__campaign_level_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.3599958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__campaign_level_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_amazon_ads__campaign_level_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_level_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748"}, "created_at": 1679425974.36182, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748\") }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__campaign_level_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__keyword_history_keyword_id"], "alias": "not_null_stg_amazon_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.3663518, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_amazon_ads__keyword_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be"}, "created_at": 1679425974.368145, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be\") }}", "language": "sql", "refs": [["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, last_updated_date\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__keyword_history`\n group by keyword_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__keyword_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "portfolio_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__portfolio_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__portfolio_history_portfolio_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__portfolio_history_portfolio_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__portfolio_history_portfolio_id"], "alias": "not_null_stg_amazon_ads__portfolio_history_portfolio_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.372849, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__portfolio_history_portfolio_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect portfolio_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\nwhere portfolio_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "portfolio_id", "file_key_name": "models.stg_amazon_ads__portfolio_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["portfolio_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__portfolio_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147"}, "created_at": 1679425974.374718, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147\") }}", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n portfolio_id, last_updated_date\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\n group by portfolio_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__portfolio_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__product_ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__product_ad_history_ad_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__product_ad_history_ad_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__product_ad_history_ad_id"], "alias": "not_null_stg_amazon_ads__product_ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.379744, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__product_ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__product_ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__product_ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_amazon_ads__product_ad_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__product_ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814"}, "created_at": 1679425974.3816059, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814\") }}", "language": "sql", "refs": [["stg_amazon_ads__product_ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, last_updated_date\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__product_ad_history`\n group by ad_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__product_ad_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "profile_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__profile')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__profile_profile_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__profile_profile_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__profile_profile_id"], "alias": "not_null_stg_amazon_ads__profile_profile_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.3863502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__profile"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__profile"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__profile_profile_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect profile_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__profile`\nwhere profile_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "profile_id", "file_key_name": "models.stg_amazon_ads__profile"}, "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__targeting_keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id"], "alias": "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.388061, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_amazon_ads__targeting_keyword_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__targeting_keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6"}, "created_at": 1679425974.389888, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6\") }}", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`\n group by keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__targeting_keyword_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_term", "model": "{{ get_where_subquery(ref('stg_amazon_ads__search_term_ad_keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term"], "alias": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe"}, "created_at": 1679425974.394773, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe\") }}", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_term\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`\nwhere search_term is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_term", "file_key_name": "models.stg_amazon_ads__search_term_ad_keyword_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["search_term", "keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__search_term_ad_keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28"}, "created_at": 1679425974.396489, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28\") }}", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n search_term, keyword_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`\n group by search_term, keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__search_term_ad_keyword_report"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_creative')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.585005, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_creative"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_creative')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.5873868, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_creative"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "creative_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_creative')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id"], "alias": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9"}, "created_at": 1679425974.589659, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9\") }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, creative_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\n group by date_day, creative_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_creative"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.5956721, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_campaign"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.597853, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_campaign"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_campaign')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id"], "alias": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c"}, "created_at": 1679425974.6000588, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c\") }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n group by date_day, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_campaign"}, "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__creative_history_creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__creative_history_creative_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__creative_history_creative_id"], "alias": "not_null_stg_linkedin_ads__creative_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.605908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__creative_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_linkedin_ads__creative_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_version_tag.d3f8e73227": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "version_tag", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__creative_history_version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__creative_history_version_tag.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_version_tag.d3f8e73227", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__creative_history_version_tag"], "alias": "not_null_stg_linkedin_ads__creative_history_version_tag", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.608094, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__creative_history_version_tag.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect version_tag\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\nwhere version_tag is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "version_tag", "file_key_name": "models.stg_linkedin_ads__creative_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id.cc02e6aa66": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["version_tag", "creative_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__creative_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_18d13dd053dd23e38fcb9beaa3ca81bc.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id.cc02e6aa66", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id"], "alias": "dbt_utils_unique_combination_o_18d13dd053dd23e38fcb9beaa3ca81bc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_18d13dd053dd23e38fcb9beaa3ca81bc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_18d13dd053dd23e38fcb9beaa3ca81bc"}, "created_at": 1679425974.6105542, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_18d13dd053dd23e38fcb9beaa3ca81bc\") }}", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_18d13dd053dd23e38fcb9beaa3ca81bc.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n version_tag, creative_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\n group by version_tag, creative_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__creative_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_history_campaign_id"], "alias": "not_null_stg_linkedin_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.6161401, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_linkedin_ads__campaign_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "version_tag", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_history_version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__campaign_history_version_tag.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_history_version_tag"], "alias": "not_null_stg_linkedin_ads__campaign_history_version_tag", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.618912, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__campaign_history_version_tag.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect version_tag\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\nwhere version_tag is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "version_tag", "file_key_name": "models.stg_linkedin_ads__campaign_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["version_tag", "campaign_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id"], "alias": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361"}, "created_at": 1679425974.6208909, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n version_tag, campaign_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n group by version_tag, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__campaign_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_group_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id"], "alias": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a"}, "created_at": 1679425974.625841, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\nwhere campaign_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_group_id", "file_key_name": "models.stg_linkedin_ads__campaign_group_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "last_modified_at", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_group_history_last_modified_at", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_group_history_last_modified_at"], "alias": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd"}, "created_at": 1679425974.627696, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect last_modified_at\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\nwhere last_modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "last_modified_at", "file_key_name": "models.stg_linkedin_ads__campaign_group_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["last_modified_at", "campaign_group_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id"], "alias": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14"}, "created_at": 1679425974.629554, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n last_modified_at, campaign_group_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n group by last_modified_at, campaign_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__campaign_group_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__account_history_account_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__account_history_account_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__account_history_account_id"], "alias": "not_null_stg_linkedin_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.634453, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_linkedin_ads__account_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "version_tag", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_linkedin_ads__account_history_version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__account_history_version_tag.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__account_history_version_tag"], "alias": "not_null_stg_linkedin_ads__account_history_version_tag", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.636298, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__account_history_version_tag.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect version_tag\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\nwhere version_tag is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "version_tag", "file_key_name": "models.stg_linkedin_ads__account_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "version_tag"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag"], "alias": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55"}, "created_at": 1679425974.638147, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55\") }}", "language": "sql", "refs": [["stg_linkedin_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, version_tag\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n group by account_id, version_tag\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__account_history"}, "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "profile_id", "model": "{{ get_where_subquery(ref('amazon_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__account_report_profile_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__account_report_profile_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66", "fqn": ["amazon_ads", "not_null_amazon_ads__account_report_profile_id"], "alias": "not_null_amazon_ads__account_report_profile_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.727895, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__account_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__account_report_profile_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect profile_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`\nwhere profile_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "profile_id", "file_key_name": "models.amazon_ads__account_report"}, "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('amazon_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__account_report_account_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__account_report_account_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061", "fqn": ["amazon_ads", "not_null_amazon_ads__account_report_account_id"], "alias": "not_null_amazon_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.729922, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__account_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.amazon_ads__account_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "profile_id"], "model": "{{ get_where_subquery(ref('amazon_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id"], "alias": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06"}, "created_at": 1679425974.731905, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06\") }}", "language": "sql", "refs": [["amazon_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__account_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, profile_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__account_report`\n group by date_day, profile_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__account_report"}, "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('amazon_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a", "fqn": ["amazon_ads", "not_null_amazon_ads__ad_group_report_ad_group_id"], "alias": "not_null_amazon_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.737229, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_group_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.amazon_ads__ad_group_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_group_id"], "model": "{{ get_where_subquery(ref('amazon_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id"], "alias": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241"}, "created_at": 1679425974.738945, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241\") }}", "language": "sql", "refs": [["amazon_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_group_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_group_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_group_report`\n group by date_day, ad_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__ad_group_report"}, "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('amazon_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__ad_report_ad_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__ad_report_ad_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3", "fqn": ["amazon_ads", "not_null_amazon_ads__ad_report_ad_id"], "alias": "not_null_amazon_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.743538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.amazon_ads__ad_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_id"], "model": "{{ get_where_subquery(ref('amazon_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id"], "alias": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536"}, "created_at": 1679425974.7454238, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536\") }}", "language": "sql", "refs": [["amazon_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__ad_report`\n group by date_day, ad_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__ad_report"}, "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('amazon_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__campaign_report_campaign_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c", "fqn": ["amazon_ads", "not_null_amazon_ads__campaign_report_campaign_id"], "alias": "not_null_amazon_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.750239, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__campaign_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.amazon_ads__campaign_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id"], "model": "{{ get_where_subquery(ref('amazon_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id"], "alias": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33"}, "created_at": 1679425974.752167, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33\") }}", "language": "sql", "refs": [["amazon_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__campaign_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__campaign_report`\n group by date_day, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__campaign_report"}, "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "profile_id", "model": "{{ get_where_subquery(ref('amazon_ads__portfolio_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__portfolio_report_profile_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__portfolio_report_profile_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6", "fqn": ["amazon_ads", "not_null_amazon_ads__portfolio_report_profile_id"], "alias": "not_null_amazon_ads__portfolio_report_profile_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.756792, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__portfolio_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__portfolio_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__portfolio_report_profile_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect profile_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__portfolio_report`\nwhere profile_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "profile_id", "file_key_name": "models.amazon_ads__portfolio_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "portfolio_id"], "model": "{{ get_where_subquery(ref('amazon_ads__portfolio_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id"], "alias": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f"}, "created_at": 1679425974.7585762, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f\") }}", "language": "sql", "refs": [["amazon_ads__portfolio_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__portfolio_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, portfolio_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__portfolio_report`\n group by date_day, portfolio_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__portfolio_report"}, "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('amazon_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__keyword_report_keyword_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a", "fqn": ["amazon_ads", "not_null_amazon_ads__keyword_report_keyword_id"], "alias": "not_null_amazon_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.763468, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__keyword_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.amazon_ads__keyword_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id"], "model": "{{ get_where_subquery(ref('amazon_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id"], "alias": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751"}, "created_at": 1679425974.765344, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751\") }}", "language": "sql", "refs": [["amazon_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__keyword_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, keyword_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__keyword_report`\n group by date_day, keyword_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__keyword_report"}, "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_term", "model": "{{ get_where_subquery(ref('amazon_ads__search_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_amazon_ads__search_report_search_term", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__search_report_search_term.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a", "fqn": ["amazon_ads", "not_null_amazon_ads__search_report_search_term"], "alias": "not_null_amazon_ads__search_report_search_term", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.770371, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__search_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__search_report_search_term.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_term\nfrom `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__search_report`\nwhere search_term is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_term", "file_key_name": "models.amazon_ads__search_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "search_term", "keyword_id"], "model": "{{ get_where_subquery(ref('amazon_ads__search_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id"], "alias": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67"}, "created_at": 1679425974.7722409, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67\") }}", "language": "sql", "refs": [["amazon_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__search_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, search_term, keyword_id\n from `dbt-package-testing`.`zz_dbt_renee_amazon_ads`.`amazon_ads__search_report`\n group by date_day, search_term, keyword_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__search_report"}, "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('facebook_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_facebook_ads__url_report_base_url", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__url_report_base_url.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be", "fqn": ["facebook_ads", "not_null_facebook_ads__url_report_base_url"], "alias": "not_null_facebook_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425974.80944, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["facebook_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.facebook_ads__url_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_set_id", "ad_id"], "model": "{{ get_where_subquery(ref('facebook_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id"], "alias": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb"}, "created_at": 1679425974.8118699, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb\") }}", "language": "sql", "refs": [["facebook_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_set_id, ad_id\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_report`\n group by date_day, account_id, campaign_id, ad_set_id, ad_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__url_report"}, "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('facebook_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_facebook_ads__ad_report_ad_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__ad_report_ad_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238", "fqn": ["facebook_ads", "not_null_facebook_ads__ad_report_ad_id"], "alias": "not_null_facebook_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.817413, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.facebook_ads__ad_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_set_id", "ad_id"], "model": "{{ get_where_subquery(ref('facebook_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id"], "alias": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e"}, "created_at": 1679425974.819715, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e\") }}", "language": "sql", "refs": [["facebook_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_set_id, ad_id\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_report`\n group by date_day, account_id, campaign_id, ad_set_id, ad_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__ad_report"}, "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_set_id", "model": "{{ get_where_subquery(ref('facebook_ads__ad_set_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_facebook_ads__ad_set_report_ad_set_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__ad_set_report_ad_set_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4", "fqn": ["facebook_ads", "not_null_facebook_ads__ad_set_report_ad_set_id"], "alias": "not_null_facebook_ads__ad_set_report_ad_set_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.82622, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__ad_set_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_set_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__ad_set_report_ad_set_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_set_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_set_report`\nwhere ad_set_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_set_id", "file_key_name": "models.facebook_ads__ad_set_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_set_id"], "model": "{{ get_where_subquery(ref('facebook_ads__ad_set_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id"], "alias": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74"}, "created_at": 1679425974.829482, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74\") }}", "language": "sql", "refs": [["facebook_ads__ad_set_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_set_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_set_id\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__ad_set_report`\n group by date_day, account_id, campaign_id, ad_set_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__ad_set_report"}, "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('facebook_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_facebook_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__campaign_report_campaign_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21", "fqn": ["facebook_ads", "not_null_facebook_ads__campaign_report_campaign_id"], "alias": "not_null_facebook_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.836788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__campaign_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.facebook_ads__campaign_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id"], "model": "{{ get_where_subquery(ref('facebook_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id"], "alias": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1"}, "created_at": 1679425974.839374, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1\") }}", "language": "sql", "refs": [["facebook_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__campaign_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__campaign_report`\n group by date_day, account_id, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__campaign_report"}, "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('facebook_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_facebook_ads__account_report_account_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__account_report_account_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024", "fqn": ["facebook_ads", "not_null_facebook_ads__account_report_account_id"], "alias": "not_null_facebook_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.846774, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__account_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.facebook_ads__account_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id"], "model": "{{ get_where_subquery(ref('facebook_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id"], "alias": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e"}, "created_at": 1679425974.849142, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e\") }}", "language": "sql", "refs": [["facebook_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__account_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__account_report`\n group by date_day, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__account_report"}, "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_id", "model": "{{ get_where_subquery(ref('facebook_ads__url_tags')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_facebook_ads__url_tags__fivetran_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__url_tags__fivetran_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3", "fqn": ["facebook_ads", "not_null_facebook_ads__url_tags__fivetran_id"], "alias": "not_null_facebook_ads__url_tags__fivetran_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.855077, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__url_tags"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_tags"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__url_tags__fivetran_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_tags`\nwhere _fivetran_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_id", "file_key_name": "models.facebook_ads__url_tags"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["_fivetran_id", "key", "type"], "model": "{{ get_where_subquery(ref('facebook_ads__url_tags')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type"], "alias": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a"}, "created_at": 1679425974.8573031, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a\") }}", "language": "sql", "refs": [["facebook_ads__url_tags"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_tags"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n _fivetran_id, key, type\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads`.`facebook_ads__url_tags`\n group by _fivetran_id, key, type\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__url_tags"}, "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__account_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__account_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260", "fqn": ["snapchat_ads", "not_null_snapchat_ads__account_report_date_day"], "alias": "not_null_snapchat_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.895125, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__account_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__account_report"}, "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_account_id", "model": "{{ get_where_subquery(ref('snapchat_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__account_report_ad_account_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__account_report_ad_account_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b", "fqn": ["snapchat_ads", "not_null_snapchat_ads__account_report_ad_account_id"], "alias": "not_null_snapchat_ads__account_report_ad_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.8970501, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__account_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__account_report_ad_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`\nwhere ad_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_account_id", "file_key_name": "models.snapchat_ads__account_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_account_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day"], "alias": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292"}, "created_at": 1679425974.899673, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292\") }}", "language": "sql", "refs": [["snapchat_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__account_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_account_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__account_report`\n group by ad_account_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__account_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__ad_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_report_date_day"], "alias": "not_null_snapchat_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.904767, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__ad_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__ad_report_ad_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_report_ad_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_report_ad_id"], "alias": "not_null_snapchat_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.906875, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.snapchat_ads__ad_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b"}, "created_at": 1679425974.908959, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b\") }}", "language": "sql", "refs": [["snapchat_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__ad_report"}, "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__campaign_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__campaign_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b", "fqn": ["snapchat_ads", "not_null_snapchat_ads__campaign_report_date_day"], "alias": "not_null_snapchat_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.913929, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__campaign_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__campaign_report"}, "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('snapchat_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__campaign_report_campaign_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac", "fqn": ["snapchat_ads", "not_null_snapchat_ads__campaign_report_campaign_id"], "alias": "not_null_snapchat_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.915807, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__campaign_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.snapchat_ads__campaign_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e"}, "created_at": 1679425974.9177, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e\") }}", "language": "sql", "refs": [["snapchat_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__campaign_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__campaign_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__campaign_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_squad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__ad_squad_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_squad_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_squad_report_date_day"], "alias": "not_null_snapchat_ads__ad_squad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.9226391, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_squad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_squad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_squad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__ad_squad_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_squad_id", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_squad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__ad_squad_report_ad_squad_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_squad_report_ad_squad_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_squad_report_ad_squad_id"], "alias": "not_null_snapchat_ads__ad_squad_report_ad_squad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.92451, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_squad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_squad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_squad_report_ad_squad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_squad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`\nwhere ad_squad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_squad_id", "file_key_name": "models.snapchat_ads__ad_squad_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_squad_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__ad_squad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day"], "alias": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f"}, "created_at": 1679425974.92639, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f\") }}", "language": "sql", "refs": [["snapchat_ads__ad_squad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_squad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_squad_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__ad_squad_report`\n group by ad_squad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__ad_squad_report"}, "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__url_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__url_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6", "fqn": ["snapchat_ads", "not_null_snapchat_ads__url_report_date_day"], "alias": "not_null_snapchat_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.931367, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__url_report"}, "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__url_report_ad_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__url_report_ad_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78", "fqn": ["snapchat_ads", "not_null_snapchat_ads__url_report_ad_id"], "alias": "not_null_snapchat_ads__url_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.933235, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__url_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.snapchat_ads__url_report"}, "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_snapchat_ads__url_report_base_url", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__url_report_base_url.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de", "fqn": ["snapchat_ads", "not_null_snapchat_ads__url_report_base_url"], "alias": "not_null_snapchat_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425974.9359071, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.snapchat_ads__url_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7"}, "created_at": 1679425974.938466, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7\") }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads`.`snapchat_ads__url_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__url_report"}, "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_google_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__account_history_account_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__account_history_account_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f", "fqn": ["google_ads_source", "not_null_stg_google_ads__account_history_account_id"], "alias": "not_null_stg_google_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.989828, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_google_ads__account_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at"], "alias": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3"}, "created_at": 1679425974.991742, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3\") }}", "language": "sql", "refs": [["stg_google_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_history`\n group by account_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__account_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_google_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425974.996692, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_google_ads__ad_group_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a"}, "created_at": 1679425974.998585, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_history`\n group by ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_group_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_history_ad_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_history_ad_id"], "alias": "not_null_stg_google_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.0035431, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_google_ads__ad_history"}, "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7": {"test_metadata": {"name": "expect_column_values_to_not_match_regex_list", "kwargs": {"regex_list": ",", "match_on": "any", "column_name": "source_final_urls", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_history')) }}"}, "namespace": "dbt_expectations"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7", "fqn": ["google_ads_source", "dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___"], "alias": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "warn", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"severity": "warn", "alias": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5"}, "created_at": 1679425975.005911, "relation_name": null, "raw_code": "{{ dbt_expectations.test_expect_column_values_to_not_match_regex_list(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5\") }}", "language": "sql", "refs": [["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_expectations.test_expect_column_values_to_not_match_regex_list", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n with grouped_expression as (\n select\n \n \n \n \n\n\n\n \nregexp_instr(source_final_urls, ',', 1, 1)\n\n\n = 0\n as expression\n\n\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history`\n \n\n),\nvalidation_errors as (\n\n select\n *\n from\n grouped_expression\n where\n not(expression = true)\n\n)\n\nselect *\nfrom validation_errors\n\n\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "source_final_urls", "file_key_name": "models.stg_google_ads__ad_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74"}, "created_at": 1679425975.023593, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74\") }}", "language": "sql", "refs": [["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_history`\n group by ad_id, ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_stats_date_day"], "alias": "not_null_stg_google_ads__ad_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.029183, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__ad_stats"}, "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_stats_ad_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_stats_ad_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_stats_ad_id"], "alias": "not_null_stg_google_ads__ad_stats_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.03116, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_stats_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_google_ads__ad_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_network_type", "device", "ad_group_id", "keyword_ad_group_criterion", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day"], "alias": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1"}, "created_at": 1679425975.033219, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1\") }}", "language": "sql", "refs": [["stg_google_ads__ad_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_network_type, device, ad_group_id, keyword_ad_group_criterion, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_stats`\n group by ad_id, ad_network_type, device, ad_group_id, keyword_ad_group_criterion, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_stats"}, "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75", "fqn": ["google_ads_source", "not_null_stg_google_ads__campaign_history_campaign_id"], "alias": "not_null_stg_google_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.0390358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_google_ads__campaign_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at"], "alias": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d"}, "created_at": 1679425975.0408561, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d\") }}", "language": "sql", "refs": [["stg_google_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_history`\n group by campaign_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__campaign_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "criterion_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_criterion_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_criterion_history_criterion_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_criterion_history_criterion_id"], "alias": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031"}, "created_at": 1679425975.045356, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_criterion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect criterion_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_criterion_history`\nwhere criterion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "criterion_id", "file_key_name": "models.stg_google_ads__ad_group_criterion_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["criterion_id", "ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_criterion_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8"}, "created_at": 1679425975.047132, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_criterion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n criterion_id, ad_group_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_criterion_history`\n group by criterion_id, ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_group_criterion_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_group_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_stats_date_day"], "alias": "not_null_stg_google_ads__ad_group_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.052427, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_group_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__ad_group_stats"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_stats_ad_group_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_group_stats_ad_group_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_stats_ad_group_id"], "alias": "not_null_stg_google_ads__ad_group_stats_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.0542772, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_group_stats_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_google_ads__ad_group_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "device", "ad_network_type", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day"], "alias": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c"}, "created_at": 1679425975.056185, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, device, ad_network_type, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__ad_group_stats`\n group by ad_group_id, device, ad_network_type, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_group_stats"}, "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__campaign_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__campaign_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b", "fqn": ["google_ads_source", "not_null_stg_google_ads__campaign_stats_date_day"], "alias": "not_null_stg_google_ads__campaign_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.061734, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__campaign_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__campaign_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__campaign_stats"}, "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__campaign_stats_campaign_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__campaign_stats_campaign_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f", "fqn": ["google_ads_source", "not_null_stg_google_ads__campaign_stats_campaign_id"], "alias": "not_null_stg_google_ads__campaign_stats_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.063576, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__campaign_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__campaign_stats_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_google_ads__campaign_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "ad_network_type", "device", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day"], "alias": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259"}, "created_at": 1679425975.065901, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259\") }}", "language": "sql", "refs": [["stg_google_ads__campaign_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, ad_network_type, device, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__campaign_stats`\n group by campaign_id, ad_network_type, device, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__campaign_stats"}, "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__keyword_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__keyword_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__keyword_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d", "fqn": ["google_ads_source", "not_null_stg_google_ads__keyword_stats_date_day"], "alias": "not_null_stg_google_ads__keyword_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.071243, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__keyword_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__keyword_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__keyword_stats"}, "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_google_ads__keyword_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__keyword_stats_keyword_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__keyword_stats_keyword_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0", "fqn": ["google_ads_source", "not_null_stg_google_ads__keyword_stats_keyword_id"], "alias": "not_null_stg_google_ads__keyword_stats_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.0732548, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__keyword_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__keyword_stats_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_google_ads__keyword_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__keyword_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534"}, "created_at": 1679425975.075115, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534\") }}", "language": "sql", "refs": [["stg_google_ads__keyword_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__keyword_stats`\n group by keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__keyword_stats"}, "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_google_ads__account_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__account_stats_account_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__account_stats_account_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b", "fqn": ["google_ads_source", "not_null_stg_google_ads__account_stats_account_id"], "alias": "not_null_stg_google_ads__account_stats_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.079971, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__account_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__account_stats_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_google_ads__account_stats"}, "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__account_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_google_ads__account_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__account_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5", "fqn": ["google_ads_source", "not_null_stg_google_ads__account_stats_date_day"], "alias": "not_null_stg_google_ads__account_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.0818172, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__account_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__account_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__account_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "device", "ad_network_type", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__account_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day"], "alias": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3"}, "created_at": 1679425975.08396, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3\") }}", "language": "sql", "refs": [["stg_google_ads__account_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, device, ad_network_type, date_day\n from `dbt-package-testing`.`zz_dbt_renee_google_ads_source`.`stg_google_ads__account_stats`\n group by account_id, device, ad_network_type, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__account_stats"}, "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_group_report_ad_group_id"], "alias": "not_null_apple_search_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.1723258, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.apple_search_ads__ad_group_report"}, "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_group_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_group_report_date_day"], "alias": "not_null_apple_search_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.1742022, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__ad_group_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2"}, "created_at": 1679425975.1760042, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2\") }}", "language": "sql", "refs": [["apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_group_report`\n group by organization_id, campaign_id, ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__ad_group_report"}, "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__ad_report_ad_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_report_ad_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_report_ad_id"], "alias": "not_null_apple_search_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.181563, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.apple_search_ads__ad_report"}, "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__ad_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_report_date_day"], "alias": "not_null_apple_search_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.1834419, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__ad_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "ad_group_id", "ad_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c"}, "created_at": 1679425975.185343, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c\") }}", "language": "sql", "refs": [["apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, ad_group_id, ad_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__ad_report`\n group by organization_id, campaign_id, ad_group_id, ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__ad_report"}, "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__campaign_report_campaign_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146", "fqn": ["apple_search_ads", "not_null_apple_search_ads__campaign_report_campaign_id"], "alias": "not_null_apple_search_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.191276, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.apple_search_ads__campaign_report"}, "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__campaign_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__campaign_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a", "fqn": ["apple_search_ads", "not_null_apple_search_ads__campaign_report_date_day"], "alias": "not_null_apple_search_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.1931462, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__campaign_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5"}, "created_at": 1679425975.195025, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5\") }}", "language": "sql", "refs": [["apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__campaign_report`\n group by organization_id, campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__campaign_report"}, "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__keyword_report_keyword_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db", "fqn": ["apple_search_ads", "not_null_apple_search_ads__keyword_report_keyword_id"], "alias": "not_null_apple_search_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.200293, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.apple_search_ads__keyword_report"}, "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__keyword_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__keyword_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82", "fqn": ["apple_search_ads", "not_null_apple_search_ads__keyword_report_date_day"], "alias": "not_null_apple_search_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.202153, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__keyword_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "ad_group_id", "keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246"}, "created_at": 1679425975.2042382, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246\") }}", "language": "sql", "refs": [["apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, ad_group_id, keyword_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__keyword_report`\n group by organization_id, campaign_id, ad_group_id, keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__keyword_report"}, "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "organization_id", "model": "{{ get_where_subquery(ref('apple_search_ads__organization_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__organization_report_organization_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__organization_report_organization_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8", "fqn": ["apple_search_ads", "not_null_apple_search_ads__organization_report_organization_id"], "alias": "not_null_apple_search_ads__organization_report_organization_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.210609, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__organization_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__organization_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__organization_report_organization_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect organization_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`\nwhere organization_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "organization_id", "file_key_name": "models.apple_search_ads__organization_report"}, "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__organization_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__organization_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__organization_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523", "fqn": ["apple_search_ads", "not_null_apple_search_ads__organization_report_date_day"], "alias": "not_null_apple_search_ads__organization_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.21247, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__organization_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__organization_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__organization_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__organization_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__organization_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day"], "alias": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d"}, "created_at": 1679425975.214365, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d\") }}", "language": "sql", "refs": [["apple_search_ads__organization_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__organization_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__organization_report`\n group by organization_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__organization_report"}, "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__search_term_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__search_term_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c", "fqn": ["apple_search_ads", "not_null_apple_search_ads__search_term_report_date_day"], "alias": "not_null_apple_search_ads__search_term_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.21937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__search_term_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__search_term_report"}, "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_term_text", "model": "{{ get_where_subquery(ref('apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_apple_search_ads__search_term_report_search_term_text", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__search_term_report_search_term_text.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7", "fqn": ["apple_search_ads", "not_null_apple_search_ads__search_term_report_search_term_text"], "alias": "not_null_apple_search_ads__search_term_report_search_term_text", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.221557, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__search_term_report_search_term_text.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_term_text\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`\nwhere search_term_text is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_term_text", "file_key_name": "models.apple_search_ads__search_term_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["search_term_text", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__search_term_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day"], "alias": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690"}, "created_at": 1679425975.22344, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690\") }}", "language": "sql", "refs": [["apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n search_term_text, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads`.`apple_search_ads__search_term_report`\n group by search_term_text, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__search_term_report"}, "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('ad_reporting__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__account_report_account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__account_report_account_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022", "fqn": ["ad_reporting", "not_null_ad_reporting__account_report_account_id"], "alias": "not_null_ad_reporting__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.326431, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.ad_reporting__account_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id"], "alias": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce"}, "created_at": 1679425975.3285701, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce\") }}", "language": "sql", "refs": [["ad_reporting__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, account_id\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__account_report`\n group by platform, date_day, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__account_report"}, "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('ad_reporting__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__ad_group_report_ad_group_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842", "fqn": ["ad_reporting", "not_null_ad_reporting__ad_group_report_ad_group_id"], "alias": "not_null_ad_reporting__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.333739, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.ad_reporting__ad_group_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342"}, "created_at": 1679425975.335992, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342\") }}", "language": "sql", "refs": [["ad_reporting__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__ad_group_report`\n group by platform, date_day, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__ad_group_report"}, "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('ad_reporting__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__ad_report_ad_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__ad_report_ad_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152", "fqn": ["ad_reporting", "not_null_ad_reporting__ad_report_ad_id"], "alias": "not_null_ad_reporting__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.342033, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.ad_reporting__ad_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "ad_id", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21"}, "created_at": 1679425975.343936, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21\") }}", "language": "sql", "refs": [["ad_reporting__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, ad_id, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__ad_report`\n group by platform, date_day, ad_id, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__ad_report"}, "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('ad_reporting__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__campaign_report_campaign_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__campaign_report_campaign_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b", "fqn": ["ad_reporting", "not_null_ad_reporting__campaign_report_campaign_id"], "alias": "not_null_ad_reporting__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.350315, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.ad_reporting__campaign_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f"}, "created_at": 1679425975.3522098, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f\") }}", "language": "sql", "refs": [["ad_reporting__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__campaign_report`\n group by platform, date_day, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__campaign_report"}, "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('ad_reporting__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__keyword_report_keyword_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__keyword_report_keyword_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334", "fqn": ["ad_reporting", "not_null_ad_reporting__keyword_report_keyword_id"], "alias": "not_null_ad_reporting__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.357813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.ad_reporting__keyword_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "keyword_id", "keyword_match_type", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e"}, "created_at": 1679425975.359704, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e\") }}", "language": "sql", "refs": [["ad_reporting__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, keyword_id, keyword_match_type, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__keyword_report`\n group by platform, date_day, keyword_id, keyword_match_type, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__keyword_report"}, "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_query", "model": "{{ get_where_subquery(ref('ad_reporting__search_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__search_report_search_query", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__search_report_search_query.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb", "fqn": ["ad_reporting", "not_null_ad_reporting__search_report_search_query"], "alias": "not_null_ad_reporting__search_report_search_query", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.3663092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__search_report_search_query.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_query\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__search_report`\nwhere search_query is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_query", "file_key_name": "models.ad_reporting__search_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "search_query", "search_match_type", "keyword_id", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__search_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371"}, "created_at": 1679425975.3681972, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371\") }}", "language": "sql", "refs": [["ad_reporting__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, search_query, search_match_type, keyword_id, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__search_report`\n group by platform, date_day, search_query, search_match_type, keyword_id, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__search_report"}, "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('ad_reporting__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_ad_reporting__url_report_base_url", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__url_report_base_url.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6", "fqn": ["ad_reporting", "not_null_ad_reporting__url_report_base_url"], "alias": "not_null_ad_reporting__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425975.375641, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["ad_reporting__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.ad_reporting__url_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "ad_group_id", "campaign_id", "account_id", "base_url", "url_host", "url_path", "utm_campaign", "utm_content", "utm_medium", "utm_source", "utm_term"], "model": "{{ get_where_subquery(ref('ad_reporting__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term"], "alias": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10"}, "created_at": 1679425975.3783948, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10\") }}", "language": "sql", "refs": [["ad_reporting__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, ad_group_id, campaign_id, account_id, base_url, url_host, url_path, utm_campaign, utm_content, utm_medium, utm_source, utm_term\n from `dbt-package-testing`.`zz_dbt_renee_ad_reporting`.`ad_reporting__url_report`\n group by platform, date_day, ad_group_id, campaign_id, account_id, base_url, url_host, url_path, utm_campaign, utm_content, utm_medium, utm_source, utm_term\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__url_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_history_modified_at"], "alias": "not_null_stg_apple_search_ads__ad_group_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.4870741, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__ad_group_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_apple_search_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.4890082, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_apple_search_ads__ad_group_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at"], "alias": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f"}, "created_at": 1679425975.4908988, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n group by ad_group_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_group_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_report_ad_group_id"], "alias": "not_null_stg_apple_search_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.495904, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_apple_search_ads__ad_group_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_report_date_day"], "alias": "not_null_stg_apple_search_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.4977732, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__ad_group_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d"}, "created_at": 1679425975.499656, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_group_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_history_modified_at"], "alias": "not_null_stg_apple_search_ads__ad_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.5046332, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__ad_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_history_ad_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_history_ad_id"], "alias": "not_null_stg_apple_search_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.5065112, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_apple_search_ads__ad_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at"], "alias": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31"}, "created_at": 1679425975.5087092, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\n group by ad_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_report_date_day"], "alias": "not_null_stg_apple_search_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.5134552, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_report_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_report_ad_group_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_report_ad_group_id"], "alias": "not_null_stg_apple_search_ads__ad_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.515542, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_report_ad_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_report_ad_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_report_ad_id"], "alias": "not_null_stg_apple_search_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.517403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day", "ad_group_id"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id"], "alias": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9"}, "created_at": 1679425975.519291, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day, ad_group_id\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\n group by ad_id, date_day, ad_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_history_modified_at"], "alias": "not_null_stg_apple_search_ads__campaign_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.5246289, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__campaign_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_history_campaign_id"], "alias": "not_null_stg_apple_search_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.526488, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_apple_search_ads__campaign_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at"], "alias": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9"}, "created_at": 1679425975.5283651, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9\") }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n group by campaign_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__campaign_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_report_campaign_id"], "alias": "not_null_stg_apple_search_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.5333571, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_apple_search_ads__campaign_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_report_date_day"], "alias": "not_null_stg_apple_search_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.535226, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__campaign_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07"}, "created_at": 1679425975.537104, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07\") }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__campaign_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_history_modified_at"], "alias": "not_null_stg_apple_search_ads__keyword_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.5420449, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__keyword_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_history_keyword_id"], "alias": "not_null_stg_apple_search_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.543902, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_apple_search_ads__keyword_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at"], "alias": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5"}, "created_at": 1679425975.545983, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5\") }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, modified_at\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\n group by keyword_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__keyword_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_report_keyword_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_report_keyword_id"], "alias": "not_null_stg_apple_search_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.550733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_apple_search_ads__keyword_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_report_date_day"], "alias": "not_null_stg_apple_search_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.552852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__keyword_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5"}, "created_at": 1679425975.5547352, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5\") }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\n group by keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__keyword_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "organization_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__organization')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__organization_organization_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__organization_organization_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__organization_organization_id"], "alias": "not_null_stg_apple_search_ads__organization_organization_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.559962, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__organization_organization_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect organization_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\nwhere organization_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "organization_id", "file_key_name": "models.stg_apple_search_ads__organization"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__organization')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id"], "alias": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b"}, "created_at": 1679425975.5619168, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b\") }}", "language": "sql", "refs": [["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__organization`\n group by organization_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__organization"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__search_term_report__fivetran_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__search_term_report__fivetran_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__search_term_report__fivetran_id"], "alias": "not_null_stg_apple_search_ads__search_term_report__fivetran_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.566526, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__search_term_report__fivetran_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_id\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\nwhere _fivetran_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_id", "file_key_name": "models.stg_apple_search_ads__search_term_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_apple_search_ads__search_term_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__search_term_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__search_term_report_date_day"], "alias": "not_null_stg_apple_search_ads__search_term_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.568387, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__search_term_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__search_term_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["_fivetran_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__search_term_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day"], "alias": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1"}, "created_at": 1679425975.570822, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1\") }}", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n _fivetran_id, date_day\n from `dbt-package-testing`.`zz_dbt_renee_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\n group by _fivetran_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__search_term_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_pinterest_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.718901, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_pinterest_ads__ad_group_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7"}, "created_at": 1679425975.721546, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7\") }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n group by ad_group_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__ad_group_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__campaign_history_campaign_id"], "alias": "not_null_stg_pinterest_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.727947, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_pinterest_ads__campaign_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b"}, "created_at": 1679425975.730262, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b\") }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_history`\n group by campaign_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__campaign_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id"], "alias": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f"}, "created_at": 1679425975.736344, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.stg_pinterest_ads__pin_promotion_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["_fivetran_synced", "pin_promotion_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id"], "alias": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175"}, "created_at": 1679425975.738657, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n _fivetran_synced, pin_promotion_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\n group by _fivetran_synced, pin_promotion_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__pin_promotion_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__pin_promotion_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__pin_promotion_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__pin_promotion_report_date_day"], "alias": "not_null_stg_pinterest_ads__pin_promotion_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.744697, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__pin_promotion_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__pin_promotion_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id"], "alias": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b"}, "created_at": 1679425975.747008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.stg_pinterest_ads__pin_promotion_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19"}, "created_at": 1679425975.7494998, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\n group by date_day, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__pin_promotion_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__ad_group_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__ad_group_report_date_day"], "alias": "not_null_stg_pinterest_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.756533, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__ad_group_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__ad_group_report_ad_group_id"], "alias": "not_null_stg_pinterest_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.758739, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_pinterest_ads__ad_group_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_group_id", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8"}, "created_at": 1679425975.760982, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8\") }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_group_id, campaign_id, advertiser_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__ad_group_report`\n group by date_day, ad_group_id, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__ad_group_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__advertiser_history_advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__advertiser_history_advertiser_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__advertiser_history_advertiser_id"], "alias": "not_null_stg_pinterest_ads__advertiser_history_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.7669492, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__advertiser_history_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_pinterest_ads__advertiser_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["updated_at", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id"], "alias": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733"}, "created_at": 1679425975.768825, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733\") }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n updated_at, advertiser_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n group by updated_at, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__advertiser_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__advertiser_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__advertiser_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__advertiser_report_date_day"], "alias": "not_null_stg_pinterest_ads__advertiser_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.773778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__advertiser_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__advertiser_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__advertiser_report_advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__advertiser_report_advertiser_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__advertiser_report_advertiser_id"], "alias": "not_null_stg_pinterest_ads__advertiser_report_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.7756422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__advertiser_report_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_pinterest_ads__advertiser_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id"], "alias": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de"}, "created_at": 1679425975.7778199, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de\") }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, advertiser_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__advertiser_report`\n group by date_day, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__advertiser_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__campaign_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__campaign_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__campaign_report_date_day"], "alias": "not_null_stg_pinterest_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.7828338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__campaign_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__campaign_report_campaign_id"], "alias": "not_null_stg_pinterest_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.78471, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_pinterest_ads__campaign_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf"}, "created_at": 1679425975.787179, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf\") }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, advertiser_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__campaign_report`\n group by date_day, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__campaign_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__keyword_history_keyword_id"], "alias": "not_null_stg_pinterest_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.7922418, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_pinterest_ads__keyword_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "ad_group_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628"}, "created_at": 1679425975.7944388, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628\") }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, ad_group_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_history`\n group by keyword_id, ad_group_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__keyword_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__keyword_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__keyword_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__keyword_report_date_day"], "alias": "not_null_stg_pinterest_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.7995179, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__keyword_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_pinterest_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__keyword_report_keyword_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__keyword_report_keyword_id"], "alias": "not_null_stg_pinterest_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425975.801621, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_pinterest_ads__keyword_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id", "pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236"}, "created_at": 1679425975.803521, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236\") }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, keyword_id, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n from `dbt-package-testing`.`zz_dbt_renee_pinterest_source`.`stg_pinterest_ads__keyword_report`\n group by date_day, keyword_id, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__keyword_report"}, "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__advertiser')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "unique_stg_tiktok_ads__advertiser_advertiser_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "unique_stg_tiktok_ads__advertiser_advertiser_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66", "fqn": ["tiktok_ads_source", "unique_stg_tiktok_ads__advertiser_advertiser_id"], "alias": "unique_stg_tiktok_ads__advertiser_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.0151098, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__advertiser"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/unique_stg_tiktok_ads__advertiser_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select advertiser_id as unique_field\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n where advertiser_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_tiktok_ads__advertiser"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__advertiser')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__advertiser_advertiser_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__advertiser_advertiser_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__advertiser_advertiser_id"], "alias": "not_null_stg_tiktok_ads__advertiser_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.017062, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__advertiser"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__advertiser_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_tiktok_ads__advertiser"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_tiktok_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.018937, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_tiktok_ads__ad_group_history"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8"}, "created_at": 1679425976.020997, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n group by ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_group_history"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_history_ad_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_history_ad_id"], "alias": "not_null_stg_tiktok_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.025814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_tiktok_ads__ad_history"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at"], "alias": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f"}, "created_at": 1679425976.0279198, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n group by ad_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_history"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__campaign_history_campaign_id"], "alias": "not_null_stg_tiktok_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.032877, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_tiktok_ads__campaign_history"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at"], "alias": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000"}, "created_at": 1679425976.034991, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000\") }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n group by campaign_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__campaign_history"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_report_hourly_ad_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_report_hourly_ad_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_report_hourly_ad_id"], "alias": "not_null_stg_tiktok_ads__ad_report_hourly_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.0397341, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_report_hourly_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_tiktok_ads__ad_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "stat_time_hour", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour"], "alias": "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.0418282, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect stat_time_hour\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\nwhere stat_time_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "stat_time_hour", "file_key_name": "models.stg_tiktok_ads__ad_report_hourly"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "stat_time_hour"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_report_hourly')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour"], "alias": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc"}, "created_at": 1679425976.0437171, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, stat_time_hour\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n group by ad_id, stat_time_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id"], "alias": "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.048647, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_tiktok_ads__ad_group_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "stat_time_hour", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour"], "alias": "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.050514, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect stat_time_hour\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\nwhere stat_time_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "stat_time_hour", "file_key_name": "models.stg_tiktok_ads__ad_group_report_hourly"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "stat_time_hour"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_report_hourly')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour"], "alias": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60"}, "created_at": 1679425976.0524008, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, stat_time_hour\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\n group by ad_group_id, stat_time_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_group_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id"], "alias": "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.057354, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_tiktok_ads__campaign_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "stat_time_hour", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour"], "alias": "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.059214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect stat_time_hour\nfrom `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\nwhere stat_time_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "stat_time_hour", "file_key_name": "models.stg_tiktok_ads__campaign_report_hourly"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "stat_time_hour"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_report_hourly')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour"], "alias": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16"}, "created_at": 1679425976.0610912, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16\") }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, stat_time_hour\n from `dbt-package-testing`.`zz_dbt_renee_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\n group by campaign_id, stat_time_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__campaign_report_hourly"}, "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__account_history_account_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__account_history_account_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__account_history_account_id"], "alias": "not_null_stg_facebook_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.101295, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_facebook_ads__account_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_facebook_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__account_history__fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__account_history__fivetran_synced.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__account_history__fivetran_synced"], "alias": "not_null_stg_facebook_ads__account_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.1032, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__account_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_facebook_ads__account_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f"}, "created_at": 1679425976.1050858, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f\") }}", "language": "sql", "refs": [["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__account_history`\n group by account_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__account_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_history_ad_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_history_ad_id"], "alias": "not_null_stg_facebook_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.110541, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_facebook_ads__ad_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "updated_at", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_history_updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_history_updated_at.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_history_updated_at"], "alias": "not_null_stg_facebook_ads__ad_history_updated_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.112405, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_history_updated_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect updated_at\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\nwhere updated_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "updated_at", "file_key_name": "models.stg_facebook_ads__ad_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at"], "alias": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137"}, "created_at": 1679425976.114513, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137\") }}", "language": "sql", "refs": [["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_history`\n group by ad_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__ad_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_set_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_set_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_set_history_ad_set_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_set_history_ad_set_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_set_history_ad_set_id"], "alias": "not_null_stg_facebook_ads__ad_set_history_ad_set_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.119251, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_set_history_ad_set_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_set_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\nwhere ad_set_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_set_id", "file_key_name": "models.stg_facebook_ads__ad_set_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "updated_at", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_set_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_set_history_updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_set_history_updated_at.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_set_history_updated_at"], "alias": "not_null_stg_facebook_ads__ad_set_history_updated_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.121345, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_set_history_updated_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect updated_at\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\nwhere updated_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "updated_at", "file_key_name": "models.stg_facebook_ads__ad_set_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_set_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_set_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at"], "alias": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f"}, "created_at": 1679425976.123224, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f\") }}", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_set_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n group by ad_set_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__ad_set_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__campaign_history_campaign_id"], "alias": "not_null_stg_facebook_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.128161, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_facebook_ads__campaign_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "updated_at", "model": "{{ get_where_subquery(ref('stg_facebook_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__campaign_history_updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__campaign_history_updated_at.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__campaign_history_updated_at"], "alias": "not_null_stg_facebook_ads__campaign_history_updated_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.130075, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__campaign_history_updated_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect updated_at\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\nwhere updated_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "updated_at", "file_key_name": "models.stg_facebook_ads__campaign_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at"], "alias": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78"}, "created_at": 1679425976.131961, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78\") }}", "language": "sql", "refs": [["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n group by campaign_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__campaign_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_facebook_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__creative_history__fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__creative_history__fivetran_synced.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__creative_history__fivetran_synced"], "alias": "not_null_stg_facebook_ads__creative_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.136888, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__creative_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_facebook_ads__creative_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__creative_history_creative_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__creative_history_creative_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__creative_history_creative_id"], "alias": "not_null_stg_facebook_ads__creative_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.138762, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__creative_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_facebook_ads__creative_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["creative_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__creative_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217"}, "created_at": 1679425976.140644, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217\") }}", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n creative_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__creative_history`\n group by creative_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__creative_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__basic_ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__basic_ad_ad_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__basic_ad_ad_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__basic_ad_ad_id"], "alias": "not_null_stg_facebook_ads__basic_ad_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.145608, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__basic_ad_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_facebook_ads__basic_ad"}, "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__basic_ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_facebook_ads__basic_ad_account_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__basic_ad_account_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__basic_ad_account_id"], "alias": "not_null_stg_facebook_ads__basic_ad_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.147464, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__basic_ad_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_facebook_ads__basic_ad"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_id", "account_id"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__basic_ad')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id"], "alias": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683"}, "created_at": 1679425976.149346, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683\") }}", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n group by date_day, ad_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__basic_ad"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.280066, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__ad_account_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_account_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_account_history_ad_account_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_account_history_ad_account_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_account_history_ad_account_id"], "alias": "not_null_stg_snapchat_ads__ad_account_history_ad_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.28221, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_account_history_ad_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\nwhere ad_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_account_id", "file_key_name": "models.stg_snapchat_ads__ad_account_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_account_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d"}, "created_at": 1679425976.2841222, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_account_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n group by ad_account_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_account_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__ad_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.289214, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__ad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_history_ad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_history_ad_id"], "alias": "not_null_stg_snapchat_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.29109, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_snapchat_ads__ad_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060"}, "created_at": 1679425976.292973, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n group by ad_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_hourly_report_ad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_hourly_report_ad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_hourly_report_ad_id"], "alias": "not_null_stg_snapchat_ads__ad_hourly_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.297961, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_hourly_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_snapchat_ads__ad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_hour", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_hourly_report_date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_hourly_report_date_hour.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_hourly_report_date_hour"], "alias": "not_null_stg_snapchat_ads__ad_hourly_report_date_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.29984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_hourly_report_date_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_hour\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\nwhere date_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_hour", "file_key_name": "models.stg_snapchat_ads__ad_hourly_report"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_hour"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_hourly_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour"], "alias": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea"}, "created_at": 1679425976.3017259, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_hour\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n group by ad_id, date_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.306701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__ad_squad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_squad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id"], "alias": "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.3085692, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_squad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\nwhere ad_squad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_squad_id", "file_key_name": "models.stg_snapchat_ads__ad_squad_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_squad_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128"}, "created_at": 1679425976.3106859, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_squad_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n group by ad_squad_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_squad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_squad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id"], "alias": "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.315437, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_squad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\nwhere ad_squad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_squad_id", "file_key_name": "models.stg_snapchat_ads__ad_squad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_hour", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour"], "alias": "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.317953, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_hour\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\nwhere date_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_hour", "file_key_name": "models.stg_snapchat_ads__ad_squad_hourly_report"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_squad_id", "date_hour"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_hourly_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour"], "alias": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3"}, "created_at": 1679425976.319834, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_squad_id, date_hour\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\n group by ad_squad_id, date_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_squad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__campaign_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.325354, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__campaign_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_history_campaign_id"], "alias": "not_null_stg_snapchat_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.32723, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_snapchat_ads__campaign_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b"}, "created_at": 1679425976.329104, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b\") }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n group by campaign_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__campaign_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id"], "alias": "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.3341708, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_snapchat_ads__campaign_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_hour", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour"], "alias": "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.3361652, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_hour\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\nwhere date_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_hour", "file_key_name": "models.stg_snapchat_ads__campaign_hourly_report"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_hour"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_hourly_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour"], "alias": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2"}, "created_at": 1679425976.338194, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2\") }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_hour\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\n group by campaign_id, date_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__campaign_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__creative_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__creative_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__creative_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__creative_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.3432162, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__creative_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__creative_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__creative_history_creative_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__creative_history_creative_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__creative_history_creative_id"], "alias": "not_null_stg_snapchat_ads__creative_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.34511, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__creative_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_snapchat_ads__creative_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["creative_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d"}, "created_at": 1679425976.346998, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d\") }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n creative_id, _fivetran_synced\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n group by creative_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__creative_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_url_tag_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id"], "alias": "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.351924, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_url_tag_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_snapchat_ads__creative_url_tag_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["creative_id", "param_key", "updated_at"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_url_tag_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at"], "alias": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985"}, "created_at": 1679425976.3539252, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985\") }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_url_tag_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n creative_id, param_key, updated_at\n from `dbt-package-testing`.`zz_dbt_renee_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n group by creative_id, param_key, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__creative_url_tag_history"}, "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('microsoft_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__account_report_account_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__account_report_account_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e", "fqn": ["microsoft_ads", "not_null_microsoft_ads__account_report_account_id"], "alias": "not_null_microsoft_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.412317, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__account_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.microsoft_ads__account_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668"}, "created_at": 1679425976.4142919, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668\") }}", "language": "sql", "refs": [["microsoft_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__account_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__account_report`\n group by date_day, account_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__account_report"}, "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('microsoft_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9", "fqn": ["microsoft_ads", "not_null_microsoft_ads__ad_group_report_ad_group_id"], "alias": "not_null_microsoft_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.4208179, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_group_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.microsoft_ads__ad_group_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6"}, "created_at": 1679425976.422733, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6\") }}", "language": "sql", "refs": [["microsoft_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_group_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_group_report`\n group by date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__ad_group_report"}, "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('microsoft_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__ad_report_ad_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__ad_report_ad_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125", "fqn": ["microsoft_ads", "not_null_microsoft_ads__ad_report_ad_id"], "alias": "not_null_microsoft_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.429806, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.microsoft_ads__ad_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "ad_type", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822"}, "created_at": 1679425976.4317398, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822\") }}", "language": "sql", "refs": [["microsoft_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, ad_type, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__ad_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, ad_type, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__ad_report"}, "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('microsoft_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__campaign_report_campaign_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8", "fqn": ["microsoft_ads", "not_null_microsoft_ads__campaign_report_campaign_id"], "alias": "not_null_microsoft_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.439928, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__campaign_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.microsoft_ads__campaign_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a"}, "created_at": 1679425976.441864, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a\") }}", "language": "sql", "refs": [["microsoft_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__campaign_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__campaign_report`\n group by date_day, account_id, campaign_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__campaign_report"}, "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('microsoft_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__keyword_report_keyword_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b", "fqn": ["microsoft_ads", "not_null_microsoft_ads__keyword_report_keyword_id"], "alias": "not_null_microsoft_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.448473, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__keyword_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.microsoft_ads__keyword_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854"}, "created_at": 1679425976.4504771, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854\") }}", "language": "sql", "refs": [["microsoft_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__keyword_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__keyword_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__keyword_report"}, "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_query", "model": "{{ get_where_subquery(ref('microsoft_ads__search_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__search_report_search_query", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__search_report_search_query.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d", "fqn": ["microsoft_ads", "not_null_microsoft_ads__search_report_search_query"], "alias": "not_null_microsoft_ads__search_report_search_query", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.458143, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__search_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__search_report_search_query.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_query\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__search_report`\nwhere search_query is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_query", "file_key_name": "models.microsoft_ads__search_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "search_query", "device_os", "device_type", "network", "match_type"], "model": "{{ get_where_subquery(ref('microsoft_ads__search_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type"], "alias": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d"}, "created_at": 1679425976.460413, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d\") }}", "language": "sql", "refs": [["microsoft_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__search_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, match_type\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__search_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, match_type\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__search_report"}, "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('microsoft_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_microsoft_ads__url_report_base_url", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__url_report_base_url.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a", "fqn": ["microsoft_ads", "not_null_microsoft_ads__url_report_base_url"], "alias": "not_null_microsoft_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425976.469137, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["microsoft_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__url_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.microsoft_ads__url_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432"}, "created_at": 1679425976.471641, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432\") }}", "language": "sql", "refs": [["microsoft_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__url_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`zz_dbt_renee_microsoft_ads`.`microsoft_ads__url_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__url_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__account_history_account_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__account_history_account_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__account_history_account_id"], "alias": "not_null_stg_twitter_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.5939488, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_twitter_ads__account_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0"}, "created_at": 1679425976.595925, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0\") }}", "language": "sql", "refs": [["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, updated_timestamp\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__account_history`\n group by account_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__account_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_history_campaign_id"], "alias": "not_null_stg_twitter_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.600984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_twitter_ads__campaign_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2"}, "created_at": 1679425976.602962, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2\") }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_timestamp\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n group by campaign_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__campaign_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "line_item_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_history_line_item_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_history_line_item_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_history_line_item_id"], "alias": "not_null_stg_twitter_ads__line_item_history_line_item_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.607981, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_history_line_item_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect line_item_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`\nwhere line_item_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "line_item_id", "file_key_name": "models.stg_twitter_ads__line_item_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["line_item_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3"}, "created_at": 1679425976.609907, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3\") }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n line_item_id, updated_timestamp\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n group by line_item_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__line_item_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id"], "alias": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976"}, "created_at": 1679425976.615062, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.stg_twitter_ads__promoted_tweet_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["promoted_tweet_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca"}, "created_at": 1679425976.6169658, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n promoted_tweet_id, updated_timestamp\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\n group by promoted_tweet_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__promoted_tweet_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__promoted_tweet_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_report_date_day"], "alias": "not_null_stg_twitter_ads__promoted_tweet_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.62195, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__promoted_tweet_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id"], "alias": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa"}, "created_at": 1679425976.623852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_report_placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__promoted_tweet_report_placement.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_report_placement"], "alias": "not_null_stg_twitter_ads__promoted_tweet_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.625738, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__promoted_tweet_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "promoted_tweet_id", "placement"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement"], "alias": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9"}, "created_at": 1679425976.6278641, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, promoted_tweet_id, placement\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n group by date_day, promoted_tweet_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "index", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet_url')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__tweet_url_index", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__tweet_url_index.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__tweet_url_index"], "alias": "not_null_stg_twitter_ads__tweet_url_index", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.633009, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__tweet_url_index.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect index\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url`\nwhere index is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "index", "file_key_name": "models.stg_twitter_ads__tweet_url"}, "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet_url')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__tweet_url_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__tweet_url_tweet_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__tweet_url_tweet_id"], "alias": "not_null_stg_twitter_ads__tweet_url_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.6352372, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__tweet_url_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tweet_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url`\nwhere tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "tweet_id", "file_key_name": "models.stg_twitter_ads__tweet_url"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["index", "tweet_id"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet_url')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id"], "alias": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540"}, "created_at": 1679425976.637109, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540\") }}", "language": "sql", "refs": [["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n index, tweet_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet_url`\n group by index, tweet_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__tweet_url"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_report_date_day"], "alias": "not_null_stg_twitter_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.642012, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_report_campaign_id"], "alias": "not_null_stg_twitter_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.64384, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_report_placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_report_placement.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_report_placement"], "alias": "not_null_stg_twitter_ads__campaign_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.645656, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "placement"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement"], "alias": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0"}, "created_at": 1679425976.647497, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0\") }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, placement\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__campaign_report`\n group by date_day, campaign_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_report_date_day"], "alias": "not_null_stg_twitter_ads__line_item_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.6529121, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "line_item_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_report_line_item_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_report_line_item_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_report_line_item_id"], "alias": "not_null_stg_twitter_ads__line_item_report_line_item_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.6547358, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_report_line_item_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect line_item_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report`\nwhere line_item_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "line_item_id", "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_report_placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_report_placement.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_report_placement"], "alias": "not_null_stg_twitter_ads__line_item_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.6565492, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "line_item_id", "placement"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement"], "alias": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb"}, "created_at": 1679425976.6585972, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb\") }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, line_item_id, placement\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_report`\n group by date_day, line_item_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_keywords_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id"], "alias": "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.66379, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_twitter_ads__line_item_keywords_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_keywords_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_keywords_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_keywords_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_keywords_report_date_day"], "alias": "not_null_stg_twitter_ads__line_item_keywords_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.665626, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_keywords_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__line_item_keywords_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_keywords_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id"], "alias": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9"}, "created_at": 1679425976.6674712, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9\") }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, keyword_id\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report`\n group by date_day, keyword_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__line_item_keywords_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_stg_twitter_ads__tweet_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__tweet_tweet_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__tweet_tweet_id"], "alias": "not_null_stg_twitter_ads__tweet_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.67231, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__tweet_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tweet_id\nfrom `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet`\nwhere tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "tweet_id", "file_key_name": "models.stg_twitter_ads__tweet"}, "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "unique_stg_twitter_ads__tweet_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "unique_stg_twitter_ads__tweet_tweet_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95", "fqn": ["twitter_ads_source", "unique_stg_twitter_ads__tweet_tweet_id"], "alias": "unique_stg_twitter_ads__tweet_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.674142, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/unique_stg_twitter_ads__tweet_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select tweet_id as unique_field\n from `dbt-package-testing`.`zz_dbt_renee_twitter_ads_source`.`stg_twitter_ads__tweet`\n where tweet_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "tweet_id", "file_key_name": "models.stg_twitter_ads__tweet"}, "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('linkedin_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__account_report_account_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__account_report_account_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842", "fqn": ["linkedin", "not_null_linkedin_ads__account_report_account_id"], "alias": "not_null_linkedin_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.721028, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__account_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.linkedin_ads__account_report"}, "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__account_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__account_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53", "fqn": ["linkedin", "not_null_linkedin_ads__account_report_date_day"], "alias": "not_null_linkedin_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.723073, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__account_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__account_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id"], "alias": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231"}, "created_at": 1679425976.7249641, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231\") }}", "language": "sql", "refs": [["linkedin_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__account_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__account_report`\n group by date_day, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__account_report"}, "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_report_date_day"], "alias": "not_null_linkedin_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.729968, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__campaign_report"}, "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_report_campaign_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_report_campaign_id"], "alias": "not_null_linkedin_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.731839, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.linkedin_ads__campaign_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "account_id", "campaign_group_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id"], "alias": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873"}, "created_at": 1679425976.733723, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873\") }}", "language": "sql", "refs": [["linkedin_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, account_id, campaign_group_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_report`\n group by date_day, campaign_id, account_id, campaign_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__campaign_report"}, "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_group_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_group_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_group_report_date_day"], "alias": "not_null_linkedin_ads__campaign_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.739578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_group_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__campaign_group_report"}, "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_group_id", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_group_report_campaign_group_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_group_report_campaign_group_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_group_report_campaign_group_id"], "alias": "not_null_linkedin_ads__campaign_group_report_campaign_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.741549, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_group_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_group_report_campaign_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_group_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`\nwhere campaign_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_group_id", "file_key_name": "models.linkedin_ads__campaign_group_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_group_id", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id"], "alias": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e"}, "created_at": 1679425976.7436569, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e\") }}", "language": "sql", "refs": [["linkedin_ads__campaign_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_group_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_group_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__campaign_group_report`\n group by date_day, campaign_group_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__campaign_group_report"}, "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__creative_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__creative_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__creative_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020", "fqn": ["linkedin", "not_null_linkedin_ads__creative_report_date_day"], "alias": "not_null_linkedin_ads__creative_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.748775, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__creative_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__creative_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__creative_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__creative_report"}, "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('linkedin_ads__creative_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__creative_report_creative_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__creative_report_creative_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889", "fqn": ["linkedin", "not_null_linkedin_ads__creative_report_creative_id"], "alias": "not_null_linkedin_ads__creative_report_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.750852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__creative_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__creative_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__creative_report_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.linkedin_ads__creative_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "creative_id", "campaign_id", "campaign_group_id", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__creative_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id"], "alias": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92"}, "created_at": 1679425976.7527502, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92\") }}", "language": "sql", "refs": [["linkedin_ads__creative_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__creative_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, creative_id, campaign_id, campaign_group_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__creative_report`\n group by date_day, creative_id, campaign_id, campaign_group_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__creative_report"}, "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__url_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__url_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315", "fqn": ["linkedin", "not_null_linkedin_ads__url_report_date_day"], "alias": "not_null_linkedin_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.7589068, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__url_report"}, "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__url_report_creative_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__url_report_creative_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2", "fqn": ["linkedin", "not_null_linkedin_ads__url_report_creative_id"], "alias": "not_null_linkedin_ads__url_report_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679425976.760778, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__url_report_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.linkedin_ads__url_report"}, "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "click_uri", "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "not_null_linkedin_ads__url_report_click_uri", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__url_report_click_uri.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb", "fqn": ["linkedin", "not_null_linkedin_ads__url_report_click_uri"], "alias": "not_null_linkedin_ads__url_report_click_uri", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679425976.763225, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__url_report_click_uri.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect click_uri\nfrom `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\nwhere click_uri is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "click_uri", "file_key_name": "models.linkedin_ads__url_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "creative_id", "campaign_id", "campaign_group_id", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "zz_dbt_renee_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id"], "alias": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f"}, "created_at": 1679425976.7659469, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f\") }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, creative_id, campaign_id, campaign_group_id, account_id\n from `dbt-package-testing`.`zz_dbt_renee_linkedin_ads`.`linkedin_ads__url_report`\n group by date_day, creative_id, campaign_id, campaign_group_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__url_report"}}, "sources": {"source.microsoft_ads_source.microsoft_ads.account_history": {"database": "dbt-package-testing", "schema": "bingads", "name": "account_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.account_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "account_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "account_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft accounts.", "columns": {"id": {"name": "id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`account_history`", "created_at": 1679425976.7722602}, "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": {"database": "dbt-package-testing", "schema": "bingads", "name": "account_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "account_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "account_performance_daily_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`account_performance_daily_report`", "created_at": 1679425976.772533}, "source.microsoft_ads_source.microsoft_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "bingads", "name": "ad_group_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_group_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft ad groups.", "columns": {"id": {"name": "id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The date in which an ad group starts running.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The date in which this ad group will no longer run.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad group; see the following [documentation](https://help.ads.microsoft.com/apex/index/3/en/53094) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`ad_group_history`", "created_at": 1679425976.772776}, "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": {"database": "dbt-package-testing", "schema": "bingads", "name": "ad_group_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_group_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_performance_daily_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_association_status": {"name": "budget_association_status", "description": "The status of the campaign's budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`ad_group_performance_daily_report`", "created_at": 1679425976.773036}, "source.microsoft_ads_source.microsoft_ads.ad_history": {"database": "dbt-package-testing", "schema": "bingads", "name": "ad_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft ads.", "columns": {"id": {"name": "id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "title_part_1": {"name": "title_part_1", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_url": {"name": "final_url", "description": "The full URL that the ad links to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`ad_history`", "created_at": 1679425976.77328}, "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": {"database": "dbt-package-testing", "schema": "bingads", "name": "ad_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_performance_daily_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`ad_performance_daily_report`", "created_at": 1679425976.77354}, "source.microsoft_ads_source.microsoft_ads.campaign_history": {"database": "dbt-package-testing", "schema": "bingads", "name": "campaign_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "campaign_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft campaigns.", "columns": {"id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`campaign_history`", "created_at": 1679425976.773783}, "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": {"database": "dbt-package-testing", "schema": "bingads", "name": "campaign_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "campaign_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_performance_daily_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`campaign_performance_daily_report`", "created_at": 1679425976.774077}, "source.microsoft_ads_source.microsoft_ads.keyword_history": {"database": "dbt-package-testing", "schema": "bingads", "name": "keyword_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "keyword_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft keywords.", "columns": {"id": {"name": "id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this keyword; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/keywordstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`keyword_history`", "created_at": 1679425976.774315}, "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": {"database": "dbt-package-testing", "schema": "bingads", "name": "keyword_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "keyword_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_performance_daily_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`keyword_performance_daily_report`", "created_at": 1679425976.774722}, "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": {"database": "dbt-package-testing", "schema": "bingads", "name": "search_query_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "search_query_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "search_query_performance_daily_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`bingads`.`search_query_performance_daily_report`", "created_at": 1679425976.774984}, "source.reddit_ads_source.reddit_ads.account": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "account", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.account", "fqn": ["reddit_ads_source", "reddit_ads", "account"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "account", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about an account.", "columns": {"id": {"name": "id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attribution_type": {"name": "attribution_type", "description": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_attribution_window": {"name": "click_attribution_window", "description": "Determines how long after clicking on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone_id": {"name": "time_zone_id", "description": "The time zone id preference for this account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_attribution_window": {"name": "view_attribution_window", "description": "Determines how long after viewing on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`account`", "created_at": 1679425976.7757282}, "source.reddit_ads_source.reddit_ads.account_report": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "account_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.account_report", "fqn": ["reddit_ads_source", "reddit_ads", "account_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "account_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and account.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`account_report`", "created_at": 1679425976.776011}, "source.reddit_ads_source.reddit_ads.ad": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "ad", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad", "fqn": ["reddit_ads_source", "reddit_ads", "ad"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about each ad.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_url": {"name": "click_url", "description": "The destination url, or the website address, that a visitor goes to when they click on the ad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_url": {"name": "post_url", "description": "The URL belonging to the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "rejection_reason": {"name": "rejection_reason", "description": "Reason why entity was rejected.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`ad`", "created_at": 1679425976.776267}, "source.reddit_ads_source.reddit_ads.ad_report": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "ad_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad_report", "fqn": ["reddit_ads_source", "reddit_ads", "ad_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and ad.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`ad_report`", "created_at": 1679425976.7765372}, "source.reddit_ads_source.reddit_ads.ad_group": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "ad_group", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad_group", "fqn": ["reddit_ads_source", "reddit_ads", "ad_group"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about each ad group.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "The bid strategy for this entity. \"MAXIMIZE_VOLUME\", \"MANUAL_BIDDING\", or \"BIDLESS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_value": {"name": "bid_value", "description": "The amount to pay in microcurrency per bidding event.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "When the entity will stop delivering.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expand_targeting": {"name": "expand_targeting", "description": "Boolean that when selected, allows Reddit to expand your targeting to maximize your results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_type": {"name": "goal_type", "description": "The type of goal for the entity. \"IMPRESSIONS\", \"PERCENTAGE\", \"CLICKS\", \"CONVERSIONS\", \"LIFETIME_SPEND\", \"DAILY_SPEND\", or \"VIDEO_VIEWABLE_IMPRESSIONS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_value": {"name": "goal_value", "description": "The value used to determine the goal has been met. This is measured in microcurrency for monetary goals types.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_strategy_type": {"name": "optimization_strategy_type", "description": "The strategy to use when optimizing the delivery of an ad. \"DOWNSTREAM_CONVERSIONS\" or \"APP_INSTALLS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "When the entity will begin to deliver.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`ad_group`", "created_at": 1679425976.7767942}, "source.reddit_ads_source.reddit_ads.ad_group_report": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "ad_group_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad_group_report", "fqn": ["reddit_ads_source", "reddit_ads", "ad_group_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and ad group.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`ad_group_report`", "created_at": 1679425976.77706}, "source.reddit_ads_source.reddit_ads.campaign": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "campaign", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.campaign", "fqn": ["reddit_ads_source", "reddit_ads", "campaign"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about each campaign.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Campaign level funding instrument id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The objective type of a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`campaign`", "created_at": 1679425976.777302}, "source.reddit_ads_source.reddit_ads.campaign_report": {"database": "dbt-package-testing", "schema": "reddit_ads", "name": "campaign_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.campaign_report", "fqn": ["reddit_ads_source", "reddit_ads", "campaign_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and campaign.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`reddit_ads`.`campaign_report`", "created_at": 1679425976.777566}, "source.amazon_ads_source.amazon_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "ad_group_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.ad_group_history", "fqn": ["amazon_ads_source", "amazon_ads", "ad_group_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an ad group in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "default_bid": {"name": "default_bid", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`ad_group_history`", "created_at": 1679425976.777812}, "source.amazon_ads_source.amazon_ads.ad_group_level_report": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "ad_group_level_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.ad_group_level_report", "fqn": ["amazon_ads_source", "amazon_ads", "ad_group_level_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_level_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by Amazon ad group.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`ad_group_level_report`", "created_at": 1679425976.77805}, "source.amazon_ads_source.amazon_ads.advertised_product_report": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "advertised_product_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.advertised_product_report", "fqn": ["amazon_ads_source", "amazon_ads", "advertised_product_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "advertised_product_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Advertised product reports contain performance data for products that are advertised as part of your campaigns.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`advertised_product_report`", "created_at": 1679425976.77829}, "source.amazon_ads_source.amazon_ads.campaign_history": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "campaign_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.campaign_history", "fqn": ["amazon_ads_source", "amazon_ads", "campaign_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a campaign in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bidding_strategy": {"name": "bidding_strategy", "description": "The bidding strategy associated with a campaign (legacyForSales, autoForSales, or manual.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "The ad type related to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "The daily budget for the campaign as set by the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"name": "placement", "description": "The placement location where bid controls are used (placementTop or placementProductPage.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "premium_bid_adjustment": {"name": "premium_bid_adjustment", "description": "A boolean representing whether premium bid adjustment is turned on for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting_type": {"name": "targeting_type", "description": "The type of targeting used for the campaign, either manual or auto.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`campaign_history`", "created_at": 1679425976.77855}, "source.amazon_ads_source.amazon_ads.campaign_level_report": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "campaign_level_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.campaign_level_report", "fqn": ["amazon_ads_source", "amazon_ads", "campaign_level_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_level_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by Amazon campaign.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`campaign_level_report`", "created_at": 1679425976.7788439}, "source.amazon_ads_source.amazon_ads.keyword_history": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "keyword_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.keyword_history", "fqn": ["amazon_ads_source", "amazon_ads", "keyword_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a keyword in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid associated with this keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "One of (broad, exact, or phrase.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "native_language_keyword": {"name": "native_language_keyword", "description": "The unlocalized keyword text in the preferred locale of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`keyword_history`", "created_at": 1679425976.779094}, "source.amazon_ads_source.amazon_ads.portfolio_history": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "portfolio_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.portfolio_history", "fqn": ["amazon_ads_source", "amazon_ads", "portfolio_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "portfolio_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a portfolio in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_amount": {"name": "budget_amount", "description": "The budget amount associated with the portfolio. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_currency_code": {"name": "budget_currency_code", "description": "The currency used for all monetary values for entities under this profile. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_end_date": {"name": "budget_end_date", "description": "The end date after which the budget is no longer applied. Optional if policy is set to dateRange or monthlyRecurring.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_start_date": {"name": "budget_start_date", "description": "The starting date in YYYYMMDD format to which the budget is applied. Required if policy is set to dateRange. Not specified if policy is set to monthlyRecurring. Note that the starting date for monthlyRecurring is the date when the policy is set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_policy": {"name": "budget_policy", "description": "The budget policy. Set to dateRange to specify a budget for a specific period of time. Set to monthlyRecurring to specify a budget that is automatically renewed at the beginning of each month. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "in_budget": {"name": "in_budget", "description": "Indicates the current budget status of the portfolio. Set to true if the portfolio is in budget, set to false if the portfolio is out of budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`portfolio_history`", "created_at": 1679425976.779346}, "source.amazon_ads_source.amazon_ads.product_ad_history": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "product_ad_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.product_ad_history", "fqn": ["amazon_ads_source", "amazon_ads", "product_ad_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "product_ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a product in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asin": {"name": "asin", "description": "The Amazon Standard Identification Number (ASIN) associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "sku": {"name": "sku", "description": "The product SKU associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`product_ad_history`", "created_at": 1679425976.7795892}, "source.amazon_ads_source.amazon_ads.profile": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "profile", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.profile", "fqn": ["amazon_ads_source", "amazon_ads", "profile"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "profile", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a profile. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "columns": {"_fivetran_deleted": {"name": "_fivetran_deleted", "description": "Boolean created by Fivetran to indicate whether the record has been deleted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "ID of the profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_marketplace_string_id": {"name": "account_marketplace_string_id", "description": "The identifier of the marketplace to which the account is associated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_sub_type": {"name": "account_sub_type", "description": "The account subtype.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_type": {"name": "account_type", "description": "One of seller, vendor, or agency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_valid_payment_method": {"name": "account_valid_payment_method", "description": "For Vendors, this returns if the Advertiser has set up a valid payment method.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency used for all monetary values for entities under this profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget for Sponsored Product campaigns for seller type accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The time zone used for all date-based campaign management and reporting.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`profile`", "created_at": 1679425976.779837}, "source.amazon_ads_source.amazon_ads.targeting_keyword_report": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "targeting_keyword_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.targeting_keyword_report", "fqn": ["amazon_ads_source", "amazon_ads", "targeting_keyword_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "targeting_keyword_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Targeting reports contain performance metrics broken down by both targeting expressions and keywords.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`targeting_keyword_report`", "created_at": 1679425976.7800782}, "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": {"database": "dbt-package-testing", "schema": "amazon_ads", "name": "search_term_ad_keyword_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report", "fqn": ["amazon_ads_source", "amazon_ads", "search_term_ad_keyword_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "search_term_ad_keyword_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Search term reports contain search term performance metrics broken down by targeting expressions and keywords.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term": {"name": "search_term", "description": "The search term used by the customer.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`amazon_ads`.`search_term_ad_keyword_report`", "created_at": 1679425976.7803168}, "source.linkedin_source.linkedin.ad_analytics_by_creative": {"database": "dbt-package-testing", "schema": "linkedin_ads", "name": "ad_analytics_by_creative", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_creative", "fqn": ["linkedin_source", "linkedin", "ad_analytics_by_creative"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "ad_analytics_by_creative", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance of ads at the creative level.", "columns": {"creative_id": {"name": "creative_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "day": {"name": "day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_local_currency": {"name": "cost_in_local_currency", "description": "The cost of the ads in the local currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_usd": {"name": "cost_in_usd", "description": "The cost of the ads in the USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`linkedin_ads`.`ad_analytics_by_creative`", "created_at": 1679425976.780556}, "source.linkedin_source.linkedin.creative_history": {"database": "dbt-package-testing", "schema": "linkedin_ads", "name": "creative_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.creative_history", "fqn": ["linkedin_source", "linkedin", "creative_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "creative_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of a creative.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the creative was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign the creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Creative creation is complete and creative is available for review and serve.\nPAUSED - Creative creation is complete and creative is current, but should temporarily not be served. This status is not valid upon creation.\nDRAFT - Creative creation is incomplete and may still be edited.\nARCHIVED - Creative creation is complete, but creative should not be served and should be separated from non-archived creatives in any UI.\nCANCELED - Creative is permanently canceled.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text with Sponsored Link to landing page on your site.\nSPONSORED_STATUS_UPDATE - Sponsored status update from a profile page.\nSPONSORED_INMAILS - Single message ad delivered to the member's inbox\nSPONSORED_MESSAGE - Conversation ad containing a tree of pre-determined messages delivered to the member's inbox\nSPONSORED_VIDEO - Sponsored videos.\nSPONSORED_UPDATE_CAROUSEL - Sponsored Carousels\nFOLLOW_COMPANY_V2 - Dynamic Follow Ad\nSPOTLIGHT_V2 - Dynamic Spotlight Ad\nJOBS_V2 - Dynamic Job Ad\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action_label_type": {"name": "call_to_action_label_type", "description": "The labeled call-to-action on this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`linkedin_ads`.`creative_history`", "created_at": 1679425976.780799}, "source.linkedin_source.linkedin.campaign_history": {"database": "dbt-package-testing", "schema": "linkedin_ads", "name": "campaign_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.campaign_history", "fqn": ["linkedin_source", "linkedin", "campaign_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of a campaign.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "The ID of the campaign group the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "A label for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_expansion_enabled": {"name": "audience_expansion_enabled", "description": "Boolean (default=false) representing whether Audience Expansion is enabled for the campaign provides query expansion for certain targeting criteria.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_type": {"name": "cost_type", "description": "CPM - Cost per thousand advertising impressions. If type=SPONSORED_INMAILS; cost per send(CPS) is measured as CPM x 1000.\nCPC- Cost per individual click on the associated link.\nCPV- Cost per view for video ads.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_selection": {"name": "creative_selection", "description": "ROUND_ROBIN - Rotate through available creatives to serve them as evenly as possible.\nOPTIMIZED (default) - Bias selection taking into account such as expected performance. Not available for Message and Conversation Ads (type=SPONSORED_INMAILS).\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "Maximum amount to spend per day UTC. The amount of money as a real number string.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_currency_code": {"name": "daily_budget_currency_code", "description": "ISO currency code. The currency must match that of the parent account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "format": {"name": "format", "description": "The ad format on the campaign level. See https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/campaign-formats?view=li-lms-2022-07", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_country": {"name": "locale_country", "description": "Locale of the campaign. An uppercase two-letter country code as defined by ISO-3166.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_language": {"name": "locale_language", "description": "Locale of the campaign. A lowercase two-letter language code as defined by ISO-639.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Campaign Objective type values. Click [here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ad-budget-pricing-type-combinations?view=li-lms-2022-07) for Campaign Objective descriptions. One of: - BRAND_AWARENESS - ENGAGEMENT - JOB_APPLICANTS - LEAD_GENERATION - WEBSITE_CONVERSIONS - WEBSITE_VISITS - VIDEO_VIEWS\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "offsite_delivery_enabled": {"name": "offsite_delivery_enabled", "description": "Boolean indicating if this campaign to allowed to be served on the LinkedIn Audience Network to extend the reach of your campaign by delivering ads beyond the LinkedIn feed to members on third-party apps and sites.\t(default will be \"True\" from June 30, 2022)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_target_type": {"name": "optimization_target_type", "description": "Determines how this campaign is optimized for spending. If this is not set, there is no optimization. Refer to the documentation here. Default = 'NONE'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start": {"name": "run_schedule_start", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the inclusive (greater than or equal to) value in which to start the range.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end": {"name": "run_schedule_end", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the exclusive (strictly less than) value in which to end the range, if provided.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text-based ads that show up in the right column or top of the page on LinkedIn.\nSPONSORED_UPDATES - Native ads that promote a company's content updates in the LinkedIn feed.\nSPONSORED_INMAILS - Personalized messages with a call-to-action button delivered to a LinkedIn's member inbox.\nDYNAMIC - Ads that are dynamically personalized.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_amount": {"name": "unit_cost_amount", "description": "This value is used as one of the following: amount to bid (for manual bidding), amount which is the target cost (for target cost bidding) per click, impression, or other event depending on the pricing model, or cost cap (for cost cap bidding). The amount of money as a real number string. The amount should be non-negative if the bidding strategy is manual, target cost, or cost cap bidding. The default is 0 with the currency code set to match that of the associated account.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_currency_code": {"name": "unit_cost_currency_code", "description": "Amount to bid per click, impression, or other event depending on the pricing model. The default is 0 with the currency code set to match that of the associated account. ISO currency code.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`linkedin_ads`.`campaign_history`", "created_at": 1679425976.7810729}, "source.linkedin_source.linkedin.campaign_group_history": {"database": "dbt-package-testing", "schema": "linkedin_ads", "name": "campaign_group_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.campaign_group_history", "fqn": ["linkedin_source", "linkedin", "campaign_group_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "campaign_group_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of a campaign group.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign group belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the campaign group was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "backfilled": {"name": "backfilled", "description": "Flag that denotes whether the campaign group was created organically or to backfill existing campaigns. This is a read-only field set by the system. Default = false", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start": {"name": "run_schedule_start", "description": "Represents the inclusive (greater than or equal to) date when to start running the associated campaigns under this campaign group. This field is required.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end": {"name": "run_schedule_end", "description": "Represents the exclusive (strictly less than) date when to stop running the associated campaigns under this campaign group. If this field is unset, it indicates an open range with no end date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`linkedin_ads`.`campaign_group_history`", "created_at": 1679425976.781318}, "source.linkedin_source.linkedin.account_history": {"database": "dbt-package-testing", "schema": "linkedin_ads", "name": "account_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.account_history", "fqn": ["linkedin_source", "linkedin", "account_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "account_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of an account.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_campaign_optimization": {"name": "notified_on_campaign_optimization", "description": "Boolean (default=false) indicating if the campaign contact is notified about campaign optimization opportunities", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_creative_approval": {"name": "notified_on_creative_approval", "description": "Boolean (default=false) indicating if the creative contact is notified when a creative has been reviewed and approved", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_creative_rejection": {"name": "notified_on_creative_rejection", "description": "Boolean (default=false) indicating if the creative contact is notified when a creative has been rejected due to content", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_end_of_campaign": {"name": "notified_on_end_of_campaign", "description": "Boolean (default=false) indicating if the campaign contact is notified when an associated campaign has been completed", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Account is active; this is the default state\nCANCELLED - Account has been permanently cancelled\nDRAFT - Account is in draft status, meaning it's not yet fully set up and it is not serving\nPENDING_DELETION - Denotes that the account has been requested to be deleted that is currently pending\nREMOVED - Denotes that the account was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "BUSINESS - This is the only value allowed when creating accounts through the API.\nENTERPRISE - This value cannot be used to create accounts through the API and is reserved for accounts created by LinkedIn's internal ad operations systems.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`linkedin_ads`.`account_history`", "created_at": 1679425976.7815669}, "source.linkedin_source.linkedin.ad_analytics_by_campaign": {"database": "dbt-package-testing", "schema": "linkedin_ads", "name": "ad_analytics_by_campaign", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_campaign", "fqn": ["linkedin_source", "linkedin", "ad_analytics_by_campaign"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "ad_analytics_by_campaign", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance of ads at the campaign level.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "day": {"name": "day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_local_currency": {"name": "cost_in_local_currency", "description": "The cost of the ads in the local currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_usd": {"name": "cost_in_usd", "description": "The cost of the ads in the USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`linkedin_ads`.`ad_analytics_by_campaign`", "created_at": 1679425976.781857}, "source.google_ads_source.google_ads.ad_stats": {"database": "dbt-package-testing", "schema": "google_ads", "name": "ad_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_stats", "fqn": ["google_ads_source", "google_ads", "ad_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_stats", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad in Google Ads broken down to the ad network, device type, and ad group criterion.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group": {"name": "ad_group", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_ad_group_criterion": {"name": "keyword_ad_group_criterion", "description": "The ad group which the keyword criterion resides.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`ad_stats`", "created_at": 1679425976.782114}, "source.google_ads_source.google_ads.ad_history": {"database": "dbt-package-testing", "schema": "google_ads", "name": "ad_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_history", "fqn": ["google_ads_source", "google_ads", "ad_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad in Google Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The display url of the ad that is being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of the ad in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_urls": {"name": "final_urls", "description": "A list of urls that are used for the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`ad_history`", "created_at": 1679425976.782353}, "source.google_ads_source.google_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "google_ads", "name": "ad_group_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_group_history", "fqn": ["google_ads_source", "google_ads", "ad_group_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad group in Google Ads.", "columns": {"id": {"name": "id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of the ad group in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`ad_group_history`", "created_at": 1679425976.782592}, "source.google_ads_source.google_ads.campaign_history": {"database": "dbt-package-testing", "schema": "google_ads", "name": "campaign_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.campaign_history", "fqn": ["google_ads_source", "google_ads", "campaign_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a campaign in Google Ads.", "columns": {"id": {"name": "id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_type": {"name": "advertising_channel_type", "description": "The type of advertising channel being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_subtype": {"name": "advertising_channel_subtype", "description": "The advertising channel subtype that is being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "Status of the ads and how they are currently being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "General status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tracking_url_template": {"name": "tracking_url_template", "description": "The tracking url template being used throughout the campaign ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`campaign_history`", "created_at": 1679425976.7828412}, "source.google_ads_source.google_ads.account_history": {"database": "dbt-package-testing", "schema": "google_ads", "name": "account_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.account_history", "fqn": ["google_ads_source", "google_ads", "account_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "account_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a historical version of an account in Google Ads.", "columns": {"id": {"name": "id", "description": "The ID of the Account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency of the spend reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "auto_tagging_enabled": {"name": "auto_tagging_enabled", "description": "Boolean indicating if auto tagging is enabled on the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone of the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "descriptive_name": {"name": "descriptive_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`account_history`", "created_at": 1679425976.783077}, "source.google_ads_source.google_ads.ad_group_criterion_history": {"database": "dbt-package-testing", "schema": "google_ads", "name": "ad_group_criterion_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_group_criterion_history", "fqn": ["google_ads_source", "google_ads", "ad_group_criterion_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_criterion_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a historical version of an ad group criterion in Google Ads.", "columns": {"id": {"name": "id", "description": "Unique identifier of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_campaign_id": {"name": "base_campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The match type which dictate how closely the keyword needs to match with the user\u2019s search query so that the ad can be considered for the auction.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The text used within the keyword criterion that is being matched against.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`ad_group_criterion_history`", "created_at": 1679425976.783326}, "source.google_ads_source.google_ads.ad_group_stats": {"database": "dbt-package-testing", "schema": "google_ads", "name": "ad_group_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_group_stats", "fqn": ["google_ads_source", "google_ads", "ad_group_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_stats", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad group in Google Ads broken down to the ad network and device type.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`ad_group_stats`", "created_at": 1679425976.783572}, "source.google_ads_source.google_ads.campaign_stats": {"database": "dbt-package-testing", "schema": "google_ads", "name": "campaign_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.campaign_stats", "fqn": ["google_ads_source", "google_ads", "campaign_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_stats", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a campaign in Google Ads broken down to the ad network and device type.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`campaign_stats`", "created_at": 1679425976.7838132}, "source.google_ads_source.google_ads.keyword_stats": {"database": "dbt-package-testing", "schema": "google_ads", "name": "keyword_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.keyword_stats", "fqn": ["google_ads_source", "google_ads", "keyword_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_stats", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a keyword in Google Ads.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_id": {"name": "_fivetran_id", "description": "The unique ID of the keyword record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_criterion_criterion_id": {"name": "ad_group_criterion_criterion_id", "description": "Reference to the ad group criterion used for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`keyword_stats`", "created_at": 1679425976.784065}, "source.google_ads_source.google_ads.account_stats": {"database": "dbt-package-testing", "schema": "google_ads", "name": "account_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.account_stats", "fqn": ["google_ads_source", "google_ads", "account_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "account_stats", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an account in Google Ads broken down to the ad network and device type.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`google_ads`.`account_stats`", "created_at": 1679425976.7843041}, "source.apple_search_ads_source.apple_search_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "ad_group_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_group_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad group in Apple Search Ads.", "columns": {"modification_time": {"name": "modification_time", "description": "Timestamp of when the ad group object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Timestamp of designated ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The designated ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`ad_group_history`", "created_at": 1679425976.78455}, "source.apple_search_ads_source.apple_search_ads.ad_group_report": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "ad_group_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_group_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad group in Apple Search Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`ad_group_report`", "created_at": 1679425976.784788}, "source.apple_search_ads_source.apple_search_ads.ad_history": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "ad_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad in Apple Search Ads.", "columns": {"creation_time": {"name": "creation_time", "description": "Timestamp of when ad was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modification_time": {"name": "modification_time", "description": "Timestamp of when the ad object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "org_id": {"name": "org_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Ad name associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`ad_history`", "created_at": 1679425976.785072}, "source.apple_search_ads_source.apple_search_ads.ad_level_report": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "ad_level_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_level_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_level_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_level_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad in Apple Search Ads.", "columns": {"date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`ad_level_report`", "created_at": 1679425976.785372}, "source.apple_search_ads_source.apple_search_ads.campaign_history": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "campaign_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "campaign_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a campaign in Apple Search Ads.", "columns": {"modification_time": {"name": "modification_time", "description": "Timestamp of when the campaign object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "The designated ad group start time (ad group with the earliest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The designated campaign end time (ad group with the latest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Campaign name for the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the campaign, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`campaign_history`", "created_at": 1679425976.7856152}, "source.apple_search_ads_source.apple_search_ads.campaign_report": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "campaign_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "campaign_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a campaign in Apple Search Ads.", "columns": {"id": {"name": "id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`campaign_report`", "created_at": 1679425976.785856}, "source.apple_search_ads_source.apple_search_ads.keyword_history": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "keyword_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "keyword_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a keyword in Apple Search Ads.", "columns": {"modification_time": {"name": "modification_time", "description": "Timestamp of when the keyword object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_currency": {"name": "bid_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the keyword, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "text": {"name": "text", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`keyword_history`", "created_at": 1679425976.786098}, "source.apple_search_ads_source.apple_search_ads.keyword_report": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "keyword_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "keyword_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a keyword in Apple Search Ads.", "columns": {"id": {"name": "id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`keyword_report`", "created_at": 1679425976.786342}, "source.apple_search_ads_source.apple_search_ads.organization": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "organization", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.organization", "fqn": ["apple_search_ads_source", "apple_search_ads", "organization"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "organization", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an organization in Apple Search Ads.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Specified currency for respective organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "payment_model": {"name": "payment_model", "description": "Values include 'LOC', 'PAYG' or (payment method hasn't been set).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Name of organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "Organization default timezone; values can be ORTZ or UTC.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`organization`", "created_at": 1679425976.786579}, "source.apple_search_ads_source.apple_search_ads.search_term_report": {"database": "dbt-package-testing", "schema": "apple_search_ads", "name": "search_term_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.search_term_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "search_term_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "search_term_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a search term in Apple Search Ads.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "A Fivetran internal unique id that helps us avoid duplicate rows in primary keyless tables.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_amount": {"name": "bid_amount_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_currency": {"name": "bid_amount_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword": {"name": "keyword", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_display_status": {"name": "keyword_display_status", "description": "The keyword display status can either be ACTIVE or PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; values include EXACT, BROAD or AUTO.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_source": {"name": "search_term_source", "description": "The search term source can either be TARGETED or AUTO; if this value is AUTO so will match_type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_text": {"name": "search_term_text", "description": "The word or phrase to match of user searches.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`apple_search_ads`.`search_term_report`", "created_at": 1679425976.7868469}, "source.pinterest_source.pinterest_ads.pin_promotion_report": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "pin_promotion_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_report", "fqn": ["pinterest_source", "pinterest_ads", "pin_promotion_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pin_promotion_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest Pin promotion.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`pin_promotion_report`", "created_at": 1679425976.7870998}, "source.pinterest_source.pinterest_ads.pin_promotion_history": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "pin_promotion_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_history", "fqn": ["pinterest_source", "pinterest_ads", "pin_promotion_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pin_promotion_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest Pin promotion.", "columns": {"id": {"name": "id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Pin creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Pin promotion name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_id": {"name": "pin_id", "description": "Original pin ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the Pin promotion. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`pin_promotion_history`", "created_at": 1679425976.7873511}, "source.pinterest_source.pinterest_ads.campaign_history": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "campaign_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.campaign_history", "fqn": ["pinterest_source", "pinterest_ads", "campaign_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest Campaign.", "columns": {"id": {"name": "id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Campaign creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the Campaign. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`campaign_history`", "created_at": 1679425976.787585}, "source.pinterest_source.pinterest_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "ad_group_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.ad_group_history", "fqn": ["pinterest_source", "pinterest_ads", "ad_group_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest Ad Group.", "columns": {"id": {"name": "id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Ad group creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the Ad group. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`ad_group_history`", "created_at": 1679425976.787831}, "source.pinterest_source.pinterest_ads.ad_group_report": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "ad_group_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.ad_group_report", "fqn": ["pinterest_source", "pinterest_ads", "ad_group_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_group_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest ad group.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`ad_group_report`", "created_at": 1679425976.788088}, "source.pinterest_source.pinterest_ads.advertiser_history": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "advertiser_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.advertiser_history", "fqn": ["pinterest_source", "pinterest_ads", "advertiser_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "advertiser_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest advertiser.", "columns": {"id": {"name": "id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_profile_status": {"name": "billing_profile_status", "description": "Status of the billing profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_type": {"name": "billing_type", "description": "The billing type of the advertiser. Will typically be CREDIT_CARD or INVOICE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The country code where the advertiser is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Timestamp of when a record was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency code which the a", "meta": {}, "data_type": null, "quote": null, "tags": []}, "merchant_id": {"name": "merchant_id", "description": "Unique ID of the merchant associated with the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "owner_user_id": {"name": "owner_user_id", "description": "Unique identifier of the owner user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "Timestamp of when a record was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`advertiser_history`", "created_at": 1679425976.788337}, "source.pinterest_source.pinterest_ads.advertiser_report": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "advertiser_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.advertiser_report", "fqn": ["pinterest_source", "pinterest_ads", "advertiser_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "advertiser_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest advertiser.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`advertiser_report`", "created_at": 1679425976.7885818}, "source.pinterest_source.pinterest_ads.campaign_report": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "campaign_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.campaign_report", "fqn": ["pinterest_source", "pinterest_ads", "campaign_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest campaign.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`campaign_report`", "created_at": 1679425976.788876}, "source.pinterest_source.pinterest_ads.keyword_history": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "keyword_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.keyword_history", "fqn": ["pinterest_source", "pinterest_ads", "keyword_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest keyword.", "columns": {"id": {"name": "id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "value": {"name": "value", "description": "The text value that makes upd the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_id": {"name": "_fivetran_id", "description": "The unique identifier of the record within the Fivetran synced table.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "archived": {"name": "archived", "description": "Boolean indicating if the keyword is archived.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid amount set for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of match the keyword is tied to. Either Exact or Broad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "parent_type": {"name": "parent_type", "description": "Identifier of what grain the parent type is. Ad group or campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`keyword_history`", "created_at": 1679425976.789122}, "source.pinterest_source.pinterest_ads.keyword_report": {"database": "dbt-package-testing", "schema": "pinterest_ads", "name": "keyword_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.keyword_report", "fqn": ["pinterest_source", "pinterest_ads", "keyword_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "keyword_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest key word.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`pinterest_ads`.`keyword_report`", "created_at": 1679425976.78938}, "source.tiktok_ads_source.tiktok_ads.advertiser": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "advertiser", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.advertiser", "fqn": ["tiktok_ads_source", "tiktok_ads", "advertiser"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "advertiser", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for one advertiser.", "columns": {"id": {"name": "id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "address": {"name": "address", "description": "Advertiser address information", "meta": {}, "data_type": null, "quote": null, "tags": []}, "balance": {"name": "balance", "description": "Account available balance", "meta": {}, "data_type": null, "quote": null, "tags": []}, "company": {"name": "company", "description": "Advertiser's company name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "contacter": {"name": "contacter", "description": "Contact Person", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The advertiser's country", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Advertiser's create time", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Type of currency used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "description": {"name": "description", "description": "Brand description, i.e. promotional content", "meta": {}, "data_type": null, "quote": null, "tags": []}, "email": {"name": "email", "description": "Advertiser contact email, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry": {"name": "industry", "description": "Advertiser industry category", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Language used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_no": {"name": "license_no", "description": "License number", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_url": {"name": "license_url", "description": "License preview address, the link is valid for an hour by default.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Advertiser name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "phone_number": {"name": "phone_number", "description": "Contact mobile number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promotion_area": {"name": "promotion_area", "description": "Operation area", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reason": {"name": "reason", "description": "Reason for rejection", "meta": {}, "data_type": null, "quote": null, "tags": []}, "role": {"name": "role", "description": "Advertiser role", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Advertiser status", "meta": {}, "data_type": null, "quote": null, "tags": []}, "telephone": {"name": "telephone", "description": "Fixed phone number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Ad account time zone including GMT offset", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`advertiser`", "created_at": 1679425976.789654}, "source.tiktok_ads_source.tiktok_ads.campaign_history": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "campaign_history", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_history", "fqn": ["tiktok_ads_source", "tiktok_ads", "campaign_history"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a TikTok campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Campaign budget", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_mode": {"name": "budget_mode", "description": "Budget type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "Campaign Type, indicates the campaign is a regular campaign or iOS 14 campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Time at which the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_new_structure": {"name": "is_new_structure", "description": "Whether the campaign is a new structure (for the same campaign, the structure of campaign, adgroups and ads are the same)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Advertising objective.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "opt_status": {"name": "opt_status", "description": "Operation status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Campaign status", "meta": {}, "data_type": null, "quote": null, "tags": []}, "split_test_variable": {"name": "split_test_variable", "description": "Split Test variables. Optional values; TARGETING, BIDDING_OPTIMIZATION , CREATIVE.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`campaign_history`", "created_at": 1679425976.789909}, "source.tiktok_ads_source.tiktok_ads.adgroup_history": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "adgroup_history", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_history", "fqn": ["tiktok_ads_source", "tiktok_ads", "adgroup_history"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "adgroup_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a TikTok ad group.", "columns": {"adgroup_id": {"name": "adgroup_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The Ad group's campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_days": {"name": "action_days", "description": "The number of days of the time period to include action from.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "adgroup_name": {"name": "adgroup_name", "description": "Ad group name. Character limit is 512 and cannot contain emoji.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "android_osv": {"name": "android_osv", "description": "Minimum Android version.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_download_url": {"name": "app_download_url", "description": "App download link", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_id": {"name": "app_id", "description": "The Application id of the promoted app", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_name": {"name": "app_name", "description": "App name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_type": {"name": "app_type", "description": "App type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience": {"name": "audience", "description": "A list of audience IDs.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "CPC, CPM bidding, oCPM learning bidding", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "Bidding Strategy", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_event": {"name": "billing_event", "description": "Bid method.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_mode": {"name": "budget_mode", "description": "Budget mode. This field will be ignored when Campaign Budget Optimization (budget_optimize_switch) is enabled.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "carriers": {"name": "carriers", "description": "Carriers that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_tracking_url": {"name": "click_tracking_url", "description": "Click monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "connection_type": {"name": "connection_type", "description": "Device connection types that you want to target. Default; unlimited.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_bid": {"name": "conversion_bid", "description": "oCPM conversion bid", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpv_video_duration": {"name": "cpv_video_duration", "description": "Video playback duration, required if optimize_goal is VIDEO_VIEW. Allowed values; SIX_SECONDS (video playback 6s), TWO_SECONDS (video playback 2s)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_material_mode": {"name": "creative_material_mode", "description": "Creative delivery mode.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "dayparting": {"name": "dayparting", "description": "Ad delivery period, the default is always and the format is 48 * 7 character string, represented by 0 or 1. > That is, with half an hour as the minimum granularity, a day (24 hours) is divided by the minimum granularity(30 mins) from Monday to Sunday. Resulting in a 48*7 format.0 represents not to be delivered, 1 represents delivery. no transmission, full transmission 0, full transmission 1 all represent full time delivery", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deep_bid_type": {"name": "deep_bid_type", "description": "Bidding strategy for in-app events.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deep_cpabid": {"name": "deep_cpabid", "description": "Deep bid", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deep_external_action": {"name": "deep_external_action", "description": "Deep conversion event.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_name": {"name": "display_name", "description": "Display name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "enable_inventory_filter": {"name": "enable_inventory_filter", "description": "Inventory filtering (Unsafe videos will not be displayed).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "excluded_audience": {"name": "excluded_audience", "description": "A list of audience ID to be excluded.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "external_action": {"name": "external_action", "description": "Conversion event for the ad group. It is required when the promoted object is an app with tracking urls, or when pixel_id is specified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "fallback_type": {"name": "fallback_type", "description": "Fallback Type. If the audience do not have the app installed, you can have them fall back to install the app, or to view a specific web page. Not applicable for Deferred Deeplink. Allowed values; APP_INSTALL, WEBSITE, UNSET. If website is chosen, you need to specify the url via landing_page_url field.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "frequency, together with frequency_schedule, controls how often people see your ad (only available for REACH ads). For example, frequency = 2 frequency_schedule = 3 means \"show ads no more than twice every 3 day\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_schedule": {"name": "frequency_schedule", "description": "frequency, together with frequency, controls how often people see your ad (only available for REACH ads).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_tracking_url": {"name": "impression_tracking_url", "description": "Display monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category_v2": {"name": "interest_category_v2", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ios_osv": {"name": "ios_osv", "description": "Minimum iOS version.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_comment_disable": {"name": "is_comment_disable", "description": "Whether to allow comments on your ads on TikTok, Vigo, Helo.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_hfss": {"name": "is_hfss", "description": "Whether the promoted content is HFSS foods (foods that are high in fat, salt, or sugar).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_new_structure": {"name": "is_new_structure", "description": "Whether the campaign is a new structure.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keywords": {"name": "keywords", "description": "Keywords used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "location": {"name": "location", "description": "IDs of the locations that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "open_url": {"name": "open_url", "description": "The specific location where you want your audience to go if they have your app installed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "open_url_type": {"name": "open_url_type", "description": "The open URL type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "operation_system": {"name": "operation_system", "description": "Device operating systems that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "opt_status": {"name": "opt_status", "description": "Operation status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimize_goal": {"name": "optimize_goal", "description": "Optimization goal.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pacing": {"name": "pacing", "description": "You can choose between PACING_MODE_SMOOTH and PACING_MODE_FAST. For PACING_MODE_SMOOTH, the budget is allocated evenly within the scheduled time. PACING_MODE_FAST would consume budget and produce results as soon as possible. \n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "package": {"name": "package", "description": "Package name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pangle_block_app_list_id": {"name": "pangle_block_app_list_id", "description": "Pangle app block list ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pixel_id": {"name": "pixel_id", "description": "Pixel ID. Only application for landing pages.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"name": "placement", "description": "The apps where you want to deliver your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement_type": {"name": "placement_type", "description": "Placement type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_image": {"name": "profile_image", "description": "Avatar URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "schedule_end_time": {"name": "schedule_end_time", "description": "Ad delivery end time (UTC+0). Format should be YYYY-MM-DD HH:MM:SS", "meta": {}, "data_type": null, "quote": null, "tags": []}, "schedule_start_time": {"name": "schedule_start_time", "description": "Ad delivery start time (UTC+0). Format should be YYYY-MM-DD HH:MM:SS", "meta": {}, "data_type": null, "quote": null, "tags": []}, "schedule_type": {"name": "schedule_type", "description": "The schedule type, which can be either SCHEDULE_START_END or SCHEDULE_FROM_NOW.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "skip_learning_phase": {"name": "skip_learning_phase", "description": "Whether to skip the learning stage.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "statistic_type": {"name": "statistic_type", "description": "conversion bid statistic type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Ad group status", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_actions": {"name": "video_actions", "description": "Number of video actions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_download": {"name": "video_download", "description": "Whether users can download your video ads on TikTok(cannot be updated once created).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`adgroup_history`", "created_at": 1679425976.790276}, "source.tiktok_ads_source.tiktok_ads.ad_history": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "ad_history", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_history", "fqn": ["tiktok_ads_source", "tiktok_ads", "ad_history"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a TikTok ad.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "adgroup_id": {"name": "adgroup_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad Name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_text": {"name": "ad_text", "description": "The ad text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_name": {"name": "app_name", "description": "The display name of app download ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action": {"name": "call_to_action", "description": "Call to action values.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_tracking_url": {"name": "click_tracking_url", "description": "Click monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Time at which the ad was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_name": {"name": "display_name", "description": "The display name of landing page or pure exposure ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "image_ids": {"name": "image_ids", "description": "A list of image IDs.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_tracking_url": {"name": "impression_tracking_url", "description": "Display monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_aco": {"name": "is_aco", "description": "Whether the ad is an automated ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_creative_authorized": {"name": "is_creative_authorized", "description": "Whether you grant displaying some of your ads in our TikTok For Business Creative Center. Only valid for non-US advertisers, the default value is false.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_new_structure": {"name": "is_new_structure", "description": "Whether the campaign is a new structure.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "open_url": {"name": "open_url", "description": "The specific location where you want your audience to go if they have your app installed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "opt_status": {"name": "opt_status", "description": "Operation status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "playable_url": {"name": "playable_url", "description": "Playable material url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_image": {"name": "profile_image", "description": "Avatar URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Ad status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_id": {"name": "video_id", "description": "The video ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`ad_history`", "created_at": 1679425976.79056}, "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "ad_report_hourly", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_report_hourly", "fqn": ["tiktok_ads_source", "tiktok_ads", "ad_report_hourly"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "ad_report_hourly", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for each ad for each hour.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion": {"name": "real_time_conversion", "description": "The number of times your ad achieved an outcome, based on the objective and settings you selected. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result": {"name": "result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the results. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_result": {"name": "real_time_cost_per_result", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now, please go to the ad group section to view the cost per Result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result": {"name": "real_time_result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As a campaign may have different optimization goals, the total number of result is not supported in campaign section now , Please go to the ad group section to view the result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_view_p_100": {"name": "video_view_p_100", "description": "The number of times your video was played at 100% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion_rate": {"name": "real_time_conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_secondary_goal_result": {"name": "cost_per_secondary_goal_result", "description": "The average cost for each secondary goal result from your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result_rate": {"name": "secondary_goal_result_rate", "description": "The percentage of secondary goal results you achieved out of all of the installs of your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. The total count is calculated based on the time each ad impression occurred.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_conversion": {"name": "real_time_cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result_rate": {"name": "result_rate", "description": "The percentage of results you achieved out of all of the views/clicks on your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the result rate. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result": {"name": "secondary_goal_result", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_result": {"name": "cost_per_result", "description": "The average cost for each result from your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the cost per result. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time your video was played per person, including any time spent replaying the video. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result_rate": {"name": "real_time_result_rate", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now ,Please go to the ad group section to view the Result Rate. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`ad_report_hourly`", "created_at": 1679425976.7909272}, "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "campaign_report_hourly", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly", "fqn": ["tiktok_ads_source", "tiktok_ads", "campaign_report_hourly"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "campaign_report_hourly", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for each campaign for each hour.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion": {"name": "real_time_conversion", "description": "The number of times your ad achieved an outcome, based on the objective and settings you selected. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result": {"name": "result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the results. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_result": {"name": "real_time_cost_per_result", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now, please go to the ad group section to view the cost per Result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result": {"name": "real_time_result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As a campaign may have different optimization goals, the total number of result is not supported in campaign section now , Please go to the ad group section to view the result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_view_p_100": {"name": "video_view_p_100", "description": "The number of times your video was played at 100% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion_rate": {"name": "real_time_conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_secondary_goal_result": {"name": "cost_per_secondary_goal_result", "description": "The average cost for each secondary goal result from your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result_rate": {"name": "secondary_goal_result_rate", "description": "The percentage of secondary goal results you achieved out of all of the installs of your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. The total count is calculated based on the time each ad impression occurred.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_conversion": {"name": "real_time_cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result_rate": {"name": "result_rate", "description": "The percentage of results you achieved out of all of the views/clicks on your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the result rate. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result": {"name": "secondary_goal_result", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_result": {"name": "cost_per_result", "description": "The average cost for each result from your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the cost per result. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time your video was played per person, including any time spent replaying the video. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result_rate": {"name": "real_time_result_rate", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now ,Please go to the ad group section to view the Result Rate. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`campaign_report_hourly`", "created_at": 1679425976.791235}, "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": {"database": "dbt-package-testing", "schema": "tiktok_ads", "name": "adgroup_report_hourly", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly", "fqn": ["tiktok_ads_source", "tiktok_ads", "adgroup_report_hourly"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "adgroup_report_hourly", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for each ad group for each hour.", "columns": {"adgroup_id": {"name": "adgroup_id", "description": "Ad group id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion": {"name": "real_time_conversion", "description": "The number of times your ad achieved an outcome, based on the objective and settings you selected. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result": {"name": "result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the results. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_result": {"name": "real_time_cost_per_result", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now, please go to the ad group section to view the cost per Result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result": {"name": "real_time_result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As a campaign may have different optimization goals, the total number of result is not supported in campaign section now , Please go to the ad group section to view the result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_view_p_100": {"name": "video_view_p_100", "description": "The number of times your video was played at 100% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion_rate": {"name": "real_time_conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_secondary_goal_result": {"name": "cost_per_secondary_goal_result", "description": "The average cost for each secondary goal result from your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result_rate": {"name": "secondary_goal_result_rate", "description": "The percentage of secondary goal results you achieved out of all of the installs of your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. The total count is calculated based on the time each ad impression occurred.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_conversion": {"name": "real_time_cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result_rate": {"name": "result_rate", "description": "The percentage of results you achieved out of all of the views/clicks on your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the result rate. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result": {"name": "secondary_goal_result", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_result": {"name": "cost_per_result", "description": "The average cost for each result from your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the cost per result. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time your video was played per person, including any time spent replaying the video. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result_rate": {"name": "real_time_result_rate", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now ,Please go to the ad group section to view the Result Rate. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`tiktok_ads`.`adgroup_report_hourly`", "created_at": 1679425976.7915468}, "source.facebook_ads_source.facebook_ads.account_history": {"database": "dbt-package-testing", "schema": "facebook_ads", "name": "account_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.account_history", "fqn": ["facebook_ads_source", "facebook_ads", "account_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "account_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook ad account.", "columns": {"id": {"name": "id", "description": "The ID of the ad account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_status": {"name": "account_status", "description": "Current status of account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_country_code": {"name": "business_country_code", "description": "Country code of business associated to account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The time account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_name": {"name": "timezone_name", "description": "Timezone associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`facebook_ads`.`account_history`", "created_at": 1679425976.791795}, "source.facebook_ads_source.facebook_ads.ad_history": {"database": "dbt-package-testing", "schema": "facebook_ads", "name": "ad_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.ad_history", "fqn": ["facebook_ads_source", "facebook_ads", "ad_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook ad.", "columns": {"id": {"name": "id", "description": "The ID of this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "ID of the ad set that contains the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the ad creative to be used by this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`facebook_ads`.`ad_history`", "created_at": 1679425976.792047}, "source.facebook_ads_source.facebook_ads.ad_set_history": {"database": "dbt-package-testing", "schema": "facebook_ads", "name": "ad_set_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.ad_set_history", "fqn": ["facebook_ads_source", "facebook_ads", "ad_set_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_set_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook ad set.", "columns": {"id": {"name": "id", "description": "The ID of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad set belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Timestamp of designated ad set start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Timestamp of designated ad set end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "Bid strategy values are - 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`facebook_ads`.`ad_set_history`", "created_at": 1679425976.792301}, "source.facebook_ads_source.facebook_ads.basic_ad": {"database": "dbt-package-testing", "schema": "facebook_ads", "name": "basic_ad", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.basic_ad", "fqn": ["facebook_ads_source", "facebook_ads", "basic_ad"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "basic_ad", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad in Facebook.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "adset_name": {"name": "adset_name", "description": "Name of the ad set the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the reported performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "inline_link_clicks": {"name": "inline_link_clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of people who saw any content from your Page or about your Page. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "The average number of times each person saw your ad; it is calculated as impressions divided by reach.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`facebook_ads`.`basic_ad`", "created_at": 1679425976.7925498}, "source.facebook_ads_source.facebook_ads.campaign_history": {"database": "dbt-package-testing", "schema": "facebook_ads", "name": "campaign_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.campaign_history", "fqn": ["facebook_ads_source", "facebook_ads", "campaign_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook campaign.", "columns": {"id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The time the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Timestamp of designated campaign start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stop_time": {"name": "stop_time", "description": "Timestamp of designated campaign end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "lifetime_budget": {"name": "lifetime_budget", "description": "Lifetime budget of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`facebook_ads`.`campaign_history`", "created_at": 1679425976.792804}, "source.facebook_ads_source.facebook_ads.creative_history": {"database": "dbt-package-testing", "schema": "facebook_ads", "name": "creative_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.creative_history", "fqn": ["facebook_ads_source", "facebook_ads", "creative_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "creative_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook creative.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "Unique record identifier", "meta": {}, "data_type": null, "quote": null, "tags": []}, "page_link": {"name": "page_link", "description": "URL destination of Facebook ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_page_link": {"name": "template_page_link", "description": "URL destination of Facebook dynamic ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Unique ID for an ad creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Ad account ID for the account this ad creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of this ad creative as seen in the ad account's library.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_tags": {"name": "url_tags", "description": "A set of query string parameters which will replace or be appended to urls clicked from page post ads, message of the post, and canvas app install creatives only.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asset_feed_spec_link_urls": {"name": "asset_feed_spec_link_urls", "description": "Link to the asset feed spec", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_child_attachments": {"name": "object_story_link_data_child_attachments", "description": "Link of the object story child attachments", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_caption": {"name": "object_story_link_data_caption", "description": "Link of the object story caption", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_description": {"name": "object_story_link_data_description", "description": "Link of the object story description", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_link": {"name": "object_story_link_data_link", "description": "Link of the object story link", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_message": {"name": "object_story_link_data_message", "description": "Link of the object story message", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ios": {"name": "template_app_link_spec_ios", "description": "Link of the object story spec for ios", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ipad": {"name": "template_app_link_spec_ipad", "description": "Link of the template app spec for ipad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_android": {"name": "template_app_link_spec_android", "description": "Link of the template app for android", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_iphone": {"name": "template_app_link_spec_iphone", "description": "Link of the template app for iphone", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`facebook_ads`.`creative_history`", "created_at": 1679425976.7930748}, "source.snapchat_ads_source.snapchat_ads.ad_account_history": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "ad_account_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_account_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_account_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_account_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of an ad account in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser": {"name": "advertiser", "description": "Name of advertiser", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency used by account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Account timezone", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`ad_account_history`", "created_at": 1679425976.793364}, "source.snapchat_ads_source.snapchat_ads.ad_history": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "ad_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the related ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`ad_history`", "created_at": 1679425976.793607}, "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "ad_hourly_report", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_hourly_report", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_hourly_report"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_hourly_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an hourly performance summary for an ad in Snapchat.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad that the report relates to in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time_millis": {"name": "attachment_total_view_time_millis", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time_millis": {"name": "screen_time_millis", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time_millis": {"name": "view_time_millis", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend in microdollars for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`ad_hourly_report`", "created_at": 1679425976.793878}, "source.snapchat_ads_source.snapchat_ads.ad_squad_history": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "ad_squad_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_squad_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_squad_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of an ad squad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`ad_squad_history`", "created_at": 1679425976.794113}, "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "ad_squad_hourly_report", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_squad_hourly_report"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "ad_squad_hourly_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an hourly performance summary for each ad squad.", "columns": {"ad_squad_id": {"name": "ad_squad_id", "description": "ID of the ad squad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time_millis": {"name": "attachment_total_view_time_millis", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time_millis": {"name": "screen_time_millis", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time_millis": {"name": "view_time_millis", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend in microdollars for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`ad_squad_hourly_report`", "created_at": 1679425976.794383}, "source.snapchat_ads_source.snapchat_ads.campaign_history": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "campaign_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "campaign_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of a campaign in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`campaign_history`", "created_at": 1679425976.794616}, "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "campaign_hourly_report", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report", "fqn": ["snapchat_ads_source", "snapchat_ads", "campaign_hourly_report"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "campaign_hourly_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an hourly performance summary for each campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "ID of campaign", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time_millis": {"name": "attachment_total_view_time_millis", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time_millis": {"name": "screen_time_millis", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time_millis": {"name": "view_time_millis", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend in microdollars for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`campaign_hourly_report`", "created_at": 1679425976.794878}, "source.snapchat_ads_source.snapchat_ads.creative_history": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "creative_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "creative_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "creative_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of a creative in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "web_view_url": {"name": "web_view_url", "description": "The URL of the creative if the creative is of type 'web view'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`creative_history`", "created_at": 1679425976.795121}, "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": {"database": "dbt-package-testing", "schema": "snapchat_ads", "name": "creative_url_tag_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "creative_url_tag_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "creative_url_tag_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a URL parameter key-value pair for a creative in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "key": {"name": "key", "description": "The URL parameter key, i.e. UTM_SOURCE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "value": {"name": "value", "description": "The URL parameter value, i.e. Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`snapchat_ads`.`creative_url_tag_history`", "created_at": 1679425976.7953541}, "source.twitter_ads_source.twitter_ads.account_history": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "account_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.account_history", "fqn": ["twitter_ads_source", "twitter_ads", "account_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "account_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each account. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_id": {"name": "business_id", "description": "The ID of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_name": {"name": "business_name", "description": "The name of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry_type": {"name": "industry_type", "description": "The industry of the accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The timezone the account is set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_switch_at": {"name": "timezone_switch_at", "description": "The timestamp the account's timezone was last changed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "salt": {"name": "salt", "description": "The random encryption key used to has data.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`account_history`", "created_at": 1679425976.795611}, "source.twitter_ads_source.twitter_ads.campaign_history": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "campaign_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.campaign_history", "fqn": ["twitter_ads_source", "twitter_ads", "campaign_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "campaign_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each campaign. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currently all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount_local_micro": {"name": "daily_budget_amount_local_micro", "description": "The daily budget amount to be allocated to the campaign. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "duration_in_days": {"name": "duration_in_days", "description": "The time period within which the frequency_cap is achieved.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The time the campaign will end", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_cap": {"name": "frequency_cap", "description": "The maximum number of times an ad could be delivered to a user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "servable": {"name": "servable", "description": "Whether the campaign is in a state to be actively served to users.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "standard_delivery": {"name": "standard_delivery", "description": "Whether standard delivery is enabled (vs accelerated delivery).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "The time the campaign will start.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Reference to the funding instrument.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`campaign_history`", "created_at": 1679425976.795872}, "source.twitter_ads_source.twitter_ads.line_item_history": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "line_item_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.line_item_history", "fqn": ["twitter_ads_source", "twitter_ads", "line_item_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "line_item_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each line item. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_domain": {"name": "advertiser_domain", "description": "The website domain for this advertiser, without the protocol specification.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_user_id": {"name": "advertiser_user_id", "description": "The Twitter user identifier for the handle promoting the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "automatically_select_bid": {"name": "automatically_select_bid", "description": "Whether automatically optimize bidding is enabled based on daily budget and campaign flight dates.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_local_micro": {"name": "bid_amount_local_micro", "description": "The bid amount to be associated with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "The bidding mechanism.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_unit": {"name": "bid_unit", "description": "The bid unit for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "charge_by": {"name": "charge_by", "description": "The unit to charge this line item by.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_source": {"name": "creative_source", "description": "The source of the creatives for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency in which metrics will be reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The timestamp at which the line item will stop being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The campaign objective for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization": {"name": "optimization", "description": "The optimization setting to use with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "primary_web_event_tag": {"name": "primary_web_event_tag", "description": "The identifier of the primary web event tag. Allows more accurate tracking of engagements for the campaign pertaining to this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "product_type": {"name": "product_type", "description": "The type of promoted product that this line item will contain.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "The timestamp at which the line item will start being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa_local_micro": {"name": "target_cpa_local_micro", "description": "The target cost per acquisition for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`line_item_history`", "created_at": 1679425976.796145}, "source.twitter_ads_source.twitter_ads.promoted_tweet_history": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "promoted_tweet_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_history", "fqn": ["twitter_ads_source", "twitter_ads", "promoted_tweet_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "promoted_tweet_history", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each promoted tweet. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`promoted_tweet_history`", "created_at": 1679425976.796434}, "source.twitter_ads_source.twitter_ads.tweet_url": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "tweet_url", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.tweet_url", "fqn": ["twitter_ads_source", "twitter_ads", "tweet_url"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "tweet_url", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a URL used in a tweet.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The URL as it will be displayed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expanded_url": {"name": "expanded_url", "description": "The fully expanded URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "index": {"name": "index", "description": "The index of the URL within the tweet (ie if there are multiple URLs in the tweet).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "indices": {"name": "indices", "description": "The start and end point of where the URL is placed in the tweet text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url": {"name": "url", "description": "The 't.co' shortened URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`tweet_url`", "created_at": 1679425976.7966762}, "source.twitter_ads_source.twitter_ads.promoted_tweet_report": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "promoted_tweet_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_report", "fqn": ["twitter_ads_source", "twitter_ads", "promoted_tweet_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "promoted_tweet_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of a promoted tweet on a given day, in its defined placement.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the related promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`promoted_tweet_report`", "created_at": 1679425976.796928}, "source.twitter_ads_source.twitter_ads.tweet": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "tweet", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.tweet", "fqn": ["twitter_ads_source", "twitter_ads", "tweet"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "tweet", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a tweet, promoted or not.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Unique identifier of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "If provided, the non-public title of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "full_text": {"name": "full_text", "description": "Full text of the tweet's content.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "lang": {"name": "lang", "description": "Two-letter language code of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`tweet`", "created_at": 1679425976.797168}, "source.twitter_ads_source.twitter_ads.campaign_report": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "campaign_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.campaign_report", "fqn": ["twitter_ads_source", "twitter_ads", "campaign_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "campaign_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of an ad campaign on a given day.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the campaign on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the campaign on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the campaign on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the ad campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the campaign on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`campaign_report`", "created_at": 1679425976.797409}, "source.twitter_ads_source.twitter_ads.line_item_report": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "line_item_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.line_item_report", "fqn": ["twitter_ads_source", "twitter_ads", "line_item_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "line_item_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of a line item (ad group) on a given day.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the line item on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the line item on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`line_item_report`", "created_at": 1679425976.797654}, "source.twitter_ads_source.twitter_ads.line_item_keywords_report": {"database": "dbt-package-testing", "schema": "twitter_ads", "name": "line_item_keywords_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.line_item_keywords_report", "fqn": ["twitter_ads_source", "twitter_ads", "line_item_keywords_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "line_item_keywords_report", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of a line item (ad group) and keyword combination on a given day.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the line item + keyword on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item + keyword on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "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.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item + keyword on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "segment": {"name": "segment", "description": "The keyword whose performance is being tracked.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`twitter_ads`.`line_item_keywords_report`", "created_at": 1679425976.7979069}}, "macros": {"macro.dbt_bigquery.date_sharded_table": {"name": "date_sharded_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/etc.sql", "original_file_path": "macros/etc.sql", "unique_id": "macro.dbt_bigquery.date_sharded_table", "macro_sql": "{% macro date_sharded_table(base_name) %}\n {{ return(base_name ~ \"[DBT__PARTITION_DATE]\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5494668, "supported_languages": null}, "macro.dbt_bigquery.grant_access_to": {"name": "grant_access_to", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/etc.sql", "original_file_path": "macros/etc.sql", "unique_id": "macro.dbt_bigquery.grant_access_to", "macro_sql": "{% macro grant_access_to(entity, entity_type, role, grant_target_dict) -%}\n {% do adapter.grant_access_to(entity, entity_type, role, grant_target_dict) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5500422, "supported_languages": null}, "macro.dbt_bigquery.get_partitions_metadata": {"name": "get_partitions_metadata", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/etc.sql", "original_file_path": "macros/etc.sql", "unique_id": "macro.dbt_bigquery.get_partitions_metadata", "macro_sql": "\n\n{%- macro get_partitions_metadata(table) -%}\n {%- if execute -%}\n {%- set res = adapter.get_partitions_metadata(table) -%}\n {{- return(res) -}}\n {%- endif -%}\n {{- return(None) -}}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.550699, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_catalog": {"name": "bigquery__get_catalog", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/catalog.sql", "original_file_path": "macros/catalog.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_catalog", "macro_sql": "{% macro bigquery__get_catalog(information_schema, schemas) -%}\n\n {%- if (schemas | length) == 0 -%}\n {# Hopefully nothing cares about the columns we return when there are no rows #}\n {%- set query = \"select 1 as id limit 0\" -%}\n {%- else -%}\n\n {%- set query -%}\n with tables as (\n select\n project_id as table_database,\n dataset_id as table_schema,\n table_id as original_table_name,\n\n concat(project_id, '.', dataset_id, '.', table_id) as relation_id,\n\n row_count,\n size_bytes as size_bytes,\n case\n when type = 1 then 'table'\n when type = 2 then 'view'\n else 'external'\n end as table_type,\n\n REGEXP_CONTAINS(table_id, '^.+[0-9]{8}$') and coalesce(type, 0) = 1 as is_date_shard,\n REGEXP_EXTRACT(table_id, '^(.+)[0-9]{8}$') as shard_base_name,\n REGEXP_EXTRACT(table_id, '^.+([0-9]{8})$') as shard_name\n\n from {{ information_schema.replace(information_schema_view='__TABLES__') }}\n where (\n {%- for schema in schemas -%}\n upper(dataset_id) = upper('{{ schema }}'){%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n )\n ),\n\n table_options as (\n select\n concat(table_catalog, '.', table_schema, '.', table_name) as relation_id,\n JSON_VALUE(option_value) as table_comment\n\n from {{ information_schema.replace(information_schema_view='TABLE_OPTIONS') }}\n where option_name = 'description'\n ),\n extracted as (\n\n select *,\n case\n when is_date_shard then shard_base_name\n else original_table_name\n end as table_name\n\n from tables\n\n ),\n\n unsharded_tables as (\n\n select\n table_database,\n table_schema,\n table_name,\n coalesce(table_type, 'external') as table_type,\n is_date_shard,\n\n struct(\n min(shard_name) as shard_min,\n max(shard_name) as shard_max,\n count(*) as shard_count\n ) as table_shards,\n\n sum(size_bytes) as size_bytes,\n sum(row_count) as row_count,\n\n max(relation_id) as relation_id\n\n from extracted\n group by 1,2,3,4,5\n\n ),\n\n info_schema_columns as (\n\n select\n concat(table_catalog, '.', table_schema, '.', table_name) as relation_id,\n table_catalog as table_database,\n table_schema,\n table_name,\n\n -- use the \"real\" column name from the paths query below\n column_name as base_column_name,\n ordinal_position as column_index,\n\n is_partitioning_column,\n clustering_ordinal_position\n\n from {{ information_schema.replace(information_schema_view='COLUMNS') }}\n where ordinal_position is not null\n\n ),\n\n info_schema_column_paths as (\n\n select\n concat(table_catalog, '.', table_schema, '.', table_name) as relation_id,\n field_path as column_name,\n data_type as column_type,\n column_name as base_column_name,\n description as column_comment\n\n from {{ information_schema.replace(information_schema_view='COLUMN_FIELD_PATHS') }}\n\n ),\n\n columns as (\n\n select * except (base_column_name)\n from info_schema_columns\n join info_schema_column_paths using (relation_id, base_column_name)\n\n ),\n\n column_stats as (\n\n select\n table_database,\n table_schema,\n table_name,\n max(relation_id) as relation_id,\n max(case when is_partitioning_column = 'YES' then 1 else 0 end) = 1 as is_partitioned,\n max(case when is_partitioning_column = 'YES' then column_name else null end) as partition_column,\n max(case when clustering_ordinal_position is not null then 1 else 0 end) = 1 as is_clustered,\n array_to_string(\n array_agg(\n case\n when clustering_ordinal_position is not null then column_name\n else null\n end ignore nulls\n order by clustering_ordinal_position\n ), ', '\n ) as clustering_columns\n\n from columns\n group by 1,2,3\n\n )\n\n select\n unsharded_tables.table_database,\n unsharded_tables.table_schema,\n case\n when is_date_shard then concat(unsharded_tables.table_name, '*')\n else unsharded_tables.table_name\n end as table_name,\n unsharded_tables.table_type,\n table_options.table_comment,\n\n -- coalesce name and type for External tables - these columns are not\n -- present in the COLUMN_FIELD_PATHS resultset\n coalesce(columns.column_name, '') as column_name,\n -- invent a row number to account for nested fields -- BQ does\n -- not treat these nested properties as independent fields\n row_number() over (\n partition by relation_id\n order by columns.column_index, columns.column_name\n ) as column_index,\n coalesce(columns.column_type, '') as column_type,\n columns.column_comment,\n\n 'Shard count' as `stats__date_shards__label`,\n table_shards.shard_count as `stats__date_shards__value`,\n 'The number of date shards in this table' as `stats__date_shards__description`,\n is_date_shard as `stats__date_shards__include`,\n\n 'Shard (min)' as `stats__date_shard_min__label`,\n table_shards.shard_min as `stats__date_shard_min__value`,\n 'The first date shard in this table' as `stats__date_shard_min__description`,\n is_date_shard as `stats__date_shard_min__include`,\n\n 'Shard (max)' as `stats__date_shard_max__label`,\n table_shards.shard_max as `stats__date_shard_max__value`,\n 'The last date shard in this table' as `stats__date_shard_max__description`,\n is_date_shard as `stats__date_shard_max__include`,\n\n '# Rows' as `stats__num_rows__label`,\n row_count as `stats__num_rows__value`,\n 'Approximate count of rows in this table' as `stats__num_rows__description`,\n (unsharded_tables.table_type = 'table') as `stats__num_rows__include`,\n\n 'Approximate Size' as `stats__num_bytes__label`,\n size_bytes as `stats__num_bytes__value`,\n 'Approximate size of table as reported by BigQuery' as `stats__num_bytes__description`,\n (unsharded_tables.table_type = 'table') as `stats__num_bytes__include`,\n\n 'Partitioned By' as `stats__partitioning_type__label`,\n partition_column as `stats__partitioning_type__value`,\n 'The partitioning column for this table' as `stats__partitioning_type__description`,\n is_partitioned as `stats__partitioning_type__include`,\n\n 'Clustered By' as `stats__clustering_fields__label`,\n clustering_columns as `stats__clustering_fields__value`,\n 'The clustering columns for this table' as `stats__clustering_fields__description`,\n is_clustered as `stats__clustering_fields__include`\n\n -- join using relation_id (an actual relation, not a shard prefix) to make\n -- sure that column metadata is picked up through the join. This will only\n -- return the column information for the \"max\" table in a date-sharded table set\n from unsharded_tables\n left join table_options using (relation_id)\n left join columns using (relation_id)\n left join column_stats using (relation_id)\n {%- endset -%}\n\n {%- endif -%}\n\n {{ return(run_query(query)) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.557284, "supported_languages": null}, "macro.dbt_bigquery.partition_by": {"name": "partition_by", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.partition_by", "macro_sql": "{% macro partition_by(partition_config) -%}\n {%- if partition_config is none -%}\n {% do return('') %}\n {%- elif partition_config.data_type | lower in ('date','timestamp','datetime') -%}\n partition by {{ partition_config.render() }}\n {%- elif partition_config.data_type | lower in ('int64') -%}\n {%- set range = partition_config.range -%}\n partition by range_bucket(\n {{ partition_config.field }},\n generate_array({{ range.start}}, {{ range.end }}, {{ range.interval }})\n )\n {%- endif -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.563766, "supported_languages": null}, "macro.dbt_bigquery.cluster_by": {"name": "cluster_by", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.cluster_by", "macro_sql": "{% macro cluster_by(raw_cluster_by) %}\n {%- if raw_cluster_by is not none -%}\n cluster by {% if raw_cluster_by is string -%}\n {% set raw_cluster_by = [raw_cluster_by] %}\n {%- endif -%}\n {%- for cluster in raw_cluster_by -%}\n {{ cluster }}\n {%- if not loop.last -%}, {% endif -%}\n {%- endfor -%}\n\n {% endif %}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.564534, "supported_languages": null}, "macro.dbt_bigquery.bigquery_options": {"name": "bigquery_options", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery_options", "macro_sql": "{% macro bigquery_options(opts) %}\n {% set options -%}\n OPTIONS({% for opt_key, opt_val in opts.items() %}\n {{ opt_key }}={{ opt_val }}{{ \",\" if not loop.last }}\n {% endfor %})\n {%- endset %}\n {%- do return(options) -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.565281, "supported_languages": null}, "macro.dbt_bigquery.bigquery_table_options": {"name": "bigquery_table_options", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery_table_options", "macro_sql": "{% macro bigquery_table_options(config, node, temporary) %}\n {% set opts = adapter.get_table_options(config, node, temporary) %}\n {%- do return(bigquery_options(opts)) -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.565835, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_table_as": {"name": "bigquery__create_table_as", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_table_as", "macro_sql": "{% macro bigquery__create_table_as(temporary, relation, compiled_code, language='sql') -%}\n {%- if language == 'sql' -%}\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set raw_cluster_by = config.get('cluster_by', none) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {%- set partition_config = adapter.parse_partition_by(raw_partition_by) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create or replace table {{ relation }}\n {{ partition_by(partition_config) }}\n {{ cluster_by(raw_cluster_by) }}\n {{ bigquery_table_options(config, model, temporary) }}\n as (\n {{ compiled_code }}\n );\n {%- elif language == 'python' -%}\n {#--\n N.B. Python models _can_ write to temp views HOWEVER they use a different session\n and have already expired by the time they need to be used (I.E. in merges for incremental models)\n\n TODO: Deep dive into spark sessions to see if we can reuse a single session for an entire\n dbt invocation.\n --#}\n {{ py_write_table(compiled_code=compiled_code, target_relation=relation.quote(database=False, schema=False, identifier=False)) }}\n {%- else -%}\n {% do exceptions.raise_compiler_error(\"bigquery__create_table_as macro didn't get supported language, it got %s\" % language) %}\n {%- endif -%}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.partition_by", "macro.dbt_bigquery.cluster_by", "macro.dbt_bigquery.bigquery_table_options", "macro.dbt_bigquery.py_write_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.567868, "supported_languages": null}, "macro.dbt_bigquery.bigquery_view_options": {"name": "bigquery_view_options", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery_view_options", "macro_sql": "{% macro bigquery_view_options(config, node) %}\n {% set opts = adapter.get_view_options(config, node) %}\n {%- do return(bigquery_options(opts)) -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5683799, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_view_as": {"name": "bigquery__create_view_as", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_view_as", "macro_sql": "{% macro bigquery__create_view_as(relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create or replace view {{ relation }}\n {{ bigquery_view_options(config, model) }}\n as {{ sql }};\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery_view_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.569052, "supported_languages": null}, "macro.dbt_bigquery.bigquery__drop_schema": {"name": "bigquery__drop_schema", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__drop_schema", "macro_sql": "{% macro bigquery__drop_schema(relation) -%}\n {{ adapter.drop_schema(relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.569334, "supported_languages": null}, "macro.dbt_bigquery.bigquery__drop_relation": {"name": "bigquery__drop_relation", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__drop_relation", "macro_sql": "{% macro bigquery__drop_relation(relation) -%}\n {% call statement('drop_relation') -%}\n drop {{ relation.type }} if exists {{ relation }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.56975, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_columns_in_relation": {"name": "bigquery__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_columns_in_relation", "macro_sql": "{% macro bigquery__get_columns_in_relation(relation) -%}\n {{ return(adapter.get_columns_in_relation(relation)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.570077, "supported_languages": null}, "macro.dbt_bigquery.bigquery__list_relations_without_caching": {"name": "bigquery__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__list_relations_without_caching", "macro_sql": "{% macro bigquery__list_relations_without_caching(schema_relation) -%}\n {{ return(adapter.list_relations_without_caching(schema_relation)) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.570395, "supported_languages": null}, "macro.dbt_bigquery.bigquery__list_schemas": {"name": "bigquery__list_schemas", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__list_schemas", "macro_sql": "{% macro bigquery__list_schemas(database) -%}\n {{ return(adapter.list_schemas(database)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.570718, "supported_languages": null}, "macro.dbt_bigquery.bigquery__check_schema_exists": {"name": "bigquery__check_schema_exists", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__check_schema_exists", "macro_sql": "{% macro bigquery__check_schema_exists(information_schema, schema) %}\n {{ return(adapter.check_schema_exists(information_schema.database, schema)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5711071, "supported_languages": null}, "macro.dbt_bigquery.bigquery__persist_docs": {"name": "bigquery__persist_docs", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__persist_docs", "macro_sql": "{% macro bigquery__persist_docs(relation, model, for_relation, for_columns) -%}\n {% if for_columns and config.persist_column_docs() and model.columns %}\n {% do alter_column_comment(relation, model.columns) %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.571702, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_column_comment": {"name": "bigquery__alter_column_comment", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_column_comment", "macro_sql": "{% macro bigquery__alter_column_comment(relation, column_dict) -%}\n {% do adapter.update_columns(relation, column_dict) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.572049, "supported_languages": null}, "macro.dbt_bigquery.bigquery__rename_relation": {"name": "bigquery__rename_relation", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__rename_relation", "macro_sql": "{% macro bigquery__rename_relation(from_relation, to_relation) -%}\n {% do adapter.rename_relation(from_relation, to_relation) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.572394, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_relation_add_columns": {"name": "bigquery__alter_relation_add_columns", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_relation_add_columns", "macro_sql": "{% macro bigquery__alter_relation_add_columns(relation, add_columns) %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n {% for column in add_columns %}\n add column {{ column.name }} {{ column.data_type }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {{ return(run_query(sql)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.573359, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_relation_drop_columns": {"name": "bigquery__alter_relation_drop_columns", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_relation_drop_columns", "macro_sql": "{% macro bigquery__alter_relation_drop_columns(relation, drop_columns) %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n\n {% for column in drop_columns %}\n drop column {{ column.name }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {{ return(run_query(sql)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.574155, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_column_type": {"name": "bigquery__alter_column_type", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_column_type", "macro_sql": "{% macro bigquery__alter_column_type(relation, column_name, new_column_type) -%}\n {#-- Changing a column's data type using a query requires you to scan the entire table.\n The query charges can be significant if the table is very large.\n\n https://cloud.google.com/bigquery/docs/manually-changing-schemas#changing_a_columns_data_type\n #}\n {% set relation_columns = get_columns_in_relation(relation) %}\n\n {% set sql %}\n select\n {%- for col in relation_columns -%}\n {% if col.column == column_name %}\n CAST({{ col.quoted }} AS {{ new_column_type }}) AS {{ col.quoted }}\n {%- else %}\n {{ col.quoted }}\n {%- endif %}\n {%- if not loop.last %},{% endif -%}\n {%- endfor %}\n from {{ relation }}\n {% endset %}\n\n {% call statement('alter_column_type') %}\n {{ create_table_as(False, relation, sql)}}\n {%- endcall %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_columns_in_relation", "macro.dbt.statement", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5755332, "supported_languages": null}, "macro.dbt_bigquery.bigquery__test_unique": {"name": "bigquery__test_unique", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__test_unique", "macro_sql": "{% macro bigquery__test_unique(model, column_name) %}\n\nwith dbt_test__target as (\n\n select {{ column_name }} as unique_field\n from {{ model }}\n where {{ column_name }} is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5758998, "supported_languages": null}, "macro.dbt_bigquery.bigquery__upload_file": {"name": "bigquery__upload_file", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__upload_file", "macro_sql": "{% macro bigquery__upload_file(local_file_path, database, table_schema, table_name) %}\n\n {{ log(\"kwargs: \" ~ kwargs) }}\n\n {% do adapter.upload_file(local_file_path, database, table_schema, table_name, kwargs=kwargs) %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5765, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_csv_table": {"name": "bigquery__create_csv_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/seed.sql", "original_file_path": "macros/materializations/seed.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_csv_table", "macro_sql": "{% macro bigquery__create_csv_table(model, agate_table) %}\n -- no-op\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.577135, "supported_languages": null}, "macro.dbt_bigquery.bigquery__reset_csv_table": {"name": "bigquery__reset_csv_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/seed.sql", "original_file_path": "macros/materializations/seed.sql", "unique_id": "macro.dbt_bigquery.bigquery__reset_csv_table", "macro_sql": "{% macro bigquery__reset_csv_table(model, full_refresh, old_relation, agate_table) %}\n {{ adapter.drop_relation(old_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5774798, "supported_languages": null}, "macro.dbt_bigquery.bigquery__load_csv_rows": {"name": "bigquery__load_csv_rows", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/seed.sql", "original_file_path": "macros/materializations/seed.sql", "unique_id": "macro.dbt_bigquery.bigquery__load_csv_rows", "macro_sql": "{% macro bigquery__load_csv_rows(model, agate_table) %}\n\n {%- set column_override = model['config'].get('column_types', {}) -%}\n {{ adapter.load_dataframe(model['database'], model['schema'], model['alias'],\n \t\t\t\t\t\t\tagate_table, column_override) }}\n\n {% call statement() %}\n alter table {{ this.render() }} set {{ bigquery_table_options(config, model) }}\n {% endcall %}\n\n {% if config.persist_relation_docs() and 'description' in model %}\n\n \t{{ adapter.update_table_description(model['database'], model['schema'], model['alias'], model['description']) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_bigquery.bigquery_table_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5790431, "supported_languages": null}, "macro.dbt_bigquery.bigquery__handle_existing_table": {"name": "bigquery__handle_existing_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/view.sql", "original_file_path": "macros/materializations/view.sql", "unique_id": "macro.dbt_bigquery.bigquery__handle_existing_table", "macro_sql": "{% macro bigquery__handle_existing_table(full_refresh, old_relation) %}\n {%- if full_refresh -%}\n {{ adapter.drop_relation(old_relation) }}\n {%- else -%}\n {{ exceptions.relation_wrong_type(old_relation, 'view') }}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.580076, "supported_languages": null}, "macro.dbt_bigquery.materialization_view_bigquery": {"name": "materialization_view_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/view.sql", "original_file_path": "macros/materializations/view.sql", "unique_id": "macro.dbt_bigquery.materialization_view_bigquery", "macro_sql": "{% materialization view, adapter='bigquery' -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n {% set to_return = create_or_replace_view() %}\n\n {% set target_relation = this.incorporate(type='view') %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if config.get('grant_access_to') %}\n {% for grant_target_dict in config.get('grant_access_to') %}\n {% do adapter.grant_access_to(this, 'view', None, grant_target_dict) %}\n {% endfor %}\n {% endif %}\n\n {% do return(to_return) %}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.create_or_replace_view", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5814772, "supported_languages": ["sql"]}, "macro.dbt_bigquery.materialization_table_bigquery": {"name": "materialization_table_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/table.sql", "original_file_path": "macros/materializations/table.sql", "unique_id": "macro.dbt_bigquery.materialization_table_bigquery", "macro_sql": "{% materialization table, adapter='bigquery', supported_languages=['sql', 'python']-%}\n\n {%- set language = model['language'] -%}\n {%- set identifier = model['alias'] -%}\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n {%- set exists_not_as_table = (old_relation is not none and not old_relation.is_table) -%}\n {%- set target_relation = api.Relation.create(database=database, schema=schema, identifier=identifier, type='table') -%}\n\n -- grab current tables grants config for comparision later on\n {%- set grant_config = config.get('grants') -%}\n\n {{ run_hooks(pre_hooks) }}\n\n {#\n We only need to drop this thing if it is not a table.\n If it _is_ already a table, then we can overwrite it without downtime\n Unlike table -> view, no need for `--full-refresh`: dropping a view is no big deal\n #}\n {%- if exists_not_as_table -%}\n {{ adapter.drop_relation(old_relation) }}\n {%- endif -%}\n\n -- build model\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set partition_by = adapter.parse_partition_by(raw_partition_by) -%}\n {%- set cluster_by = config.get('cluster_by', none) -%}\n {% if not adapter.is_replaceable(old_relation, partition_by, cluster_by) %}\n {% do log(\"Hard refreshing \" ~ old_relation ~ \" because it is not replaceable\") %}\n {% do adapter.drop_relation(old_relation) %}\n {% endif %}\n\n -- build model\n {%- call statement('main', language=language) -%}\n {{ create_table_as(False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {{ run_hooks(post_hooks) }}\n\n {% set should_revoke = should_revoke(old_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.create_table_as", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.587714, "supported_languages": ["sql", "python"]}, "macro.dbt_bigquery.py_write_table": {"name": "py_write_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/table.sql", "original_file_path": "macros/materializations/table.sql", "unique_id": "macro.dbt_bigquery.py_write_table", "macro_sql": "{% macro py_write_table(compiled_code, target_relation) %}\nfrom pyspark.sql import SparkSession\n\nspark = SparkSession.builder.appName('smallTest').getOrCreate()\n\nspark.conf.set(\"viewsEnabled\",\"true\")\nspark.conf.set(\"temporaryGcsBucket\",\"{{target.gcs_bucket}}\")\n\n{{ compiled_code }}\ndbt = dbtObj(spark.read.format(\"bigquery\").load)\ndf = model(dbt, spark)\n\n# COMMAND ----------\n# this is materialization code dbt generated, please do not modify\n\nimport pyspark\n# make sure pandas exists before using it\ntry:\n import pandas\n pandas_available = True\nexcept ImportError:\n pandas_available = False\n\n# make sure pyspark.pandas exists before using it\ntry:\n import pyspark.pandas\n pyspark_pandas_api_available = True\nexcept ImportError:\n pyspark_pandas_api_available = False\n\n# make sure databricks.koalas exists before using it\ntry:\n import databricks.koalas\n koalas_available = True\nexcept ImportError:\n koalas_available = False\n\n# preferentially convert pandas DataFrames to pandas-on-Spark or Koalas DataFrames first\n# since they know how to convert pandas DataFrames better than `spark.createDataFrame(df)`\n# and converting from pandas-on-Spark to Spark DataFrame has no overhead\nif pyspark_pandas_api_available and pandas_available and isinstance(df, pandas.core.frame.DataFrame):\n df = pyspark.pandas.frame.DataFrame(df)\nelif koalas_available and pandas_available and isinstance(df, pandas.core.frame.DataFrame):\n df = databricks.koalas.frame.DataFrame(df)\n\n# convert to pyspark.sql.dataframe.DataFrame\nif isinstance(df, pyspark.sql.dataframe.DataFrame):\n pass # since it is already a Spark DataFrame\nelif pyspark_pandas_api_available and isinstance(df, pyspark.pandas.frame.DataFrame):\n df = df.to_spark()\nelif koalas_available and isinstance(df, databricks.koalas.frame.DataFrame):\n df = df.to_spark()\nelif pandas_available and isinstance(df, pandas.core.frame.DataFrame):\n df = spark.createDataFrame(df)\nelse:\n msg = f\"{type(df)} is not a supported type for dbt Python materialization\"\n raise Exception(msg)\n\ndf.write \\\n .mode(\"overwrite\") \\\n .format(\"bigquery\") \\\n .option(\"writeMethod\", \"direct\").option(\"writeDisposition\", 'WRITE_TRUNCATE') \\\n .save(\"{{target_relation}}\")\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.588255, "supported_languages": null}, "macro.dbt_bigquery.materialization_copy_bigquery": {"name": "materialization_copy_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/copy.sql", "original_file_path": "macros/materializations/copy.sql", "unique_id": "macro.dbt_bigquery.materialization_copy_bigquery", "macro_sql": "{% materialization copy, adapter='bigquery' -%}\n\n {# Setup #}\n {{ run_hooks(pre_hooks) }}\n\n {% set destination = this.incorporate(type='table') %}\n\n {# there can be several ref() or source() according to BQ copy API docs #}\n {# cycle over ref() and source() to create source tables array #}\n {% set source_array = [] %}\n {% for ref_table in model.refs %}\n {{ source_array.append(ref(*ref_table)) }}\n {% endfor %}\n\n {% for src_table in model.sources %}\n {{ source_array.append(source(*src_table)) }}\n {% endfor %}\n\n {# Call adapter copy_table function #}\n {%- set result_str = adapter.copy_table(\n source_array,\n destination,\n config.get('copy_materialization', default = 'table')) -%}\n\n {{ store_result('main', response=result_str) }}\n\n {# Clean up #}\n {{ run_hooks(post_hooks) }}\n {%- do apply_grants(target_relation, grant_config) -%}\n {{ adapter.commit() }}\n\n {{ return({'relations': [destination]}) }}\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5906408, "supported_languages": ["sql"]}, "macro.dbt_bigquery.dbt_bigquery_validate_get_incremental_strategy": {"name": "dbt_bigquery_validate_get_incremental_strategy", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.dbt_bigquery_validate_get_incremental_strategy", "macro_sql": "{% macro dbt_bigquery_validate_get_incremental_strategy(config) %}\n {#-- Find and validate the incremental strategy #}\n {%- set strategy = config.get(\"incremental_strategy\") or 'merge' -%}\n\n {% set invalid_strategy_msg -%}\n Invalid incremental strategy provided: {{ strategy }}\n Expected one of: 'merge', 'insert_overwrite'\n {%- endset %}\n {% if strategy not in ['merge', 'insert_overwrite'] %}\n {% do exceptions.raise_compiler_error(invalid_strategy_msg) %}\n {% endif %}\n\n {% do return(strategy) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.594217, "supported_languages": null}, "macro.dbt_bigquery.source_sql_with_partition": {"name": "source_sql_with_partition", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.source_sql_with_partition", "macro_sql": "{% macro source_sql_with_partition(partition_by, source_sql) %}\n\n {%- if partition_by.time_ingestion_partitioning %}\n {{ return(wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by.field), source_sql, False)) }}\n {% else %}\n {{ return(source_sql) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.59488, "supported_languages": null}, "macro.dbt_bigquery.bq_create_table_as": {"name": "bq_create_table_as", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.bq_create_table_as", "macro_sql": "{% macro bq_create_table_as(is_time_ingestion_partitioning, temporary, relation, compiled_code, language='sql') %}\n {% if is_time_ingestion_partitioning and language == 'python' %}\n {% do exceptions.raise_compiler_error(\n \"Python models do not support ingestion time partitioning\"\n ) %}\n {% endif %}\n {% if is_time_ingestion_partitioning and language == 'sql' %}\n {#-- Create the table before inserting data as ingestion time partitioned tables can't be created with the transformed data --#}\n {% do run_query(create_ingestion_time_partitioned_table_as_sql(temporary, relation, compiled_code)) %}\n {{ return(bq_insert_into_ingestion_time_partitioned_table_sql(relation, compiled_code)) }}\n {% else %}\n {{ return(create_table_as(temporary, relation, compiled_code, language)) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt_bigquery.create_ingestion_time_partitioned_table_as_sql", "macro.dbt_bigquery.bq_insert_into_ingestion_time_partitioned_table_sql", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5962062, "supported_languages": null}, "macro.dbt_bigquery.bq_generate_incremental_build_sql": {"name": "bq_generate_incremental_build_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.bq_generate_incremental_build_sql", "macro_sql": "{% macro bq_generate_incremental_build_sql(\n strategy, tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, copy_partitions, incremental_predicates\n) %}\n {#-- if partitioned, use BQ scripting to get the range of partition values to be updated --#}\n {% if strategy == 'insert_overwrite' %}\n\n {% set build_sql = bq_generate_incremental_insert_overwrite_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, copy_partitions\n ) %}\n\n {% else %} {# strategy == 'merge' #}\n\n {% set build_sql = bq_generate_incremental_merge_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, incremental_predicates\n ) %}\n\n {% endif %}\n\n {{ return(build_sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_generate_incremental_insert_overwrite_build_sql", "macro.dbt_bigquery.bq_generate_incremental_merge_build_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.5975318, "supported_languages": null}, "macro.dbt_bigquery.materialization_incremental_bigquery": {"name": "materialization_incremental_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.materialization_incremental_bigquery", "macro_sql": "{% materialization incremental, adapter='bigquery', supported_languages=['sql', 'python'] -%}\n\n {%- set unique_key = config.get('unique_key') -%}\n {%- set full_refresh_mode = (should_full_refresh()) -%}\n {%- set language = model['language'] %}\n\n {%- set target_relation = this %}\n {%- set existing_relation = load_relation(this) %}\n {%- set tmp_relation = make_temp_relation(this) %}\n\n {#-- Validate early so we don't run SQL if the strategy is invalid --#}\n {% set strategy = dbt_bigquery_validate_get_incremental_strategy(config) -%}\n\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set partition_by = adapter.parse_partition_by(raw_partition_by) -%}\n {%- set partitions = config.get('partitions', none) -%}\n {%- set cluster_by = config.get('cluster_by', none) -%}\n\n {% set on_schema_change = incremental_validate_on_schema_change(config.get('on_schema_change'), default='ignore') %}\n {% set incremental_predicates = config.get('predicates', default=none) or config.get('incremental_predicates', default=none) %}\n\n -- grab current tables grants config for comparison later on\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks) }}\n\n {% if partition_by.copy_partitions is true and strategy != 'insert_overwrite' %} {#-- We can't copy partitions with merge strategy --#}\n {% set wrong_strategy_msg -%}\n The 'copy_partitions' option requires the 'incremental_strategy' option to be set to 'insert_overwrite'.\n {%- endset %}\n {% do exceptions.raise_compiler_error(wrong_strategy_msg) %}\n\n {% elif existing_relation is none %}\n {%- call statement('main', language=language) -%}\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {% elif existing_relation.is_view %}\n {#-- There's no way to atomically replace a view with a table on BQ --#}\n {{ adapter.drop_relation(existing_relation) }}\n {%- call statement('main', language=language) -%}\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {% elif full_refresh_mode %}\n {#-- If the partition/cluster config has changed, then we must drop and recreate --#}\n {% if not adapter.is_replaceable(existing_relation, partition_by, cluster_by) %}\n {% do log(\"Hard refreshing \" ~ existing_relation ~ \" because it is not replaceable\") %}\n {{ adapter.drop_relation(existing_relation) }}\n {% endif %}\n {%- call statement('main', language=language) -%}\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {% else %}\n {%- if language == 'python' and strategy == 'insert_overwrite' -%}\n {#-- This lets us move forward assuming no python will be directly templated into a query --#}\n {%- set python_unsupported_msg -%}\n The 'insert_overwrite' strategy is not yet supported for python models.\n {%- endset %}\n {% do exceptions.raise_compiler_error(python_unsupported_msg) %}\n {%- endif -%}\n\n {% set tmp_relation_exists = false %}\n {% if on_schema_change != 'ignore' or language == 'python' %}\n {#-- Check first, since otherwise we may not build a temp table --#}\n {#-- Python always needs to create a temp table --#}\n {%- call statement('create_tmp_relation', language=language) -%}\n {{ declare_dbt_max_partition(this, partition_by, compiled_code, language) +\n bq_create_table_as(partition_by.time_ingestion_partitioning, True, tmp_relation, compiled_code, language)\n }}\n {%- endcall -%}\n {% set tmp_relation_exists = true %}\n {#-- Process schema changes. Returns dict of changes if successful. Use source columns for upserting/merging --#}\n {% set dest_columns = process_schema_changes(on_schema_change, tmp_relation, existing_relation) %}\n {% endif %}\n\n {% if not dest_columns %}\n {% set dest_columns = adapter.get_columns_in_relation(existing_relation) %}\n {% endif %}\n {% if partition_by.time_ingestion_partitioning %}\n {% set dest_columns = adapter.add_time_ingestion_partition_column(dest_columns) %}\n {% endif %}\n {% set build_sql = bq_generate_incremental_build_sql(\n strategy, tmp_relation, target_relation, compiled_code, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, partition_by.copy_partitions, incremental_predicates\n ) %}\n\n {%- call statement('main') -%}\n {{ build_sql }}\n {% endcall %}\n\n {%- if language == 'python' and tmp_relation -%}\n {{ adapter.drop_relation(tmp_relation) }}\n {%- endif -%}\n\n {% endif %}\n\n {{ run_hooks(post_hooks) }}\n\n {% set target_relation = this.incorporate(type='table') %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.load_relation", "macro.dbt.make_temp_relation", "macro.dbt_bigquery.dbt_bigquery_validate_get_incremental_strategy", "macro.dbt.incremental_validate_on_schema_change", "macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt_bigquery.bq_create_table_as", "macro.dbt_bigquery.declare_dbt_max_partition", "macro.dbt.process_schema_changes", "macro.dbt_bigquery.bq_generate_incremental_build_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6061409, "supported_languages": ["sql", "python"]}, "macro.dbt_bigquery.bigquery__snapshot_hash_arguments": {"name": "bigquery__snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/snapshot.sql", "original_file_path": "macros/materializations/snapshot.sql", "unique_id": "macro.dbt_bigquery.bigquery__snapshot_hash_arguments", "macro_sql": "{% macro bigquery__snapshot_hash_arguments(args) -%}\n to_hex(md5(concat({%- for arg in args -%}\n coalesce(cast({{ arg }} as string), ''){% if not loop.last %}, '|',{% endif -%}\n {%- endfor -%}\n )))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.606909, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_columns": {"name": "bigquery__create_columns", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/snapshot.sql", "original_file_path": "macros/materializations/snapshot.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_columns", "macro_sql": "{% macro bigquery__create_columns(relation, columns) %}\n {{ adapter.alter_table_add_columns(relation, columns) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.607247, "supported_languages": null}, "macro.dbt_bigquery.bigquery__post_snapshot": {"name": "bigquery__post_snapshot", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/snapshot.sql", "original_file_path": "macros/materializations/snapshot.sql", "unique_id": "macro.dbt_bigquery.bigquery__post_snapshot", "macro_sql": "{% macro bigquery__post_snapshot(staging_relation) %}\n -- Clean up the snapshot temp table\n {% do drop_relation(staging_relation) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.drop_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.607738, "supported_languages": null}, "macro.dbt_bigquery.bq_generate_incremental_merge_build_sql": {"name": "bq_generate_incremental_merge_build_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/merge.sql", "original_file_path": "macros/materializations/incremental_strategy/merge.sql", "unique_id": "macro.dbt_bigquery.bq_generate_incremental_merge_build_sql", "macro_sql": "{% macro bq_generate_incremental_merge_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, incremental_predicates\n) %}\n {%- set source_sql -%}\n {%- if tmp_relation_exists -%}\n (\n select\n {% if partition_by.time_ingestion_partitioning -%}\n _PARTITIONTIME,\n {%- endif -%}\n * from {{ tmp_relation }}\n )\n {%- else -%} {#-- wrap sql in parens to make it a subquery --#}\n (\n {%- if partition_by.time_ingestion_partitioning -%}\n {{ wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by), sql, True) }}\n {%- else -%}\n {{sql}}\n {%- endif %}\n )\n {%- endif -%}\n {%- endset -%}\n\n {% set build_sql = get_merge_sql(target_relation, source_sql, unique_key, dest_columns, incremental_predicates) %}\n\n {{ return(build_sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp", "macro.dbt.get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.609427, "supported_languages": null}, "macro.dbt_bigquery.build_partition_time_exp": {"name": "build_partition_time_exp", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/common.sql", "original_file_path": "macros/materializations/incremental_strategy/common.sql", "unique_id": "macro.dbt_bigquery.build_partition_time_exp", "macro_sql": "{% macro build_partition_time_exp(partition_by) %}\n {% if partition_by.data_type == 'timestamp' %}\n {% set partition_value = partition_by.field %}\n {% else %}\n {% set partition_value = 'timestamp(' + partition_by.field + ')' %}\n {% endif %}\n {{ return({'value': partition_value, 'field': partition_by.field}) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.610652, "supported_languages": null}, "macro.dbt_bigquery.declare_dbt_max_partition": {"name": "declare_dbt_max_partition", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/common.sql", "original_file_path": "macros/materializations/incremental_strategy/common.sql", "unique_id": "macro.dbt_bigquery.declare_dbt_max_partition", "macro_sql": "{% macro declare_dbt_max_partition(relation, partition_by, compiled_code, language='sql') %}\n\n {#-- TODO: revisit partitioning with python models --#}\n {%- if '_dbt_max_partition' in compiled_code and language == 'sql' -%}\n\n declare _dbt_max_partition {{ partition_by.data_type_for_partition() }} default (\n select max({{ partition_by.field }}) from {{ this }}\n where {{ partition_by.field }} is not null\n );\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.61136, "supported_languages": null}, "macro.dbt_bigquery.bq_generate_incremental_insert_overwrite_build_sql": {"name": "bq_generate_incremental_insert_overwrite_build_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_generate_incremental_insert_overwrite_build_sql", "macro_sql": "{% macro bq_generate_incremental_insert_overwrite_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, on_schema_change, copy_partitions\n) %}\n {% if partition_by is none %}\n {% set missing_partition_msg -%}\n The 'insert_overwrite' strategy requires the `partition_by` config.\n {%- endset %}\n {% do exceptions.raise_compiler_error(missing_partition_msg) %}\n {% endif %}\n\n {% set build_sql = bq_insert_overwrite_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, on_schema_change, copy_partitions\n ) %}\n\n {{ return(build_sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.615223, "supported_languages": null}, "macro.dbt_bigquery.bq_copy_partitions": {"name": "bq_copy_partitions", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_copy_partitions", "macro_sql": "{% macro bq_copy_partitions(tmp_relation, target_relation, partitions, partition_by) %}\n\n {% for partition in partitions %}\n {% if partition_by.granularity == 'hour' %}\n {% set partition = partition.strftime(\"%Y%m%d%H\") %}\n {% elif partition_by.granularity == 'day' %}\n {% set partition = partition.strftime(\"%Y%m%d\") %}\n {% elif partition_by.granularity == 'month' %}\n {% set partition = partition.strftime(\"%Y%m\") %}\n {% elif partition_by.granularity == 'year' %}\n {% set partition = partition.strftime(\"%Y\") %}\n {% endif %}\n {% set tmp_relation_partitioned = api.Relation.create(database=tmp_relation.database, schema=tmp_relation.schema, identifier=tmp_relation.table ~ '$' ~ partition, type=tmp_relation.type) %}\n {% set target_relation_partitioned = api.Relation.create(database=target_relation.database, schema=target_relation.schema, identifier=target_relation.table ~ '$' ~ partition, type=target_relation.type) %}\n {% do adapter.copy_table(tmp_relation_partitioned, target_relation_partitioned, \"table\") %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6176152, "supported_languages": null}, "macro.dbt_bigquery.bq_insert_overwrite_sql": {"name": "bq_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_insert_overwrite_sql", "macro_sql": "{% macro bq_insert_overwrite_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, copy_partitions\n) %}\n {% if partitions is not none and partitions != [] %} {# static #}\n {{ bq_static_insert_overwrite_sql(tmp_relation, target_relation, sql, partition_by, partitions, dest_columns, copy_partitions) }}\n {% else %} {# dynamic #}\n {{ bq_dynamic_insert_overwrite_sql(tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_static_insert_overwrite_sql", "macro.dbt_bigquery.bq_dynamic_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6187441, "supported_languages": null}, "macro.dbt_bigquery.bq_static_insert_overwrite_sql": {"name": "bq_static_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_static_insert_overwrite_sql", "macro_sql": "{% macro bq_static_insert_overwrite_sql(\n tmp_relation, target_relation, sql, partition_by, partitions, dest_columns, copy_partitions\n) %}\n\n {% set predicate -%}\n {{ partition_by.render_wrapped(alias='DBT_INTERNAL_DEST') }} in (\n {{ partitions | join (', ') }}\n )\n {%- endset %}\n\n {%- set source_sql -%}\n (\n {%- if partition_by.time_ingestion_partitioning -%}\n {{ wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by), sql, True) }}\n {%- else -%}\n {{sql}}\n {%- endif -%}\n )\n {%- endset -%}\n\n {% if copy_partitions %}\n {% do bq_copy_partitions(tmp_relation, target_relation, partitions, partition_by) %}\n {% else %}\n\n {#-- Because we're putting the model SQL _directly_ into the MERGE statement,\n we need to prepend the MERGE statement with the user-configured sql_header,\n which may be needed to resolve that model SQL (e.g. referencing a variable or UDF in the header)\n in the \"dynamic\" case, we save the model SQL result as a temp table first, wherein the\n sql_header is included by the create_table_as macro.\n #}\n {{ get_insert_overwrite_merge_sql(target_relation, source_sql, dest_columns, [predicate], include_sql_header=true) }}\n\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp", "macro.dbt_bigquery.bq_copy_partitions", "macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.620585, "supported_languages": null}, "macro.dbt_bigquery.bq_dynamic_copy_partitions_insert_overwrite_sql": {"name": "bq_dynamic_copy_partitions_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_dynamic_copy_partitions_insert_overwrite_sql", "macro_sql": "{% macro bq_dynamic_copy_partitions_insert_overwrite_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions\n ) %}\n {# We run temp table creation in a separated script to move to partitions copy #}\n {%- call statement('create_tmp_relation_for_copy', language='sql') -%}\n {{ declare_dbt_max_partition(this, partition_by, sql, 'sql') +\n bq_create_table_as(partition_by.time_ingestion_partitioning, True, tmp_relation, sql, 'sql')\n }}\n {%- endcall %}\n {%- set partitions_sql -%}\n select distinct {{ partition_by.render_wrapped() }}\n from {{ tmp_relation }}\n {%- endset -%}\n {%- set partitions = run_query(partitions_sql).columns[0].values() -%}\n {# We copy the partitions #}\n {%- do bq_copy_partitions(tmp_relation, target_relation, partitions, partition_by) -%}\n -- Clean up the temp table\n drop table if exists {{ tmp_relation }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_bigquery.declare_dbt_max_partition", "macro.dbt_bigquery.bq_create_table_as", "macro.dbt.run_query", "macro.dbt_bigquery.bq_copy_partitions"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6220841, "supported_languages": null}, "macro.dbt_bigquery.bq_dynamic_insert_overwrite_sql": {"name": "bq_dynamic_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_dynamic_insert_overwrite_sql", "macro_sql": "{% macro bq_dynamic_insert_overwrite_sql(tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions) %}\n {%- if copy_partitions is true %}\n {{ bq_dynamic_copy_partitions_insert_overwrite_sql(tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions) }}\n {% else -%}\n {% set predicate -%}\n {{ partition_by.render_wrapped(alias='DBT_INTERNAL_DEST') }} in unnest(dbt_partitions_for_replacement)\n {%- endset %}\n\n {%- set source_sql -%}\n (\n select\n {% if partition_by.time_ingestion_partitioning -%}\n _PARTITIONTIME,\n {%- endif -%}\n * from {{ tmp_relation }}\n )\n {%- endset -%}\n\n -- generated script to merge partitions into {{ target_relation }}\n declare dbt_partitions_for_replacement array<{{ partition_by.data_type_for_partition() }}>;\n\n {# have we already created the temp table to check for schema changes? #}\n {% if not tmp_relation_exists %}\n {{ declare_dbt_max_partition(this, partition_by, sql) }}\n\n -- 1. create a temp table with model data\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, True, tmp_relation, sql, 'sql') }}\n {% else %}\n -- 1. temp table already exists, we used it to check for schema changes\n {% endif %}\n\n -- 2. define partitions to update\n set (dbt_partitions_for_replacement) = (\n select as struct\n array_agg(distinct {{ partition_by.render_wrapped() }})\n from {{ tmp_relation }}\n );\n\n -- 3. run the merge statement\n {{ get_insert_overwrite_merge_sql(target_relation, source_sql, dest_columns, [predicate]) }};\n\n -- 4. clean up the temp table\n drop table if exists {{ tmp_relation }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_dynamic_copy_partitions_insert_overwrite_sql", "macro.dbt_bigquery.declare_dbt_max_partition", "macro.dbt_bigquery.bq_create_table_as", "macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6242728, "supported_languages": null}, "macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql": {"name": "wrap_with_time_ingestion_partitioning_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro_sql": "{% macro wrap_with_time_ingestion_partitioning_sql(partition_time_exp, sql, is_nested) %}\n\n select {{ partition_time_exp['value'] }} as _partitiontime, * EXCEPT({{ partition_time_exp['field'] }}) from (\n {{ sql }}\n ){%- if not is_nested -%};{%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6272519, "supported_languages": null}, "macro.dbt_bigquery.create_ingestion_time_partitioned_table_as_sql": {"name": "create_ingestion_time_partitioned_table_as_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.create_ingestion_time_partitioned_table_as_sql", "macro_sql": "{% macro create_ingestion_time_partitioned_table_as_sql(temporary, relation, sql) -%}\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set raw_cluster_by = config.get('cluster_by', none) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {%- set partition_config = adapter.parse_partition_by(raw_partition_by) -%}\n\n {%- set columns = get_columns_with_types_in_query_sql(sql) -%}\n {%- set table_dest_columns_csv = columns_without_partition_fields_csv(partition_config, columns) -%}\n\n {{ sql_header if sql_header is not none }}\n\n {% set ingestion_time_partition_config_raw = fromjson(tojson(raw_partition_by)) %}\n {% do ingestion_time_partition_config_raw.update({'field':'_PARTITIONTIME'}) %}\n\n {%- set ingestion_time_partition_config = adapter.parse_partition_by(ingestion_time_partition_config_raw) -%}\n\n create or replace table {{ relation }} ({{table_dest_columns_csv}})\n {{ partition_by(ingestion_time_partition_config) }}\n {{ cluster_by(raw_cluster_by) }}\n {{ bigquery_table_options(config, model, temporary) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.get_columns_with_types_in_query_sql", "macro.dbt_bigquery.columns_without_partition_fields_csv", "macro.dbt_bigquery.partition_by", "macro.dbt_bigquery.cluster_by", "macro.dbt_bigquery.bigquery_table_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6292832, "supported_languages": null}, "macro.dbt_bigquery.get_quoted_with_types_csv": {"name": "get_quoted_with_types_csv", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.get_quoted_with_types_csv", "macro_sql": "{% macro get_quoted_with_types_csv(columns) %}\n {% set quoted = [] %}\n {% for col in columns -%}\n {%- do quoted.append(adapter.quote(col.name) ~ \" \" ~ col.data_type) -%}\n {%- endfor %}\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.630145, "supported_languages": null}, "macro.dbt_bigquery.columns_without_partition_fields_csv": {"name": "columns_without_partition_fields_csv", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.columns_without_partition_fields_csv", "macro_sql": "{% macro columns_without_partition_fields_csv(partition_config, columns) -%}\n {%- set columns_no_partition = partition_config.reject_partition_field_column(columns) -%}\n {% set columns_names = get_quoted_with_types_csv(columns_no_partition) %}\n {{ return(columns_names) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.get_quoted_with_types_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.630691, "supported_languages": null}, "macro.dbt_bigquery.bq_insert_into_ingestion_time_partitioned_table_sql": {"name": "bq_insert_into_ingestion_time_partitioned_table_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.bq_insert_into_ingestion_time_partitioned_table_sql", "macro_sql": "{% macro bq_insert_into_ingestion_time_partitioned_table_sql(target_relation, sql) -%}\n {%- set partition_by = config.get('partition_by', none) -%}\n {% set dest_columns = adapter.get_columns_in_relation(target_relation) %}\n {%- set dest_columns_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n insert into {{ target_relation }} (_partitiontime, {{ dest_columns_csv }})\n {{ wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by), sql, False) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.get_quoted_csv", "macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.631639, "supported_languages": null}, "macro.dbt_bigquery.get_columns_with_types_in_query_sql": {"name": "get_columns_with_types_in_query_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.get_columns_with_types_in_query_sql", "macro_sql": "{% macro get_columns_with_types_in_query_sql(select_sql) %}\n {% set sql %}\n select * from (\n {{ select_sql }}\n ) as __dbt_sbq\n where false\n limit 0\n {% endset %}\n {{ return(adapter.get_columns_in_select_sql(sql)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.632127, "supported_languages": null}, "macro.dbt_bigquery.bigquery__except": {"name": "bigquery__except", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt_bigquery.bigquery__except", "macro_sql": "{% macro bigquery__except() %}\n\n except distinct\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6323578, "supported_languages": null}, "macro.dbt_bigquery.bigquery__dateadd": {"name": "bigquery__dateadd", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt_bigquery.bigquery__dateadd", "macro_sql": "{% macro bigquery__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n datetime_add(\n cast( {{ from_date_or_timestamp }} as datetime),\n interval {{ interval }} {{ datepart }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.632816, "supported_languages": null}, "macro.dbt_bigquery.bigquery__current_timestamp": {"name": "bigquery__current_timestamp", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/timestamps.sql", "original_file_path": "macros/utils/timestamps.sql", "unique_id": "macro.dbt_bigquery.bigquery__current_timestamp", "macro_sql": "{% macro bigquery__current_timestamp() -%}\n current_timestamp()\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6332622, "supported_languages": null}, "macro.dbt_bigquery.bigquery__snapshot_string_as_time": {"name": "bigquery__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/timestamps.sql", "original_file_path": "macros/utils/timestamps.sql", "unique_id": "macro.dbt_bigquery.bigquery__snapshot_string_as_time", "macro_sql": "{% macro bigquery__snapshot_string_as_time(timestamp) -%}\n {%- set result = 'TIMESTAMP(\"' ~ timestamp ~ '\")' -%}\n {{ return(result) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6336582, "supported_languages": null}, "macro.dbt_bigquery.bigquery__current_timestamp_backcompat": {"name": "bigquery__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/timestamps.sql", "original_file_path": "macros/utils/timestamps.sql", "unique_id": "macro.dbt_bigquery.bigquery__current_timestamp_backcompat", "macro_sql": "{% macro bigquery__current_timestamp_backcompat() -%}\n current_timestamp\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.633834, "supported_languages": null}, "macro.dbt_bigquery.bigquery__intersect": {"name": "bigquery__intersect", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt_bigquery.bigquery__intersect", "macro_sql": "{% macro bigquery__intersect() %}\n\n intersect distinct\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6341639, "supported_languages": null}, "macro.dbt_bigquery.bigquery__escape_single_quotes": {"name": "bigquery__escape_single_quotes", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt_bigquery.bigquery__escape_single_quotes", "macro_sql": "{% macro bigquery__escape_single_quotes(expression) -%}\n{{ expression | replace(\"'\", \"\\\\'\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6345549, "supported_languages": null}, "macro.dbt_bigquery.bigquery__right": {"name": "bigquery__right", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt_bigquery.bigquery__right", "macro_sql": "{% macro bigquery__right(string_text, length_expression) %}\n\n case when {{ length_expression }} = 0\n then ''\n else\n substr(\n {{ string_text }},\n -1 * ({{ length_expression }})\n )\n end\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.635013, "supported_languages": null}, "macro.dbt_bigquery.bigquery__listagg": {"name": "bigquery__listagg", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt_bigquery.bigquery__listagg", "macro_sql": "{% macro bigquery__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n string_agg(\n {{ measure }},\n {{ delimiter_text }}\n {% if order_by_clause -%}\n {{ order_by_clause }}\n {%- endif %}\n {% if limit_num -%}\n limit {{ limit_num }}\n {%- endif %}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6357892, "supported_languages": null}, "macro.dbt_bigquery.bigquery__datediff": {"name": "bigquery__datediff", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt_bigquery.bigquery__datediff", "macro_sql": "{% macro bigquery__datediff(first_date, second_date, datepart) -%}\n\n {% if dbt_version[0] == 1 and dbt_version[2] >= 2 %}\n {{ return(dbt.datediff(first_date, second_date, datepart)) }}\n {% else %}\n\n datetime_diff(\n cast({{second_date}} as datetime),\n cast({{first_date}} as datetime),\n {{datepart}}\n )\n\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.636776, "supported_languages": null}, "macro.dbt_bigquery.bigquery__safe_cast": {"name": "bigquery__safe_cast", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt_bigquery.bigquery__safe_cast", "macro_sql": "{% macro bigquery__safe_cast(field, type) %}\n safe_cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6371331, "supported_languages": null}, "macro.dbt_bigquery.bigquery__hash": {"name": "bigquery__hash", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt_bigquery.bigquery__hash", "macro_sql": "{% macro bigquery__hash(field) -%}\n to_hex({{dbt.default__hash(field)}})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__hash"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.637472, "supported_languages": null}, "macro.dbt_bigquery.bigquery__position": {"name": "bigquery__position", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt_bigquery.bigquery__position", "macro_sql": "{% macro bigquery__position(substring_text, string_text) %}\n\n strpos(\n {{ string_text }},\n {{ substring_text }}\n\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.637846, "supported_languages": null}, "macro.dbt_bigquery.bigquery__array_concat": {"name": "bigquery__array_concat", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt_bigquery.bigquery__array_concat", "macro_sql": "{% macro bigquery__array_concat(array_1, array_2) -%}\n array_concat({{ array_1 }}, {{ array_2 }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6382, "supported_languages": null}, "macro.dbt_bigquery.bigquery__bool_or": {"name": "bigquery__bool_or", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt_bigquery.bigquery__bool_or", "macro_sql": "{% macro bigquery__bool_or(expression) -%}\n\n logical_or({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.638487, "supported_languages": null}, "macro.dbt_bigquery.bigquery__split_part": {"name": "bigquery__split_part", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt_bigquery.bigquery__split_part", "macro_sql": "{% macro bigquery__split_part(string_text, delimiter_text, part_number) %}\n\n {% if part_number >= 0 %}\n split(\n {{ string_text }},\n {{ delimiter_text }}\n )[safe_offset({{ part_number - 1 }})]\n {% else %}\n split(\n {{ string_text }},\n {{ delimiter_text }}\n )[safe_offset(\n length({{ string_text }})\n - length(\n replace({{ string_text }}, {{ delimiter_text }}, '')\n ) + 1\n )]\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6395578, "supported_languages": null}, "macro.dbt_bigquery.bigquery__date_trunc": {"name": "bigquery__date_trunc", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt_bigquery.bigquery__date_trunc", "macro_sql": "{% macro bigquery__date_trunc(datepart, date) -%}\n timestamp_trunc(\n cast({{date}} as timestamp),\n {{datepart}}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.639934, "supported_languages": null}, "macro.dbt_bigquery.bigquery__array_construct": {"name": "bigquery__array_construct", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt_bigquery.bigquery__array_construct", "macro_sql": "{% macro bigquery__array_construct(inputs, data_type) -%}\n {% if inputs|length > 0 %}\n [ {{ inputs|join(' , ') }} ]\n {% else %}\n ARRAY<{{data_type}}>[]\n {% endif %}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6405592, "supported_languages": null}, "macro.dbt_bigquery.bigquery__array_append": {"name": "bigquery__array_append", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt_bigquery.bigquery__array_append", "macro_sql": "{% macro bigquery__array_append(array, new_element) -%}\n {{ array_concat(array, array_construct([new_element])) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.array_concat", "macro.dbt.array_construct"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.640995, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_show_grant_sql": {"name": "bigquery__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_show_grant_sql", "macro_sql": "{% macro bigquery__get_show_grant_sql(relation) %}\n {% set location = adapter.get_dataset_location(relation) %}\n {% set relation = relation.incorporate(location=location) %}\n\n select privilege_type, grantee\n from {{ relation.information_schema(\"OBJECT_PRIVILEGES\") }}\n where object_schema = \"{{ relation.dataset }}\"\n and object_name = \"{{ relation.identifier }}\"\n -- filter out current user\n and split(grantee, ':')[offset(1)] != session_user()\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6421728, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_grant_sql": {"name": "bigquery__get_grant_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_grant_sql", "macro_sql": "\n\n\n{%- macro bigquery__get_grant_sql(relation, privilege, grantee) -%}\n grant `{{ privilege }}` on {{ relation.type }} {{ relation }} to {{ '\\\"' + grantee|join('\\\", \\\"') + '\\\"' }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.642693, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_revoke_sql": {"name": "bigquery__get_revoke_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_revoke_sql", "macro_sql": "{%- macro bigquery__get_revoke_sql(relation, privilege, grantee) -%}\n revoke `{{ privilege }}` on {{ relation.type }} {{ relation }} from {{ '\\\"' + grantee|join('\\\", \\\"') + '\\\"' }}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.643203, "supported_languages": null}, "macro.dbt_bigquery.bigquery__resolve_model_name": {"name": "bigquery__resolve_model_name", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt_bigquery.bigquery__resolve_model_name", "macro_sql": "{% macro bigquery__resolve_model_name(input_model_name) -%}\n {{ input_model_name | string | replace('`', '') | replace('\"', '\\\"') }}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.643699, "supported_languages": null}, "macro.dbt.run_hooks": {"name": "run_hooks", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.run_hooks", "macro_sql": "{% macro run_hooks(hooks, inside_transaction=True) %}\n {% for hook in hooks | selectattr('transaction', 'equalto', inside_transaction) %}\n {% if not inside_transaction and loop.first %}\n {% call statement(auto_begin=inside_transaction) %}\n commit;\n {% endcall %}\n {% endif %}\n {% set rendered = render(hook.get('sql')) | trim %}\n {% if (rendered | length) > 0 %}\n {% call statement(auto_begin=inside_transaction) %}\n {{ rendered }}\n {% endcall %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.645731, "supported_languages": null}, "macro.dbt.make_hook_config": {"name": "make_hook_config", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.make_hook_config", "macro_sql": "{% macro make_hook_config(sql, inside_transaction) %}\n {{ tojson({\"sql\": sql, \"transaction\": inside_transaction}) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.646362, "supported_languages": null}, "macro.dbt.before_begin": {"name": "before_begin", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.before_begin", "macro_sql": "{% macro before_begin(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.646685, "supported_languages": null}, "macro.dbt.in_transaction": {"name": "in_transaction", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.in_transaction", "macro_sql": "{% macro in_transaction(sql) %}\n {{ make_hook_config(sql, inside_transaction=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.646998, "supported_languages": null}, "macro.dbt.after_commit": {"name": "after_commit", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.after_commit", "macro_sql": "{% macro after_commit(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.647308, "supported_languages": null}, "macro.dbt.set_sql_header": {"name": "set_sql_header", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.set_sql_header", "macro_sql": "{% macro set_sql_header(config) -%}\n {{ config.set('sql_header', caller()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.647976, "supported_languages": null}, "macro.dbt.should_full_refresh": {"name": "should_full_refresh", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_full_refresh", "macro_sql": "{% macro should_full_refresh() %}\n {% set config_full_refresh = config.get('full_refresh') %}\n {% if config_full_refresh is none %}\n {% set config_full_refresh = flags.FULL_REFRESH %}\n {% endif %}\n {% do return(config_full_refresh) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.648622, "supported_languages": null}, "macro.dbt.should_store_failures": {"name": "should_store_failures", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_store_failures", "macro_sql": "{% macro should_store_failures() %}\n {% set config_store_failures = config.get('store_failures') %}\n {% if config_store_failures is none %}\n {% set config_store_failures = flags.STORE_FAILURES %}\n {% endif %}\n {% do return(config_store_failures) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.649276, "supported_languages": null}, "macro.dbt.snapshot_merge_sql": {"name": "snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.snapshot_merge_sql", "macro_sql": "{% macro snapshot_merge_sql(target, source, insert_cols) -%}\n {{ adapter.dispatch('snapshot_merge_sql', 'dbt')(target, source, insert_cols) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.650057, "supported_languages": null}, "macro.dbt.default__snapshot_merge_sql": {"name": "default__snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.default__snapshot_merge_sql", "macro_sql": "{% macro default__snapshot_merge_sql(target, source, insert_cols) -%}\n {%- set insert_cols_csv = insert_cols | join(', ') -%}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on DBT_INTERNAL_SOURCE.dbt_scd_id = DBT_INTERNAL_DEST.dbt_scd_id\n\n when matched\n and DBT_INTERNAL_DEST.dbt_valid_to is null\n and DBT_INTERNAL_SOURCE.dbt_change_type in ('update', 'delete')\n then update\n set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to\n\n when not matched\n and DBT_INTERNAL_SOURCE.dbt_change_type = 'insert'\n then insert ({{ insert_cols_csv }})\n values ({{ insert_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.650623, "supported_languages": null}, "macro.dbt.strategy_dispatch": {"name": "strategy_dispatch", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.strategy_dispatch", "macro_sql": "{% macro strategy_dispatch(name) -%}\n{% set original_name = name %}\n {% if '.' in name %}\n {% set package_name, name = name.split(\".\", 1) %}\n {% else %}\n {% set package_name = none %}\n {% endif %}\n\n {% if package_name is none %}\n {% set package_context = context %}\n {% elif package_name in context %}\n {% set package_context = context[package_name] %}\n {% else %}\n {% set error_msg %}\n Could not find package '{{package_name}}', called with '{{original_name}}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n\n {%- set search_name = 'snapshot_' ~ name ~ '_strategy' -%}\n\n {% if search_name not in package_context %}\n {% set error_msg %}\n The specified strategy macro '{{name}}' was not found in package '{{ package_name }}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n {{ return(package_context[search_name]) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.656332, "supported_languages": null}, "macro.dbt.snapshot_hash_arguments": {"name": "snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_hash_arguments", "macro_sql": "{% macro snapshot_hash_arguments(args) -%}\n {{ adapter.dispatch('snapshot_hash_arguments', 'dbt')(args) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6566908, "supported_languages": null}, "macro.dbt.default__snapshot_hash_arguments": {"name": "default__snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_hash_arguments", "macro_sql": "{% macro default__snapshot_hash_arguments(args) -%}\n md5({%- for arg in args -%}\n coalesce(cast({{ arg }} as varchar ), '')\n {% if not loop.last %} || '|' || {% endif %}\n {%- endfor -%})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.657168, "supported_languages": null}, "macro.dbt.snapshot_timestamp_strategy": {"name": "snapshot_timestamp_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_timestamp_strategy", "macro_sql": "{% macro snapshot_timestamp_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set primary_key = config['unique_key'] %}\n {% set updated_at = config['updated_at'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n\n {#/*\n The snapshot relation might not have an {{ updated_at }} value if the\n snapshot strategy is changed from `check` to `timestamp`. We\n should use a dbt-created column for the comparison in the snapshot\n table instead of assuming that the user-supplied {{ updated_at }}\n will be present in the historical data.\n\n See https://github.com/dbt-labs/dbt-core/issues/2350\n */ #}\n {% set row_changed_expr -%}\n ({{ snapshotted_rel }}.dbt_valid_from < {{ current_rel }}.{{ updated_at }})\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.658658, "supported_languages": null}, "macro.dbt.snapshot_string_as_time": {"name": "snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_string_as_time", "macro_sql": "{% macro snapshot_string_as_time(timestamp) -%}\n {{ adapter.dispatch('snapshot_string_as_time', 'dbt')(timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__snapshot_string_as_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.659016, "supported_languages": null}, "macro.dbt.default__snapshot_string_as_time": {"name": "default__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_string_as_time", "macro_sql": "{% macro default__snapshot_string_as_time(timestamp) %}\n {% do exceptions.raise_not_implemented(\n 'snapshot_string_as_time macro not implemented for adapter '+adapter.type()\n ) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.659393, "supported_languages": null}, "macro.dbt.snapshot_check_all_get_existing_columns": {"name": "snapshot_check_all_get_existing_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_all_get_existing_columns", "macro_sql": "{% macro snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) -%}\n {%- if not target_exists -%}\n {#-- no table yet -> return whatever the query does --#}\n {{ return((false, query_columns)) }}\n {%- endif -%}\n\n {#-- handle any schema changes --#}\n {%- set target_relation = adapter.get_relation(database=node.database, schema=node.schema, identifier=node.alias) -%}\n\n {% if check_cols_config == 'all' %}\n {%- set query_columns = get_columns_in_query(node['compiled_code']) -%}\n\n {% elif check_cols_config is iterable and (check_cols_config | length) > 0 %}\n {#-- query for proper casing/quoting, to support comparison below --#}\n {%- set select_check_cols_from_target -%}\n select {{ check_cols_config | join(', ') }} from ({{ node['compiled_code'] }}) subq\n {%- endset -%}\n {% set query_columns = get_columns_in_query(select_check_cols_from_target) %}\n\n {% else %}\n {% do exceptions.raise_compiler_error(\"Invalid value for 'check_cols': \" ~ check_cols_config) %}\n {% endif %}\n\n {%- set existing_cols = adapter.get_columns_in_relation(target_relation) | map(attribute = 'name') | list -%}\n {%- set ns = namespace() -%} {#-- handle for-loop scoping with a namespace --#}\n {%- set ns.column_added = false -%}\n\n {%- set intersection = [] -%}\n {%- for col in query_columns -%}\n {%- if col in existing_cols -%}\n {%- do intersection.append(adapter.quote(col)) -%}\n {%- else -%}\n {% set ns.column_added = true %}\n {%- endif -%}\n {%- endfor -%}\n {{ return((ns.column_added, intersection)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6622632, "supported_languages": null}, "macro.dbt.snapshot_check_strategy": {"name": "snapshot_check_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_strategy", "macro_sql": "{% macro snapshot_check_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set check_cols_config = config['check_cols'] %}\n {% set primary_key = config['unique_key'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n {% set updated_at = config.get('updated_at', snapshot_get_time()) %}\n\n {% set column_added = false %}\n\n {% set column_added, check_cols = snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) %}\n\n {%- set row_changed_expr -%}\n (\n {%- if column_added -%}\n {{ get_true_sql() }}\n {%- else -%}\n {%- for col in check_cols -%}\n {{ snapshotted_rel }}.{{ col }} != {{ current_rel }}.{{ col }}\n or\n (\n (({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null))\n or\n ((not {{ snapshotted_rel }}.{{ col }} is null) and ({{ current_rel }}.{{ col }} is null))\n )\n {%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n {%- endif -%}\n )\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time", "macro.dbt.snapshot_check_all_get_existing_columns", "macro.dbt.get_true_sql", "macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.665709, "supported_languages": null}, "macro.dbt.create_columns": {"name": "create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.create_columns", "macro_sql": "{% macro create_columns(relation, columns) %}\n {{ adapter.dispatch('create_columns', 'dbt')(relation, columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.671211, "supported_languages": null}, "macro.dbt.default__create_columns": {"name": "default__create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__create_columns", "macro_sql": "{% macro default__create_columns(relation, columns) %}\n {% for column in columns %}\n {% call statement() %}\n alter table {{ relation }} add column \"{{ column.name }}\" {{ column.data_type }};\n {% endcall %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6718268, "supported_languages": null}, "macro.dbt.post_snapshot": {"name": "post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.post_snapshot", "macro_sql": "{% macro post_snapshot(staging_relation) %}\n {{ adapter.dispatch('post_snapshot', 'dbt')(staging_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.672199, "supported_languages": null}, "macro.dbt.default__post_snapshot": {"name": "default__post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__post_snapshot", "macro_sql": "{% macro default__post_snapshot(staging_relation) %}\n {# no-op #}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.672402, "supported_languages": null}, "macro.dbt.get_true_sql": {"name": "get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.get_true_sql", "macro_sql": "{% macro get_true_sql() %}\n {{ adapter.dispatch('get_true_sql', 'dbt')() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_true_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.672731, "supported_languages": null}, "macro.dbt.default__get_true_sql": {"name": "default__get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__get_true_sql", "macro_sql": "{% macro default__get_true_sql() %}\n {{ return('TRUE') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.672992, "supported_languages": null}, "macro.dbt.snapshot_staging_table": {"name": "snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.snapshot_staging_table", "macro_sql": "{% macro snapshot_staging_table(strategy, source_sql, target_relation) -%}\n {{ adapter.dispatch('snapshot_staging_table', 'dbt')(strategy, source_sql, target_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_staging_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.673441, "supported_languages": null}, "macro.dbt.default__snapshot_staging_table": {"name": "default__snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__snapshot_staging_table", "macro_sql": "{% macro default__snapshot_staging_table(strategy, source_sql, target_relation) -%}\n\n with snapshot_query as (\n\n {{ source_sql }}\n\n ),\n\n snapshotted_data as (\n\n select *,\n {{ strategy.unique_key }} as dbt_unique_key\n\n from {{ target_relation }}\n where dbt_valid_to is null\n\n ),\n\n insertions_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to,\n {{ strategy.scd_id }} as dbt_scd_id\n\n from snapshot_query\n ),\n\n updates_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n {{ strategy.updated_at }} as dbt_valid_to\n\n from snapshot_query\n ),\n\n {%- if strategy.invalidate_hard_deletes %}\n\n deletes_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key\n from snapshot_query\n ),\n {% endif %}\n\n insertions as (\n\n select\n 'insert' as dbt_change_type,\n source_data.*\n\n from insertions_source_data as source_data\n left outer join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where snapshotted_data.dbt_unique_key is null\n or (\n snapshotted_data.dbt_unique_key is not null\n and (\n {{ strategy.row_changed }}\n )\n )\n\n ),\n\n updates as (\n\n select\n 'update' as dbt_change_type,\n source_data.*,\n snapshotted_data.dbt_scd_id\n\n from updates_source_data as source_data\n join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where (\n {{ strategy.row_changed }}\n )\n )\n\n {%- if strategy.invalidate_hard_deletes -%}\n ,\n\n deletes as (\n\n select\n 'delete' as dbt_change_type,\n source_data.*,\n {{ snapshot_get_time() }} as dbt_valid_from,\n {{ snapshot_get_time() }} as dbt_updated_at,\n {{ snapshot_get_time() }} as dbt_valid_to,\n snapshotted_data.dbt_scd_id\n\n from snapshotted_data\n left join deletes_source_data as source_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where source_data.dbt_unique_key is null\n )\n {%- endif %}\n\n select * from insertions\n union all\n select * from updates\n {%- if strategy.invalidate_hard_deletes %}\n union all\n select * from deletes\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.675234, "supported_languages": null}, "macro.dbt.build_snapshot_table": {"name": "build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_table", "macro_sql": "{% macro build_snapshot_table(strategy, sql) -%}\n {{ adapter.dispatch('build_snapshot_table', 'dbt')(strategy, sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__build_snapshot_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.675652, "supported_languages": null}, "macro.dbt.default__build_snapshot_table": {"name": "default__build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__build_snapshot_table", "macro_sql": "{% macro default__build_snapshot_table(strategy, sql) %}\n\n select *,\n {{ strategy.scd_id }} as dbt_scd_id,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to\n from (\n {{ sql }}\n ) sbq\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6761951, "supported_languages": null}, "macro.dbt.build_snapshot_staging_table": {"name": "build_snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_staging_table", "macro_sql": "{% macro build_snapshot_staging_table(strategy, sql, target_relation) %}\n {% set temp_relation = make_temp_relation(target_relation) %}\n\n {% set select = snapshot_staging_table(strategy, sql, target_relation) %}\n\n {% call statement('build_snapshot_staging_relation') %}\n {{ create_table_as(True, temp_relation, select) }}\n {% endcall %}\n\n {% do return(temp_relation) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_temp_relation", "macro.dbt.snapshot_staging_table", "macro.dbt.statement", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.677212, "supported_languages": null}, "macro.dbt.materialization_snapshot_default": {"name": "materialization_snapshot_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot.sql", "original_file_path": "macros/materializations/snapshots/snapshot.sql", "unique_id": "macro.dbt.materialization_snapshot_default", "macro_sql": "{% materialization snapshot, default %}\n {%- set config = model['config'] -%}\n\n {%- set target_table = model.get('alias', model.get('name')) -%}\n\n {%- set strategy_name = config.get('strategy') -%}\n {%- set unique_key = config.get('unique_key') %}\n -- grab current tables grants config for comparision later on\n {%- set grant_config = config.get('grants') -%}\n\n {% set target_relation_exists, target_relation = get_or_create_relation(\n database=model.database,\n schema=model.schema,\n identifier=target_table,\n type='table') -%}\n\n {%- if not target_relation.is_table -%}\n {% do exceptions.relation_wrong_type(target_relation, 'table') %}\n {%- endif -%}\n\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set strategy_macro = strategy_dispatch(strategy_name) %}\n {% set strategy = strategy_macro(model, \"snapshotted_data\", \"source_data\", config, target_relation_exists) %}\n\n {% if not target_relation_exists %}\n\n {% set build_sql = build_snapshot_table(strategy, model['compiled_code']) %}\n {% set final_sql = create_table_as(False, target_relation, build_sql) %}\n\n {% else %}\n\n {{ adapter.valid_snapshot_target(target_relation) }}\n\n {% set staging_table = build_snapshot_staging_table(strategy, sql, target_relation) %}\n\n -- this may no-op if the database does not require column expansion\n {% do adapter.expand_target_column_types(from_relation=staging_table,\n to_relation=target_relation) %}\n\n {% set missing_columns = adapter.get_missing_columns(staging_table, target_relation)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% do create_columns(target_relation, missing_columns) %}\n\n {% set source_columns = adapter.get_columns_in_relation(staging_table)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% set quoted_source_columns = [] %}\n {% for column in source_columns %}\n {% do quoted_source_columns.append(adapter.quote(column.name)) %}\n {% endfor %}\n\n {% set final_sql = snapshot_merge_sql(\n target = target_relation,\n source = staging_table,\n insert_cols = quoted_source_columns\n )\n %}\n\n {% endif %}\n\n {% call statement('main') %}\n {{ final_sql }}\n {% endcall %}\n\n {% set should_revoke = should_revoke(target_relation_exists, full_refresh_mode=False) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if not target_relation_exists %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {% if staging_table is defined %}\n {% do post_snapshot(staging_table) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.get_or_create_relation", "macro.dbt.run_hooks", "macro.dbt.strategy_dispatch", "macro.dbt.build_snapshot_table", "macro.dbt.create_table_as", "macro.dbt.build_snapshot_staging_table", "macro.dbt.create_columns", "macro.dbt.snapshot_merge_sql", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes", "macro.dbt.post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.687744, "supported_languages": ["sql"]}, "macro.dbt.materialization_test_default": {"name": "materialization_test_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/test.sql", "original_file_path": "macros/materializations/tests/test.sql", "unique_id": "macro.dbt.materialization_test_default", "macro_sql": "{%- materialization test, default -%}\n\n {% set relations = [] %}\n\n {% if should_store_failures() %}\n\n {% set identifier = model['alias'] %}\n {% set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n {% set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database, type='table') -%} %}\n\n {% if old_relation %}\n {% do adapter.drop_relation(old_relation) %}\n {% endif %}\n\n {% call statement(auto_begin=True) %}\n {{ create_table_as(False, target_relation, sql) }}\n {% endcall %}\n\n {% do relations.append(target_relation) %}\n\n {% set main_sql %}\n select *\n from {{ target_relation }}\n {% endset %}\n\n {{ adapter.commit() }}\n\n {% else %}\n\n {% set main_sql = sql %}\n\n {% endif %}\n\n {% set limit = config.get('limit') %}\n {% set fail_calc = config.get('fail_calc') %}\n {% set warn_if = config.get('warn_if') %}\n {% set error_if = config.get('error_if') %}\n\n {% call statement('main', fetch_result=True) -%}\n\n {{ get_test_sql(main_sql, fail_calc, warn_if, error_if, limit)}}\n\n {%- endcall %}\n\n {{ return({'relations': relations}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.should_store_failures", "macro.dbt.statement", "macro.dbt.create_table_as", "macro.dbt.get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6917381, "supported_languages": ["sql"]}, "macro.dbt.get_test_sql": {"name": "get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.get_test_sql", "macro_sql": "{% macro get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n {{ adapter.dispatch('get_test_sql', 'dbt')(main_sql, fail_calc, warn_if, error_if, limit) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.692568, "supported_languages": null}, "macro.dbt.default__get_test_sql": {"name": "default__get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.default__get_test_sql", "macro_sql": "{% macro default__get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n select\n {{ fail_calc }} as failures,\n {{ fail_calc }} {{ warn_if }} as should_warn,\n {{ fail_calc }} {{ error_if }} as should_error\n from (\n {{ main_sql }}\n {{ \"limit \" ~ limit if limit != none }}\n ) dbt_internal_test\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6932192, "supported_languages": null}, "macro.dbt.get_where_subquery": {"name": "get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.get_where_subquery", "macro_sql": "{% macro get_where_subquery(relation) -%}\n {% do return(adapter.dispatch('get_where_subquery', 'dbt')(relation)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_where_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.693915, "supported_languages": null}, "macro.dbt.default__get_where_subquery": {"name": "default__get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.default__get_where_subquery", "macro_sql": "{% macro default__get_where_subquery(relation) -%}\n {% set where = config.get('where', '') %}\n {% if where %}\n {%- set filtered -%}\n (select * from {{ relation }} where {{ where }}) dbt_subquery\n {%- endset -%}\n {% do return(filtered) %}\n {%- else -%}\n {% do return(relation) %}\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.694726, "supported_languages": null}, "macro.dbt.get_quoted_csv": {"name": "get_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_quoted_csv", "macro_sql": "{% macro get_quoted_csv(column_names) %}\n\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote(col)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.697245, "supported_languages": null}, "macro.dbt.diff_columns": {"name": "diff_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_columns", "macro_sql": "{% macro diff_columns(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% set source_names = source_columns | map(attribute = 'column') | list %}\n {% set target_names = target_columns | map(attribute = 'column') | list %}\n\n {# --check whether the name attribute exists in the target - this does not perform a data type check #}\n {% for sc in source_columns %}\n {% if sc.name not in target_names %}\n {{ result.append(sc) }}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.698401, "supported_languages": null}, "macro.dbt.diff_column_data_types": {"name": "diff_column_data_types", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_column_data_types", "macro_sql": "{% macro diff_column_data_types(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% for sc in source_columns %}\n {% set tc = target_columns | selectattr(\"name\", \"equalto\", sc.name) | list | first %}\n {% if tc %}\n {% if sc.data_type != tc.data_type and not sc.can_expand_to(other_column=tc) %}\n {{ result.append( { 'column_name': tc.name, 'new_type': sc.data_type } ) }}\n {% endif %}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.6997912, "supported_languages": null}, "macro.dbt.get_merge_update_columns": {"name": "get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_merge_update_columns", "macro_sql": "{% macro get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {{ return(adapter.dispatch('get_merge_update_columns', 'dbt')(merge_update_columns, merge_exclude_columns, dest_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.700292, "supported_languages": null}, "macro.dbt.default__get_merge_update_columns": {"name": "default__get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.default__get_merge_update_columns", "macro_sql": "{% macro default__get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {%- set default_cols = dest_columns | map(attribute=\"quoted\") | list -%}\n\n {%- if merge_update_columns and merge_exclude_columns -%}\n {{ exceptions.raise_compiler_error(\n 'Model cannot specify merge_update_columns and merge_exclude_columns. Please update model to use only one config'\n )}}\n {%- elif merge_update_columns -%}\n {%- set update_columns = merge_update_columns -%}\n {%- elif merge_exclude_columns -%}\n {%- set update_columns = [] -%}\n {%- for column in dest_columns -%}\n {% if column.column | lower not in merge_exclude_columns | map(\"lower\") | list %}\n {%- do update_columns.append(column.quoted) -%}\n {% endif %}\n {%- endfor -%}\n {%- else -%}\n {%- set update_columns = default_cols -%}\n {%- endif -%}\n\n {{ return(update_columns) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.701802, "supported_languages": null}, "macro.dbt.get_merge_sql": {"name": "get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_merge_sql", "macro_sql": "{% macro get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n -- back compat for old kwarg name\n {% set incremental_predicates = kwargs.get('predicates', incremental_predicates) %}\n {{ adapter.dispatch('get_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.710757, "supported_languages": null}, "macro.dbt.default__get_merge_sql": {"name": "default__get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_merge_sql", "macro_sql": "{% macro default__get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n {%- set predicates = [] if incremental_predicates is none else [] + incremental_predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set merge_update_columns = config.get('merge_update_columns') -%}\n {%- set merge_exclude_columns = config.get('merge_exclude_columns') -%}\n {%- set update_columns = get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not mapping and unique_key is not string %}\n {% for key in unique_key %}\n {% set this_key_match %}\n DBT_INTERNAL_SOURCE.{{ key }} = DBT_INTERNAL_DEST.{{ key }}\n {% endset %}\n {% do predicates.append(this_key_match) %}\n {% endfor %}\n {% else %}\n {% set unique_key_match %}\n DBT_INTERNAL_SOURCE.{{ unique_key }} = DBT_INTERNAL_DEST.{{ unique_key }}\n {% endset %}\n {% do predicates.append(unique_key_match) %}\n {% endif %}\n {% else %}\n {% do predicates.append('FALSE') %}\n {% endif %}\n\n {{ sql_header if sql_header is not none }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on {{\"(\" ~ predicates | join(\") and (\") ~ \")\"}}\n\n {% if unique_key %}\n when matched then update set\n {% for column_name in update_columns -%}\n {{ column_name }} = DBT_INTERNAL_SOURCE.{{ column_name }}\n {%- if not loop.last %}, {%- endif %}\n {%- endfor %}\n {% endif %}\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv", "macro.dbt.get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.714078, "supported_languages": null}, "macro.dbt.get_delete_insert_merge_sql": {"name": "get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_delete_insert_merge_sql", "macro_sql": "{% macro get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n {{ adapter.dispatch('get_delete_insert_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.714591, "supported_languages": null}, "macro.dbt.default__get_delete_insert_merge_sql": {"name": "default__get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_delete_insert_merge_sql", "macro_sql": "{% macro default__get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not string %}\n delete from {{target }}\n using {{ source }}\n where (\n {% for key in unique_key %}\n {{ source }}.{{ key }} = {{ target }}.{{ key }}\n {{ \"and \" if not loop.last}}\n {% endfor %}\n {% if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {% endif %}\n );\n {% else %}\n delete from {{ target }}\n where (\n {{ unique_key }}) in (\n select ({{ unique_key }})\n from {{ source }}\n )\n {%- if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {%- endif -%};\n\n {% endif %}\n {% endif %}\n\n insert into {{ target }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ source }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.716547, "supported_languages": null}, "macro.dbt.get_insert_overwrite_merge_sql": {"name": "get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_insert_overwrite_merge_sql", "macro_sql": "{% macro get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header=false) -%}\n {{ adapter.dispatch('get_insert_overwrite_merge_sql', 'dbt')(target, source, dest_columns, predicates, include_sql_header) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.717141, "supported_languages": null}, "macro.dbt.default__get_insert_overwrite_merge_sql": {"name": "default__get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_insert_overwrite_merge_sql", "macro_sql": "{% macro default__get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header) -%}\n {#-- The only time include_sql_header is True: --#}\n {#-- BigQuery + insert_overwrite strategy + \"static\" partitions config --#}\n {#-- We should consider including the sql header at the materialization level instead --#}\n\n {%- set predicates = [] if predicates is none else [] + predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none and include_sql_header }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on FALSE\n\n when not matched by source\n {% if predicates %} and {{ predicates | join(' and ') }} {% endif %}\n then delete\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7189639, "supported_languages": null}, "macro.dbt.is_incremental": {"name": "is_incremental", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/is_incremental.sql", "original_file_path": "macros/materializations/models/incremental/is_incremental.sql", "unique_id": "macro.dbt.is_incremental", "macro_sql": "{% macro is_incremental() %}\n {#-- do not run introspective queries in parsing #}\n {% if not execute %}\n {{ return(False) }}\n {% else %}\n {% set relation = adapter.get_relation(this.database, this.schema, this.table) %}\n {{ return(relation is not none\n and relation.type == 'table'\n and model.config.materialized == 'incremental'\n and not should_full_refresh()) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.720101, "supported_languages": null}, "macro.dbt.get_incremental_append_sql": {"name": "get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_append_sql", "macro_sql": "{% macro get_incremental_append_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_append_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.722086, "supported_languages": null}, "macro.dbt.default__get_incremental_append_sql": {"name": "default__get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_append_sql", "macro_sql": "{% macro default__get_incremental_append_sql(arg_dict) %}\n\n {% do return(get_insert_into_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_into_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7225559, "supported_languages": null}, "macro.dbt.get_incremental_delete_insert_sql": {"name": "get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_delete_insert_sql", "macro_sql": "{% macro get_incremental_delete_insert_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_delete_insert_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_delete_insert_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7229319, "supported_languages": null}, "macro.dbt.default__get_incremental_delete_insert_sql": {"name": "default__get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_delete_insert_sql", "macro_sql": "{% macro default__get_incremental_delete_insert_sql(arg_dict) %}\n\n {% do return(get_delete_insert_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.723531, "supported_languages": null}, "macro.dbt.get_incremental_merge_sql": {"name": "get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_merge_sql", "macro_sql": "{% macro get_incremental_merge_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_merge_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.723916, "supported_languages": null}, "macro.dbt.default__get_incremental_merge_sql": {"name": "default__get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_merge_sql", "macro_sql": "{% macro default__get_incremental_merge_sql(arg_dict) %}\n\n {% do return(get_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7245271, "supported_languages": null}, "macro.dbt.get_incremental_insert_overwrite_sql": {"name": "get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_insert_overwrite_sql", "macro_sql": "{% macro get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_insert_overwrite_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.724917, "supported_languages": null}, "macro.dbt.default__get_incremental_insert_overwrite_sql": {"name": "default__get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_insert_overwrite_sql", "macro_sql": "{% macro default__get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {% do return(get_insert_overwrite_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.725483, "supported_languages": null}, "macro.dbt.get_incremental_default_sql": {"name": "get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_default_sql", "macro_sql": "{% macro get_incremental_default_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_default_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_default_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7258828, "supported_languages": null}, "macro.dbt.default__get_incremental_default_sql": {"name": "default__get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_default_sql", "macro_sql": "{% macro default__get_incremental_default_sql(arg_dict) %}\n\n {% do return(get_incremental_append_sql(arg_dict)) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.726215, "supported_languages": null}, "macro.dbt.get_insert_into_sql": {"name": "get_insert_into_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_insert_into_sql", "macro_sql": "{% macro get_insert_into_sql(target_relation, temp_relation, dest_columns) %}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n insert into {{ target_relation }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ temp_relation }}\n )\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.726804, "supported_languages": null}, "macro.dbt.materialization_incremental_default": {"name": "materialization_incremental_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/incremental.sql", "original_file_path": "macros/materializations/models/incremental/incremental.sql", "unique_id": "macro.dbt.materialization_incremental_default", "macro_sql": "{% materialization incremental, default -%}\n\n -- relations\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') -%}\n {%- set temp_relation = make_temp_relation(target_relation)-%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation)-%}\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n\n -- configs\n {%- set unique_key = config.get('unique_key') -%}\n {%- set full_refresh_mode = (should_full_refresh() or existing_relation.is_view) -%}\n {%- set on_schema_change = incremental_validate_on_schema_change(config.get('on_schema_change'), default='ignore') -%}\n\n -- the temp_ and backup_ relations should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation. This has to happen before\n -- BEGIN, in a separate transaction\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation)-%}\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set to_drop = [] %}\n\n {% if existing_relation is none %}\n {% set build_sql = get_create_table_as_sql(False, target_relation, sql) %}\n {% elif full_refresh_mode %}\n {% set build_sql = get_create_table_as_sql(False, intermediate_relation, sql) %}\n {% set need_swap = true %}\n {% else %}\n {% do run_query(get_create_table_as_sql(True, temp_relation, sql)) %}\n {% do adapter.expand_target_column_types(\n from_relation=temp_relation,\n to_relation=target_relation) %}\n {#-- Process schema changes. Returns dict of changes if successful. Use source columns for upserting/merging --#}\n {% set dest_columns = process_schema_changes(on_schema_change, temp_relation, existing_relation) %}\n {% if not dest_columns %}\n {% set dest_columns = adapter.get_columns_in_relation(existing_relation) %}\n {% endif %}\n\n {#-- Get the incremental_strategy, the macro to use for the strategy, and build the sql --#}\n {% set incremental_strategy = config.get('incremental_strategy') or 'default' %}\n {% set incremental_predicates = config.get('predicates', none) or config.get('incremental_predicates', none) %}\n {% set strategy_sql_macro_func = adapter.get_incremental_strategy_macro(context, incremental_strategy) %}\n {% set strategy_arg_dict = ({'target_relation': target_relation, 'temp_relation': temp_relation, 'unique_key': unique_key, 'dest_columns': dest_columns, 'incremental_predicates': incremental_predicates }) %}\n {% set build_sql = strategy_sql_macro_func(strategy_arg_dict) %}\n\n {% endif %}\n\n {% call statement(\"main\") %}\n {{ build_sql }}\n {% endcall %}\n\n {% if need_swap %}\n {% do adapter.rename_relation(target_relation, backup_relation) %}\n {% do adapter.rename_relation(intermediate_relation, target_relation) %}\n {% do to_drop.append(backup_relation) %}\n {% endif %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if existing_relation is none or existing_relation.is_view or should_full_refresh() %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {% do adapter.commit() %}\n\n {% for rel in to_drop %}\n {% do adapter.drop_relation(rel) %}\n {% endfor %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_temp_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.should_full_refresh", "macro.dbt.incremental_validate_on_schema_change", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.get_create_table_as_sql", "macro.dbt.run_query", "macro.dbt.process_schema_changes", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7360692, "supported_languages": ["sql"]}, "macro.dbt.incremental_validate_on_schema_change": {"name": "incremental_validate_on_schema_change", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.incremental_validate_on_schema_change", "macro_sql": "{% macro incremental_validate_on_schema_change(on_schema_change, default='ignore') %}\n\n {% if on_schema_change not in ['sync_all_columns', 'append_new_columns', 'fail', 'ignore'] %}\n\n {% set log_message = 'Invalid value for on_schema_change (%s) specified. Setting default value of %s.' % (on_schema_change, default) %}\n {% do log(log_message) %}\n\n {{ return(default) }}\n\n {% else %}\n\n {{ return(on_schema_change) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.744585, "supported_languages": null}, "macro.dbt.check_for_schema_changes": {"name": "check_for_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.check_for_schema_changes", "macro_sql": "{% macro check_for_schema_changes(source_relation, target_relation) %}\n\n {% set schema_changed = False %}\n\n {%- set source_columns = adapter.get_columns_in_relation(source_relation) -%}\n {%- set target_columns = adapter.get_columns_in_relation(target_relation) -%}\n {%- set source_not_in_target = diff_columns(source_columns, target_columns) -%}\n {%- set target_not_in_source = diff_columns(target_columns, source_columns) -%}\n\n {% set new_target_types = diff_column_data_types(source_columns, target_columns) %}\n\n {% if source_not_in_target != [] %}\n {% set schema_changed = True %}\n {% elif target_not_in_source != [] or new_target_types != [] %}\n {% set schema_changed = True %}\n {% elif new_target_types != [] %}\n {% set schema_changed = True %}\n {% endif %}\n\n {% set changes_dict = {\n 'schema_changed': schema_changed,\n 'source_not_in_target': source_not_in_target,\n 'target_not_in_source': target_not_in_source,\n 'source_columns': source_columns,\n 'target_columns': target_columns,\n 'new_target_types': new_target_types\n } %}\n\n {% set msg %}\n In {{ target_relation }}:\n Schema changed: {{ schema_changed }}\n Source columns not in target: {{ source_not_in_target }}\n Target columns not in source: {{ target_not_in_source }}\n New column types: {{ new_target_types }}\n {% endset %}\n\n {% do log(msg) %}\n\n {{ return(changes_dict) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.diff_columns", "macro.dbt.diff_column_data_types"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.747099, "supported_languages": null}, "macro.dbt.sync_column_schemas": {"name": "sync_column_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.sync_column_schemas", "macro_sql": "{% macro sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {%- set add_to_target_arr = schema_changes_dict['source_not_in_target'] -%}\n\n {%- if on_schema_change == 'append_new_columns'-%}\n {%- if add_to_target_arr | length > 0 -%}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, none) -%}\n {%- endif -%}\n\n {% elif on_schema_change == 'sync_all_columns' %}\n {%- set remove_from_target_arr = schema_changes_dict['target_not_in_source'] -%}\n {%- set new_target_types = schema_changes_dict['new_target_types'] -%}\n\n {% if add_to_target_arr | length > 0 or remove_from_target_arr | length > 0 %}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, remove_from_target_arr) -%}\n {% endif %}\n\n {% if new_target_types != [] %}\n {% for ntt in new_target_types %}\n {% set column_name = ntt['column_name'] %}\n {% set new_type = ntt['new_type'] %}\n {% do alter_column_type(target_relation, column_name, new_type) %}\n {% endfor %}\n {% endif %}\n\n {% endif %}\n\n {% set schema_change_message %}\n In {{ target_relation }}:\n Schema change approach: {{ on_schema_change }}\n Columns added: {{ add_to_target_arr }}\n Columns removed: {{ remove_from_target_arr }}\n Data types changed: {{ new_target_types }}\n {% endset %}\n\n {% do log(schema_change_message) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.alter_relation_add_remove_columns", "macro.dbt.alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.749575, "supported_languages": null}, "macro.dbt.process_schema_changes": {"name": "process_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.process_schema_changes", "macro_sql": "{% macro process_schema_changes(on_schema_change, source_relation, target_relation) %}\n\n {% if on_schema_change == 'ignore' %}\n\n {{ return({}) }}\n\n {% else %}\n\n {% set schema_changes_dict = check_for_schema_changes(source_relation, target_relation) %}\n\n {% if schema_changes_dict['schema_changed'] %}\n\n {% if on_schema_change == 'fail' %}\n\n {% set fail_msg %}\n The source and target schemas on this incremental model are out of sync!\n They can be reconciled in several ways:\n - set the `on_schema_change` config to either append_new_columns or sync_all_columns, depending on your situation.\n - Re-run the incremental model with `full_refresh: True` to update the target schema.\n - update the schema manually and re-run the process.\n\n Additional troubleshooting context:\n Source columns not in target: {{ schema_changes_dict['source_not_in_target'] }}\n Target columns not in source: {{ schema_changes_dict['target_not_in_source'] }}\n New column types: {{ schema_changes_dict['new_target_types'] }}\n {% endset %}\n\n {% do exceptions.raise_compiler_error(fail_msg) %}\n\n {# -- unless we ignore, run the sync operation per the config #}\n {% else %}\n\n {% do sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {% endif %}\n\n {% endif %}\n\n {{ return(schema_changes_dict['source_columns']) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.check_for_schema_changes", "macro.dbt.sync_column_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7513359, "supported_languages": null}, "macro.dbt.materialization_table_default": {"name": "materialization_table_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/table.sql", "original_file_path": "macros/materializations/models/table/table.sql", "unique_id": "macro.dbt.materialization_table_default", "macro_sql": "{% materialization table, default %}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') %}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n See ../view/view.sql for more information about this relation.\n */\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_table_as_sql(False, intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% do create_indexes(target_relation) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n -- finally, drop the existing/backup relation after the commit\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.get_create_table_as_sql", "macro.dbt.create_indexes", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.756095, "supported_languages": ["sql"]}, "macro.dbt.get_create_table_as_sql": {"name": "get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.get_create_table_as_sql", "macro_sql": "{% macro get_create_table_as_sql(temporary, relation, sql) -%}\n {{ adapter.dispatch('get_create_table_as_sql', 'dbt')(temporary, relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_table_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.757004, "supported_languages": null}, "macro.dbt.default__get_create_table_as_sql": {"name": "default__get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.default__get_create_table_as_sql", "macro_sql": "{% macro default__get_create_table_as_sql(temporary, relation, sql) -%}\n {{ return(create_table_as(temporary, relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.757399, "supported_languages": null}, "macro.dbt.create_table_as": {"name": "create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.create_table_as", "macro_sql": "{% macro create_table_as(temporary, relation, compiled_code, language='sql') -%}\n {# backward compatibility for create_table_as that does not support language #}\n {% if language == \"sql\" %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code)}}\n {% else %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code, language) }}\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.758303, "supported_languages": null}, "macro.dbt.default__create_table_as": {"name": "default__create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.default__create_table_as", "macro_sql": "{% macro default__create_table_as(temporary, relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create {% if temporary: -%}temporary{%- endif %} table\n {{ relation.include(database=(not temporary), schema=(not temporary)) }}\n as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.75916, "supported_languages": null}, "macro.dbt.materialization_view_default": {"name": "materialization_view_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/view.sql", "original_file_path": "macros/materializations/models/view/view.sql", "unique_id": "macro.dbt.materialization_view_default", "macro_sql": "{%- materialization view, default -%}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='view') -%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n This relation (probably) doesn't exist yet. If it does exist, it's a leftover from\n a previous run, and we're going to try to drop it immediately. At the end of this\n materialization, we're going to rename the \"existing_relation\" to this identifier,\n and then we're going to drop it. In order to make sure we run the correct one of:\n - drop view ...\n - drop table ...\n\n We need to set the type of this relation to be the type of the existing_relation, if it exists,\n or else \"view\" as a sane default if it does not. Note that if the existing_relation does not\n exist, then there is nothing to move out of the way and subsequentally drop. In that case,\n this relation will be effectively unused.\n */\n {%- set backup_relation_type = 'view' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n -- move the existing view out of the way\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.run_hooks", "macro.dbt.drop_relation_if_exists", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.763805, "supported_languages": ["sql"]}, "macro.dbt.handle_existing_table": {"name": "handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/helpers.sql", "original_file_path": "macros/materializations/models/view/helpers.sql", "unique_id": "macro.dbt.handle_existing_table", "macro_sql": "{% macro handle_existing_table(full_refresh, old_relation) %}\n {{ adapter.dispatch('handle_existing_table', 'dbt')(full_refresh, old_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__handle_existing_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.764394, "supported_languages": null}, "macro.dbt.default__handle_existing_table": {"name": "default__handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/helpers.sql", "original_file_path": "macros/materializations/models/view/helpers.sql", "unique_id": "macro.dbt.default__handle_existing_table", "macro_sql": "{% macro default__handle_existing_table(full_refresh, old_relation) %}\n {{ log(\"Dropping relation \" ~ old_relation ~ \" because it is of type \" ~ old_relation.type) }}\n {{ adapter.drop_relation(old_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.764865, "supported_languages": null}, "macro.dbt.create_or_replace_view": {"name": "create_or_replace_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_or_replace_view.sql", "original_file_path": "macros/materializations/models/view/create_or_replace_view.sql", "unique_id": "macro.dbt.create_or_replace_view", "macro_sql": "{% macro create_or_replace_view() %}\n {%- set identifier = model['alias'] -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database,\n type='view') -%}\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks) }}\n\n -- If there's a table with the same name and we weren't told to full refresh,\n -- that's an error. If we were told to full refresh, drop it. This behavior differs\n -- for Snowflake and BigQuery, so multiple dispatch is used.\n {%- if old_relation is not none and old_relation.is_table -%}\n {{ handle_existing_table(should_full_refresh(), old_relation) }}\n {%- endif -%}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(target_relation, sql) }}\n {%- endcall %}\n\n {% set should_revoke = should_revoke(exists_as_view, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=True) %}\n\n {{ run_hooks(post_hooks) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.handle_existing_table", "macro.dbt.should_full_refresh", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7677162, "supported_languages": null}, "macro.dbt.get_create_view_as_sql": {"name": "get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.get_create_view_as_sql", "macro_sql": "{% macro get_create_view_as_sql(relation, sql) -%}\n {{ adapter.dispatch('get_create_view_as_sql', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.768399, "supported_languages": null}, "macro.dbt.default__get_create_view_as_sql": {"name": "default__get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.default__get_create_view_as_sql", "macro_sql": "{% macro default__get_create_view_as_sql(relation, sql) -%}\n {{ return(create_view_as(relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.768857, "supported_languages": null}, "macro.dbt.create_view_as": {"name": "create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.create_view_as", "macro_sql": "{% macro create_view_as(relation, sql) -%}\n {{ adapter.dispatch('create_view_as', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7692459, "supported_languages": null}, "macro.dbt.default__create_view_as": {"name": "default__create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.default__create_view_as", "macro_sql": "{% macro default__create_view_as(relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n create view {{ relation }} as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.769791, "supported_languages": null}, "macro.dbt.materialization_seed_default": {"name": "materialization_seed_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/seed.sql", "original_file_path": "macros/materializations/seeds/seed.sql", "unique_id": "macro.dbt.materialization_seed_default", "macro_sql": "{% materialization seed, default %}\n\n {%- set identifier = model['alias'] -%}\n {%- set full_refresh_mode = (should_full_refresh()) -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n\n {%- set exists_as_table = (old_relation is not none and old_relation.is_table) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set grant_config = config.get('grants') -%}\n {%- set agate_table = load_agate_table() -%}\n -- grab current tables grants config for comparision later on\n\n {%- do store_result('agate_table', response='OK', agate_table=agate_table) -%}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% set create_table_sql = \"\" %}\n {% if exists_as_view %}\n {{ exceptions.raise_compiler_error(\"Cannot seed to '{}', it is a view\".format(old_relation)) }}\n {% elif exists_as_table %}\n {% set create_table_sql = reset_csv_table(model, full_refresh_mode, old_relation, agate_table) %}\n {% else %}\n {% set create_table_sql = create_csv_table(model, agate_table) %}\n {% endif %}\n\n {% set code = 'CREATE' if full_refresh_mode else 'INSERT' %}\n {% set rows_affected = (agate_table.rows | length) %}\n {% set sql = load_csv_rows(model, agate_table) %}\n\n {% call noop_statement('main', code ~ ' ' ~ rows_affected, code, rows_affected) %}\n {{ get_csv_sql(create_table_sql, sql) }};\n {% endcall %}\n\n {% set target_relation = this.incorporate(type='table') %}\n\n {% set should_revoke = should_revoke(old_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if full_refresh_mode or not exists_as_table %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.run_hooks", "macro.dbt.reset_csv_table", "macro.dbt.create_csv_table", "macro.dbt.load_csv_rows", "macro.dbt.noop_statement", "macro.dbt.get_csv_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.775885, "supported_languages": ["sql"]}, "macro.dbt.create_csv_table": {"name": "create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.create_csv_table", "macro_sql": "{% macro create_csv_table(model, agate_table) -%}\n {{ adapter.dispatch('create_csv_table', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.782795, "supported_languages": null}, "macro.dbt.default__create_csv_table": {"name": "default__create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__create_csv_table", "macro_sql": "{% macro default__create_csv_table(model, agate_table) %}\n {%- set column_override = model['config'].get('column_types', {}) -%}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n\n {% set sql %}\n create table {{ this.render() }} (\n {%- for col_name in agate_table.column_names -%}\n {%- set inferred_type = adapter.convert_type(agate_table, loop.index0) -%}\n {%- set type = column_override.get(col_name, inferred_type) -%}\n {%- set column_name = (col_name | string) -%}\n {{ adapter.quote_seed_column(column_name, quote_seed_column) }} {{ type }} {%- if not loop.last -%}, {%- endif -%}\n {%- endfor -%}\n )\n {% endset %}\n\n {% call statement('_') -%}\n {{ sql }}\n {%- endcall %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.784703, "supported_languages": null}, "macro.dbt.reset_csv_table": {"name": "reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.reset_csv_table", "macro_sql": "{% macro reset_csv_table(model, full_refresh, old_relation, agate_table) -%}\n {{ adapter.dispatch('reset_csv_table', 'dbt')(model, full_refresh, old_relation, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__reset_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.785239, "supported_languages": null}, "macro.dbt.default__reset_csv_table": {"name": "default__reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__reset_csv_table", "macro_sql": "{% macro default__reset_csv_table(model, full_refresh, old_relation, agate_table) %}\n {% set sql = \"\" %}\n {% if full_refresh %}\n {{ adapter.drop_relation(old_relation) }}\n {% set sql = create_csv_table(model, agate_table) %}\n {% else %}\n {{ adapter.truncate_relation(old_relation) }}\n {% set sql = \"truncate table \" ~ old_relation %}\n {% endif %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.786287, "supported_languages": null}, "macro.dbt.get_csv_sql": {"name": "get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_csv_sql", "macro_sql": "{% macro get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ adapter.dispatch('get_csv_sql', 'dbt')(create_or_truncate_sql, insert_sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_csv_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.786721, "supported_languages": null}, "macro.dbt.default__get_csv_sql": {"name": "default__get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_csv_sql", "macro_sql": "{% macro default__get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ create_or_truncate_sql }};\n -- dbt seed --\n {{ insert_sql }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.787101, "supported_languages": null}, "macro.dbt.get_binding_char": {"name": "get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_binding_char", "macro_sql": "{% macro get_binding_char() -%}\n {{ adapter.dispatch('get_binding_char', 'dbt')() }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.787492, "supported_languages": null}, "macro.dbt.default__get_binding_char": {"name": "default__get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_binding_char", "macro_sql": "{% macro default__get_binding_char() %}\n {{ return('%s') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7877529, "supported_languages": null}, "macro.dbt.get_batch_size": {"name": "get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_batch_size", "macro_sql": "{% macro get_batch_size() -%}\n {{ return(adapter.dispatch('get_batch_size', 'dbt')()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_batch_size"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.788105, "supported_languages": null}, "macro.dbt.default__get_batch_size": {"name": "default__get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_batch_size", "macro_sql": "{% macro default__get_batch_size() %}\n {{ return(10000) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.788367, "supported_languages": null}, "macro.dbt.get_seed_column_quoted_csv": {"name": "get_seed_column_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_seed_column_quoted_csv", "macro_sql": "{% macro get_seed_column_quoted_csv(model, column_names) %}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote_seed_column(col, quote_seed_column)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7893949, "supported_languages": null}, "macro.dbt.load_csv_rows": {"name": "load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.load_csv_rows", "macro_sql": "{% macro load_csv_rows(model, agate_table) -%}\n {{ adapter.dispatch('load_csv_rows', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__load_csv_rows"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.789809, "supported_languages": null}, "macro.dbt.default__load_csv_rows": {"name": "default__load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__load_csv_rows", "macro_sql": "{% macro default__load_csv_rows(model, agate_table) %}\n\n {% set batch_size = get_batch_size() %}\n\n {% set cols_sql = get_seed_column_quoted_csv(model, agate_table.column_names) %}\n {% set bindings = [] %}\n\n {% set statements = [] %}\n\n {% for chunk in agate_table.rows | batch(batch_size) %}\n {% set bindings = [] %}\n\n {% for row in chunk %}\n {% do bindings.extend(row) %}\n {% endfor %}\n\n {% set sql %}\n insert into {{ this.render() }} ({{ cols_sql }}) values\n {% for row in chunk -%}\n ({%- for column in agate_table.column_names -%}\n {{ get_binding_char() }}\n {%- if not loop.last%},{%- endif %}\n {%- endfor -%})\n {%- if not loop.last%},{%- endif %}\n {%- endfor %}\n {% endset %}\n\n {% do adapter.add_query(sql, bindings=bindings, abridge_sql_log=True) %}\n\n {% if loop.index0 == 0 %}\n {% do statements.append(sql) %}\n {% endif %}\n {% endfor %}\n\n {# Return SQL so we can render it out into the compiled files #}\n {{ return(statements[0]) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_batch_size", "macro.dbt.get_seed_column_quoted_csv", "macro.dbt.get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.792396, "supported_languages": null}, "macro.dbt.generate_alias_name": {"name": "generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.generate_alias_name", "macro_sql": "{% macro generate_alias_name(custom_alias_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_alias_name', 'dbt')(custom_alias_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_alias_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.793189, "supported_languages": null}, "macro.dbt.default__generate_alias_name": {"name": "default__generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.default__generate_alias_name", "macro_sql": "{% macro default__generate_alias_name(custom_alias_name=none, node=none) -%}\n\n {%- if custom_alias_name is none -%}\n\n {{ node.name }}\n\n {%- else -%}\n\n {{ custom_alias_name | trim }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.793691, "supported_languages": null}, "macro.dbt.generate_schema_name": {"name": "generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name", "macro_sql": "{% macro generate_schema_name(custom_schema_name=none, node=none) -%}\n {{ return(adapter.dispatch('generate_schema_name', 'dbt')(custom_schema_name, node)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.794631, "supported_languages": null}, "macro.dbt.default__generate_schema_name": {"name": "default__generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.default__generate_schema_name", "macro_sql": "{% macro default__generate_schema_name(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if custom_schema_name is none -%}\n\n {{ default_schema }}\n\n {%- else -%}\n\n {{ default_schema }}_{{ custom_schema_name | trim }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.795187, "supported_languages": null}, "macro.dbt.generate_schema_name_for_env": {"name": "generate_schema_name_for_env", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name_for_env", "macro_sql": "{% macro generate_schema_name_for_env(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if target.name == 'prod' and custom_schema_name is not none -%}\n\n {{ custom_schema_name | trim }}\n\n {%- else -%}\n\n {{ default_schema }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.795798, "supported_languages": null}, "macro.dbt.generate_database_name": {"name": "generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.generate_database_name", "macro_sql": "{% macro generate_database_name(custom_database_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_database_name', 'dbt')(custom_database_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_database_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.796563, "supported_languages": null}, "macro.dbt.default__generate_database_name": {"name": "default__generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.default__generate_database_name", "macro_sql": "{% macro default__generate_database_name(custom_database_name=none, node=none) -%}\n {%- set default_database = target.database -%}\n {%- if custom_database_name is none -%}\n\n {{ default_database }}\n\n {%- else -%}\n\n {{ custom_database_name }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7971158, "supported_languages": null}, "macro.dbt.default__test_relationships": {"name": "default__test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/relationships.sql", "original_file_path": "macros/generic_test_sql/relationships.sql", "unique_id": "macro.dbt.default__test_relationships", "macro_sql": "{% macro default__test_relationships(model, column_name, to, field) %}\n\nwith child as (\n select {{ column_name }} as from_field\n from {{ model }}\n where {{ column_name }} is not null\n),\n\nparent as (\n select {{ field }} as to_field\n from {{ to }}\n)\n\nselect\n from_field\n\nfrom child\nleft join parent\n on child.from_field = parent.to_field\n\nwhere parent.to_field is null\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.797906, "supported_languages": null}, "macro.dbt.default__test_not_null": {"name": "default__test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/not_null.sql", "original_file_path": "macros/generic_test_sql/not_null.sql", "unique_id": "macro.dbt.default__test_not_null", "macro_sql": "{% macro default__test_not_null(model, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else column_name %}\n\nselect {{ column_list }}\nfrom {{ model }}\nwhere {{ column_name }} is null\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.798717, "supported_languages": null}, "macro.dbt.default__test_unique": {"name": "default__test_unique", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/unique.sql", "original_file_path": "macros/generic_test_sql/unique.sql", "unique_id": "macro.dbt.default__test_unique", "macro_sql": "{% macro default__test_unique(model, column_name) %}\n\nselect\n {{ column_name }} as unique_field,\n count(*) as n_records\n\nfrom {{ model }}\nwhere {{ column_name }} is not null\ngroup by {{ column_name }}\nhaving count(*) > 1\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.7993631, "supported_languages": null}, "macro.dbt.default__test_accepted_values": {"name": "default__test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/accepted_values.sql", "original_file_path": "macros/generic_test_sql/accepted_values.sql", "unique_id": "macro.dbt.default__test_accepted_values", "macro_sql": "{% macro default__test_accepted_values(model, column_name, values, quote=True) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field,\n count(*) as n_records\n\n from {{ model }}\n group by {{ column_name }}\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n)\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8008661, "supported_languages": null}, "macro.dbt.statement": {"name": "statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.statement", "macro_sql": "\n{%- macro statement(name=None, fetch_result=False, auto_begin=True, language='sql') -%}\n {%- if execute: -%}\n {%- set compiled_code = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime {} for node \"{}\"'.format(language, model['unique_id'])) }}\n {{ write(compiled_code) }}\n {%- endif -%}\n {%- if language == 'sql'-%}\n {%- set res, table = adapter.execute(compiled_code, auto_begin=auto_begin, fetch=fetch_result) -%}\n {%- elif language == 'python' -%}\n {%- set res = submit_python_job(model, compiled_code) -%}\n {#-- TODO: What should table be for python models? --#}\n {%- set table = None -%}\n {%- else -%}\n {% do exceptions.raise_compiler_error(\"statement macro didn't get supported language\") %}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_result(name, response=res, agate_table=table) }}\n {%- endif -%}\n\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.803655, "supported_languages": null}, "macro.dbt.noop_statement": {"name": "noop_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.noop_statement", "macro_sql": "{% macro noop_statement(name=None, message=None, code=None, rows_affected=None, res=None) -%}\n {%- set sql = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime SQL for node \"{}\"'.format(model['unique_id'])) }}\n {{ write(sql) }}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_raw_result(name, message=message, code=code, rows_affected=rows_affected, agate_table=res) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8048441, "supported_languages": null}, "macro.dbt.run_query": {"name": "run_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.run_query", "macro_sql": "{% macro run_query(sql) %}\n {% call statement(\"run_query_statement\", fetch_result=true, auto_begin=false) %}\n {{ sql }}\n {% endcall %}\n\n {% do return(load_result(\"run_query_statement\").table) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.805464, "supported_languages": null}, "macro.dbt.convert_datetime": {"name": "convert_datetime", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.convert_datetime", "macro_sql": "{% macro convert_datetime(date_str, date_fmt) %}\n\n {% set error_msg -%}\n The provided partition date '{{ date_str }}' does not match the expected format '{{ date_fmt }}'\n {%- endset %}\n\n {% set res = try_or_compiler_error(error_msg, modules.datetime.datetime.strptime, date_str.strip(), date_fmt) %}\n {{ return(res) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.80832, "supported_languages": null}, "macro.dbt.dates_in_range": {"name": "dates_in_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.dates_in_range", "macro_sql": "{% macro dates_in_range(start_date_str, end_date_str=none, in_fmt=\"%Y%m%d\", out_fmt=\"%Y%m%d\") %}\n {% set end_date_str = start_date_str if end_date_str is none else end_date_str %}\n\n {% set start_date = convert_datetime(start_date_str, in_fmt) %}\n {% set end_date = convert_datetime(end_date_str, in_fmt) %}\n\n {% set day_count = (end_date - start_date).days %}\n {% if day_count < 0 %}\n {% set msg -%}\n Partiton start date is after the end date ({{ start_date }}, {{ end_date }})\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg, model) }}\n {% endif %}\n\n {% set date_list = [] %}\n {% for i in range(0, day_count + 1) %}\n {% set the_date = (modules.datetime.timedelta(days=i) + start_date) %}\n {% if not out_fmt %}\n {% set _ = date_list.append(the_date) %}\n {% else %}\n {% set _ = date_list.append(the_date.strftime(out_fmt)) %}\n {% endif %}\n {% endfor %}\n\n {{ return(date_list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.convert_datetime"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.810775, "supported_languages": null}, "macro.dbt.partition_range": {"name": "partition_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.partition_range", "macro_sql": "{% macro partition_range(raw_partition_date, date_fmt='%Y%m%d') %}\n {% set partition_range = (raw_partition_date | string).split(\",\") %}\n\n {% if (partition_range | length) == 1 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = none %}\n {% elif (partition_range | length) == 2 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = partition_range[1] %}\n {% else %}\n {{ exceptions.raise_compiler_error(\"Invalid partition time. Expected format: {Start Date}[,{End Date}]. Got: \" ~ raw_partition_date) }}\n {% endif %}\n\n {{ return(dates_in_range(start_date, end_date, in_fmt=date_fmt)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dates_in_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.812355, "supported_languages": null}, "macro.dbt.py_current_timestring": {"name": "py_current_timestring", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.py_current_timestring", "macro_sql": "{% macro py_current_timestring() %}\n {% set dt = modules.datetime.datetime.now() %}\n {% do return(dt.strftime(\"%Y%m%d%H%M%S%f\")) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8128471, "supported_languages": null}, "macro.dbt.except": {"name": "except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.except", "macro_sql": "{% macro except() %}\n {{ return(adapter.dispatch('except', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.813314, "supported_languages": null}, "macro.dbt.default__except": {"name": "default__except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.default__except", "macro_sql": "{% macro default__except() %}\n\n except\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8134851, "supported_languages": null}, "macro.dbt.replace": {"name": "replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.replace", "macro_sql": "{% macro replace(field, old_chars, new_chars) -%}\n {{ return(adapter.dispatch('replace', 'dbt') (field, old_chars, new_chars)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__replace"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.814123, "supported_languages": null}, "macro.dbt.default__replace": {"name": "default__replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.default__replace", "macro_sql": "{% macro default__replace(field, old_chars, new_chars) %}\n\n replace(\n {{ field }},\n {{ old_chars }},\n {{ new_chars }}\n )\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.814479, "supported_languages": null}, "macro.dbt.concat": {"name": "concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.concat", "macro_sql": "{% macro concat(fields) -%}\n {{ return(adapter.dispatch('concat', 'dbt')(fields)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.814977, "supported_languages": null}, "macro.dbt.default__concat": {"name": "default__concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.default__concat", "macro_sql": "{% macro default__concat(fields) -%}\n {{ fields|join(' || ') }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.815246, "supported_languages": null}, "macro.dbt.length": {"name": "length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.length", "macro_sql": "{% macro length(expression) -%}\n {{ return(adapter.dispatch('length', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__length"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.815756, "supported_languages": null}, "macro.dbt.default__length": {"name": "default__length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.default__length", "macro_sql": "{% macro default__length(expression) %}\n\n length(\n {{ expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8159869, "supported_languages": null}, "macro.dbt.dateadd": {"name": "dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.dateadd", "macro_sql": "{% macro dateadd(datepart, interval, from_date_or_timestamp) %}\n {{ return(adapter.dispatch('dateadd', 'dbt')(datepart, interval, from_date_or_timestamp)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8166459, "supported_languages": null}, "macro.dbt.default__dateadd": {"name": "default__dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.default__dateadd", "macro_sql": "{% macro default__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n dateadd(\n {{ datepart }},\n {{ interval }},\n {{ from_date_or_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.816999, "supported_languages": null}, "macro.dbt.intersect": {"name": "intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.intersect", "macro_sql": "{% macro intersect() %}\n {{ return(adapter.dispatch('intersect', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__intersect"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.817457, "supported_languages": null}, "macro.dbt.default__intersect": {"name": "default__intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.default__intersect", "macro_sql": "{% macro default__intersect() %}\n\n intersect\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.817631, "supported_languages": null}, "macro.dbt.escape_single_quotes": {"name": "escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.escape_single_quotes", "macro_sql": "{% macro escape_single_quotes(expression) %}\n {{ return(adapter.dispatch('escape_single_quotes', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__escape_single_quotes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.818159, "supported_languages": null}, "macro.dbt.default__escape_single_quotes": {"name": "default__escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.default__escape_single_quotes", "macro_sql": "{% macro default__escape_single_quotes(expression) -%}\n{{ expression | replace(\"'\",\"''\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.81846, "supported_languages": null}, "macro.dbt.right": {"name": "right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.right", "macro_sql": "{% macro right(string_text, length_expression) -%}\n {{ return(adapter.dispatch('right', 'dbt') (string_text, length_expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__right"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8190432, "supported_languages": null}, "macro.dbt.default__right": {"name": "default__right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.default__right", "macro_sql": "{% macro default__right(string_text, length_expression) %}\n\n right(\n {{ string_text }},\n {{ length_expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.819337, "supported_languages": null}, "macro.dbt.listagg": {"name": "listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.listagg", "macro_sql": "{% macro listagg(measure, delimiter_text=\"','\", order_by_clause=none, limit_num=none) -%}\n {{ return(adapter.dispatch('listagg', 'dbt') (measure, delimiter_text, order_by_clause, limit_num)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__listagg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.82074, "supported_languages": null}, "macro.dbt.default__listagg": {"name": "default__listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.default__listagg", "macro_sql": "{% macro default__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n {% if limit_num -%}\n array_to_string(\n array_slice(\n array_agg(\n {{ measure }}\n ){% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n ,0\n ,{{ limit_num }}\n ),\n {{ delimiter_text }}\n )\n {%- else %}\n listagg(\n {{ measure }},\n {{ delimiter_text }}\n )\n {% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.821654, "supported_languages": null}, "macro.dbt.datediff": {"name": "datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.datediff", "macro_sql": "{% macro datediff(first_date, second_date, datepart) %}\n {{ return(adapter.dispatch('datediff', 'dbt')(first_date, second_date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.822314, "supported_languages": null}, "macro.dbt.default__datediff": {"name": "default__datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.default__datediff", "macro_sql": "{% macro default__datediff(first_date, second_date, datepart) -%}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.822666, "supported_languages": null}, "macro.dbt.safe_cast": {"name": "safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.safe_cast", "macro_sql": "{% macro safe_cast(field, type) %}\n {{ return(adapter.dispatch('safe_cast', 'dbt') (field, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__safe_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.823243, "supported_languages": null}, "macro.dbt.default__safe_cast": {"name": "default__safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.default__safe_cast", "macro_sql": "{% macro default__safe_cast(field, type) %}\n {# most databases don't support this function yet\n so we just need to use cast #}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.823545, "supported_languages": null}, "macro.dbt.hash": {"name": "hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.hash", "macro_sql": "{% macro hash(field) -%}\n {{ return(adapter.dispatch('hash', 'dbt') (field)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__hash"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.824061, "supported_languages": null}, "macro.dbt.default__hash": {"name": "default__hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.default__hash", "macro_sql": "{% macro default__hash(field) -%}\n md5(cast({{ field }} as {{ api.Column.translate_type('string') }}))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.824407, "supported_languages": null}, "macro.dbt.cast_bool_to_text": {"name": "cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.cast_bool_to_text", "macro_sql": "{% macro cast_bool_to_text(field) %}\n {{ adapter.dispatch('cast_bool_to_text', 'dbt') (field) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.824899, "supported_languages": null}, "macro.dbt.default__cast_bool_to_text": {"name": "default__cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.default__cast_bool_to_text", "macro_sql": "{% macro default__cast_bool_to_text(field) %}\n cast({{ field }} as {{ api.Column.translate_type('string') }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.825245, "supported_languages": null}, "macro.dbt.any_value": {"name": "any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.any_value", "macro_sql": "{% macro any_value(expression) -%}\n {{ return(adapter.dispatch('any_value', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__any_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.825751, "supported_languages": null}, "macro.dbt.default__any_value": {"name": "default__any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.default__any_value", "macro_sql": "{% macro default__any_value(expression) -%}\n\n any_value({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.82598, "supported_languages": null}, "macro.dbt.position": {"name": "position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.position", "macro_sql": "{% macro position(substring_text, string_text) -%}\n {{ return(adapter.dispatch('position', 'dbt') (substring_text, string_text)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__position"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8265579, "supported_languages": null}, "macro.dbt.default__position": {"name": "default__position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.default__position", "macro_sql": "{% macro default__position(substring_text, string_text) %}\n\n position(\n {{ substring_text }} in {{ string_text }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.826852, "supported_languages": null}, "macro.dbt.string_literal": {"name": "string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.string_literal", "macro_sql": "{%- macro string_literal(value) -%}\n {{ return(adapter.dispatch('string_literal', 'dbt') (value)) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__string_literal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.82735, "supported_languages": null}, "macro.dbt.default__string_literal": {"name": "default__string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.default__string_literal", "macro_sql": "{% macro default__string_literal(value) -%}\n '{{ value }}'\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8275762, "supported_languages": null}, "macro.dbt.type_string": {"name": "type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_string", "macro_sql": "\n\n{%- macro type_string() -%}\n {{ return(adapter.dispatch('type_string', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8290958, "supported_languages": null}, "macro.dbt.default__type_string": {"name": "default__type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_string", "macro_sql": "{% macro default__type_string() %}\n {{ return(api.Column.translate_type(\"string\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8294232, "supported_languages": null}, "macro.dbt.type_timestamp": {"name": "type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_timestamp", "macro_sql": "\n\n{%- macro type_timestamp() -%}\n {{ return(adapter.dispatch('type_timestamp', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.829775, "supported_languages": null}, "macro.dbt.default__type_timestamp": {"name": "default__type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_timestamp", "macro_sql": "{% macro default__type_timestamp() %}\n {{ return(api.Column.translate_type(\"timestamp\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8301, "supported_languages": null}, "macro.dbt.type_float": {"name": "type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_float", "macro_sql": "\n\n{%- macro type_float() -%}\n {{ return(adapter.dispatch('type_float', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.830453, "supported_languages": null}, "macro.dbt.default__type_float": {"name": "default__type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_float", "macro_sql": "{% macro default__type_float() %}\n {{ return(api.Column.translate_type(\"float\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.830789, "supported_languages": null}, "macro.dbt.type_numeric": {"name": "type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_numeric", "macro_sql": "\n\n{%- macro type_numeric() -%}\n {{ return(adapter.dispatch('type_numeric', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.831133, "supported_languages": null}, "macro.dbt.default__type_numeric": {"name": "default__type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_numeric", "macro_sql": "{% macro default__type_numeric() %}\n {{ return(api.Column.numeric_type(\"numeric\", 28, 6)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.831608, "supported_languages": null}, "macro.dbt.type_bigint": {"name": "type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_bigint", "macro_sql": "\n\n{%- macro type_bigint() -%}\n {{ return(adapter.dispatch('type_bigint', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8319628, "supported_languages": null}, "macro.dbt.default__type_bigint": {"name": "default__type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_bigint", "macro_sql": "{% macro default__type_bigint() %}\n {{ return(api.Column.translate_type(\"bigint\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8322911, "supported_languages": null}, "macro.dbt.type_int": {"name": "type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_int", "macro_sql": "\n\n{%- macro type_int() -%}\n {{ return(adapter.dispatch('type_int', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8326368, "supported_languages": null}, "macro.dbt.default__type_int": {"name": "default__type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_int", "macro_sql": "{%- macro default__type_int() -%}\n {{ return(api.Column.translate_type(\"integer\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.83295, "supported_languages": null}, "macro.dbt.type_boolean": {"name": "type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_boolean", "macro_sql": "\n\n{%- macro type_boolean() -%}\n {{ return(adapter.dispatch('type_boolean', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_boolean"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.833295, "supported_languages": null}, "macro.dbt.default__type_boolean": {"name": "default__type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_boolean", "macro_sql": "{%- macro default__type_boolean() -%}\n {{ return(api.Column.translate_type(\"boolean\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.83361, "supported_languages": null}, "macro.dbt.array_concat": {"name": "array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.array_concat", "macro_sql": "{% macro array_concat(array_1, array_2) -%}\n {{ return(adapter.dispatch('array_concat', 'dbt')(array_1, array_2)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__array_concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.834166, "supported_languages": null}, "macro.dbt.default__array_concat": {"name": "default__array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.default__array_concat", "macro_sql": "{% macro default__array_concat(array_1, array_2) -%}\n array_cat({{ array_1 }}, {{ array_2 }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.834466, "supported_languages": null}, "macro.dbt.bool_or": {"name": "bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.bool_or", "macro_sql": "{% macro bool_or(expression) -%}\n {{ return(adapter.dispatch('bool_or', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__bool_or"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.835077, "supported_languages": null}, "macro.dbt.default__bool_or": {"name": "default__bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.default__bool_or", "macro_sql": "{% macro default__bool_or(expression) -%}\n\n bool_or({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8353229, "supported_languages": null}, "macro.dbt.last_day": {"name": "last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.last_day", "macro_sql": "{% macro last_day(date, datepart) %}\n {{ return(adapter.dispatch('last_day', 'dbt') (date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.835985, "supported_languages": null}, "macro.dbt.default_last_day": {"name": "default_last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default_last_day", "macro_sql": "\n\n{%- macro default_last_day(date, datepart) -%}\n cast(\n {{dbt.dateadd('day', '-1',\n dbt.dateadd(datepart, '1', dbt.date_trunc(datepart, date))\n )}}\n as date)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.836543, "supported_languages": null}, "macro.dbt.default__last_day": {"name": "default__last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default__last_day", "macro_sql": "{% macro default__last_day(date, datepart) -%}\n {{dbt.default_last_day(date, datepart)}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default_last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.836861, "supported_languages": null}, "macro.dbt.split_part": {"name": "split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.split_part", "macro_sql": "{% macro split_part(string_text, delimiter_text, part_number) %}\n {{ return(adapter.dispatch('split_part', 'dbt') (string_text, delimiter_text, part_number)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.83777, "supported_languages": null}, "macro.dbt.default__split_part": {"name": "default__split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.default__split_part", "macro_sql": "{% macro default__split_part(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.838123, "supported_languages": null}, "macro.dbt._split_part_negative": {"name": "_split_part_negative", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt._split_part_negative", "macro_sql": "{% macro _split_part_negative(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n length({{ string_text }})\n - length(\n replace({{ string_text }}, {{ delimiter_text }}, '')\n ) + 2 {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.838597, "supported_languages": null}, "macro.dbt.date_trunc": {"name": "date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.date_trunc", "macro_sql": "{% macro date_trunc(datepart, date) -%}\n {{ return(adapter.dispatch('date_trunc', 'dbt') (datepart, date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.839152, "supported_languages": null}, "macro.dbt.default__date_trunc": {"name": "default__date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.default__date_trunc", "macro_sql": "{% macro default__date_trunc(datepart, date) -%}\n date_trunc('{{datepart}}', {{date}})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.839443, "supported_languages": null}, "macro.dbt.array_construct": {"name": "array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.array_construct", "macro_sql": "{% macro array_construct(inputs=[], data_type=api.Column.translate_type('integer')) -%}\n {{ return(adapter.dispatch('array_construct', 'dbt')(inputs, data_type)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__array_construct"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.840184, "supported_languages": null}, "macro.dbt.default__array_construct": {"name": "default__array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.default__array_construct", "macro_sql": "{% macro default__array_construct(inputs, data_type) -%}\n {% if inputs|length > 0 %}\n array[ {{ inputs|join(' , ') }} ]\n {% else %}\n array[]::{{data_type}}[]\n {% endif %}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.840689, "supported_languages": null}, "macro.dbt.array_append": {"name": "array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.array_append", "macro_sql": "{% macro array_append(array, new_element) -%}\n {{ return(adapter.dispatch('array_append', 'dbt')(array, new_element)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__array_append"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.841255, "supported_languages": null}, "macro.dbt.default__array_append": {"name": "default__array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.default__array_append", "macro_sql": "{% macro default__array_append(array, new_element) -%}\n array_append({{ array }}, {{ new_element }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.841544, "supported_languages": null}, "macro.dbt.create_schema": {"name": "create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.create_schema", "macro_sql": "{% macro create_schema(relation) -%}\n {{ adapter.dispatch('create_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.842239, "supported_languages": null}, "macro.dbt.default__create_schema": {"name": "default__create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__create_schema", "macro_sql": "{% macro default__create_schema(relation) -%}\n {%- call statement('create_schema') -%}\n create schema if not exists {{ relation.without_identifier() }}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.842657, "supported_languages": null}, "macro.dbt.drop_schema": {"name": "drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.drop_schema", "macro_sql": "{% macro drop_schema(relation) -%}\n {{ adapter.dispatch('drop_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__drop_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.843128, "supported_languages": null}, "macro.dbt.default__drop_schema": {"name": "default__drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__drop_schema", "macro_sql": "{% macro default__drop_schema(relation) -%}\n {%- call statement('drop_schema') -%}\n drop schema if exists {{ relation.without_identifier() }} cascade\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8435268, "supported_languages": null}, "macro.dbt.current_timestamp": {"name": "current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp", "macro_sql": "{%- macro current_timestamp() -%}\n {{ adapter.dispatch('current_timestamp', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8443708, "supported_languages": null}, "macro.dbt.default__current_timestamp": {"name": "default__current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp", "macro_sql": "{% macro default__current_timestamp() -%}\n {{ exceptions.raise_not_implemented(\n 'current_timestamp macro not implemented for adapter ' + adapter.type()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.844695, "supported_languages": null}, "macro.dbt.snapshot_get_time": {"name": "snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.snapshot_get_time", "macro_sql": "\n\n{%- macro snapshot_get_time() -%}\n {{ adapter.dispatch('snapshot_get_time', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8450072, "supported_languages": null}, "macro.dbt.default__snapshot_get_time": {"name": "default__snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__snapshot_get_time", "macro_sql": "{% macro default__snapshot_get_time() %}\n {{ current_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.845242, "supported_languages": null}, "macro.dbt.current_timestamp_backcompat": {"name": "current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_backcompat", "macro_sql": "{% macro current_timestamp_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.845601, "supported_languages": null}, "macro.dbt.default__current_timestamp_backcompat": {"name": "default__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_backcompat", "macro_sql": "{% macro default__current_timestamp_backcompat() %}\n current_timestamp::timestamp\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.845773, "supported_languages": null}, "macro.dbt.current_timestamp_in_utc_backcompat": {"name": "current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_in_utc_backcompat", "macro_sql": "{% macro current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_in_utc_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__current_timestamp_in_utc_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.84613, "supported_languages": null}, "macro.dbt.default__current_timestamp_in_utc_backcompat": {"name": "default__current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_in_utc_backcompat", "macro_sql": "{% macro default__current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp_backcompat", "macro.dbt_bigquery.bigquery__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8464901, "supported_languages": null}, "macro.dbt.get_create_index_sql": {"name": "get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_create_index_sql", "macro_sql": "{% macro get_create_index_sql(relation, index_dict) -%}\n {{ return(adapter.dispatch('get_create_index_sql', 'dbt')(relation, index_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.847313, "supported_languages": null}, "macro.dbt.default__get_create_index_sql": {"name": "default__get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_create_index_sql", "macro_sql": "{% macro default__get_create_index_sql(relation, index_dict) -%}\n {% do return(None) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.847612, "supported_languages": null}, "macro.dbt.create_indexes": {"name": "create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.create_indexes", "macro_sql": "{% macro create_indexes(relation) -%}\n {{ adapter.dispatch('create_indexes', 'dbt')(relation) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.84796, "supported_languages": null}, "macro.dbt.default__create_indexes": {"name": "default__create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__create_indexes", "macro_sql": "{% macro default__create_indexes(relation) -%}\n {%- set _indexes = config.get('indexes', default=[]) -%}\n\n {% for _index_dict in _indexes %}\n {% set create_index_sql = get_create_index_sql(relation, _index_dict) %}\n {% if create_index_sql %}\n {% do run_query(create_index_sql) %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_create_index_sql", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8488, "supported_languages": null}, "macro.dbt.make_intermediate_relation": {"name": "make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_intermediate_relation", "macro_sql": "{% macro make_intermediate_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_intermediate_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_intermediate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.853534, "supported_languages": null}, "macro.dbt.default__make_intermediate_relation": {"name": "default__make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_intermediate_relation", "macro_sql": "{% macro default__make_intermediate_relation(base_relation, suffix) %}\n {{ return(default__make_temp_relation(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.853902, "supported_languages": null}, "macro.dbt.make_temp_relation": {"name": "make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_temp_relation", "macro_sql": "{% macro make_temp_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_temp_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.854372, "supported_languages": null}, "macro.dbt.default__make_temp_relation": {"name": "default__make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_temp_relation", "macro_sql": "{% macro default__make_temp_relation(base_relation, suffix) %}\n {%- set temp_identifier = base_relation.identifier ~ suffix -%}\n {%- set temp_relation = base_relation.incorporate(\n path={\"identifier\": temp_identifier}) -%}\n\n {{ return(temp_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.85498, "supported_languages": null}, "macro.dbt.make_backup_relation": {"name": "make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_backup_relation", "macro_sql": "{% macro make_backup_relation(base_relation, backup_relation_type, suffix='__dbt_backup') %}\n {{ return(adapter.dispatch('make_backup_relation', 'dbt')(base_relation, backup_relation_type, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_backup_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.855493, "supported_languages": null}, "macro.dbt.default__make_backup_relation": {"name": "default__make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_backup_relation", "macro_sql": "{% macro default__make_backup_relation(base_relation, backup_relation_type, suffix) %}\n {%- set backup_identifier = base_relation.identifier ~ suffix -%}\n {%- set backup_relation = base_relation.incorporate(\n path={\"identifier\": backup_identifier},\n type=backup_relation_type\n ) -%}\n {{ return(backup_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.856169, "supported_languages": null}, "macro.dbt.drop_relation": {"name": "drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.drop_relation", "macro_sql": "{% macro drop_relation(relation) -%}\n {{ return(adapter.dispatch('drop_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__drop_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.856558, "supported_languages": null}, "macro.dbt.default__drop_relation": {"name": "default__drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__drop_relation", "macro_sql": "{% macro default__drop_relation(relation) -%}\n {% call statement('drop_relation', auto_begin=False) -%}\n drop {{ relation.type }} if exists {{ relation }} cascade\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8570108, "supported_languages": null}, "macro.dbt.truncate_relation": {"name": "truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.truncate_relation", "macro_sql": "{% macro truncate_relation(relation) -%}\n {{ return(adapter.dispatch('truncate_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__truncate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8574028, "supported_languages": null}, "macro.dbt.default__truncate_relation": {"name": "default__truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__truncate_relation", "macro_sql": "{% macro default__truncate_relation(relation) -%}\n {% call statement('truncate_relation') -%}\n truncate table {{ relation }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.857864, "supported_languages": null}, "macro.dbt.rename_relation": {"name": "rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.rename_relation", "macro_sql": "{% macro rename_relation(from_relation, to_relation) -%}\n {{ return(adapter.dispatch('rename_relation', 'dbt')(from_relation, to_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__rename_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8583, "supported_languages": null}, "macro.dbt.default__rename_relation": {"name": "default__rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__rename_relation", "macro_sql": "{% macro default__rename_relation(from_relation, to_relation) -%}\n {% set target_name = adapter.quote_as_configured(to_relation.identifier, 'identifier') %}\n {% call statement('rename_relation') -%}\n alter table {{ from_relation }} rename to {{ target_name }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.858897, "supported_languages": null}, "macro.dbt.get_or_create_relation": {"name": "get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.get_or_create_relation", "macro_sql": "{% macro get_or_create_relation(database, schema, identifier, type) -%}\n {{ return(adapter.dispatch('get_or_create_relation', 'dbt')(database, schema, identifier, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_or_create_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8594198, "supported_languages": null}, "macro.dbt.default__get_or_create_relation": {"name": "default__get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__get_or_create_relation", "macro_sql": "{% macro default__get_or_create_relation(database, schema, identifier, type) %}\n {%- set target_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n\n {% if target_relation %}\n {% do return([true, target_relation]) %}\n {% endif %}\n\n {%- set new_relation = api.Relation.create(\n database=database,\n schema=schema,\n identifier=identifier,\n type=type\n ) -%}\n {% do return([false, new_relation]) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.860574, "supported_languages": null}, "macro.dbt.load_cached_relation": {"name": "load_cached_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_cached_relation", "macro_sql": "{% macro load_cached_relation(relation) %}\n {% do return(adapter.get_relation(\n database=relation.database,\n schema=relation.schema,\n identifier=relation.identifier\n )) -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8610592, "supported_languages": null}, "macro.dbt.load_relation": {"name": "load_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_relation", "macro_sql": "{% macro load_relation(relation) %}\n {{ return(load_cached_relation(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8613708, "supported_languages": null}, "macro.dbt.drop_relation_if_exists": {"name": "drop_relation_if_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.drop_relation_if_exists", "macro_sql": "{% macro drop_relation_if_exists(relation) %}\n {% if relation is not none %}\n {{ adapter.drop_relation(relation) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.86179, "supported_languages": null}, "macro.dbt.collect_freshness": {"name": "collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.collect_freshness", "macro_sql": "{% macro collect_freshness(source, loaded_at_field, filter) %}\n {{ return(adapter.dispatch('collect_freshness', 'dbt')(source, loaded_at_field, filter))}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__collect_freshness"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.862587, "supported_languages": null}, "macro.dbt.default__collect_freshness": {"name": "default__collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.default__collect_freshness", "macro_sql": "{% macro default__collect_freshness(source, loaded_at_field, filter) %}\n {% call statement('collect_freshness', fetch_result=True, auto_begin=False) -%}\n select\n max({{ loaded_at_field }}) as max_loaded_at,\n {{ current_timestamp() }} as snapshotted_at\n from {{ source }}\n {% if filter %}\n where {{ filter }}\n {% endif %}\n {% endcall %}\n {{ return(load_result('collect_freshness').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8634639, "supported_languages": null}, "macro.dbt.copy_grants": {"name": "copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.copy_grants", "macro_sql": "{% macro copy_grants() %}\n {{ return(adapter.dispatch('copy_grants', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.86607, "supported_languages": null}, "macro.dbt.default__copy_grants": {"name": "default__copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__copy_grants", "macro_sql": "{% macro default__copy_grants() %}\n {{ return(True) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.866327, "supported_languages": null}, "macro.dbt.support_multiple_grantees_per_dcl_statement": {"name": "support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.support_multiple_grantees_per_dcl_statement", "macro_sql": "{% macro support_multiple_grantees_per_dcl_statement() %}\n {{ return(adapter.dispatch('support_multiple_grantees_per_dcl_statement', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.866687, "supported_languages": null}, "macro.dbt.default__support_multiple_grantees_per_dcl_statement": {"name": "default__support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__support_multiple_grantees_per_dcl_statement", "macro_sql": "\n\n{%- macro default__support_multiple_grantees_per_dcl_statement() -%}\n {{ return(True) }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.866933, "supported_languages": null}, "macro.dbt.should_revoke": {"name": "should_revoke", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.should_revoke", "macro_sql": "{% macro should_revoke(existing_relation, full_refresh_mode=True) %}\n\n {% if not existing_relation %}\n {#-- The table doesn't already exist, so no grants to copy over --#}\n {{ return(False) }}\n {% elif full_refresh_mode %}\n {#-- The object is being REPLACED -- whether grants are copied over depends on the value of user config --#}\n {{ return(copy_grants()) }}\n {% else %}\n {#-- The table is being merged/upserted/inserted -- grants will be carried over --#}\n {{ return(True) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.86765, "supported_languages": null}, "macro.dbt.get_show_grant_sql": {"name": "get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_show_grant_sql", "macro_sql": "{% macro get_show_grant_sql(relation) %}\n {{ return(adapter.dispatch(\"get_show_grant_sql\", \"dbt\")(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_show_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.868047, "supported_languages": null}, "macro.dbt.default__get_show_grant_sql": {"name": "default__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_show_grant_sql", "macro_sql": "{% macro default__get_show_grant_sql(relation) %}\n show grants on {{ relation }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.868274, "supported_languages": null}, "macro.dbt.get_grant_sql": {"name": "get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_grant_sql", "macro_sql": "{% macro get_grant_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_grant_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8687518, "supported_languages": null}, "macro.dbt.default__get_grant_sql": {"name": "default__get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_grant_sql", "macro_sql": "\n\n{%- macro default__get_grant_sql(relation, privilege, grantees) -%}\n grant {{ privilege }} on {{ relation }} to {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.869162, "supported_languages": null}, "macro.dbt.get_revoke_sql": {"name": "get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_revoke_sql", "macro_sql": "{% macro get_revoke_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_revoke_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_revoke_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.869645, "supported_languages": null}, "macro.dbt.default__get_revoke_sql": {"name": "default__get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_revoke_sql", "macro_sql": "\n\n{%- macro default__get_revoke_sql(relation, privilege, grantees) -%}\n revoke {{ privilege }} on {{ relation }} from {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.870048, "supported_languages": null}, "macro.dbt.get_dcl_statement_list": {"name": "get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_dcl_statement_list", "macro_sql": "{% macro get_dcl_statement_list(relation, grant_config, get_dcl_macro) %}\n {{ return(adapter.dispatch('get_dcl_statement_list', 'dbt')(relation, grant_config, get_dcl_macro)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_dcl_statement_list"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.870542, "supported_languages": null}, "macro.dbt.default__get_dcl_statement_list": {"name": "default__get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_dcl_statement_list", "macro_sql": "\n\n{%- macro default__get_dcl_statement_list(relation, grant_config, get_dcl_macro) -%}\n {#\n -- Unpack grant_config into specific privileges and the set of users who need them granted/revoked.\n -- Depending on whether this database supports multiple grantees per statement, pass in the list of\n -- all grantees per privilege, or (if not) template one statement per privilege-grantee pair.\n -- `get_dcl_macro` will be either `get_grant_sql` or `get_revoke_sql`\n #}\n {%- set dcl_statements = [] -%}\n {%- for privilege, grantees in grant_config.items() %}\n {%- if support_multiple_grantees_per_dcl_statement() and grantees -%}\n {%- set dcl = get_dcl_macro(relation, privilege, grantees) -%}\n {%- do dcl_statements.append(dcl) -%}\n {%- else -%}\n {%- for grantee in grantees -%}\n {% set dcl = get_dcl_macro(relation, privilege, [grantee]) %}\n {%- do dcl_statements.append(dcl) -%}\n {% endfor -%}\n {%- endif -%}\n {%- endfor -%}\n {{ return(dcl_statements) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.872055, "supported_languages": null}, "macro.dbt.call_dcl_statements": {"name": "call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.call_dcl_statements", "macro_sql": "{% macro call_dcl_statements(dcl_statement_list) %}\n {{ return(adapter.dispatch(\"call_dcl_statements\", \"dbt\")(dcl_statement_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.872458, "supported_languages": null}, "macro.dbt.default__call_dcl_statements": {"name": "default__call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__call_dcl_statements", "macro_sql": "{% macro default__call_dcl_statements(dcl_statement_list) %}\n {#\n -- By default, supply all grant + revoke statements in a single semicolon-separated block,\n -- so that they're all processed together.\n\n -- Some databases do not support this. Those adapters will need to override this macro\n -- to run each statement individually.\n #}\n {% call statement('grants') %}\n {% for dcl_statement in dcl_statement_list %}\n {{ dcl_statement }};\n {% endfor %}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.872982, "supported_languages": null}, "macro.dbt.apply_grants": {"name": "apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.apply_grants", "macro_sql": "{% macro apply_grants(relation, grant_config, should_revoke) %}\n {{ return(adapter.dispatch(\"apply_grants\", \"dbt\")(relation, grant_config, should_revoke)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.873468, "supported_languages": null}, "macro.dbt.default__apply_grants": {"name": "default__apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__apply_grants", "macro_sql": "{% macro default__apply_grants(relation, grant_config, should_revoke=True) %}\n {#-- If grant_config is {} or None, this is a no-op --#}\n {% if grant_config %}\n {% if should_revoke %}\n {#-- We think previous grants may have carried over --#}\n {#-- Show current grants and calculate diffs --#}\n {% set current_grants_table = run_query(get_show_grant_sql(relation)) %}\n {% set current_grants_dict = adapter.standardize_grants_dict(current_grants_table) %}\n {% set needs_granting = diff_of_two_dicts(grant_config, current_grants_dict) %}\n {% set needs_revoking = diff_of_two_dicts(current_grants_dict, grant_config) %}\n {% if not (needs_granting or needs_revoking) %}\n {{ log('On ' ~ relation ~': All grants are in place, no revocation or granting needed.')}}\n {% endif %}\n {% else %}\n {#-- We don't think there's any chance of previous grants having carried over. --#}\n {#-- Jump straight to granting what the user has configured. --#}\n {% set needs_revoking = {} %}\n {% set needs_granting = grant_config %}\n {% endif %}\n {% if needs_granting or needs_revoking %}\n {% set revoke_statement_list = get_dcl_statement_list(relation, needs_revoking, get_revoke_sql) %}\n {% set grant_statement_list = get_dcl_statement_list(relation, needs_granting, get_grant_sql) %}\n {% set dcl_statement_list = revoke_statement_list + grant_statement_list %}\n {% if dcl_statement_list %}\n {{ call_dcl_statements(dcl_statement_list) }}\n {% endif %}\n {% endif %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.get_show_grant_sql", "macro.dbt.get_dcl_statement_list", "macro.dbt.call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.875813, "supported_languages": null}, "macro.dbt.alter_column_comment": {"name": "alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_column_comment", "macro_sql": "{% macro alter_column_comment(relation, column_dict) -%}\n {{ return(adapter.dispatch('alter_column_comment', 'dbt')(relation, column_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.876951, "supported_languages": null}, "macro.dbt.default__alter_column_comment": {"name": "default__alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_column_comment", "macro_sql": "{% macro default__alter_column_comment(relation, column_dict) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_column_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.877311, "supported_languages": null}, "macro.dbt.alter_relation_comment": {"name": "alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_relation_comment", "macro_sql": "{% macro alter_relation_comment(relation, relation_comment) -%}\n {{ return(adapter.dispatch('alter_relation_comment', 'dbt')(relation, relation_comment)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_relation_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.877742, "supported_languages": null}, "macro.dbt.default__alter_relation_comment": {"name": "default__alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_relation_comment", "macro_sql": "{% macro default__alter_relation_comment(relation, relation_comment) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_relation_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8781, "supported_languages": null}, "macro.dbt.persist_docs": {"name": "persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.persist_docs", "macro_sql": "{% macro persist_docs(relation, model, for_relation=true, for_columns=true) -%}\n {{ return(adapter.dispatch('persist_docs', 'dbt')(relation, model, for_relation, for_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.878667, "supported_languages": null}, "macro.dbt.default__persist_docs": {"name": "default__persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__persist_docs", "macro_sql": "{% macro default__persist_docs(relation, model, for_relation, for_columns) -%}\n {% if for_relation and config.persist_relation_docs() and model.description %}\n {% do run_query(alter_relation_comment(relation, model.description)) %}\n {% endif %}\n\n {% if for_columns and config.persist_column_docs() and model.columns %}\n {% do run_query(alter_column_comment(relation, model.columns)) %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.alter_relation_comment", "macro.dbt.alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.879667, "supported_languages": null}, "macro.dbt.get_catalog": {"name": "get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog", "macro_sql": "{% macro get_catalog(information_schema, schemas) -%}\n {{ return(adapter.dispatch('get_catalog', 'dbt')(information_schema, schemas)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_catalog"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8819158, "supported_languages": null}, "macro.dbt.default__get_catalog": {"name": "default__get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog", "macro_sql": "{% macro default__get_catalog(information_schema, schemas) -%}\n\n {% set typename = adapter.type() %}\n {% set msg -%}\n get_catalog not implemented for {{ typename }}\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8824708, "supported_languages": null}, "macro.dbt.information_schema_name": {"name": "information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.information_schema_name", "macro_sql": "{% macro information_schema_name(database) %}\n {{ return(adapter.dispatch('information_schema_name', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__information_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8828669, "supported_languages": null}, "macro.dbt.default__information_schema_name": {"name": "default__information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__information_schema_name", "macro_sql": "{% macro default__information_schema_name(database) -%}\n {%- if database -%}\n {{ database }}.INFORMATION_SCHEMA\n {%- else -%}\n INFORMATION_SCHEMA\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.883314, "supported_languages": null}, "macro.dbt.list_schemas": {"name": "list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_schemas", "macro_sql": "{% macro list_schemas(database) -%}\n {{ return(adapter.dispatch('list_schemas', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__list_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.883696, "supported_languages": null}, "macro.dbt.default__list_schemas": {"name": "default__list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_schemas", "macro_sql": "{% macro default__list_schemas(database) -%}\n {% set sql %}\n select distinct schema_name\n from {{ information_schema_name(database) }}.SCHEMATA\n where catalog_name ilike '{{ database }}'\n {% endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.information_schema_name", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.884297, "supported_languages": null}, "macro.dbt.check_schema_exists": {"name": "check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.check_schema_exists", "macro_sql": "{% macro check_schema_exists(information_schema, schema) -%}\n {{ return(adapter.dispatch('check_schema_exists', 'dbt')(information_schema, schema)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__check_schema_exists"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8847349, "supported_languages": null}, "macro.dbt.default__check_schema_exists": {"name": "default__check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__check_schema_exists", "macro_sql": "{% macro default__check_schema_exists(information_schema, schema) -%}\n {% set sql -%}\n select count(*)\n from {{ information_schema.replace(information_schema_view='SCHEMATA') }}\n where catalog_name='{{ information_schema.database }}'\n and schema_name='{{ schema }}'\n {%- endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.885372, "supported_languages": null}, "macro.dbt.list_relations_without_caching": {"name": "list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_relations_without_caching", "macro_sql": "{% macro list_relations_without_caching(schema_relation) %}\n {{ return(adapter.dispatch('list_relations_without_caching', 'dbt')(schema_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__list_relations_without_caching"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.885773, "supported_languages": null}, "macro.dbt.default__list_relations_without_caching": {"name": "default__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_relations_without_caching", "macro_sql": "{% macro default__list_relations_without_caching(schema_relation) %}\n {{ exceptions.raise_not_implemented(\n 'list_relations_without_caching macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.886121, "supported_languages": null}, "macro.dbt.get_columns_in_relation": {"name": "get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_relation", "macro_sql": "{% macro get_columns_in_relation(relation) -%}\n {{ return(adapter.dispatch('get_columns_in_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.888653, "supported_languages": null}, "macro.dbt.default__get_columns_in_relation": {"name": "default__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_relation", "macro_sql": "{% macro default__get_columns_in_relation(relation) -%}\n {{ exceptions.raise_not_implemented(\n 'get_columns_in_relation macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.889007, "supported_languages": null}, "macro.dbt.sql_convert_columns_in_relation": {"name": "sql_convert_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.sql_convert_columns_in_relation", "macro_sql": "{% macro sql_convert_columns_in_relation(table) -%}\n {% set columns = [] %}\n {% for row in table %}\n {% do columns.append(api.Column(*row)) %}\n {% endfor %}\n {{ return(columns) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.889664, "supported_languages": null}, "macro.dbt.get_columns_in_query": {"name": "get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_query", "macro_sql": "{% macro get_columns_in_query(select_sql) -%}\n {{ return(adapter.dispatch('get_columns_in_query', 'dbt')(select_sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.890062, "supported_languages": null}, "macro.dbt.default__get_columns_in_query": {"name": "default__get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_query", "macro_sql": "{% macro default__get_columns_in_query(select_sql) %}\n {% call statement('get_columns_in_query', fetch_result=True, auto_begin=False) -%}\n select * from (\n {{ select_sql }}\n ) as __dbt_sbq\n where false\n limit 0\n {% endcall %}\n\n {{ return(load_result('get_columns_in_query').table.columns | map(attribute='name') | list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.891058, "supported_languages": null}, "macro.dbt.alter_column_type": {"name": "alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_column_type", "macro_sql": "{% macro alter_column_type(relation, column_name, new_column_type) -%}\n {{ return(adapter.dispatch('alter_column_type', 'dbt')(relation, column_name, new_column_type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.891542, "supported_languages": null}, "macro.dbt.default__alter_column_type": {"name": "default__alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_column_type", "macro_sql": "{% macro default__alter_column_type(relation, column_name, new_column_type) -%}\n {#\n 1. Create a new column (w/ temp name and correct type)\n 2. Copy data over to it\n 3. Drop the existing column (cascade!)\n 4. Rename the new column to existing column\n #}\n {%- set tmp_column = column_name + \"__dbt_alter\" -%}\n\n {% call statement('alter_column_type') %}\n alter table {{ relation }} add column {{ adapter.quote(tmp_column) }} {{ new_column_type }};\n update {{ relation }} set {{ adapter.quote(tmp_column) }} = {{ adapter.quote(column_name) }};\n alter table {{ relation }} drop column {{ adapter.quote(column_name) }} cascade;\n alter table {{ relation }} rename column {{ adapter.quote(tmp_column) }} to {{ adapter.quote(column_name) }}\n {% endcall %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.892781, "supported_languages": null}, "macro.dbt.alter_relation_add_remove_columns": {"name": "alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_relation_add_remove_columns", "macro_sql": "{% macro alter_relation_add_remove_columns(relation, add_columns = none, remove_columns = none) -%}\n {{ return(adapter.dispatch('alter_relation_add_remove_columns', 'dbt')(relation, add_columns, remove_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_relation_add_remove_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8933141, "supported_languages": null}, "macro.dbt.default__alter_relation_add_remove_columns": {"name": "default__alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_relation_add_remove_columns", "macro_sql": "{% macro default__alter_relation_add_remove_columns(relation, add_columns, remove_columns) %}\n\n {% if add_columns is none %}\n {% set add_columns = [] %}\n {% endif %}\n {% if remove_columns is none %}\n {% set remove_columns = [] %}\n {% endif %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n\n {% for column in add_columns %}\n add column {{ column.name }} {{ column.data_type }}{{ ',' if not loop.last }}\n {% endfor %}{{ ',' if add_columns and remove_columns }}\n\n {% for column in remove_columns %}\n drop column {{ column.name }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {% do run_query(sql) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.895025, "supported_languages": null}, "macro.dbt.resolve_model_name": {"name": "resolve_model_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.resolve_model_name", "macro_sql": "{% macro resolve_model_name(input_model_name) %}\n {{ return(adapter.dispatch('resolve_model_name', 'dbt')(input_model_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.89713, "supported_languages": null}, "macro.dbt.default__resolve_model_name": {"name": "default__resolve_model_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.default__resolve_model_name", "macro_sql": "\n\n{%- macro default__resolve_model_name(input_model_name) -%}\n {{ input_model_name | string | replace('\"', '\\\"') }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.897459, "supported_languages": null}, "macro.dbt.build_ref_function": {"name": "build_ref_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_ref_function", "macro_sql": "{% macro build_ref_function(model) %}\n\n {%- set ref_dict = {} -%}\n {%- for _ref in model.refs -%}\n {%- set resolved = ref(*_ref) -%}\n {%- do ref_dict.update({_ref | join('.'): resolve_model_name(resolved)}) -%}\n {%- endfor -%}\n\ndef ref(*args,dbt_load_df_function):\n refs = {{ ref_dict | tojson }}\n key = '.'.join(args)\n return dbt_load_df_function(refs[key])\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8985221, "supported_languages": null}, "macro.dbt.build_source_function": {"name": "build_source_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_source_function", "macro_sql": "{% macro build_source_function(model) %}\n\n {%- set source_dict = {} -%}\n {%- for _source in model.sources -%}\n {%- set resolved = source(*_source) -%}\n {%- do source_dict.update({_source | join('.'): resolve_model_name(resolved)}) -%}\n {%- endfor -%}\n\ndef source(*args, dbt_load_df_function):\n sources = {{ source_dict | tojson }}\n key = '.'.join(args)\n return dbt_load_df_function(sources[key])\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.resolve_model_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.8993862, "supported_languages": null}, "macro.dbt.build_config_dict": {"name": "build_config_dict", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_config_dict", "macro_sql": "{% macro build_config_dict(model) %}\n {%- set config_dict = {} -%}\n {% set config_dbt_used = zip(model.config.config_keys_used, model.config.config_keys_defaults) | list %}\n {%- for key, default in config_dbt_used -%}\n {# weird type testing with enum, would be much easier to write this logic in Python! #}\n {%- if key == \"language\" -%}\n {%- set value = \"python\" -%}\n {%- endif -%}\n {%- set value = model.config.get(key, default) -%}\n {%- do config_dict.update({key: value}) -%}\n {%- endfor -%}\nconfig_dict = {{ config_dict }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9005928, "supported_languages": null}, "macro.dbt.py_script_postfix": {"name": "py_script_postfix", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_postfix", "macro_sql": "{% macro py_script_postfix(model) %}\n# This part is user provided model code\n# you will need to copy the next section to run the code\n# COMMAND ----------\n# this part is dbt logic for get ref work, do not modify\n\n{{ build_ref_function(model ) }}\n{{ build_source_function(model ) }}\n{{ build_config_dict(model) }}\n\nclass config:\n def __init__(self, *args, **kwargs):\n pass\n\n @staticmethod\n def get(key, default=None):\n return config_dict.get(key, default)\n\nclass this:\n \"\"\"dbt.this() or dbt.this.identifier\"\"\"\n database = \"{{ this.database }}\"\n schema = \"{{ this.schema }}\"\n identifier = \"{{ this.identifier }}\"\n {% set this_relation_name = resolve_model_name(this) %}\n def __repr__(self):\n return '{{ this_relation_name }}'\n\n\nclass dbtObj:\n def __init__(self, load_df_function) -> None:\n self.source = lambda *args: source(*args, dbt_load_df_function=load_df_function)\n self.ref = lambda *args: ref(*args, dbt_load_df_function=load_df_function)\n self.config = config\n self.this = this()\n self.is_incremental = {{ is_incremental() }}\n\n# COMMAND ----------\n{{py_script_comment()}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.build_ref_function", "macro.dbt.build_source_function", "macro.dbt.build_config_dict", "macro.dbt.resolve_model_name", "macro.dbt.is_incremental", "macro.dbt.py_script_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9015539, "supported_languages": null}, "macro.dbt.py_script_comment": {"name": "py_script_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_comment", "macro_sql": "{%macro py_script_comment()%}\n{%endmacro%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9017222, "supported_languages": null}, "macro.dbt.test_unique": {"name": "test_unique", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_unique", "macro_sql": "{% test unique(model, column_name) %}\n {% set macro = adapter.dispatch('test_unique', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__test_unique"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9026382, "supported_languages": null}, "macro.dbt.test_not_null": {"name": "test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_not_null", "macro_sql": "{% test not_null(model, column_name) %}\n {% set macro = adapter.dispatch('test_not_null', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.903161, "supported_languages": null}, "macro.dbt.test_accepted_values": {"name": "test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_accepted_values", "macro_sql": "{% test accepted_values(model, column_name, values, quote=True) %}\n {% set macro = adapter.dispatch('test_accepted_values', 'dbt') %}\n {{ macro(model, column_name, values, quote) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.903763, "supported_languages": null}, "macro.dbt.test_relationships": {"name": "test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_relationships", "macro_sql": "{% test relationships(model, column_name, to, field) %}\n {% set macro = adapter.dispatch('test_relationships', 'dbt') %}\n {{ macro(model, column_name, to, field) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_relationships"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.904317, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"start_date\", \"datatype\": \"date\"},\n {\"name\": \"end_date\", \"datatype\": \"date\"},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9069262, "supported_languages": null}, "macro.microsoft_ads_source.get_campaign_daily_report_columns": {"name": "get_campaign_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_campaign_daily_report_columns.sql", "original_file_path": "macros/get_campaign_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_campaign_daily_report_columns", "macro_sql": "{% macro get_campaign_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget_association_status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.91053, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_group_daily_report_columns": {"name": "get_ad_group_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_group_daily_report_columns.sql", "original_file_path": "macros/get_ad_group_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_group_daily_report_columns", "macro_sql": "{% macro get_ad_group_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9141278, "supported_languages": null}, "macro.microsoft_ads_source.get_account_daily_report_columns": {"name": "get_account_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_account_daily_report_columns.sql", "original_file_path": "macros/get_account_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_account_daily_report_columns", "macro_sql": "{% macro get_account_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__account_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9169788, "supported_languages": null}, "macro.microsoft_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.918709, "supported_languages": null}, "macro.microsoft_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9200718, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"title_part_1\", \"datatype\": dbt.type_string()},\n {\"name\": \"final_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.921788, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_daily_report_columns": {"name": "get_ad_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_daily_report_columns.sql", "original_file_path": "macros/get_ad_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_daily_report_columns", "macro_sql": "{% macro get_ad_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.925816, "supported_languages": null}, "macro.microsoft_ads_source.get_keyword_daily_report_columns": {"name": "get_keyword_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_keyword_daily_report_columns.sql", "original_file_path": "macros/get_keyword_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_keyword_daily_report_columns", "macro_sql": "{% macro get_keyword_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.929763, "supported_languages": null}, "macro.microsoft_ads_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9313111, "supported_languages": null}, "macro.microsoft_ads_source.get_search_daily_report_columns": {"name": "get_search_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_search_daily_report_columns.sql", "original_file_path": "macros/get_search_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_search_daily_report_columns", "macro_sql": "{% macro get_search_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"search_query\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__search_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.935085, "supported_languages": null}, "macro.dbt_utils.get_url_host": {"name": "get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.get_url_host", "macro_sql": "{% macro get_url_host(field) -%}\n {{ return(adapter.dispatch('get_url_host', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_host"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.935759, "supported_languages": null}, "macro.dbt_utils.default__get_url_host": {"name": "default__get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.default__get_url_host", "macro_sql": "{% macro default__get_url_host(field) -%}\n\n{%- set parsed =\n dbt.split_part(\n dbt.split_part(\n dbt.replace(\n dbt.replace(\n dbt.replace(field, \"'android-app://'\", \"''\"\n ), \"'http://'\", \"''\"\n ), \"'https://'\", \"''\"\n ), \"'/'\", 1\n ), \"'?'\", 1\n )\n\n-%}\n\n\n {{ dbt.safe_cast(\n parsed,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt.replace", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.93677, "supported_languages": null}, "macro.dbt_utils.get_url_path": {"name": "get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.get_url_path", "macro_sql": "{% macro get_url_path(field) -%}\n {{ return(adapter.dispatch('get_url_path', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_path"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9376168, "supported_languages": null}, "macro.dbt_utils.default__get_url_path": {"name": "default__get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.default__get_url_path", "macro_sql": "{% macro default__get_url_path(field) -%}\n\n {%- set stripped_url =\n dbt.replace(\n dbt.replace(field, \"'http://'\", \"''\"), \"'https://'\", \"''\")\n -%}\n\n {%- set first_slash_pos -%}\n coalesce(\n nullif({{ dbt.position(\"'/'\", stripped_url) }}, 0),\n {{ dbt.position(\"'?'\", stripped_url) }} - 1\n )\n {%- endset -%}\n\n {%- set parsed_path =\n dbt.split_part(\n dbt.right(\n stripped_url,\n dbt.length(stripped_url) ~ \"-\" ~ first_slash_pos\n ),\n \"'?'\", 1\n )\n -%}\n\n {{ dbt.safe_cast(\n parsed_path,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.position", "macro.dbt.split_part", "macro.dbt.right", "macro.dbt.length", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9389608, "supported_languages": null}, "macro.dbt_utils.get_url_parameter": {"name": "get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.get_url_parameter", "macro_sql": "{% macro get_url_parameter(field, url_parameter) -%}\n {{ return(adapter.dispatch('get_url_parameter', 'dbt_utils')(field, url_parameter)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_parameter"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9395862, "supported_languages": null}, "macro.dbt_utils.default__get_url_parameter": {"name": "default__get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.default__get_url_parameter", "macro_sql": "{% macro default__get_url_parameter(field, url_parameter) -%}\n\n{%- set formatted_url_parameter = \"'\" + url_parameter + \"='\" -%}\n\n{%- set split = dbt.split_part(dbt.split_part(field, formatted_url_parameter, 2), \"'&'\", 1) -%}\n\nnullif({{ split }},'')\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.940264, "supported_languages": null}, "macro.dbt_utils.test_fewer_rows_than": {"name": "test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.test_fewer_rows_than", "macro_sql": "{% test fewer_rows_than(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_fewer_rows_than', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_fewer_rows_than"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.941934, "supported_languages": null}, "macro.dbt_utils.default__test_fewer_rows_than": {"name": "default__test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.default__test_fewer_rows_than", "macro_sql": "{% macro default__test_fewer_rows_than(model, compare_model, group_by_columns) %}\n\n{{ config(fail_calc = 'sum(coalesce(row_count_delta, 0))') }}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in equal_rowcount. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_fewer_rows_than'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_our_model \n from {{ model }}\n {{ groupby_gb_cols }}\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_comparison_model \n from {{ compare_model }}\n {{ groupby_gb_cols }}\n\n),\ncounts as (\n\n select\n\n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_our_model,\n count_comparison_model\n from a\n full join b on \n a.id_dbtutils_test_fewer_rows_than = b.id_dbtutils_test_fewer_rows_than\n {{ join_gb_cols }}\n\n),\nfinal as (\n\n select *,\n case\n -- fail the test if we have more rows than the reference model and return the row count delta\n when count_our_model > count_comparison_model then (count_our_model - count_comparison_model)\n -- fail the test if they are the same number\n when count_our_model = count_comparison_model then 1\n -- pass the test if the delta is positive (i.e. return the number 0)\n else 0\n end as row_count_delta\n from counts\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9441202, "supported_languages": null}, "macro.dbt_utils.test_equal_rowcount": {"name": "test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.test_equal_rowcount", "macro_sql": "{% test equal_rowcount(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_equal_rowcount', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equal_rowcount"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9455261, "supported_languages": null}, "macro.dbt_utils.default__test_equal_rowcount": {"name": "default__test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.default__test_equal_rowcount", "macro_sql": "{% macro default__test_equal_rowcount(model, compare_model, group_by_columns) %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = 'sum(coalesce(diff_count, 0))') }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(', ') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in fewer_rows_than. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_equal_rowcount'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_a \n from {{ model }}\n {{groupby_gb_cols}}\n\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_b \n from {{ compare_model }}\n {{groupby_gb_cols}}\n\n),\nfinal as (\n\n select\n \n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_a,\n count_b,\n abs(count_a - count_b) as diff_count\n\n from a\n full join b\n on\n a.id_dbtutils_test_equal_rowcount = b.id_dbtutils_test_equal_rowcount\n {{join_gb_cols}}\n\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.947753, "supported_languages": null}, "macro.dbt_utils.test_relationships_where": {"name": "test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.test_relationships_where", "macro_sql": "{% test relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n {{ return(adapter.dispatch('test_relationships_where', 'dbt_utils')(model, column_name, to, field, from_condition, to_condition)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_relationships_where"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9489, "supported_languages": null}, "macro.dbt_utils.default__test_relationships_where": {"name": "default__test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.default__test_relationships_where", "macro_sql": "{% macro default__test_relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n\n{# T-SQL has no boolean data type so we use 1=1 which returns TRUE #}\n{# ref https://stackoverflow.com/a/7170753/3842610 #}\n\nwith left_table as (\n\n select\n {{column_name}} as id\n\n from {{model}}\n\n where {{column_name}} is not null\n and {{from_condition}}\n\n),\n\nright_table as (\n\n select\n {{field}} as id\n\n from {{to}}\n\n where {{field}} is not null\n and {{to_condition}}\n\n),\n\nexceptions as (\n\n select\n left_table.id,\n right_table.id as right_id\n\n from left_table\n\n left join right_table\n on left_table.id = right_table.id\n\n where right_table.id is null\n\n)\n\nselect * from exceptions\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9496078, "supported_languages": null}, "macro.dbt_utils.test_recency": {"name": "test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.test_recency", "macro_sql": "{% test recency(model, field, datepart, interval, ignore_time_component=False, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_recency', 'dbt_utils')(model, field, datepart, interval, ignore_time_component, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_recency"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.950867, "supported_languages": null}, "macro.dbt_utils.default__test_recency": {"name": "default__test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.default__test_recency", "macro_sql": "{% macro default__test_recency(model, field, datepart, interval, ignore_time_component, group_by_columns) %}\n\n{% set threshold = 'cast(' ~ dbt.dateadd(datepart, interval * -1, dbt.current_timestamp()) ~ ' as ' ~ ('date' if ignore_time_component else dbt.type_timestamp()) ~ ')' %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nwith recency as (\n\n select \n\n {{ select_gb_cols }}\n {% if ignore_time_component %}\n cast(max({{ field }}) as date) as most_recent\n {%- else %}\n max({{ field }}) as most_recent\n {%- endif %}\n\n from {{ model }}\n\n {{ groupby_gb_cols }}\n\n)\n\nselect\n\n {{ select_gb_cols }}\n most_recent,\n {{ threshold }} as threshold\n\nfrom recency\nwhere most_recent < {{ threshold }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.current_timestamp", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.952579, "supported_languages": null}, "macro.dbt_utils.test_not_constant": {"name": "test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.test_not_constant", "macro_sql": "{% test not_constant(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_constant', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_constant"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.953413, "supported_languages": null}, "macro.dbt_utils.default__test_not_constant": {"name": "default__test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.default__test_not_constant", "macro_sql": "{% macro default__test_not_constant(model, column_name, group_by_columns) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nselect\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count(distinct {{ column_name }}) as filler_column\n\nfrom {{ model }}\n\n {{groupby_gb_cols}}\n\nhaving count(distinct {{ column_name }}) = 1\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.954371, "supported_languages": null}, "macro.dbt_utils.test_accepted_range": {"name": "test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.test_accepted_range", "macro_sql": "{% test accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n {{ return(adapter.dispatch('test_accepted_range', 'dbt_utils')(model, column_name, min_value, max_value, inclusive)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_accepted_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9554539, "supported_languages": null}, "macro.dbt_utils.default__test_accepted_range": {"name": "default__test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.default__test_accepted_range", "macro_sql": "{% macro default__test_accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n\nwith meet_condition as(\n select *\n from {{ model }}\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n\n {%- if min_value is not none %}\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} > {{- \"=\" if inclusive }} {{ min_value }}\n {%- endif %}\n\n {%- if max_value is not none %}\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} < {{- \"=\" if inclusive }} {{ max_value }}\n {%- endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.956429, "supported_languages": null}, "macro.dbt_utils.test_not_accepted_values": {"name": "test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.test_not_accepted_values", "macro_sql": "{% test not_accepted_values(model, column_name, values, quote=True) %}\n {{ return(adapter.dispatch('test_not_accepted_values', 'dbt_utils')(model, column_name, values, quote)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.957401, "supported_languages": null}, "macro.dbt_utils.default__test_not_accepted_values": {"name": "default__test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.default__test_not_accepted_values", "macro_sql": "{% macro default__test_not_accepted_values(model, column_name, values, quote=True) %}\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n\n),\n\nvalidation_errors as (\n\n select\n value_field\n\n from all_values\n where value_field in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n )\n\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9582012, "supported_languages": null}, "macro.dbt_utils.test_at_least_one": {"name": "test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.test_at_least_one", "macro_sql": "{% test at_least_one(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_at_least_one', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_at_least_one"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.959051, "supported_languages": null}, "macro.dbt_utils.default__test_at_least_one": {"name": "default__test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.default__test_at_least_one", "macro_sql": "{% macro default__test_at_least_one(model, column_name, group_by_columns) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\nselect *\nfrom (\n select\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count({{ column_name }}) as filler_column\n\n from {{ model }}\n\n {{groupby_gb_cols}}\n\n having count({{ column_name }}) = 0\n\n) validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9601028, "supported_languages": null}, "macro.dbt_utils.test_unique_combination_of_columns": {"name": "test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.test_unique_combination_of_columns", "macro_sql": "{% test unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n {{ return(adapter.dispatch('test_unique_combination_of_columns', 'dbt_utils')(model, combination_of_columns, quote_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_unique_combination_of_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.961243, "supported_languages": null}, "macro.dbt_utils.default__test_unique_combination_of_columns": {"name": "default__test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.default__test_unique_combination_of_columns", "macro_sql": "{% macro default__test_unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n\n{% if not quote_columns %}\n {%- set column_list=combination_of_columns %}\n{% elif quote_columns %}\n {%- set column_list=[] %}\n {% for column in combination_of_columns -%}\n {% set column_list = column_list.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for unique_combination_of_columns test must be one of [True, False] Got: '\" ~ quote ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set columns_csv=column_list | join(', ') %}\n\n\nwith validation_errors as (\n\n select\n {{ columns_csv }}\n from {{ model }}\n group by {{ columns_csv }}\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.96258, "supported_languages": null}, "macro.dbt_utils.test_cardinality_equality": {"name": "test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.test_cardinality_equality", "macro_sql": "{% test cardinality_equality(model, column_name, to, field) %}\n {{ return(adapter.dispatch('test_cardinality_equality', 'dbt_utils')(model, column_name, to, field)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_cardinality_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9635358, "supported_languages": null}, "macro.dbt_utils.default__test_cardinality_equality": {"name": "default__test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.default__test_cardinality_equality", "macro_sql": "{% macro default__test_cardinality_equality(model, column_name, to, field) %}\n\n{# T-SQL does not let you use numbers as aliases for columns #}\n{# Thus, no \"GROUP BY 1\" #}\n\nwith table_a as (\nselect\n {{ column_name }},\n count(*) as num_rows\nfrom {{ model }}\ngroup by {{ column_name }}\n),\n\ntable_b as (\nselect\n {{ field }},\n count(*) as num_rows\nfrom {{ to }}\ngroup by {{ field }}\n),\n\nexcept_a as (\n select *\n from table_a\n {{ dbt.except() }}\n select *\n from table_b\n),\n\nexcept_b as (\n select *\n from table_b\n {{ dbt.except() }}\n select *\n from table_a\n),\n\nunioned as (\n select *\n from except_a\n union all\n select *\n from except_b\n)\n\nselect *\nfrom unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9642591, "supported_languages": null}, "macro.dbt_utils.test_expression_is_true": {"name": "test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.test_expression_is_true", "macro_sql": "{% test expression_is_true(model, expression, column_name=None) %}\n {{ return(adapter.dispatch('test_expression_is_true', 'dbt_utils')(model, expression, column_name)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.965039, "supported_languages": null}, "macro.dbt_utils.default__test_expression_is_true": {"name": "default__test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.default__test_expression_is_true", "macro_sql": "{% macro default__test_expression_is_true(model, expression, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else \"1\" %}\n\nselect\n {{ column_list }}\nfrom {{ model }}\n{% if column_name is none %}\nwhere not({{ expression }})\n{%- else %}\nwhere not({{ column_name }} {{ expression }})\n{%- endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.965812, "supported_languages": null}, "macro.dbt_utils.test_not_null_proportion": {"name": "test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.test_not_null_proportion", "macro_sql": "{% macro test_not_null_proportion(model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_null_proportion', 'dbt_utils')(model, group_by_columns, **kwargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_null_proportion"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.966933, "supported_languages": null}, "macro.dbt_utils.default__test_not_null_proportion": {"name": "default__test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.default__test_not_null_proportion", "macro_sql": "{% macro default__test_not_null_proportion(model, group_by_columns) %}\n\n{% set column_name = kwargs.get('column_name', kwargs.get('arg')) %}\n{% set at_least = kwargs.get('at_least', kwargs.get('arg')) %}\n{% set at_most = kwargs.get('at_most', kwargs.get('arg', 1)) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith validation as (\n select\n {{select_gb_cols}}\n sum(case when {{ column_name }} is null then 0 else 1 end) / cast(count(*) as numeric) as not_null_proportion\n from {{ model }}\n {{groupby_gb_cols}}\n),\nvalidation_errors as (\n select\n {{select_gb_cols}}\n not_null_proportion\n from validation\n where not_null_proportion < {{ at_least }} or not_null_proportion > {{ at_most }}\n)\nselect\n *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9687521, "supported_languages": null}, "macro.dbt_utils.test_sequential_values": {"name": "test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.test_sequential_values", "macro_sql": "{% test sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n {{ return(adapter.dispatch('test_sequential_values', 'dbt_utils')(model, column_name, interval, datepart, group_by_columns)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_sequential_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.97026, "supported_languages": null}, "macro.dbt_utils.default__test_sequential_values": {"name": "default__test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.default__test_sequential_values", "macro_sql": "{% macro default__test_sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n{% set previous_column_name = \"previous_\" ~ dbt_utils.slugify(column_name) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(',') + ', ' %}\n {% set partition_gb_cols = 'partition by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith windowed as (\n\n select\n {{ select_gb_cols }}\n {{ column_name }},\n lag({{ column_name }}) over (\n {{partition_gb_cols}}\n order by {{ column_name }}\n ) as {{ previous_column_name }}\n from {{ model }}\n),\n\nvalidation_errors as (\n select\n *\n from windowed\n {% if datepart %}\n where not(cast({{ column_name }} as {{ dbt.type_timestamp() }})= cast({{ dbt.dateadd(datepart, interval, previous_column_name) }} as {{ dbt.type_timestamp() }}))\n {% else %}\n where not({{ column_name }} = {{ previous_column_name }} + {{ interval }})\n {% endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.slugify", "macro.dbt.type_timestamp", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.972152, "supported_languages": null}, "macro.dbt_utils.test_equality": {"name": "test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.test_equality", "macro_sql": "{% test equality(model, compare_model, compare_columns=None) %}\n {{ return(adapter.dispatch('test_equality', 'dbt_utils')(model, compare_model, compare_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.973572, "supported_languages": null}, "macro.dbt_utils.default__test_equality": {"name": "default__test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.default__test_equality", "macro_sql": "{% macro default__test_equality(model, compare_model, compare_columns=None) %}\n\n{% set set_diff %}\n count(*) + coalesce(abs(\n sum(case when which_diff = 'a_minus_b' then 1 else 0 end) -\n sum(case when which_diff = 'b_minus_a' then 1 else 0 end)\n ), 0)\n{% endset %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = set_diff) }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n-- setup\n{%- do dbt_utils._is_relation(model, 'test_equality') -%}\n\n{#-\nIf the compare_cols arg is provided, we can run this test without querying the\ninformation schema\u00a0\u2014 this allows the model to be an ephemeral model\n-#}\n\n{%- if not compare_columns -%}\n {%- do dbt_utils._is_ephemeral(model, 'test_equality') -%}\n {%- set compare_columns = adapter.get_columns_in_relation(model) | map(attribute='quoted') -%}\n{%- endif -%}\n\n{% set compare_cols_csv = compare_columns | join(', ') %}\n\nwith a as (\n\n select * from {{ model }}\n\n),\n\nb as (\n\n select * from {{ compare_model }}\n\n),\n\na_minus_b as (\n\n select {{compare_cols_csv}} from a\n {{ dbt.except() }}\n select {{compare_cols_csv}} from b\n\n),\n\nb_minus_a as (\n\n select {{compare_cols_csv}} from b\n {{ dbt.except() }}\n select {{compare_cols_csv}} from a\n\n),\n\nunioned as (\n\n select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b\n union all\n select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a\n\n)\n\nselect * from unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9753861, "supported_languages": null}, "macro.dbt_utils.test_not_empty_string": {"name": "test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.test_not_empty_string", "macro_sql": "{% test not_empty_string(model, column_name, trim_whitespace=true) %}\n\n {{ return(adapter.dispatch('test_not_empty_string', 'dbt_utils')(model, column_name, trim_whitespace)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_empty_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.97629, "supported_languages": null}, "macro.dbt_utils.default__test_not_empty_string": {"name": "default__test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.default__test_not_empty_string", "macro_sql": "{% macro default__test_not_empty_string(model, column_name, trim_whitespace=true) %}\n\n with\n \n all_values as (\n\n select \n\n\n {% if trim_whitespace == true -%}\n\n trim({{ column_name }}) as {{ column_name }}\n\n {%- else -%}\n\n {{ column_name }}\n\n {%- endif %}\n \n from {{ model }}\n\n ),\n\n errors as (\n\n select * from all_values\n where {{ column_name }} = ''\n\n )\n\n select * from errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.976918, "supported_languages": null}, "macro.dbt_utils.test_mutually_exclusive_ranges": {"name": "test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.test_mutually_exclusive_ranges", "macro_sql": "{% test mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n {{ return(adapter.dispatch('test_mutually_exclusive_ranges', 'dbt_utils')(model, lower_bound_column, upper_bound_column, partition_by, gaps, zero_length_range_allowed)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_mutually_exclusive_ranges"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.981861, "supported_languages": null}, "macro.dbt_utils.default__test_mutually_exclusive_ranges": {"name": "default__test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.default__test_mutually_exclusive_ranges", "macro_sql": "{% macro default__test_mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n{% if gaps == 'not_allowed' %}\n {% set allow_gaps_operator='=' %}\n {% set allow_gaps_operator_in_words='equal_to' %}\n{% elif gaps == 'allowed' %}\n {% set allow_gaps_operator='<=' %}\n {% set allow_gaps_operator_in_words='less_than_or_equal_to' %}\n{% elif gaps == 'required' %}\n {% set allow_gaps_operator='<' %}\n {% set allow_gaps_operator_in_words='less_than' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`gaps` argument for mutually_exclusive_ranges test must be one of ['not_allowed', 'allowed', 'required'] Got: '\" ~ gaps ~\"'.'\"\n ) }}\n{% endif %}\n{% if not zero_length_range_allowed %}\n {% set allow_zero_length_operator='<' %}\n {% set allow_zero_length_operator_in_words='less_than' %}\n{% elif zero_length_range_allowed %}\n {% set allow_zero_length_operator='<=' %}\n {% set allow_zero_length_operator_in_words='less_than_or_equal_to' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`zero_length_range_allowed` argument for mutually_exclusive_ranges test must be one of [true, false] Got: '\" ~ zero_length_range_allowed ~\"'.'\"\n ) }}\n{% endif %}\n\n{% set partition_clause=\"partition by \" ~ partition_by if partition_by else '' %}\n\nwith window_functions as (\n\n select\n {% if partition_by %}\n {{ partition_by }} as partition_by_col,\n {% endif %}\n {{ lower_bound_column }} as lower_bound,\n {{ upper_bound_column }} as upper_bound,\n\n lead({{ lower_bound_column }}) over (\n {{ partition_clause }}\n order by {{ lower_bound_column }}, {{ upper_bound_column }}\n ) as next_lower_bound,\n\n row_number() over (\n {{ partition_clause }}\n order by {{ lower_bound_column }} desc, {{ upper_bound_column }} desc\n ) = 1 as is_last_record\n\n from {{ model }}\n\n),\n\ncalc as (\n -- We want to return records where one of our assumptions fails, so we'll use\n -- the `not` function with `and` statements so we can write our assumptions more cleanly\n select\n *,\n\n -- For each record: lower_bound should be < upper_bound.\n -- Coalesce it to return an error on the null case (implicit assumption\n -- these columns are not_null)\n coalesce(\n lower_bound {{ allow_zero_length_operator }} upper_bound,\n false\n ) as lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound,\n\n -- For each record: upper_bound {{ allow_gaps_operator }} the next lower_bound.\n -- Coalesce it to handle null cases for the last record.\n coalesce(\n upper_bound {{ allow_gaps_operator }} next_lower_bound,\n is_last_record,\n false\n ) as upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n\n from window_functions\n\n),\n\nvalidation_errors as (\n\n select\n *\n from calc\n\n where not(\n -- THE FOLLOWING SHOULD BE TRUE --\n lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound\n and upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n )\n)\n\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.985004, "supported_languages": null}, "macro.dbt_utils.pretty_log_format": {"name": "pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.pretty_log_format", "macro_sql": "{% macro pretty_log_format(message) %}\n {{ return(adapter.dispatch('pretty_log_format', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9855418, "supported_languages": null}, "macro.dbt_utils.default__pretty_log_format": {"name": "default__pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.default__pretty_log_format", "macro_sql": "{% macro default__pretty_log_format(message) %}\n {{ return( dbt_utils.pretty_time() ~ ' + ' ~ message) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.985899, "supported_languages": null}, "macro.dbt_utils._is_relation": {"name": "_is_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_relation.sql", "original_file_path": "macros/jinja_helpers/_is_relation.sql", "unique_id": "macro.dbt_utils._is_relation", "macro_sql": "{% macro _is_relation(obj, macro) %}\n {%- if not (obj is mapping and obj.get('metadata', {}).get('type', '').endswith('Relation')) -%}\n {%- do exceptions.raise_compiler_error(\"Macro \" ~ macro ~ \" expected a Relation but received the value: \" ~ obj) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.986787, "supported_languages": null}, "macro.dbt_utils.pretty_time": {"name": "pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.pretty_time", "macro_sql": "{% macro pretty_time(format='%H:%M:%S') %}\n {{ return(adapter.dispatch('pretty_time', 'dbt_utils')(format)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9873438, "supported_languages": null}, "macro.dbt_utils.default__pretty_time": {"name": "default__pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.default__pretty_time", "macro_sql": "{% macro default__pretty_time(format='%H:%M:%S') %}\n {{ return(modules.datetime.datetime.now().strftime(format)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9877539, "supported_languages": null}, "macro.dbt_utils.log_info": {"name": "log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.log_info", "macro_sql": "{% macro log_info(message) %}\n {{ return(adapter.dispatch('log_info', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__log_info"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.988273, "supported_languages": null}, "macro.dbt_utils.default__log_info": {"name": "default__log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.default__log_info", "macro_sql": "{% macro default__log_info(message) %}\n {{ log(dbt_utils.pretty_log_format(message), info=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.988642, "supported_languages": null}, "macro.dbt_utils.slugify": {"name": "slugify", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/slugify.sql", "original_file_path": "macros/jinja_helpers/slugify.sql", "unique_id": "macro.dbt_utils.slugify", "macro_sql": "{% macro slugify(string) %}\n\n{#- Lower case the string -#}\n{% set string = string | lower %}\n{#- Replace spaces and dashes with underscores -#}\n{% set string = modules.re.sub('[ -]+', '_', string) %}\n{#- Only take letters, numbers, and underscores -#}\n{% set string = modules.re.sub('[^a-z0-9_]+', '', string) %}\n{#- Prepends \"_\" if string begins with a number -#}\n{% set string = modules.re.sub('^[0-9]', '_' + string[0], string) %}\n\n{{ return(string) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.989877, "supported_languages": null}, "macro.dbt_utils._is_ephemeral": {"name": "_is_ephemeral", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_ephemeral.sql", "original_file_path": "macros/jinja_helpers/_is_ephemeral.sql", "unique_id": "macro.dbt_utils._is_ephemeral", "macro_sql": "{% macro _is_ephemeral(obj, macro) %}\n {%- if obj.is_cte -%}\n {% set ephemeral_prefix = api.Relation.add_ephemeral_prefix('') %}\n {% if obj.name.startswith(ephemeral_prefix) %}\n {% set model_name = obj.name[(ephemeral_prefix|length):] %}\n {% else %}\n {% set model_name = obj.name %}\n {%- endif -%}\n {% set error_message %}\nThe `{{ macro }}` macro cannot be used with ephemeral models, as it relies on the information schema.\n\n`{{ model_name }}` is an ephemeral model. Consider making it a view or table instead.\n {% endset %}\n {%- do exceptions.raise_compiler_error(error_message) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9914398, "supported_languages": null}, "macro.dbt_utils.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt_utils')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.992616, "supported_languages": null}, "macro.dbt_utils.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.993839, "supported_languages": null}, "macro.dbt_utils.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt_utils')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.994433, "supported_languages": null}, "macro.dbt_utils.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n{# call as follows:\n\ndate_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n) #}\n\n\nwith rawdata as (\n\n {{dbt_utils.generate_series(\n dbt_utils.get_intervals_between(start_date, end_date, datepart)\n )}}\n\n),\n\nall_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n),\n\nfiltered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n)\n\nselect * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.generate_series", "macro.dbt_utils.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9951942, "supported_languages": null}, "macro.dbt_utils.nullcheck_table": {"name": "nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.nullcheck_table", "macro_sql": "{% macro nullcheck_table(relation) %}\n {{ return(adapter.dispatch('nullcheck_table', 'dbt_utils')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.995799, "supported_languages": null}, "macro.dbt_utils.default__nullcheck_table": {"name": "default__nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.default__nullcheck_table", "macro_sql": "{% macro default__nullcheck_table(relation) %}\n\n {%- do dbt_utils._is_relation(relation, 'nullcheck_table') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'nullcheck_table') -%}\n {% set cols = adapter.get_columns_in_relation(relation) %}\n\n select {{ dbt_utils.nullcheck(cols) }}\n from {{relation}}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.996584, "supported_languages": null}, "macro.dbt_utils.get_relations_by_pattern": {"name": "get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.get_relations_by_pattern", "macro_sql": "{% macro get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_pattern', 'dbt_utils')(schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.99778, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_pattern": {"name": "default__get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_pattern", "macro_sql": "{% macro default__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425966.9995399, "supported_languages": null}, "macro.dbt_utils.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.000868, "supported_languages": null}, "macro.dbt_utils.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.001732, "supported_languages": null}, "macro.dbt_utils.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.002132, "supported_languages": null}, "macro.dbt_utils.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt_utils.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.003227, "supported_languages": null}, "macro.dbt_utils.get_relations_by_prefix": {"name": "get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.get_relations_by_prefix", "macro_sql": "{% macro get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_prefix', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_prefix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.004405, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_prefix": {"name": "default__get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_prefix", "macro_sql": "{% macro default__get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_prefix_sql(schema, prefix, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.006163, "supported_languages": null}, "macro.dbt_utils.get_tables_by_prefix_sql": {"name": "get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_prefix_sql", "macro_sql": "{% macro get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_prefix_sql', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.006953, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_prefix_sql": {"name": "default__get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_prefix_sql", "macro_sql": "{% macro default__get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(\n schema_pattern = schema,\n table_pattern = prefix ~ '%',\n exclude = exclude,\n database = database\n ) }}\n \n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.007551, "supported_languages": null}, "macro.dbt_utils.star": {"name": "star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.star", "macro_sql": "{% macro star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {{ return(adapter.dispatch('star', 'dbt_utils')(from, relation_alias, except, prefix, suffix, quote_identifiers)) }}\r\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__star"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.009616, "supported_languages": null}, "macro.dbt_utils.default__star": {"name": "default__star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.default__star", "macro_sql": "{% macro default__star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {%- do dbt_utils._is_relation(from, 'star') -%}\r\n {%- do dbt_utils._is_ephemeral(from, 'star') -%}\r\n\r\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\r\n {%- if not execute -%}\r\n {% do return('*') %}\r\n {%- endif -%}\r\n\r\n {% set cols = dbt_utils.get_filtered_columns_in_relation(from, except) %}\r\n\r\n {%- if cols|length <= 0 -%}\r\n {% if flags.WHICH == 'compile' %}\r\n {% set response %}\r\n*\r\n/* No columns were returned. Maybe the relation doesn't exist yet \r\nor all columns were excluded. This star is only output during \r\ndbt compile, and exists to keep SQLFluff happy. */\r\n {% endset %}\r\n {% do return(response) %}\r\n {% else %}\r\n {% do return(\"/* no columns returned from star() macro */\") %}\r\n {% endif %}\r\n {%- else -%}\r\n {%- for col in cols %}\r\n {%- if relation_alias %}{{ relation_alias }}.{% else %}{%- endif -%}\r\n {%- if quote_identifiers -%}\r\n {{ adapter.quote(col)|trim }} {%- if prefix!='' or suffix!='' %} as {{ adapter.quote(prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {%- else -%}\r\n {{ col|trim }} {%- if prefix!='' or suffix!='' %} as {{ (prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {% endif %}\r\n {%- if not loop.last %},{{ '\\n ' }}{%- endif -%}\r\n {%- endfor -%}\r\n {% endif %}\r\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.012655, "supported_languages": null}, "macro.dbt_utils.unpivot": {"name": "unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.unpivot", "macro_sql": "{% macro unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n {{ return(adapter.dispatch('unpivot', 'dbt_utils')(relation, cast_to, exclude, remove, field_name, value_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__unpivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0147688, "supported_languages": null}, "macro.dbt_utils.default__unpivot": {"name": "default__unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.default__unpivot", "macro_sql": "{% macro default__unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n\n {% if not relation %}\n {{ exceptions.raise_compiler_error(\"Error: argument `relation` is required for `unpivot` macro.\") }}\n {% endif %}\n\n {%- set exclude = exclude if exclude is not none else [] %}\n {%- set remove = remove if remove is not none else [] %}\n\n {%- set include_cols = [] %}\n\n {%- set table_columns = {} %}\n\n {%- do table_columns.update({relation: []}) %}\n\n {%- do dbt_utils._is_relation(relation, 'unpivot') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'unpivot') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) %}\n\n {%- for col in cols -%}\n {%- if col.column.lower() not in remove|map('lower') and col.column.lower() not in exclude|map('lower') -%}\n {% do include_cols.append(col) %}\n {%- endif %}\n {%- endfor %}\n\n\n {%- for col in include_cols -%}\n select\n {%- for exclude_col in exclude %}\n {{ exclude_col }},\n {%- endfor %}\n\n cast('{{ col.column }}' as {{ dbt.type_string() }}) as {{ field_name }},\n cast( {% if col.data_type == 'boolean' %}\n {{ dbt.cast_bool_to_text(col.column) }}\n {% else %}\n {{ col.column }}\n {% endif %}\n as {{ cast_to }}) as {{ value_name }}\n\n from {{ relation }}\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n {%- endfor -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.type_string", "macro.dbt.cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.018065, "supported_languages": null}, "macro.dbt_utils.safe_divide": {"name": "safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.safe_divide", "macro_sql": "{% macro safe_divide(numerator, denominator) -%}\n {{ return(adapter.dispatch('safe_divide', 'dbt_utils')(numerator, denominator)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_divide"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.018798, "supported_languages": null}, "macro.dbt_utils.default__safe_divide": {"name": "default__safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.default__safe_divide", "macro_sql": "{% macro default__safe_divide(numerator, denominator) %}\n ( {{ numerator }} ) / nullif( ( {{ denominator }} ), 0)\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.01909, "supported_languages": null}, "macro.dbt_utils.union_relations": {"name": "union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.union_relations", "macro_sql": "{%- macro union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n {{ return(adapter.dispatch('union_relations', 'dbt_utils')(relations, column_override, include, exclude, source_column_name, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0249212, "supported_languages": null}, "macro.dbt_utils.default__union_relations": {"name": "default__union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.default__union_relations", "macro_sql": "\n\n{%- macro default__union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n\n {%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided to the `union` macro. Only one is allowed\") }}\n {%- endif -%}\n\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. -#}\n {%- if not execute %}\n {{ return('') }}\n {% endif -%}\n\n {%- set column_override = column_override if column_override is not none else {} -%}\n\n {%- set relation_columns = {} -%}\n {%- set column_superset = {} -%}\n {%- set all_excludes = [] -%}\n {%- set all_includes = [] -%}\n\n {%- if exclude -%}\n {%- for exc in exclude -%}\n {%- do all_excludes.append(exc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- if include -%}\n {%- for inc in include -%}\n {%- do all_includes.append(inc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- for relation in relations -%}\n\n {%- do relation_columns.update({relation: []}) -%}\n\n {%- do dbt_utils._is_relation(relation, 'union_relations') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'union_relations') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) -%}\n {%- for col in cols -%}\n\n {#- If an exclude list was provided and the column is in the list, do nothing -#}\n {%- if exclude and col.column | lower in all_excludes -%}\n\n {#- If an include list was provided and the column is not in the list, do nothing -#}\n {%- elif include and col.column | lower not in all_includes -%}\n\n {#- Otherwise add the column to the column superset -#}\n {%- else -%}\n\n {#- update the list of columns in this relation -#}\n {%- do relation_columns[relation].append(col.column) -%}\n\n {%- if col.column in column_superset -%}\n\n {%- set stored = column_superset[col.column] -%}\n {%- if col.is_string() and stored.is_string() and col.string_size() > stored.string_size() -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif %}\n\n {%- else -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif -%}\n\n {%- endif -%}\n\n {%- endfor -%}\n {%- endfor -%}\n\n {%- set ordered_column_names = column_superset.keys() -%}\n {%- set dbt_command = flags.WHICH -%}\n\n\n {% if dbt_command in ['run', 'build'] %}\n {% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}\n {%- set relations_string -%}\n {%- for relation in relations -%}\n {{ relation.name }}\n {%- if not loop.last %}, {% endif -%}\n {%- endfor -%}\n {%- endset -%}\n\n {%- set error_message -%}\n There were no columns found to union for relations {{ relations_string }}\n {%- endset -%}\n\n {{ exceptions.raise_compiler_error(error_message) }}\n {%- endif -%}\n {%- endif -%}\n\n {%- for relation in relations %}\n\n (\n select\n\n {%- if source_column_name is not none %}\n cast({{ dbt.string_literal(relation) }} as {{ dbt.type_string() }}) as {{ source_column_name }},\n {%- endif %}\n\n {% for col_name in ordered_column_names -%}\n\n {%- set col = column_superset[col_name] %}\n {%- set col_type = column_override.get(col.column, col.data_type) %}\n {%- set col_name = adapter.quote(col_name) if col_name in relation_columns[relation] else 'null' %}\n cast({{ col_name }} as {{ col_type }}) as {{ col.quoted }} {% if not loop.last %},{% endif -%}\n\n {%- endfor %}\n\n from {{ relation }}\n\n {% if where -%}\n where {{ where }}\n {%- endif %}\n )\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n\n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.string_literal", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.032083, "supported_languages": null}, "macro.dbt_utils.group_by": {"name": "group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.group_by", "macro_sql": "{%- macro group_by(n) -%}\n {{ return(adapter.dispatch('group_by', 'dbt_utils')(n)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.032667, "supported_languages": null}, "macro.dbt_utils.default__group_by": {"name": "default__group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.default__group_by", "macro_sql": "\n\n{%- macro default__group_by(n) -%}\n\n group by {% for i in range(1, n + 1) -%}\n {{ i }}{{ ',' if not loop.last }} \n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.033191, "supported_languages": null}, "macro.dbt_utils.deduplicate": {"name": "deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.deduplicate", "macro_sql": "{%- macro deduplicate(relation, partition_by, order_by) -%}\n {{ return(adapter.dispatch('deduplicate', 'dbt_utils')(relation, partition_by, order_by)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.bigquery__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.034395, "supported_languages": null}, "macro.dbt_utils.default__deduplicate": {"name": "default__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.default__deduplicate", "macro_sql": "\n\n{%- macro default__deduplicate(relation, partition_by, order_by) -%}\n\n with row_numbered as (\n select\n _inner.*,\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) as rn\n from {{ relation }} as _inner\n )\n\n select\n distinct data.*\n from {{ relation }} as data\n {#\n -- Not all DBs will support natural joins but the ones that do include:\n -- Oracle, MySQL, SQLite, Redshift, Teradata, Materialize, Databricks\n -- Apache Spark, SingleStore, Vertica\n -- Those that do not appear to support natural joins include:\n -- SQLServer, Trino, Presto, Rockset, Athena\n #}\n natural join row_numbered\n where row_numbered.rn = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.034844, "supported_languages": null}, "macro.dbt_utils.redshift__deduplicate": {"name": "redshift__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.redshift__deduplicate", "macro_sql": "{% macro redshift__deduplicate(relation, partition_by, order_by) -%}\n\n {{ return(dbt_utils.default__deduplicate(relation, partition_by, order_by=order_by)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.035274, "supported_languages": null}, "macro.dbt_utils.postgres__deduplicate": {"name": "postgres__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.postgres__deduplicate", "macro_sql": "\n{%- macro postgres__deduplicate(relation, partition_by, order_by) -%}\n\n select\n distinct on ({{ partition_by }}) *\n from {{ relation }}\n order by {{ partition_by }}{{ ',' ~ order_by }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.035684, "supported_languages": null}, "macro.dbt_utils.snowflake__deduplicate": {"name": "snowflake__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.snowflake__deduplicate", "macro_sql": "\n{%- macro snowflake__deduplicate(relation, partition_by, order_by) -%}\n\n select *\n from {{ relation }}\n qualify\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.036042, "supported_languages": null}, "macro.dbt_utils.bigquery__deduplicate": {"name": "bigquery__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.bigquery__deduplicate", "macro_sql": "\n{%- macro bigquery__deduplicate(relation, partition_by, order_by) -%}\n\n select unique.*\n from (\n select\n array_agg (\n original\n order by {{ order_by }}\n limit 1\n )[offset(0)] unique\n from {{ relation }} original\n group by {{ partition_by }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0364149, "supported_languages": null}, "macro.dbt_utils.surrogate_key": {"name": "surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.surrogate_key", "macro_sql": "{%- macro surrogate_key(field_list) -%}\n {% set frustrating_jinja_feature = varargs %}\n {{ return(adapter.dispatch('surrogate_key', 'dbt_utils')(field_list, *varargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.037148, "supported_languages": null}, "macro.dbt_utils.default__surrogate_key": {"name": "default__surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.default__surrogate_key", "macro_sql": "\n\n{%- macro default__surrogate_key(field_list) -%}\n\n{%- set error_message = '\nWarning: `dbt_utils.surrogate_key` has been replaced by \\\n`dbt_utils.generate_surrogate_key`. The new macro treats null values \\\ndifferently to empty strings. To restore the behaviour of the original \\\nmacro, add a global variable in dbt_project.yml called \\\n`surrogate_key_treat_nulls_as_empty_strings` to your \\\ndbt_project.yml file with a value of True. \\\nThe {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.raise_compiler_error(error_message) -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.037641, "supported_languages": null}, "macro.dbt_utils.safe_add": {"name": "safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.safe_add", "macro_sql": "{%- macro safe_add(field_list) -%}\n {{ return(adapter.dispatch('safe_add', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_add"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.038351, "supported_languages": null}, "macro.dbt_utils.default__safe_add": {"name": "default__safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.default__safe_add", "macro_sql": "\n\n{%- macro default__safe_add(field_list) -%}\n\n{%- if field_list is not iterable or field_list is string or field_list is mapping -%}\n\n{%- set error_message = '\nWarning: the `safe_add` macro now takes a single list argument instead of \\\nstring arguments. The {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.warn(error_message) -%}\n\n{%- endif -%}\n\n{% set fields = [] %}\n\n{%- for field in field_list -%}\n\n {% do fields.append(\"coalesce(\" ~ field ~ \", 0)\") %}\n\n{%- endfor -%}\n\n{{ fields|join(' +\\n ') }}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0394702, "supported_languages": null}, "macro.dbt_utils.nullcheck": {"name": "nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.nullcheck", "macro_sql": "{% macro nullcheck(cols) %}\n {{ return(adapter.dispatch('nullcheck', 'dbt_utils')(cols)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.040117, "supported_languages": null}, "macro.dbt_utils.default__nullcheck": {"name": "default__nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.default__nullcheck", "macro_sql": "{% macro default__nullcheck(cols) %}\n{%- for col in cols %}\n\n {% if col.is_string() -%}\n\n nullif({{col.name}},'') as {{col.name}}\n\n {%- else -%}\n\n {{col.name}}\n\n {%- endif -%}\n\n{%- if not loop.last -%} , {%- endif -%}\n\n{%- endfor -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.040831, "supported_languages": null}, "macro.dbt_utils.get_tables_by_pattern_sql": {"name": "get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_pattern_sql", "macro_sql": "{% macro get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_pattern_sql', 'dbt_utils')\n (schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.bigquery__get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.043374, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_pattern_sql": {"name": "default__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_pattern_sql", "macro_sql": "{% macro default__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n select distinct\n table_schema as {{ adapter.quote('table_schema') }},\n table_name as {{ adapter.quote('table_name') }},\n {{ dbt_utils.get_table_types_sql() }}\n from {{ database }}.information_schema.tables\n where table_schema ilike '{{ schema_pattern }}'\n and table_name ilike '{{ table_pattern }}'\n and table_name not ilike '{{ exclude }}'\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.044139, "supported_languages": null}, "macro.dbt_utils.bigquery__get_tables_by_pattern_sql": {"name": "bigquery__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.bigquery__get_tables_by_pattern_sql", "macro_sql": "{% macro bigquery__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {% if '%' in schema_pattern %}\n {% set schemata=dbt_utils._bigquery__get_matching_schemata(schema_pattern, database) %}\n {% else %}\n {% set schemata=[schema_pattern] %}\n {% endif %}\n\n {% set sql %}\n {% for schema in schemata %}\n select distinct\n table_schema,\n table_name,\n {{ dbt_utils.get_table_types_sql() }}\n\n from {{ adapter.quote(database) }}.{{ schema }}.INFORMATION_SCHEMA.TABLES\n where lower(table_name) like lower ('{{ table_pattern }}')\n and lower(table_name) not like lower ('{{ exclude }}')\n\n {% if not loop.last %} union all {% endif %}\n\n {% endfor %}\n {% endset %}\n\n {{ return(sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._bigquery__get_matching_schemata", "macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.04573, "supported_languages": null}, "macro.dbt_utils._bigquery__get_matching_schemata": {"name": "_bigquery__get_matching_schemata", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils._bigquery__get_matching_schemata", "macro_sql": "{% macro _bigquery__get_matching_schemata(schema_pattern, database) %}\n {% if execute %}\n\n {% set sql %}\n select schema_name from {{ adapter.quote(database) }}.INFORMATION_SCHEMA.SCHEMATA\n where lower(schema_name) like lower('{{ schema_pattern }}')\n {% endset %}\n\n {% set results=run_query(sql) %}\n\n {% set schemata=results.columns['schema_name'].values() %}\n\n {{ return(schemata) }}\n\n {% else %}\n\n {{ return([]) }}\n\n {% endif %}\n\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.046796, "supported_languages": null}, "macro.dbt_utils.get_column_values": {"name": "get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.get_column_values", "macro_sql": "{% macro get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {{ return(adapter.dispatch('get_column_values', 'dbt_utils')(table, column, order_by, max_records, default, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_column_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.048629, "supported_languages": null}, "macro.dbt_utils.default__get_column_values": {"name": "default__get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.default__get_column_values", "macro_sql": "{% macro default__get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {% set default = [] if not default %}\n {{ return(default) }}\n {% endif %}\n\n {%- do dbt_utils._is_ephemeral(table, 'get_column_values') -%}\n\n {# Not all relations are tables. Renaming for internal clarity without breaking functionality for anyone using named arguments #}\n {# TODO: Change the method signature in a future 0.x.0 release #}\n {%- set target_relation = table -%}\n\n {# adapter.load_relation is a convenience wrapper to avoid building a Relation when we already have one #}\n {% set relation_exists = (load_relation(target_relation)) is not none %}\n\n {%- call statement('get_column_values', fetch_result=true) %}\n\n {%- if not relation_exists and default is none -%}\n\n {{ exceptions.raise_compiler_error(\"In get_column_values(): relation \" ~ target_relation ~ \" does not exist and no default value was provided.\") }}\n\n {%- elif not relation_exists and default is not none -%}\n\n {{ log(\"Relation \" ~ target_relation ~ \" does not exist. Returning the default value: \" ~ default) }}\n\n {{ return(default) }}\n\n {%- else -%}\n\n\n select\n {{ column }} as value\n\n from {{ target_relation }}\n\n {% if where is not none %}\n where {{ where }}\n {% endif %}\n\n group by {{ column }}\n order by {{ order_by }}\n\n {% if max_records is not none %}\n limit {{ max_records }}\n {% endif %}\n\n {% endif %}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_column_values') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values) }}\n {%- else -%}\n {{ return(default) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_ephemeral", "macro.dbt.load_relation", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.051726, "supported_languages": null}, "macro.dbt_utils.pivot": {"name": "pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.pivot", "macro_sql": "{% macro pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {{ return(adapter.dispatch('pivot', 'dbt_utils')(column, values, alias, agg, cmp, prefix, suffix, then_value, else_value, quote_identifiers, distinct)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0535629, "supported_languages": null}, "macro.dbt_utils.default__pivot": {"name": "default__pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.default__pivot", "macro_sql": "{% macro default__pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {% for value in values %}\n {{ agg }}(\n {% if distinct %} distinct {% endif %}\n case\n when {{ column }} {{ cmp }} '{{ dbt.escape_single_quotes(value) }}'\n then {{ then_value }}\n else {{ else_value }}\n end\n )\n {% if alias %}\n {% if quote_identifiers %}\n as {{ adapter.quote(prefix ~ value ~ suffix) }}\n {% else %}\n as {{ dbt_utils.slugify(prefix ~ value ~ suffix) }}\n {% endif %}\n {% endif %}\n {% if not loop.last %},{% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.escape_single_quotes", "macro.dbt_utils.slugify"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.055329, "supported_languages": null}, "macro.dbt_utils.get_filtered_columns_in_relation": {"name": "get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.get_filtered_columns_in_relation", "macro_sql": "{% macro get_filtered_columns_in_relation(from, except=[]) -%}\n {{ return(adapter.dispatch('get_filtered_columns_in_relation', 'dbt_utils')(from, except)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.056182, "supported_languages": null}, "macro.dbt_utils.default__get_filtered_columns_in_relation": {"name": "default__get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.default__get_filtered_columns_in_relation", "macro_sql": "{% macro default__get_filtered_columns_in_relation(from, except=[]) -%}\n {%- do dbt_utils._is_relation(from, 'get_filtered_columns_in_relation') -%}\n {%- do dbt_utils._is_ephemeral(from, 'get_filtered_columns_in_relation') -%}\n\n {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {{ return('') }}\n {% endif %}\n\n {%- set include_cols = [] %}\n {%- set cols = adapter.get_columns_in_relation(from) -%}\n {%- set except = except | map(\"lower\") | list %}\n {%- for col in cols -%}\n {%- if col.column|lower not in except -%}\n {% do include_cols.append(col.column) %}\n {%- endif %}\n {%- endfor %}\n\n {{ return(include_cols) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.057686, "supported_languages": null}, "macro.dbt_utils.width_bucket": {"name": "width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.width_bucket", "macro_sql": "{% macro width_bucket(expr, min_value, max_value, num_buckets) %}\n {{ return(adapter.dispatch('width_bucket', 'dbt_utils') (expr, min_value, max_value, num_buckets)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__width_bucket"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.059864, "supported_languages": null}, "macro.dbt_utils.default__width_bucket": {"name": "default__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.default__width_bucket", "macro_sql": "{% macro default__width_bucket(expr, min_value, max_value, num_buckets) -%}\n\n {% set bin_size -%}\n (( {{ max_value }} - {{ min_value }} ) / {{ num_buckets }} )\n {%- endset %}\n (\n -- to break ties when the amount is eaxtly at the bucket egde\n case\n when\n mod(\n {{ dbt.safe_cast(expr, dbt.type_numeric() ) }},\n {{ dbt.safe_cast(bin_size, dbt.type_numeric() ) }}\n ) = 0\n then 1\n else 0\n end\n ) +\n -- Anything over max_value goes the N+1 bucket\n least(\n ceil(\n ({{ expr }} - {{ min_value }})/{{ bin_size }}\n ),\n {{ num_buckets }} + 1\n )\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.safe_cast", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.060829, "supported_languages": null}, "macro.dbt_utils.redshift__width_bucket": {"name": "redshift__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.redshift__width_bucket", "macro_sql": "{% macro redshift__width_bucket(expr, min_value, max_value, num_buckets) -%}\n\n {% set bin_size -%}\n (( {{ max_value }} - {{ min_value }} ) / {{ num_buckets }} )\n {%- endset %}\n (\n -- to break ties when the amount is exactly at the bucket edge\n case\n when\n {{ dbt.safe_cast(expr, dbt.type_numeric() ) }} %\n {{ dbt.safe_cast(bin_size, dbt.type_numeric() ) }}\n = 0\n then 1\n else 0\n end\n ) +\n -- Anything over max_value goes the N+1 bucket\n least(\n ceil(\n ({{ expr }} - {{ min_value }})/{{ bin_size }}\n ),\n {{ num_buckets }} + 1\n )\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.safe_cast", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0618, "supported_languages": null}, "macro.dbt_utils.snowflake__width_bucket": {"name": "snowflake__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.snowflake__width_bucket", "macro_sql": "{% macro snowflake__width_bucket(expr, min_value, max_value, num_buckets) %}\n width_bucket({{ expr }}, {{ min_value }}, {{ max_value }}, {{ num_buckets }} )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0622091, "supported_languages": null}, "macro.dbt_utils.get_query_results_as_dict": {"name": "get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.get_query_results_as_dict", "macro_sql": "{% macro get_query_results_as_dict(query) %}\n {{ return(adapter.dispatch('get_query_results_as_dict', 'dbt_utils')(query)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_query_results_as_dict"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.062928, "supported_languages": null}, "macro.dbt_utils.default__get_query_results_as_dict": {"name": "default__get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.default__get_query_results_as_dict", "macro_sql": "{% macro default__get_query_results_as_dict(query) %}\n\n{# This macro returns a dictionary of the form {column_name: (tuple_of_results)} #}\n\n {%- call statement('get_query_results', fetch_result=True,auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {% set sql_results={} %}\n\n {%- if execute -%}\n {% set sql_results_table = load_result('get_query_results').table.columns %}\n {% for column_name, column in sql_results_table.items() %}\n {% do sql_results.update({column_name: column.values()}) %}\n {% endfor %}\n {%- endif -%}\n\n {{ return(sql_results) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0641549, "supported_languages": null}, "macro.dbt_utils.generate_surrogate_key": {"name": "generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.generate_surrogate_key", "macro_sql": "{%- macro generate_surrogate_key(field_list) -%}\n {{ return(adapter.dispatch('generate_surrogate_key', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.06498, "supported_languages": null}, "macro.dbt_utils.default__generate_surrogate_key": {"name": "default__generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.default__generate_surrogate_key", "macro_sql": "\n\n{%- macro default__generate_surrogate_key(field_list) -%}\n\n{% if var('surrogate_key_treat_nulls_as_empty_strings', False) %}\n {% set default_null_value = \"\" %}\n{% else %}\n {% set default_null_value = '_dbt_utils_surrogate_key_null_'%}\n{% endif %}\n\n{%- set fields = [] -%}\n\n{%- for field in field_list -%}\n\n {%- do fields.append(\n \"coalesce(cast(\" ~ field ~ \" as \" ~ dbt.type_string() ~ \"), '\" ~ default_null_value ~\"')\"\n ) -%}\n\n {%- if not loop.last %}\n {%- do fields.append(\"'-'\") -%}\n {%- endif -%}\n\n{%- endfor -%}\n\n{{ dbt.hash(dbt.concat(fields)) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.hash", "macro.dbt.concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.066346, "supported_languages": null}, "macro.dbt_utils.get_table_types_sql": {"name": "get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.get_table_types_sql", "macro_sql": "{%- macro get_table_types_sql() -%}\n {{ return(adapter.dispatch('get_table_types_sql', 'dbt_utils')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_utils.default__get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.067044, "supported_languages": null}, "macro.dbt_utils.default__get_table_types_sql": {"name": "default__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.default__get_table_types_sql", "macro_sql": "{% macro default__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'EXTERNAL TABLE' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.067349, "supported_languages": null}, "macro.dbt_utils.postgres__get_table_types_sql": {"name": "postgres__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.postgres__get_table_types_sql", "macro_sql": "{% macro postgres__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'FOREIGN' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.067652, "supported_languages": null}, "macro.dbt_utils.get_single_value": {"name": "get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.get_single_value", "macro_sql": "{% macro get_single_value(query, default=none) %}\n {{ return(adapter.dispatch('get_single_value', 'dbt_utils')(query, default)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_single_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.068585, "supported_languages": null}, "macro.dbt_utils.default__get_single_value": {"name": "default__get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.default__get_single_value", "macro_sql": "{% macro default__get_single_value(query, default) %}\n\n{# This macro returns the (0, 0) record in a query, i.e. the first row of the first column #}\n\n {%- call statement('get_query_result', fetch_result=True, auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {%- if execute -%}\n\n {% set r = load_result('get_query_result').table.columns[0].values() %}\n {% if r | length == 0 %}\n {% do print('Query `' ~ query ~ '` returned no rows. Using the default value: ' ~ default) %}\n {% set sql_result = default %}\n {% else %}\n {% set sql_result = r[0] %}\n {% endif %}\n \n {%- else -%}\n \n {% set sql_result = default %}\n \n {%- endif -%}\n\n {% do return(sql_result) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.070221, "supported_languages": null}, "macro.dbt_utils.degrees_to_radians": {"name": "degrees_to_radians", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.degrees_to_radians", "macro_sql": "{% macro degrees_to_radians(degrees) -%}\n acos(-1) * {{degrees}} / 180\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0718982, "supported_languages": null}, "macro.dbt_utils.haversine_distance": {"name": "haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.haversine_distance", "macro_sql": "{% macro haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n {{ return(adapter.dispatch('haversine_distance', 'dbt_utils')(lat1,lon1,lat2,lon2,unit)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.bigquery__haversine_distance"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.072482, "supported_languages": null}, "macro.dbt_utils.default__haversine_distance": {"name": "default__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.default__haversine_distance", "macro_sql": "{% macro default__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n\n 2 * 3961 * asin(sqrt(power((sin(radians(({{ lat2 }} - {{ lat1 }}) / 2))), 2) +\n cos(radians({{lat1}})) * cos(radians({{lat2}})) *\n power((sin(radians(({{ lon2 }} - {{ lon1 }}) / 2))), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0736399, "supported_languages": null}, "macro.dbt_utils.bigquery__haversine_distance": {"name": "bigquery__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.bigquery__haversine_distance", "macro_sql": "{% macro bigquery__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{% set radians_lat1 = dbt_utils.degrees_to_radians(lat1) %}\n{% set radians_lat2 = dbt_utils.degrees_to_radians(lat2) %}\n{% set radians_lon1 = dbt_utils.degrees_to_radians(lon1) %}\n{% set radians_lon2 = dbt_utils.degrees_to_radians(lon2) %}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n 2 * 3961 * asin(sqrt(power(sin(({{ radians_lat2 }} - {{ radians_lat1 }}) / 2), 2) +\n cos({{ radians_lat1 }}) * cos({{ radians_lat2 }}) *\n power(sin(({{ radians_lon2 }} - {{ radians_lon1 }}) / 2), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.degrees_to_radians"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0753212, "supported_languages": null}, "macro.reddit_ads_source.get_account_columns": {"name": "get_account_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_account_columns.sql", "original_file_path": "macros/get_account_columns.sql", "unique_id": "macro.reddit_ads_source.get_account_columns", "macro_sql": "{% macro get_account_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"attribution_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"click_attribution_window\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"time_zone_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"view_attribution_window\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.077451, "supported_languages": null}, "macro.reddit_ads_source.get_campaign_columns": {"name": "get_campaign_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_campaign_columns.sql", "original_file_path": "macros/get_campaign_columns.sql", "unique_id": "macro.reddit_ads_source.get_campaign_columns", "macro_sql": "{% macro get_campaign_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"configured_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"effective_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"funding_instrument_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_processing\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"objective\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.079527, "supported_languages": null}, "macro.reddit_ads_source.get_ad_columns": {"name": "get_ad_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_columns.sql", "original_file_path": "macros/get_ad_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_columns", "macro_sql": "{% macro get_ad_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"click_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"configured_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"effective_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_processing\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"post_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"post_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"rejection_reason\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.082347, "supported_languages": null}, "macro.reddit_ads_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.085643, "supported_languages": null}, "macro.reddit_ads_source.get_ad_report_columns": {"name": "get_ad_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_report_columns.sql", "original_file_path": "macros/get_ad_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_report_columns", "macro_sql": "{% macro get_ad_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": \"date\", \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.088743, "supported_languages": null}, "macro.reddit_ads_source.get_ad_group_report_columns": {"name": "get_ad_group_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_group_report_columns.sql", "original_file_path": "macros/get_ad_group_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_group_report_columns", "macro_sql": "{% macro get_ad_group_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()}, \n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0918489, "supported_languages": null}, "macro.reddit_ads_source.get_account_report_columns": {"name": "get_account_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_account_report_columns.sql", "original_file_path": "macros/get_account_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_account_report_columns", "macro_sql": "{% macro get_account_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__account_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.0947578, "supported_languages": null}, "macro.reddit_ads_source.get_ad_group_columns": {"name": "get_ad_group_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_group_columns.sql", "original_file_path": "macros/get_ad_group_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_group_columns", "macro_sql": "{% macro get_ad_group_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_value\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"configured_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"effective_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"expand_targeting\", \"datatype\": \"boolean\"},\n {\"name\": \"goal_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"goal_value\", \"datatype\": dbt.type_int()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_processing\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"optimization_strategy_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.09813, "supported_languages": null}, "macro.amazon_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"default_bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_float", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.100063, "supported_languages": null}, "macro.amazon_ads_source.get_product_ad_history_columns": {"name": "get_product_ad_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_product_ad_history_columns.sql", "original_file_path": "macros/get_product_ad_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_product_ad_history_columns", "macro_sql": "{% macro get_product_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"asin\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"sku\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.102155, "supported_languages": null}, "macro.amazon_ads_source.get_profile_columns": {"name": "get_profile_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_profile_columns.sql", "original_file_path": "macros/get_profile_columns.sql", "unique_id": "macro.amazon_ads_source.get_profile_columns", "macro_sql": "{% macro get_profile_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_marketplace_string_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_sub_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_valid_payment_method\", \"datatype\": dbt.type_boolean()},\n {\"name\": \"country_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_deleted\", \"datatype\": dbt.type_boolean()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_boolean"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.104814, "supported_languages": null}, "macro.amazon_ads_source.get_advertised_product_report_columns": {"name": "get_advertised_product_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_advertised_product_report_columns.sql", "original_file_path": "macros/get_advertised_product_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_advertised_product_report_columns", "macro_sql": "{% macro get_advertised_product_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"advertised_asin\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertised_sku\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__advertised_product_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.107732, "supported_languages": null}, "macro.amazon_ads_source.get_ad_group_level_report_columns": {"name": "get_ad_group_level_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_ad_group_level_report_columns.sql", "original_file_path": "macros/get_ad_group_level_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_ad_group_level_report_columns", "macro_sql": "{% macro get_ad_group_level_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_bidding_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.109447, "supported_languages": null}, "macro.amazon_ads_source.get_search_term_ad_keyword_report_columns": {"name": "get_search_term_ad_keyword_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_search_term_ad_keyword_report_columns.sql", "original_file_path": "macros/get_search_term_ad_keyword_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_search_term_ad_keyword_report_columns", "macro_sql": "{% macro get_search_term_ad_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_keyword_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"search_term\", \"datatype\": dbt.type_string()},\n {\"name\": \"targeting\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__search_term_ad_keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.112642, "supported_languages": null}, "macro.amazon_ads_source.get_campaign_level_report_columns": {"name": "get_campaign_level_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_campaign_level_report_columns.sql", "original_file_path": "macros/get_campaign_level_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_campaign_level_report_columns", "macro_sql": "{% macro get_campaign_level_report_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_applicable_budget_rule_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_applicable_budget_rule_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_bidding_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_rule_based_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_float", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.1154828, "supported_languages": null}, "macro.amazon_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"bidding_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_date\", \"datatype\": \"date\"},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"portfolio_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"premium_bid_adjustment\", \"datatype\": \"boolean\"},\n {\"name\": \"profile_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_date\", \"datatype\": \"date\"},\n {\"name\": \"state\", \"datatype\": dbt.type_string()},\n {\"name\": \"targeting_type\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.118804, "supported_languages": null}, "macro.amazon_ads_source.get_portfolio_history_columns": {"name": "get_portfolio_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_portfolio_history_columns.sql", "original_file_path": "macros/get_portfolio_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_portfolio_history_columns", "macro_sql": "{% macro get_portfolio_history_columns() %}\n\n{% set columns = [\n {\"name\": \"budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget_end_date\", \"datatype\": \"date\"},\n {\"name\": \"budget_policy\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget_start_date\", \"datatype\": \"date\"},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"in_budget\", \"datatype\": \"boolean\"},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"profile_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_float", "macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.12157, "supported_languages": null}, "macro.amazon_ads_source.get_targeting_keyword_report_columns": {"name": "get_targeting_keyword_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_targeting_keyword_report_columns.sql", "original_file_path": "macros/get_targeting_keyword_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_targeting_keyword_report_columns", "macro_sql": "{% macro get_targeting_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_keyword_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"targeting\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__targeting_keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.124952, "supported_languages": null}, "macro.amazon_ads_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_text\", \"datatype\": dbt.type_string()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"native_language_keyword\", \"datatype\": dbt.type_string()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.127429, "supported_languages": null}, "macro.linkedin_source.get_creative_history_columns": {"name": "get_creative_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_creative_history_columns.sql", "original_file_path": "macros/get_creative_history_columns.sql", "unique_id": "macro.linkedin_source.get_creative_history_columns", "macro_sql": "{% macro get_creative_history_columns() %}\n\n{% set columns = [\n {\"name\": \"call_to_action_label_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"click_uri\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"version_tag\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.129816, "supported_languages": null}, "macro.linkedin_source.get_campaign_group_history_columns": {"name": "get_campaign_group_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_campaign_group_history_columns.sql", "original_file_path": "macros/get_campaign_group_history_columns.sql", "unique_id": "macro.linkedin_source.get_campaign_group_history_columns", "macro_sql": "{% macro get_campaign_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"backfilled\", \"datatype\": \"boolean\"},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"run_schedule_end\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"run_schedule_start\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.131881, "supported_languages": null}, "macro.linkedin_source.get_ad_analytics_by_campaign_columns": {"name": "get_ad_analytics_by_campaign_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_ad_analytics_by_campaign_columns.sql", "original_file_path": "macros/get_ad_analytics_by_campaign_columns.sql", "unique_id": "macro.linkedin_source.get_ad_analytics_by_campaign_columns", "macro_sql": "{% macro get_ad_analytics_by_campaign_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_in_local_currency\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"cost_in_usd\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"day\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('linkedin_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.133612, "supported_languages": null}, "macro.linkedin_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.linkedin_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"audience_expansion_enabled\", \"datatype\": \"boolean\"},\n {\"name\": \"campaign_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_selection\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"daily_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"format\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"locale_country\", \"datatype\": dbt.type_string()},\n {\"name\": \"locale_language\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"objective_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"offsite_delivery_enabled\", \"datatype\": \"boolean\"},\n {\"name\": \"optimization_target_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"run_schedule_end\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"run_schedule_start\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"unit_cost_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"unit_cost_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"version_tag\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.138645, "supported_languages": null}, "macro.linkedin_source.get_ad_analytics_by_creative_columns": {"name": "get_ad_analytics_by_creative_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_ad_analytics_by_creative_columns.sql", "original_file_path": "macros/get_ad_analytics_by_creative_columns.sql", "unique_id": "macro.linkedin_source.get_ad_analytics_by_creative_columns", "macro_sql": "{% macro get_ad_analytics_by_creative_columns() %}\n\n{% set columns = [\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_in_local_currency\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"cost_in_usd\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"creative_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"day\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('linkedin_ads__creative_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.140385, "supported_languages": null}, "macro.linkedin_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.linkedin_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"version_tag\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.1423, "supported_languages": null}, "macro.spark_utils.get_tables": {"name": "get_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.get_tables", "macro_sql": "{% macro get_tables(table_regex_pattern='.*') %}\n\n {% set tables = [] %}\n {% for database in spark__list_schemas('not_used') %}\n {% for table in spark__list_relations_without_caching(database[0]) %}\n {% set db_tablename = database[0] ~ \".\" ~ table[1] %}\n {% set is_match = modules.re.match(table_regex_pattern, db_tablename) %}\n {% if is_match %}\n {% call statement('table_detail', fetch_result=True) -%}\n describe extended {{ db_tablename }}\n {% endcall %}\n\n {% set table_type = load_result('table_detail').table|reverse|selectattr(0, 'in', ('type', 'TYPE', 'Type'))|first %}\n {% if table_type[1]|lower != 'view' %}\n {{ tables.append(db_tablename) }}\n {% endif %}\n {% endif %}\n {% endfor %}\n {% endfor %}\n {{ return(tables) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.150151, "supported_languages": null}, "macro.spark_utils.get_delta_tables": {"name": "get_delta_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.get_delta_tables", "macro_sql": "{% macro get_delta_tables(table_regex_pattern='.*') %}\n\n {% set delta_tables = [] %}\n {% for db_tablename in get_tables(table_regex_pattern) %}\n {% call statement('table_detail', fetch_result=True) -%}\n describe extended {{ db_tablename }}\n {% endcall %}\n\n {% set table_type = load_result('table_detail').table|reverse|selectattr(0, 'in', ('provider', 'PROVIDER', 'Provider'))|first %}\n {% if table_type[1]|lower == 'delta' %}\n {{ delta_tables.append(db_tablename) }}\n {% endif %}\n {% endfor %}\n {{ return(delta_tables) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_tables", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.151596, "supported_languages": null}, "macro.spark_utils.get_statistic_columns": {"name": "get_statistic_columns", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.get_statistic_columns", "macro_sql": "{% macro get_statistic_columns(table) %}\n\n {% call statement('input_columns', fetch_result=True) %}\n SHOW COLUMNS IN {{ table }}\n {% endcall %}\n {% set input_columns = load_result('input_columns').table %}\n\n {% set output_columns = [] %}\n {% for column in input_columns %}\n {% call statement('column_information', fetch_result=True) %}\n DESCRIBE TABLE {{ table }} `{{ column[0] }}`\n {% endcall %}\n {% if not load_result('column_information').table[1][1].startswith('struct') and not load_result('column_information').table[1][1].startswith('array') %}\n {{ output_columns.append('`' ~ column[0] ~ '`') }}\n {% endif %}\n {% endfor %}\n {{ return(output_columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.1534238, "supported_languages": null}, "macro.spark_utils.spark_optimize_delta_tables": {"name": "spark_optimize_delta_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.spark_optimize_delta_tables", "macro_sql": "{% macro spark_optimize_delta_tables(table_regex_pattern='.*') %}\n\n {% for table in get_delta_tables(table_regex_pattern) %}\n {% set start=modules.datetime.datetime.now() %}\n {% set message_prefix=loop.index ~ \" of \" ~ loop.length %}\n {{ dbt_utils.log_info(message_prefix ~ \" Optimizing \" ~ table) }}\n {% do run_query(\"optimize \" ~ table) %}\n {% set end=modules.datetime.datetime.now() %}\n {% set total_seconds = (end - start).total_seconds() | round(2) %}\n {{ dbt_utils.log_info(message_prefix ~ \" Finished \" ~ table ~ \" in \" ~ total_seconds ~ \"s\") }}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_delta_tables", "macro.dbt_utils.log_info", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.154952, "supported_languages": null}, "macro.spark_utils.spark_vacuum_delta_tables": {"name": "spark_vacuum_delta_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.spark_vacuum_delta_tables", "macro_sql": "{% macro spark_vacuum_delta_tables(table_regex_pattern='.*') %}\n\n {% for table in get_delta_tables(table_regex_pattern) %}\n {% set start=modules.datetime.datetime.now() %}\n {% set message_prefix=loop.index ~ \" of \" ~ loop.length %}\n {{ dbt_utils.log_info(message_prefix ~ \" Vacuuming \" ~ table) }}\n {% do run_query(\"vacuum \" ~ table) %}\n {% set end=modules.datetime.datetime.now() %}\n {% set total_seconds = (end - start).total_seconds() | round(2) %}\n {{ dbt_utils.log_info(message_prefix ~ \" Finished \" ~ table ~ \" in \" ~ total_seconds ~ \"s\") }}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_delta_tables", "macro.dbt_utils.log_info", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.156474, "supported_languages": null}, "macro.spark_utils.spark_analyze_tables": {"name": "spark_analyze_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.spark_analyze_tables", "macro_sql": "{% macro spark_analyze_tables(table_regex_pattern='.*') %}\n\n {% for table in get_tables(table_regex_pattern) %}\n {% set start=modules.datetime.datetime.now() %}\n {% set columns = get_statistic_columns(table) | join(',') %}\n {% set message_prefix=loop.index ~ \" of \" ~ loop.length %}\n {{ dbt_utils.log_info(message_prefix ~ \" Analyzing \" ~ table) }}\n {% if columns != '' %}\n {% do run_query(\"analyze table \" ~ table ~ \" compute statistics for columns \" ~ columns) %}\n {% endif %}\n {% set end=modules.datetime.datetime.now() %}\n {% set total_seconds = (end - start).total_seconds() | round(2) %}\n {{ dbt_utils.log_info(message_prefix ~ \" Finished \" ~ table ~ \" in \" ~ total_seconds ~ \"s\") }}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_tables", "macro.spark_utils.get_statistic_columns", "macro.dbt_utils.log_info", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.158634, "supported_languages": null}, "macro.spark_utils.spark__concat": {"name": "spark__concat", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/concat.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/concat.sql", "unique_id": "macro.spark_utils.spark__concat", "macro_sql": "{% macro spark__concat(fields) -%}\n concat({{ fields|join(', ') }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.159001, "supported_languages": null}, "macro.spark_utils.spark__type_numeric": {"name": "spark__type_numeric", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/datatypes.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/datatypes.sql", "unique_id": "macro.spark_utils.spark__type_numeric", "macro_sql": "{% macro spark__type_numeric() %}\n decimal(28, 6)\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.159231, "supported_languages": null}, "macro.spark_utils.spark__dateadd": {"name": "spark__dateadd", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/dateadd.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/dateadd.sql", "unique_id": "macro.spark_utils.spark__dateadd", "macro_sql": "{% macro spark__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n {%- set clock_component -%}\n {# make sure the dates + timestamps are real, otherwise raise an error asap #}\n to_unix_timestamp({{ spark_utils.assert_not_null('to_timestamp', from_date_or_timestamp) }})\n - to_unix_timestamp({{ spark_utils.assert_not_null('date', from_date_or_timestamp) }})\n {%- endset -%}\n\n {%- if datepart in ['day', 'week'] -%}\n \n {%- set multiplier = 7 if datepart == 'week' else 1 -%}\n\n to_timestamp(\n to_unix_timestamp(\n date_add(\n {{ spark_utils.assert_not_null('date', from_date_or_timestamp) }},\n cast({{interval}} * {{multiplier}} as int)\n )\n ) + {{clock_component}}\n )\n\n {%- elif datepart in ['month', 'quarter', 'year'] -%}\n \n {%- set multiplier -%} \n {%- if datepart == 'month' -%} 1\n {%- elif datepart == 'quarter' -%} 3\n {%- elif datepart == 'year' -%} 12\n {%- endif -%}\n {%- endset -%}\n\n to_timestamp(\n to_unix_timestamp(\n add_months(\n {{ spark_utils.assert_not_null('date', from_date_or_timestamp) }},\n cast({{interval}} * {{multiplier}} as int)\n )\n ) + {{clock_component}}\n )\n\n {%- elif datepart in ('hour', 'minute', 'second', 'millisecond', 'microsecond') -%}\n \n {%- set multiplier -%} \n {%- if datepart == 'hour' -%} 3600\n {%- elif datepart == 'minute' -%} 60\n {%- elif datepart == 'second' -%} 1\n {%- elif datepart == 'millisecond' -%} (1/1000000)\n {%- elif datepart == 'microsecond' -%} (1/1000000)\n {%- endif -%}\n {%- endset -%}\n\n to_timestamp(\n {{ spark_utils.assert_not_null('to_unix_timestamp', from_date_or_timestamp) }}\n + cast({{interval}} * {{multiplier}} as int)\n )\n\n {%- else -%}\n\n {{ exceptions.raise_compiler_error(\"macro dateadd not implemented for datepart ~ '\" ~ datepart ~ \"' ~ on Spark\") }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.assert_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.164486, "supported_languages": null}, "macro.spark_utils.spark__datediff": {"name": "spark__datediff", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/datediff.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/datediff.sql", "unique_id": "macro.spark_utils.spark__datediff", "macro_sql": "{% macro spark__datediff(first_date, second_date, datepart) %}\n\n {%- if datepart in ['day', 'week', 'month', 'quarter', 'year'] -%}\n \n {# make sure the dates are real, otherwise raise an error asap #}\n {% set first_date = spark_utils.assert_not_null('date', first_date) %}\n {% set second_date = spark_utils.assert_not_null('date', second_date) %}\n \n {%- endif -%}\n \n {%- if datepart == 'day' -%}\n \n datediff({{second_date}}, {{first_date}})\n \n {%- elif datepart == 'week' -%}\n \n case when {{first_date}} < {{second_date}}\n then floor(datediff({{second_date}}, {{first_date}})/7)\n else ceil(datediff({{second_date}}, {{first_date}})/7)\n end\n \n -- did we cross a week boundary (Sunday)?\n + case\n when {{first_date}} < {{second_date}} and dayofweek({{second_date}}) < dayofweek({{first_date}}) then 1\n when {{first_date}} > {{second_date}} and dayofweek({{second_date}}) > dayofweek({{first_date}}) then -1\n else 0 end\n\n {%- elif datepart == 'month' -%}\n\n case when {{first_date}} < {{second_date}}\n then floor(months_between(date({{second_date}}), date({{first_date}})))\n else ceil(months_between(date({{second_date}}), date({{first_date}})))\n end\n \n -- did we cross a month boundary?\n + case\n when {{first_date}} < {{second_date}} and dayofmonth({{second_date}}) < dayofmonth({{first_date}}) then 1\n when {{first_date}} > {{second_date}} and dayofmonth({{second_date}}) > dayofmonth({{first_date}}) then -1\n else 0 end\n \n {%- elif datepart == 'quarter' -%}\n \n case when {{first_date}} < {{second_date}}\n then floor(months_between(date({{second_date}}), date({{first_date}}))/3)\n else ceil(months_between(date({{second_date}}), date({{first_date}}))/3)\n end\n \n -- did we cross a quarter boundary?\n + case\n when {{first_date}} < {{second_date}} and (\n (dayofyear({{second_date}}) - (quarter({{second_date}}) * 365/4))\n < (dayofyear({{first_date}}) - (quarter({{first_date}}) * 365/4))\n ) then 1\n when {{first_date}} > {{second_date}} and (\n (dayofyear({{second_date}}) - (quarter({{second_date}}) * 365/4))\n > (dayofyear({{first_date}}) - (quarter({{first_date}}) * 365/4))\n ) then -1\n else 0 end\n\n {%- elif datepart == 'year' -%}\n \n year({{second_date}}) - year({{first_date}})\n\n {%- elif datepart in ('hour', 'minute', 'second', 'millisecond', 'microsecond') -%}\n \n {%- set divisor -%} \n {%- if datepart == 'hour' -%} 3600\n {%- elif datepart == 'minute' -%} 60\n {%- elif datepart == 'second' -%} 1\n {%- elif datepart == 'millisecond' -%} (1/1000)\n {%- elif datepart == 'microsecond' -%} (1/1000000)\n {%- endif -%}\n {%- endset -%}\n\n case when {{first_date}} < {{second_date}}\n then ceil((\n {# make sure the timestamps are real, otherwise raise an error asap #}\n {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', second_date)) }}\n - {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', first_date)) }}\n ) / {{divisor}})\n else floor((\n {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', second_date)) }}\n - {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', first_date)) }}\n ) / {{divisor}})\n end\n \n {% if datepart == 'millisecond' %}\n + cast(date_format({{second_date}}, 'SSS') as int)\n - cast(date_format({{first_date}}, 'SSS') as int)\n {% endif %}\n \n {% if datepart == 'microsecond' %} \n {% set capture_str = '[0-9]{4}-[0-9]{2}-[0-9]{2}.[0-9]{2}:[0-9]{2}:[0-9]{2}.([0-9]{6})' %}\n -- Spark doesn't really support microseconds, so this is a massive hack!\n -- It will only work if the timestamp-string is of the format\n -- 'yyyy-MM-dd-HH mm.ss.SSSSSS'\n + cast(regexp_extract({{second_date}}, '{{capture_str}}', 1) as int)\n - cast(regexp_extract({{first_date}}, '{{capture_str}}', 1) as int) \n {% endif %}\n\n {%- else -%}\n\n {{ exceptions.raise_compiler_error(\"macro datediff not implemented for datepart ~ '\" ~ datepart ~ \"' ~ on Spark\") }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.assert_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.176536, "supported_languages": null}, "macro.spark_utils.spark__current_timestamp": {"name": "spark__current_timestamp", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "unique_id": "macro.spark_utils.spark__current_timestamp", "macro_sql": "{% macro spark__current_timestamp() %}\n current_timestamp()\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.176809, "supported_languages": null}, "macro.spark_utils.spark__current_timestamp_in_utc": {"name": "spark__current_timestamp_in_utc", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "unique_id": "macro.spark_utils.spark__current_timestamp_in_utc", "macro_sql": "{% macro spark__current_timestamp_in_utc() %}\n unix_timestamp()\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.176975, "supported_languages": null}, "macro.spark_utils.spark__split_part": {"name": "spark__split_part", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/split_part.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/split_part.sql", "unique_id": "macro.spark_utils.spark__split_part", "macro_sql": "{% macro spark__split_part(string_text, delimiter_text, part_number) %}\n\n {% set delimiter_expr %}\n \n -- escape if starts with a special character\n case when regexp_extract({{ delimiter_text }}, '([^A-Za-z0-9])(.*)', 1) != '_'\n then concat('\\\\', {{ delimiter_text }})\n else {{ delimiter_text }} end\n \n {% endset %}\n\n {% set split_part_expr %}\n \n split(\n {{ string_text }},\n {{ delimiter_expr }}\n )[({{ part_number - 1 }})]\n \n {% endset %}\n \n {{ return(split_part_expr) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.178041, "supported_languages": null}, "macro.spark_utils.spark__get_relations_by_pattern": {"name": "spark__get_relations_by_pattern", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_relations_by_pattern", "macro_sql": "{% macro spark__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n show table extended in {{ schema_pattern }} like '{{ table_pattern }}'\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=None,\n schema=row[0],\n identifier=row[1],\n type=('view' if 'Type: VIEW' in row[3] else 'table')\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.181396, "supported_languages": null}, "macro.spark_utils.spark__get_relations_by_prefix": {"name": "spark__get_relations_by_prefix", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_relations_by_prefix", "macro_sql": "{% macro spark__get_relations_by_prefix(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {% set table_pattern = table_pattern ~ '*' %}\n {{ return(spark_utils.spark__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.spark__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.182092, "supported_languages": null}, "macro.spark_utils.spark__get_tables_by_pattern": {"name": "spark__get_tables_by_pattern", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_tables_by_pattern", "macro_sql": "{% macro spark__get_tables_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(spark_utils.spark__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.spark__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.182667, "supported_languages": null}, "macro.spark_utils.spark__get_tables_by_prefix": {"name": "spark__get_tables_by_prefix", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_tables_by_prefix", "macro_sql": "{% macro spark__get_tables_by_prefix(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(spark_utils.spark__get_relations_by_prefix(schema_pattern, table_pattern, exclude='', database=target.database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.spark__get_relations_by_prefix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.18323, "supported_languages": null}, "macro.spark_utils.assert_not_null": {"name": "assert_not_null", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/etc/assert_not_null.sql", "original_file_path": "macros/etc/assert_not_null.sql", "unique_id": "macro.spark_utils.assert_not_null", "macro_sql": "{% macro assert_not_null(function, arg) -%}\n {{ return(adapter.dispatch('assert_not_null', 'spark_utils')(function, arg)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.spark_utils.default__assert_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.1838489, "supported_languages": null}, "macro.spark_utils.default__assert_not_null": {"name": "default__assert_not_null", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/etc/assert_not_null.sql", "original_file_path": "macros/etc/assert_not_null.sql", "unique_id": "macro.spark_utils.default__assert_not_null", "macro_sql": "{% macro default__assert_not_null(function, arg) %}\n\n coalesce({{function}}({{arg}}), nvl2({{function}}({{arg}}), assert_true({{function}}({{arg}}) is not null), null))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.184273, "supported_languages": null}, "macro.spark_utils.spark__convert_timezone": {"name": "spark__convert_timezone", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/snowplow/convert_timezone.sql", "original_file_path": "macros/snowplow/convert_timezone.sql", "unique_id": "macro.spark_utils.spark__convert_timezone", "macro_sql": "{% macro spark__convert_timezone(in_tz, out_tz, in_timestamp) %}\n from_utc_timestamp(to_utc_timestamp({{in_timestamp}}, {{in_tz}}), {{out_tz}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.184688, "supported_languages": null}, "macro.facebook_ads.get_url_tags_query": {"name": "get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.get_url_tags_query", "macro_sql": "{% macro get_url_tags_query() %}\n {{ return(adapter.dispatch('get_url_tags_query') ()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.facebook_ads.bigquery__get_url_tags_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.186303, "supported_languages": null}, "macro.facebook_ads.bigquery__get_url_tags_query": {"name": "bigquery__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.bigquery__get_url_tags_query", "macro_sql": "{% macro bigquery__get_url_tags_query() %}\n\n cleaned_json as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_array(replace(trim(url_tags, '\"'),'\\\\','')) as cleaned_url_tags\n from required_fields\n ), \n\n unnested as (\n\n select \n _fivetran_id, \n creative_id, \n url_tag_element\n from cleaned_json\n left join unnest(cleaned_url_tags) as url_tag_element\n where cleaned_url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_scalar(url_tag_element, '$.key') as key,\n json_extract_scalar(url_tag_element, '$.value') as value,\n json_extract_scalar(url_tag_element, '$.type') as type\n from unnested\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.186549, "supported_languages": null}, "macro.facebook_ads.postgres__get_url_tags_query": {"name": "postgres__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.postgres__get_url_tags_query", "macro_sql": "{% macro postgres__get_url_tags_query() %}\n\n cleaned_json as (\n\n select\n _fivetran_id,\n creative_id,\n replace(trim(url_tags::text, '\"'),'\\\\','')::json as cleaned_url_tags\n from required_fields\n ), \n\n unnested as (\n\n select \n _fivetran_id, \n creative_id, \n url_tag_element\n from cleaned_json\n left join lateral json_array_elements(cleaned_url_tags) as url_tag_element on True\n where cleaned_url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tag_element->>'key' as key,\n url_tag_element->>'value' as value,\n url_tag_element->>'type' as type\n from unnested\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.186769, "supported_languages": null}, "macro.facebook_ads.redshift__get_url_tags_query": {"name": "redshift__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.redshift__get_url_tags_query", "macro_sql": "{% macro redshift__get_url_tags_query() %}\n\n numbers as (\n\n {{ dbt_utils.generate_series(upper_bound=1000) }}\n\n ), \n\n flattened_url_tags as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_array_element_text(required_fields.url_tags, numbers.generated_number::int - 1, true) as element\n from required_fields\n inner join numbers\n on json_array_length(required_fields.url_tags) >= numbers.generated_number\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_path_text(element,'key') as key,\n json_extract_path_text(element,'value') as value,\n json_extract_path_text(element,'type') as type\n from flattened_url_tags\n )\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.187104, "supported_languages": null}, "macro.facebook_ads.snowflake__get_url_tags_query": {"name": "snowflake__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.snowflake__get_url_tags_query", "macro_sql": "{% macro snowflake__get_url_tags_query() %}\n\n cleaned_fields as (\n\n select\n _fivetran_id,\n creative_id,\n parse_json(url_tags) as url_tags\n from required_fields\n where url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags.value:key::string as key,\n url_tags.value:value::string as value,\n url_tags.value:type::string as type\n from cleaned_fields,\n lateral flatten( input => url_tags ) as url_tags\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.18731, "supported_languages": null}, "macro.facebook_ads.spark__get_url_tags_query": {"name": "spark__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.spark__get_url_tags_query", "macro_sql": "{% macro spark__get_url_tags_query() %}\n\n cleaned_fields as (\n\n select\n _fivetran_id,\n creative_id,\n explode(from_json(url_tags, 'array>')) as url_tags\n from required_fields\n where url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags.key as key,\n url_tags.value as value,\n url_tags.type as type\n from cleaned_fields\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.1875231, "supported_languages": null}, "macro.dbt_date.get_date_dimension": {"name": "get_date_dimension", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_date_dimension.sql", "original_file_path": "macros/get_date_dimension.sql", "unique_id": "macro.dbt_date.get_date_dimension", "macro_sql": "{% macro get_date_dimension(start_date, end_date) %}\n {{ adapter.dispatch('get_date_dimension', 'dbt_date') (start_date, end_date) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_date_dimension"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.198987, "supported_languages": null}, "macro.dbt_date.default__get_date_dimension": {"name": "default__get_date_dimension", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_date_dimension.sql", "original_file_path": "macros/get_date_dimension.sql", "unique_id": "macro.dbt_date.default__get_date_dimension", "macro_sql": "{% macro default__get_date_dimension(start_date, end_date) %}\nwith base_dates as (\n {{ dbt_date.get_base_dates(start_date, end_date) }}\n),\ndates_with_prior_year_dates as (\n\n select\n cast(d.date_day as date) as date_day,\n cast({{ dbt.dateadd('year', -1 , 'd.date_day') }} as date) as prior_year_date_day,\n cast({{ dbt.dateadd('day', -364 , 'd.date_day') }} as date) as prior_year_over_year_date_day\n from\n \tbase_dates d\n\n)\nselect\n d.date_day,\n {{ dbt_date.yesterday('d.date_day') }} as prior_date_day,\n {{ dbt_date.tomorrow('d.date_day') }} as next_date_day,\n d.prior_year_date_day as prior_year_date_day,\n d.prior_year_over_year_date_day,\n {{ dbt_date.day_of_week('d.date_day', isoweek=false) }} as day_of_week,\n {{ dbt_date.day_of_week('d.date_day', isoweek=true) }} as day_of_week_iso,\n {{ dbt_date.day_name('d.date_day', short=false) }} as day_of_week_name,\n {{ dbt_date.day_name('d.date_day', short=true) }} as day_of_week_name_short,\n {{ dbt_date.day_of_month('d.date_day') }} as day_of_month,\n {{ dbt_date.day_of_year('d.date_day') }} as day_of_year,\n\n {{ dbt_date.week_start('d.date_day') }} as week_start_date,\n {{ dbt_date.week_end('d.date_day') }} as week_end_date,\n {{ dbt_date.week_start('d.prior_year_over_year_date_day') }} as prior_year_week_start_date,\n {{ dbt_date.week_end('d.prior_year_over_year_date_day') }} as prior_year_week_end_date,\n {{ dbt_date.week_of_year('d.date_day') }} as week_of_year,\n\n {{ dbt_date.iso_week_start('d.date_day') }} as iso_week_start_date,\n {{ dbt_date.iso_week_end('d.date_day') }} as iso_week_end_date,\n {{ dbt_date.iso_week_start('d.prior_year_over_year_date_day') }} as prior_year_iso_week_start_date,\n {{ dbt_date.iso_week_end('d.prior_year_over_year_date_day') }} as prior_year_iso_week_end_date,\n {{ dbt_date.iso_week_of_year('d.date_day') }} as iso_week_of_year,\n\n {{ dbt_date.week_of_year('d.prior_year_over_year_date_day') }} as prior_year_week_of_year,\n {{ dbt_date.iso_week_of_year('d.prior_year_over_year_date_day') }} as prior_year_iso_week_of_year,\n\n cast({{ dbt_date.date_part('month', 'd.date_day') }} as {{ dbt.type_int() }}) as month_of_year,\n {{ dbt_date.month_name('d.date_day', short=false) }} as month_name,\n {{ dbt_date.month_name('d.date_day', short=true) }} as month_name_short,\n\n cast({{ dbt.date_trunc('month', 'd.date_day') }} as date) as month_start_date,\n cast({{ last_day('d.date_day', 'month') }} as date) as month_end_date,\n\n cast({{ dbt.date_trunc('month', 'd.prior_year_date_day') }} as date) as prior_year_month_start_date,\n cast({{ last_day('d.prior_year_date_day', 'month') }} as date) as prior_year_month_end_date,\n\n cast({{ dbt_date.date_part('quarter', 'd.date_day') }} as {{ dbt.type_int() }}) as quarter_of_year,\n cast({{ dbt.date_trunc('quarter', 'd.date_day') }} as date) as quarter_start_date,\n cast({{ last_day('d.date_day', 'quarter') }} as date) as quarter_end_date,\n\n cast({{ dbt_date.date_part('year', 'd.date_day') }} as {{ dbt.type_int() }}) as year_number,\n cast({{ dbt.date_trunc('year', 'd.date_day') }} as date) as year_start_date,\n cast({{ last_day('d.date_day', 'year') }} as date) as year_end_date\nfrom\n dates_with_prior_year_dates d\norder by 1\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_base_dates", "macro.dbt.dateadd", "macro.dbt_date.yesterday", "macro.dbt_date.tomorrow", "macro.dbt_date.day_of_week", "macro.dbt_date.day_name", "macro.dbt_date.day_of_month", "macro.dbt_date.day_of_year", "macro.dbt_date.week_start", "macro.dbt_date.week_end", "macro.dbt_date.week_of_year", "macro.dbt_date.iso_week_start", "macro.dbt_date.iso_week_end", "macro.dbt_date.iso_week_of_year", "macro.dbt_date.date_part", "macro.dbt.type_int", "macro.dbt_date.month_name", "macro.dbt.date_trunc", "macro.dbt.last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.204063, "supported_languages": null}, "macro.dbt_date.postgres__get_date_dimension": {"name": "postgres__get_date_dimension", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_date_dimension.sql", "original_file_path": "macros/get_date_dimension.sql", "unique_id": "macro.dbt_date.postgres__get_date_dimension", "macro_sql": "{% macro postgres__get_date_dimension(start_date, end_date) %}\nwith base_dates as (\n {{ dbt_date.get_base_dates(start_date, end_date) }}\n),\ndates_with_prior_year_dates as (\n\n select\n cast(d.date_day as date) as date_day,\n cast({{ dbt.dateadd('year', -1 , 'd.date_day') }} as date) as prior_year_date_day,\n cast({{ dbt.dateadd('day', -364 , 'd.date_day') }} as date) as prior_year_over_year_date_day\n from\n \tbase_dates d\n\n)\nselect\n d.date_day,\n {{ dbt_date.yesterday('d.date_day') }} as prior_date_day,\n {{ dbt_date.tomorrow('d.date_day') }} as next_date_day,\n d.prior_year_date_day as prior_year_date_day,\n d.prior_year_over_year_date_day,\n {{ dbt_date.day_of_week('d.date_day', isoweek=true) }} as day_of_week,\n\n {{ dbt_date.day_name('d.date_day', short=false) }} as day_of_week_name,\n {{ dbt_date.day_name('d.date_day', short=true) }} as day_of_week_name_short,\n {{ dbt_date.day_of_month('d.date_day') }} as day_of_month,\n {{ dbt_date.day_of_year('d.date_day') }} as day_of_year,\n\n {{ dbt_date.week_start('d.date_day') }} as week_start_date,\n {{ dbt_date.week_end('d.date_day') }} as week_end_date,\n {{ dbt_date.week_start('d.prior_year_over_year_date_day') }} as prior_year_week_start_date,\n {{ dbt_date.week_end('d.prior_year_over_year_date_day') }} as prior_year_week_end_date,\n {{ dbt_date.week_of_year('d.date_day') }} as week_of_year,\n\n {{ dbt_date.iso_week_start('d.date_day') }} as iso_week_start_date,\n {{ dbt_date.iso_week_end('d.date_day') }} as iso_week_end_date,\n {{ dbt_date.iso_week_start('d.prior_year_over_year_date_day') }} as prior_year_iso_week_start_date,\n {{ dbt_date.iso_week_end('d.prior_year_over_year_date_day') }} as prior_year_iso_week_end_date,\n {{ dbt_date.iso_week_of_year('d.date_day') }} as iso_week_of_year,\n\n {{ dbt_date.week_of_year('d.prior_year_over_year_date_day') }} as prior_year_week_of_year,\n {{ dbt_date.iso_week_of_year('d.prior_year_over_year_date_day') }} as prior_year_iso_week_of_year,\n\n cast({{ dbt_date.date_part('month', 'd.date_day') }} as {{ dbt.type_int() }}) as month_of_year,\n {{ dbt_date.month_name('d.date_day', short=false) }} as month_name,\n {{ dbt_date.month_name('d.date_day', short=true) }} as month_name_short,\n\n cast({{ dbt.date_trunc('month', 'd.date_day') }} as date) as month_start_date,\n cast({{ last_day('d.date_day', 'month') }} as date) as month_end_date,\n\n cast({{ dbt.date_trunc('month', 'd.prior_year_date_day') }} as date) as prior_year_month_start_date,\n cast({{ last_day('d.prior_year_date_day', 'month') }} as date) as prior_year_month_end_date,\n\n cast({{ dbt_date.date_part('quarter', 'd.date_day') }} as {{ dbt.type_int() }}) as quarter_of_year,\n cast({{ dbt.date_trunc('quarter', 'd.date_day') }} as date) as quarter_start_date,\n {# last_day does not support quarter because postgresql does not support quarter interval. #}\n cast({{dbt.dateadd('day', '-1', dbt.dateadd('month', '3', dbt.date_trunc('quarter', 'd.date_day')))}} as date) as quarter_end_date,\n\n cast({{ dbt_date.date_part('year', 'd.date_day') }} as {{ dbt.type_int() }}) as year_number,\n cast({{ dbt.date_trunc('year', 'd.date_day') }} as date) as year_start_date,\n cast({{ last_day('d.date_day', 'year') }} as date) as year_end_date\nfrom\n dates_with_prior_year_dates d\norder by 1\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_base_dates", "macro.dbt.dateadd", "macro.dbt_date.yesterday", "macro.dbt_date.tomorrow", "macro.dbt_date.day_of_week", "macro.dbt_date.day_name", "macro.dbt_date.day_of_month", "macro.dbt_date.day_of_year", "macro.dbt_date.week_start", "macro.dbt_date.week_end", "macro.dbt_date.week_of_year", "macro.dbt_date.iso_week_start", "macro.dbt_date.iso_week_end", "macro.dbt_date.iso_week_of_year", "macro.dbt_date.date_part", "macro.dbt.type_int", "macro.dbt_date.month_name", "macro.dbt.date_trunc", "macro.dbt.last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2088902, "supported_languages": null}, "macro.dbt_date.get_base_dates": {"name": "get_base_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_base_dates.sql", "original_file_path": "macros/get_base_dates.sql", "unique_id": "macro.dbt_date.get_base_dates", "macro_sql": "{% macro get_base_dates(start_date=None, end_date=None, n_dateparts=None, datepart=\"day\") %}\n {{ adapter.dispatch('get_base_dates', 'dbt_date') (start_date, end_date, n_dateparts, datepart) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__get_base_dates"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.210641, "supported_languages": null}, "macro.dbt_date.default__get_base_dates": {"name": "default__get_base_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_base_dates.sql", "original_file_path": "macros/get_base_dates.sql", "unique_id": "macro.dbt_date.default__get_base_dates", "macro_sql": "{% macro default__get_base_dates(start_date, end_date, n_dateparts, datepart) %}\n\n{%- if start_date and end_date -%}\n{%- set start_date=\"cast('\" ~ start_date ~ \"' as \" ~ dbt.type_timestamp() ~ \")\" -%}\n{%- set end_date=\"cast('\" ~ end_date ~ \"' as \" ~ dbt.type_timestamp() ~ \")\" -%}\n\n{%- elif n_dateparts and datepart -%}\n\n{%- set start_date = dbt.dateadd(datepart, -1 * n_dateparts, dbt_date.today()) -%}\n{%- set end_date = dbt_date.tomorrow() -%}\n{%- endif -%}\n\nwith date_spine as\n(\n\n {{ dbt_date.date_spine(\n datepart=datepart,\n start_date=start_date,\n end_date=end_date,\n )\n }}\n\n)\nselect\n cast(d.date_{{ datepart }} as {{ dbt.type_timestamp() }}) as date_{{ datepart }}\nfrom\n date_spine d\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.dateadd", "macro.dbt_date.today", "macro.dbt_date.tomorrow", "macro.dbt_date.date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.212186, "supported_languages": null}, "macro.dbt_date.bigquery__get_base_dates": {"name": "bigquery__get_base_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_base_dates.sql", "original_file_path": "macros/get_base_dates.sql", "unique_id": "macro.dbt_date.bigquery__get_base_dates", "macro_sql": "{% macro bigquery__get_base_dates(start_date, end_date, n_dateparts, datepart) %}\n\n{%- if start_date and end_date -%}\n{%- set start_date=\"cast('\" ~ start_date ~ \"' as date )\" -%}\n{%- set end_date=\"cast('\" ~ end_date ~ \"' as date )\" -%}\n\n{%- elif n_dateparts and datepart -%}\n\n{%- set start_date = dbt.dateadd(datepart, -1 * n_dateparts, dbt_date.today()) -%}\n{%- set end_date = dbt_date.tomorrow() -%}\n{%- endif -%}\n\nwith date_spine as\n(\n\n {{ dbt_date.date_spine(\n datepart=datepart,\n start_date=start_date,\n end_date=end_date,\n )\n }}\n\n)\nselect\n cast(d.date_{{ datepart }} as {{ dbt.type_timestamp() }}) as date_{{ datepart }}\nfrom\n date_spine d\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt_date.today", "macro.dbt_date.tomorrow", "macro.dbt_date.date_spine", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.213592, "supported_languages": null}, "macro.dbt_date.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt_date')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.214762, "supported_languages": null}, "macro.dbt_date.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.216052, "supported_languages": null}, "macro.dbt_date.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt_date')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2165399, "supported_languages": null}, "macro.dbt_date.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n{# call as follows:\n\ndate_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n) #}\n\n\nwith rawdata as (\n\n {{\n dbt_date.generate_series(\n dbt_date.get_intervals_between(start_date, end_date, datepart)\n )\n }}\n\n),\n\nall_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n),\n\nfiltered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n)\n\nselect * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.generate_series", "macro.dbt_date.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2172952, "supported_languages": null}, "macro.dbt_date.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt_date')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.218624, "supported_languages": null}, "macro.dbt_date.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.219497, "supported_languages": null}, "macro.dbt_date.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt_date')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2199008, "supported_languages": null}, "macro.dbt_date.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt_date.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.221005, "supported_languages": null}, "macro.dbt_date.get_fiscal_year_dates": {"name": "get_fiscal_year_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/fiscal_date/get_fiscal_year_dates.sql", "original_file_path": "macros/fiscal_date/get_fiscal_year_dates.sql", "unique_id": "macro.dbt_date.get_fiscal_year_dates", "macro_sql": "{% macro get_fiscal_year_dates(dates, year_end_month=12, week_start_day=1, shift_year=1) %}\n{{ adapter.dispatch('get_fiscal_year_dates', 'dbt_date') (dates, year_end_month, week_start_day, shift_year) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_fiscal_year_dates"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2236102, "supported_languages": null}, "macro.dbt_date.default__get_fiscal_year_dates": {"name": "default__get_fiscal_year_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/fiscal_date/get_fiscal_year_dates.sql", "original_file_path": "macros/fiscal_date/get_fiscal_year_dates.sql", "unique_id": "macro.dbt_date.default__get_fiscal_year_dates", "macro_sql": "{% macro default__get_fiscal_year_dates(dates, year_end_month, week_start_day, shift_year) %}\n-- this gets all the dates within a fiscal year\n-- determined by the given year-end-month\n-- ending on the saturday closest to that month's end date\nwith date_dimension as (\n select * from {{ dates }}\n),\nyear_month_end as (\n\n select\n d.year_number - {{ shift_year }} as fiscal_year_number,\n d.month_end_date\n from\n date_dimension d\n where\n d.month_of_year = {{ year_end_month }}\n group by 1,2\n\n),\nweeks as (\n\n select\n d.year_number,\n d.month_of_year,\n d.date_day as week_start_date,\n cast({{ dbt.dateadd('day', 6, 'd.date_day') }} as date) as week_end_date\n from\n date_dimension d\n where\n d.day_of_week = {{ week_start_day }}\n\n),\n-- get all the weeks that start in the month the year ends\nyear_week_ends as (\n\n select\n d.year_number - {{ shift_year }} as fiscal_year_number,\n d.week_end_date\n from\n weeks d\n where\n d.month_of_year = {{ year_end_month }}\n group by\n 1,2\n\n),\n-- then calculate which Saturday is closest to month end\nweeks_at_month_end as (\n\n select\n d.fiscal_year_number,\n d.week_end_date,\n m.month_end_date,\n rank() over\n (partition by d.fiscal_year_number\n order by\n abs({{ dbt.datediff('d.week_end_date', 'm.month_end_date', 'day') }})\n\n ) as closest_to_month_end\n from\n year_week_ends d\n join\n year_month_end m on d.fiscal_year_number = m.fiscal_year_number\n),\nfiscal_year_range as (\n\n select\n w.fiscal_year_number,\n cast(\n {{ dbt.dateadd('day', 1,\n 'lag(w.week_end_date) over(order by w.week_end_date)') }}\n as date) as fiscal_year_start_date,\n w.week_end_date as fiscal_year_end_date\n from\n weeks_at_month_end w\n where\n w.closest_to_month_end = 1\n\n),\nfiscal_year_dates as (\n\n select\n d.date_day,\n m.fiscal_year_number,\n m.fiscal_year_start_date,\n m.fiscal_year_end_date,\n w.week_start_date,\n w.week_end_date,\n -- we reset the weeks of the year starting with the merch year start date\n dense_rank()\n over(\n partition by m.fiscal_year_number\n order by w.week_start_date\n ) as fiscal_week_of_year\n from\n date_dimension d\n join\n fiscal_year_range m on d.date_day between m.fiscal_year_start_date and m.fiscal_year_end_date\n join\n weeks w on d.date_day between w.week_start_date and w.week_end_date\n\n)\nselect * from fiscal_year_dates order by 1\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2247958, "supported_languages": null}, "macro.dbt_date.get_fiscal_periods": {"name": "get_fiscal_periods", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/fiscal_date/get_fiscal_periods.sql", "original_file_path": "macros/fiscal_date/get_fiscal_periods.sql", "unique_id": "macro.dbt_date.get_fiscal_periods", "macro_sql": "{% macro get_fiscal_periods(dates, year_end_month, week_start_day, shift_year=1) %}\n{#\nThis macro requires you to pass in a ref to a date dimension, created via\ndbt_date.get_date_dimension()s\n#}\nwith fscl_year_dates_for_periods as (\n {{ dbt_date.get_fiscal_year_dates(dates, year_end_month, week_start_day, shift_year) }}\n),\nfscl_year_w13 as (\n\n select\n f.*,\n -- We count the weeks in a 13 week period\n -- and separate the 4-5-4 week sequences\n mod(cast(\n (f.fiscal_week_of_year-1) as {{ dbt.type_int() }}\n ), 13) as w13_number,\n -- Chop weeks into 13 week merch quarters\n cast(\n least(\n floor((f.fiscal_week_of_year-1)/13.0)\n , 3)\n as {{ dbt.type_int() }}) as quarter_number\n from\n fscl_year_dates_for_periods f\n\n),\nfscl_periods as (\n\n select\n f.date_day,\n f.fiscal_year_number,\n f.week_start_date,\n f.week_end_date,\n f.fiscal_week_of_year,\n case\n -- we move week 53 into the 3rd period of the quarter\n when f.fiscal_week_of_year = 53 then 3\n when f.w13_number between 0 and 3 then 1\n when f.w13_number between 4 and 8 then 2\n when f.w13_number between 9 and 12 then 3\n end as period_of_quarter,\n f.quarter_number\n from\n fscl_year_w13 f\n\n),\nfscl_periods_quarters as (\n\n select\n f.*,\n cast((\n (f.quarter_number * 3) + f.period_of_quarter\n ) as {{ dbt.type_int() }}) as fiscal_period_number\n from\n fscl_periods f\n\n)\nselect\n date_day,\n fiscal_year_number,\n week_start_date,\n week_end_date,\n fiscal_week_of_year,\n dense_rank() over(partition by fiscal_period_number order by fiscal_week_of_year) as fiscal_week_of_period,\n fiscal_period_number,\n quarter_number+1 as fiscal_quarter_number,\n period_of_quarter as fiscal_period_of_quarter\nfrom\n fscl_periods_quarters\norder by 1,2\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_fiscal_year_dates", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.226331, "supported_languages": null}, "macro.dbt_date.tomorrow": {"name": "tomorrow", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/tomorrow.sql", "original_file_path": "macros/calendar_date/tomorrow.sql", "unique_id": "macro.dbt_date.tomorrow", "macro_sql": "{%- macro tomorrow(date=None, tz=None) -%}\n{{ dbt_date.n_days_away(1, date, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.226807, "supported_languages": null}, "macro.dbt_date.next_week": {"name": "next_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_week.sql", "original_file_path": "macros/calendar_date/next_week.sql", "unique_id": "macro.dbt_date.next_week", "macro_sql": "{%- macro next_week(tz=None) -%}\n{{ dbt_date.n_weeks_away(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_weeks_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2271948, "supported_languages": null}, "macro.dbt_date.next_month_name": {"name": "next_month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_month_name.sql", "original_file_path": "macros/calendar_date/next_month_name.sql", "unique_id": "macro.dbt_date.next_month_name", "macro_sql": "{%- macro next_month_name(short=True, tz=None) -%}\n{{ dbt_date.month_name(dbt_date.next_month(tz), short=short) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.month_name", "macro.dbt_date.next_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.227693, "supported_languages": null}, "macro.dbt_date.next_month": {"name": "next_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_month.sql", "original_file_path": "macros/calendar_date/next_month.sql", "unique_id": "macro.dbt_date.next_month", "macro_sql": "{%- macro next_month(tz=None) -%}\n{{ dbt_date.n_months_away(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_months_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.228086, "supported_languages": null}, "macro.dbt_date.day_name": {"name": "day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.day_name", "macro_sql": "{%- macro day_name(date, short=True) -%}\n {{ adapter.dispatch('day_name', 'dbt_date') (date, short) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__day_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2291598, "supported_languages": null}, "macro.dbt_date.default__day_name": {"name": "default__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.default__day_name", "macro_sql": "\n\n{%- macro default__day_name(date, short) -%}\n{%- set f = 'Dy' if short else 'Day' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.229601, "supported_languages": null}, "macro.dbt_date.snowflake__day_name": {"name": "snowflake__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.snowflake__day_name", "macro_sql": "\n\n{%- macro snowflake__day_name(date, short) -%}\n {%- if short -%}\n dayname({{ date }})\n {%- else -%}\n -- long version not implemented on Snowflake so we're doing it manually :/\n case dayname({{ date }})\n when 'Mon' then 'Monday'\n when 'Tue' then 'Tuesday'\n when 'Wed' then 'Wednesday'\n when 'Thu' then 'Thursday'\n when 'Fri' then 'Friday'\n when 'Sat' then 'Saturday'\n when 'Sun' then 'Sunday'\n end\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2300532, "supported_languages": null}, "macro.dbt_date.bigquery__day_name": {"name": "bigquery__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.bigquery__day_name", "macro_sql": "\n\n{%- macro bigquery__day_name(date, short) -%}\n{%- set f = '%a' if short else '%A' -%}\n format_date('{{ f }}', cast({{ date }} as date))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.230489, "supported_languages": null}, "macro.dbt_date.postgres__day_name": {"name": "postgres__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.postgres__day_name", "macro_sql": "\n\n{%- macro postgres__day_name(date, short) -%}\n{# FM = Fill mode, which suppresses padding blanks #}\n{%- set f = 'FMDy' if short else 'FMDay' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.231083, "supported_languages": null}, "macro.dbt_date.to_unixtimestamp": {"name": "to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.to_unixtimestamp", "macro_sql": "{%- macro to_unixtimestamp(timestamp) -%}\n {{ adapter.dispatch('to_unixtimestamp', 'dbt_date') (timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__to_unixtimestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.231681, "supported_languages": null}, "macro.dbt_date.default__to_unixtimestamp": {"name": "default__to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.default__to_unixtimestamp", "macro_sql": "\n\n{%- macro default__to_unixtimestamp(timestamp) -%}\n {{ dbt_date.date_part('epoch', timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.231987, "supported_languages": null}, "macro.dbt_date.snowflake__to_unixtimestamp": {"name": "snowflake__to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.snowflake__to_unixtimestamp", "macro_sql": "\n\n{%- macro snowflake__to_unixtimestamp(timestamp) -%}\n {{ dbt_date.date_part('epoch_seconds', timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2322931, "supported_languages": null}, "macro.dbt_date.bigquery__to_unixtimestamp": {"name": "bigquery__to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.bigquery__to_unixtimestamp", "macro_sql": "\n\n{%- macro bigquery__to_unixtimestamp(timestamp) -%}\n unix_seconds({{ timestamp }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.232521, "supported_languages": null}, "macro.dbt_date.n_days_away": {"name": "n_days_away", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_days_away.sql", "original_file_path": "macros/calendar_date/n_days_away.sql", "unique_id": "macro.dbt_date.n_days_away", "macro_sql": "{%- macro n_days_away(n, date=None, tz=None) -%}\n{{ dbt_date.n_days_ago(-1 * n, date, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_days_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2330391, "supported_languages": null}, "macro.dbt_date.week_start": {"name": "week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.week_start", "macro_sql": "{%- macro week_start(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('week_start', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.233943, "supported_languages": null}, "macro.dbt_date.default__week_start": {"name": "default__week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.default__week_start", "macro_sql": "{%- macro default__week_start(date) -%}\ncast({{ dbt.date_trunc('week', date) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.234266, "supported_languages": null}, "macro.dbt_date.snowflake__week_start": {"name": "snowflake__week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.snowflake__week_start", "macro_sql": "\n\n{%- macro snowflake__week_start(date) -%}\n {#\n Get the day of week offset: e.g. if the date is a Sunday,\n dbt_date.day_of_week returns 1, so we subtract 1 to get a 0 offset\n #}\n {% set off_set = dbt_date.day_of_week(date, isoweek=False) ~ \" - 1\" %}\n cast({{ dbt.dateadd(\"day\", \"-1 * (\" ~ off_set ~ \")\", date) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.day_of_week", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.234882, "supported_languages": null}, "macro.dbt_date.postgres__week_start": {"name": "postgres__week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.postgres__week_start", "macro_sql": "\n\n{%- macro postgres__week_start(date) -%}\n-- Sunday as week start date\ncast({{ dbt.dateadd('day', -1, dbt.date_trunc('week', dbt.dateadd('day', 1, date))) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.235432, "supported_languages": null}, "macro.dbt_date.iso_week_start": {"name": "iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.iso_week_start", "macro_sql": "{%- macro iso_week_start(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('iso_week_start', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.236376, "supported_languages": null}, "macro.dbt_date._iso_week_start": {"name": "_iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date._iso_week_start", "macro_sql": "{%- macro _iso_week_start(date, week_type) -%}\ncast({{ dbt.date_trunc(week_type, date) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.236715, "supported_languages": null}, "macro.dbt_date.default__iso_week_start": {"name": "default__iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.default__iso_week_start", "macro_sql": "\n\n{%- macro default__iso_week_start(date) -%}\n{{ dbt_date._iso_week_start(date, 'isoweek') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.23702, "supported_languages": null}, "macro.dbt_date.snowflake__iso_week_start": {"name": "snowflake__iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.snowflake__iso_week_start", "macro_sql": "\n\n{%- macro snowflake__iso_week_start(date) -%}\n{{ dbt_date._iso_week_start(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.237323, "supported_languages": null}, "macro.dbt_date.postgres__iso_week_start": {"name": "postgres__iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.postgres__iso_week_start", "macro_sql": "\n\n{%- macro postgres__iso_week_start(date) -%}\n{{ dbt_date._iso_week_start(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2376268, "supported_languages": null}, "macro.dbt_date.n_days_ago": {"name": "n_days_ago", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_days_ago.sql", "original_file_path": "macros/calendar_date/n_days_ago.sql", "unique_id": "macro.dbt_date.n_days_ago", "macro_sql": "{%- macro n_days_ago(n, date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{%- set n = n|int -%}\ncast({{ dbt.dateadd('day', -1 * n, dt) }} as date)\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.238472, "supported_languages": null}, "macro.dbt_date.last_week": {"name": "last_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_week.sql", "original_file_path": "macros/calendar_date/last_week.sql", "unique_id": "macro.dbt_date.last_week", "macro_sql": "{%- macro last_week(tz=None) -%}\n{{ dbt_date.n_weeks_ago(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_weeks_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.238861, "supported_languages": null}, "macro.dbt_date.now": {"name": "now", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/now.sql", "original_file_path": "macros/calendar_date/now.sql", "unique_id": "macro.dbt_date.now", "macro_sql": "{%- macro now(tz=None) -%}\n{{ dbt_date.convert_timezone(dbt.current_timestamp(), tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.convert_timezone", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.239278, "supported_languages": null}, "macro.dbt_date.periods_since": {"name": "periods_since", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/periods_since.sql", "original_file_path": "macros/calendar_date/periods_since.sql", "unique_id": "macro.dbt_date.periods_since", "macro_sql": "{%- macro periods_since(date_col, period_name='day', tz=None) -%}\n{{ dbt.datediff(date_col, dbt_date.now(tz), period_name) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.datediff", "macro.dbt_date.now"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.239817, "supported_languages": null}, "macro.dbt_date.today": {"name": "today", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/today.sql", "original_file_path": "macros/calendar_date/today.sql", "unique_id": "macro.dbt_date.today", "macro_sql": "{%- macro today(tz=None) -%}\ncast({{ dbt_date.now(tz) }} as date)\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.now"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.240188, "supported_languages": null}, "macro.dbt_date.last_month": {"name": "last_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_month.sql", "original_file_path": "macros/calendar_date/last_month.sql", "unique_id": "macro.dbt_date.last_month", "macro_sql": "{%- macro last_month(tz=None) -%}\n{{ dbt_date.n_months_ago(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_months_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.240567, "supported_languages": null}, "macro.dbt_date.day_of_year": {"name": "day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.day_of_year", "macro_sql": "{%- macro day_of_year(date) -%}\n{{ adapter.dispatch('day_of_year', 'dbt_date') (date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__day_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2411609, "supported_languages": null}, "macro.dbt_date.default__day_of_year": {"name": "default__day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.default__day_of_year", "macro_sql": "\n\n{%- macro default__day_of_year(date) -%}\n {{ dbt_date.date_part('dayofyear', date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.241462, "supported_languages": null}, "macro.dbt_date.postgres__day_of_year": {"name": "postgres__day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.postgres__day_of_year", "macro_sql": "\n\n{%- macro postgres__day_of_year(date) -%}\n {{ dbt_date.date_part('doy', date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.241774, "supported_languages": null}, "macro.dbt_date.redshift__day_of_year": {"name": "redshift__day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.redshift__day_of_year", "macro_sql": "\n\n{%- macro redshift__day_of_year(date) -%}\n cast({{ dbt_date.date_part('dayofyear', date) }} as {{ dbt.type_bigint() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.242301, "supported_languages": null}, "macro.dbt_date.round_timestamp": {"name": "round_timestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/round_timestamp.sql", "original_file_path": "macros/calendar_date/round_timestamp.sql", "unique_id": "macro.dbt_date.round_timestamp", "macro_sql": "{% macro round_timestamp(timestamp) %}\n {{ dbt.date_trunc(\"day\", dbt.dateadd(\"hour\", 12, timestamp)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.242805, "supported_languages": null}, "macro.dbt_date.from_unixtimestamp": {"name": "from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.from_unixtimestamp", "macro_sql": "{%- macro from_unixtimestamp(epochs, format=\"seconds\") -%}\n {{ adapter.dispatch('from_unixtimestamp', 'dbt_date') (epochs, format) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__from_unixtimestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.244716, "supported_languages": null}, "macro.dbt_date.default__from_unixtimestamp": {"name": "default__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.default__from_unixtimestamp", "macro_sql": "\n\n{%- macro default__from_unixtimestamp(epochs, format=\"seconds\") -%}\n {%- if format != \"seconds\" -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n to_timestamp({{ epochs }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.245277, "supported_languages": null}, "macro.dbt_date.postgres__from_unixtimestamp": {"name": "postgres__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.postgres__from_unixtimestamp", "macro_sql": "\n\n{%- macro postgres__from_unixtimestamp(epochs, format=\"seconds\") -%}\n {%- if format != \"seconds\" -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n cast(to_timestamp({{ epochs }}) at time zone 'UTC' as timestamp)\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2458398, "supported_languages": null}, "macro.dbt_date.snowflake__from_unixtimestamp": {"name": "snowflake__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.snowflake__from_unixtimestamp", "macro_sql": "\n\n{%- macro snowflake__from_unixtimestamp(epochs, format) -%}\n {%- if format == \"seconds\" -%}\n {%- set scale = 0 -%}\n {%- elif format == \"milliseconds\" -%}\n {%- set scale = 3 -%}\n {%- elif format == \"microseconds\" -%}\n {%- set scale = 6 -%}\n {%- else -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n to_timestamp_ntz({{ epochs }}, {{ scale }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.246829, "supported_languages": null}, "macro.dbt_date.bigquery__from_unixtimestamp": {"name": "bigquery__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.bigquery__from_unixtimestamp", "macro_sql": "\n\n{%- macro bigquery__from_unixtimestamp(epochs, format) -%}\n {%- if format == \"seconds\" -%}\n timestamp_seconds({{ epochs }})\n {%- elif format == \"milliseconds\" -%}\n timestamp_millis({{ epochs }})\n {%- elif format == \"microseconds\" -%}\n timestamp_micros({{ epochs }})\n {%- else -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.247655, "supported_languages": null}, "macro.dbt_date.n_months_ago": {"name": "n_months_ago", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_months_ago.sql", "original_file_path": "macros/calendar_date/n_months_ago.sql", "unique_id": "macro.dbt_date.n_months_ago", "macro_sql": "{%- macro n_months_ago(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('month',\n dbt.dateadd('month', -1 * n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.248427, "supported_languages": null}, "macro.dbt_date.date_part": {"name": "date_part", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/date_part.sql", "original_file_path": "macros/calendar_date/date_part.sql", "unique_id": "macro.dbt_date.date_part", "macro_sql": "{% macro date_part(datepart, date) -%}\n {{ adapter.dispatch('date_part', 'dbt_date') (datepart, date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.249019, "supported_languages": null}, "macro.dbt_date.default__date_part": {"name": "default__date_part", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/date_part.sql", "original_file_path": "macros/calendar_date/date_part.sql", "unique_id": "macro.dbt_date.default__date_part", "macro_sql": "{% macro default__date_part(datepart, date) -%}\n date_part('{{ datepart }}', {{ date }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.24931, "supported_languages": null}, "macro.dbt_date.bigquery__date_part": {"name": "bigquery__date_part", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/date_part.sql", "original_file_path": "macros/calendar_date/date_part.sql", "unique_id": "macro.dbt_date.bigquery__date_part", "macro_sql": "{% macro bigquery__date_part(datepart, date) -%}\n extract({{ datepart }} from {{ date }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2495959, "supported_languages": null}, "macro.dbt_date.n_weeks_away": {"name": "n_weeks_away", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_weeks_away.sql", "original_file_path": "macros/calendar_date/n_weeks_away.sql", "unique_id": "macro.dbt_date.n_weeks_away", "macro_sql": "{%- macro n_weeks_away(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('week',\n dbt.dateadd('week', n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.250566, "supported_languages": null}, "macro.dbt_date.day_of_month": {"name": "day_of_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_month.sql", "original_file_path": "macros/calendar_date/day_of_month.sql", "unique_id": "macro.dbt_date.day_of_month", "macro_sql": "{%- macro day_of_month(date) -%}\n{{ dbt_date.date_part('day', date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2510002, "supported_languages": null}, "macro.dbt_date.redshift__day_of_month": {"name": "redshift__day_of_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_month.sql", "original_file_path": "macros/calendar_date/day_of_month.sql", "unique_id": "macro.dbt_date.redshift__day_of_month", "macro_sql": "\n\n{%- macro redshift__day_of_month(date) -%}\ncast({{ dbt_date.date_part('day', date) }} as {{ dbt.type_bigint() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.251395, "supported_languages": null}, "macro.dbt_date.yesterday": {"name": "yesterday", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/yesterday.sql", "original_file_path": "macros/calendar_date/yesterday.sql", "unique_id": "macro.dbt_date.yesterday", "macro_sql": "{%- macro yesterday(date=None, tz=None) -%}\n{{ dbt_date.n_days_ago(1, date, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_days_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.251849, "supported_languages": null}, "macro.dbt_date.day_of_week": {"name": "day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.day_of_week", "macro_sql": "{%- macro day_of_week(date, isoweek=true) -%}\n{{ adapter.dispatch('day_of_week', 'dbt_date') (date, isoweek) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__day_of_week"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.254504, "supported_languages": null}, "macro.dbt_date.default__day_of_week": {"name": "default__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.default__day_of_week", "macro_sql": "\n\n{%- macro default__day_of_week(date, isoweek) -%}\n\n {%- set dow = dbt_date.date_part('dayofweek', date) -%}\n\n {%- if isoweek -%}\n case\n -- Shift start of week from Sunday (0) to Monday (1)\n when {{ dow }} = 0 then 7\n else {{ dow }}\n end\n {%- else -%}\n {{ dow }} + 1\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.255127, "supported_languages": null}, "macro.dbt_date.snowflake__day_of_week": {"name": "snowflake__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.snowflake__day_of_week", "macro_sql": "\n\n{%- macro snowflake__day_of_week(date, isoweek) -%}\n\n {%- if isoweek -%}\n {%- set dow_part = 'dayofweekiso' -%}\n {{ dbt_date.date_part(dow_part, date) }}\n {%- else -%}\n {%- set dow_part = 'dayofweek' -%}\n case\n when {{ dbt_date.date_part(dow_part, date) }} = 7 then 1\n else {{ dbt_date.date_part(dow_part, date) }} + 1\n end\n {%- endif -%}\n\n\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.256057, "supported_languages": null}, "macro.dbt_date.bigquery__day_of_week": {"name": "bigquery__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.bigquery__day_of_week", "macro_sql": "\n\n{%- macro bigquery__day_of_week(date, isoweek) -%}\n\n {%- set dow = dbt_date.date_part('dayofweek', date) -%}\n\n {%- if isoweek -%}\n case\n -- Shift start of week from Sunday (1) to Monday (2)\n when {{ dow }} = 1 then 7\n else {{ dow }} - 1\n end\n {%- else -%}\n {{ dow }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.256671, "supported_languages": null}, "macro.dbt_date.postgres__day_of_week": {"name": "postgres__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.postgres__day_of_week", "macro_sql": "\n\n\n{%- macro postgres__day_of_week(date, isoweek) -%}\n\n {%- if isoweek -%}\n {%- set dow_part = 'isodow' -%}\n -- Monday(1) to Sunday (7)\n cast({{ dbt_date.date_part(dow_part, date) }} as {{ dbt.type_int() }})\n {%- else -%}\n {%- set dow_part = 'dow' -%}\n -- Sunday(1) to Saturday (7)\n cast({{ dbt_date.date_part(dow_part, date) }} + 1 as {{ dbt.type_int() }})\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2575622, "supported_languages": null}, "macro.dbt_date.redshift__day_of_week": {"name": "redshift__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.redshift__day_of_week", "macro_sql": "\n\n\n{%- macro redshift__day_of_week(date, isoweek) -%}\n\n {%- set dow = dbt_date.date_part('dayofweek', date) -%}\n\n {%- if isoweek -%}\n case\n -- Shift start of week from Sunday (0) to Monday (1)\n when {{ dow }} = 0 then 7\n else cast({{ dow }} as {{ dbt.type_bigint() }})\n end\n {%- else -%}\n cast({{ dow }} + 1 as {{ dbt.type_bigint() }})\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.258466, "supported_languages": null}, "macro.dbt_date.iso_week_end": {"name": "iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date.iso_week_end", "macro_sql": "{%- macro iso_week_end(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('iso_week_end', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__iso_week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.25934, "supported_languages": null}, "macro.dbt_date._iso_week_end": {"name": "_iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date._iso_week_end", "macro_sql": "{%- macro _iso_week_end(date, week_type) -%}\n{%- set dt = dbt_date.iso_week_start(date) -%}\n{{ dbt_date.n_days_away(6, dt) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.iso_week_start", "macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.259788, "supported_languages": null}, "macro.dbt_date.default__iso_week_end": {"name": "default__iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date.default__iso_week_end", "macro_sql": "\n\n{%- macro default__iso_week_end(date) -%}\n{{ dbt_date._iso_week_end(date, 'isoweek') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2600892, "supported_languages": null}, "macro.dbt_date.snowflake__iso_week_end": {"name": "snowflake__iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date.snowflake__iso_week_end", "macro_sql": "\n\n{%- macro snowflake__iso_week_end(date) -%}\n{{ dbt_date._iso_week_end(date, 'weekiso') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.260389, "supported_languages": null}, "macro.dbt_date.n_weeks_ago": {"name": "n_weeks_ago", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_weeks_ago.sql", "original_file_path": "macros/calendar_date/n_weeks_ago.sql", "unique_id": "macro.dbt_date.n_weeks_ago", "macro_sql": "{%- macro n_weeks_ago(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('week',\n dbt.dateadd('week', -1 * n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.261129, "supported_languages": null}, "macro.dbt_date.month_name": {"name": "month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.month_name", "macro_sql": "{%- macro month_name(date, short=True) -%}\n {{ adapter.dispatch('month_name', 'dbt_date') (date, short) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__month_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.262006, "supported_languages": null}, "macro.dbt_date.default__month_name": {"name": "default__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.default__month_name", "macro_sql": "\n\n{%- macro default__month_name(date, short) -%}\n{%- set f = 'MON' if short else 'MONTH' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2624362, "supported_languages": null}, "macro.dbt_date.bigquery__month_name": {"name": "bigquery__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.bigquery__month_name", "macro_sql": "\n\n{%- macro bigquery__month_name(date, short) -%}\n{%- set f = '%b' if short else '%B' -%}\n format_date('{{ f }}', cast({{ date }} as date))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2628639, "supported_languages": null}, "macro.dbt_date.snowflake__month_name": {"name": "snowflake__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.snowflake__month_name", "macro_sql": "\n\n{%- macro snowflake__month_name(date, short) -%}\n{%- set f = 'MON' if short else 'MMMM' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.263291, "supported_languages": null}, "macro.dbt_date.postgres__month_name": {"name": "postgres__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.postgres__month_name", "macro_sql": "\n\n{%- macro postgres__month_name(date, short) -%}\n{# FM = Fill mode, which suppresses padding blanks #}\n{%- set f = 'FMMon' if short else 'FMMonth' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.263726, "supported_languages": null}, "macro.dbt_date.last_month_name": {"name": "last_month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_month_name.sql", "original_file_path": "macros/calendar_date/last_month_name.sql", "unique_id": "macro.dbt_date.last_month_name", "macro_sql": "{%- macro last_month_name(short=True, tz=None) -%}\n{{ dbt_date.month_name(dbt_date.last_month(tz), short=short) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.month_name", "macro.dbt_date.last_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.264229, "supported_languages": null}, "macro.dbt_date.week_of_year": {"name": "week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_of_year.sql", "original_file_path": "macros/calendar_date/week_of_year.sql", "unique_id": "macro.dbt_date.week_of_year", "macro_sql": "{%- macro week_of_year(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('week_of_year', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2650418, "supported_languages": null}, "macro.dbt_date.default__week_of_year": {"name": "default__week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_of_year.sql", "original_file_path": "macros/calendar_date/week_of_year.sql", "unique_id": "macro.dbt_date.default__week_of_year", "macro_sql": "{%- macro default__week_of_year(date) -%}\ncast({{ dbt_date.date_part('week', date) }} as {{ dbt.type_int() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.265437, "supported_languages": null}, "macro.dbt_date.postgres__week_of_year": {"name": "postgres__week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_of_year.sql", "original_file_path": "macros/calendar_date/week_of_year.sql", "unique_id": "macro.dbt_date.postgres__week_of_year", "macro_sql": "\n\n{%- macro postgres__week_of_year(date) -%}\n{# postgresql 'week' returns isoweek. Use to_char instead.\n WW = the first week starts on the first day of the year #}\ncast(to_char({{ date }}, 'WW') as {{ dbt.type_int() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.265759, "supported_languages": null}, "macro.dbt_date.convert_timezone": {"name": "convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.convert_timezone", "macro_sql": "{%- macro convert_timezone(column, target_tz=None, source_tz=None) -%}\n{%- set source_tz = \"UTC\" if not source_tz else source_tz -%}\n{%- set target_tz = var(\"dbt_date:time_zone\") if not target_tz else target_tz -%}\n{{ adapter.dispatch('convert_timezone', 'dbt_date') (column, target_tz, source_tz) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.bigquery__convert_timezone"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.26737, "supported_languages": null}, "macro.dbt_date.default__convert_timezone": {"name": "default__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.default__convert_timezone", "macro_sql": "{% macro default__convert_timezone(column, target_tz, source_tz) -%}\nconvert_timezone('{{ source_tz }}', '{{ target_tz }}',\n cast({{ column }} as {{ dbt.type_timestamp() }})\n)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.267811, "supported_languages": null}, "macro.dbt_date.bigquery__convert_timezone": {"name": "bigquery__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.bigquery__convert_timezone", "macro_sql": "{%- macro bigquery__convert_timezone(column, target_tz, source_tz=None) -%}\ntimestamp(datetime({{ column }}, '{{ target_tz}}'))\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2681432, "supported_languages": null}, "macro.dbt_date.spark__convert_timezone": {"name": "spark__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.spark__convert_timezone", "macro_sql": "{%- macro spark__convert_timezone(column, target_tz, source_tz) -%}\nfrom_utc_timestamp(\n to_utc_timestamp({{ column }}, '{{ source_tz }}'),\n '{{ target_tz }}'\n )\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.268493, "supported_languages": null}, "macro.dbt_date.postgres__convert_timezone": {"name": "postgres__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.postgres__convert_timezone", "macro_sql": "{% macro postgres__convert_timezone(column, target_tz, source_tz) -%}\ncast(\n cast({{ column }} as {{ dbt.type_timestamp() }})\n at time zone '{{ source_tz }}' at time zone '{{ target_tz }}' as {{ dbt.type_timestamp() }}\n)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.268998, "supported_languages": null}, "macro.dbt_date.redshift__convert_timezone": {"name": "redshift__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.redshift__convert_timezone", "macro_sql": "{%- macro redshift__convert_timezone(column, target_tz, source_tz) -%}\n{{ return(dbt_date.default__convert_timezone(column, target_tz, source_tz)) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.default__convert_timezone"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2694058, "supported_languages": null}, "macro.dbt_date.n_months_away": {"name": "n_months_away", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_months_away.sql", "original_file_path": "macros/calendar_date/n_months_away.sql", "unique_id": "macro.dbt_date.n_months_away", "macro_sql": "{%- macro n_months_away(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('month',\n dbt.dateadd('month', n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.270116, "supported_languages": null}, "macro.dbt_date.iso_week_of_year": {"name": "iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.iso_week_of_year", "macro_sql": "{%- macro iso_week_of_year(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('iso_week_of_year', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.271103, "supported_languages": null}, "macro.dbt_date._iso_week_of_year": {"name": "_iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date._iso_week_of_year", "macro_sql": "{%- macro _iso_week_of_year(date, week_type) -%}\ncast({{ dbt_date.date_part(week_type, date) }} as {{ dbt.type_int() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.271638, "supported_languages": null}, "macro.dbt_date.default__iso_week_of_year": {"name": "default__iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.default__iso_week_of_year", "macro_sql": "\n\n{%- macro default__iso_week_of_year(date) -%}\n{{ dbt_date._iso_week_of_year(date, 'isoweek') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.271944, "supported_languages": null}, "macro.dbt_date.snowflake__iso_week_of_year": {"name": "snowflake__iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.snowflake__iso_week_of_year", "macro_sql": "\n\n{%- macro snowflake__iso_week_of_year(date) -%}\n{{ dbt_date._iso_week_of_year(date, 'weekiso') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2722461, "supported_languages": null}, "macro.dbt_date.postgres__iso_week_of_year": {"name": "postgres__iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.postgres__iso_week_of_year", "macro_sql": "\n\n{%- macro postgres__iso_week_of_year(date) -%}\n-- postgresql week is isoweek, the first week of a year containing January 4 of that year.\n{{ dbt_date._iso_week_of_year(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.272562, "supported_languages": null}, "macro.dbt_date.week_end": {"name": "week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.week_end", "macro_sql": "{%- macro week_end(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('week_end', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.273442, "supported_languages": null}, "macro.dbt_date.default__week_end": {"name": "default__week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.default__week_end", "macro_sql": "{%- macro default__week_end(date) -%}\n{{ last_day(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2737331, "supported_languages": null}, "macro.dbt_date.snowflake__week_end": {"name": "snowflake__week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.snowflake__week_end", "macro_sql": "\n\n{%- macro snowflake__week_end(date) -%}\n{%- set dt = dbt_date.week_start(date) -%}\n{{ dbt_date.n_days_away(6, dt) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.week_start", "macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2741618, "supported_languages": null}, "macro.dbt_date.postgres__week_end": {"name": "postgres__week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.postgres__week_end", "macro_sql": "\n\n{%- macro postgres__week_end(date) -%}\n{%- set dt = dbt_date.week_start(date) -%}\n{{ dbt_date.n_days_away(6, dt) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.week_start", "macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.274592, "supported_languages": null}, "macro.dbt_date.next_month_number": {"name": "next_month_number", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_month_number.sql", "original_file_path": "macros/calendar_date/next_month_number.sql", "unique_id": "macro.dbt_date.next_month_number", "macro_sql": "{%- macro next_month_number(tz=None) -%}\n{{ dbt_date.date_part('month', dbt_date.next_month(tz)) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt_date.next_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.275043, "supported_languages": null}, "macro.dbt_date.last_month_number": {"name": "last_month_number", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_month_number.sql", "original_file_path": "macros/calendar_date/last_month_number.sql", "unique_id": "macro.dbt_date.last_month_number", "macro_sql": "{%- macro last_month_number(tz=None) -%}\n{{ dbt_date.date_part('month', dbt_date.last_month(tz)) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt_date.last_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2754922, "supported_languages": null}, "macro.google_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.google_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.277227, "supported_languages": null}, "macro.google_ads_source.get_ad_group_stats_columns": {"name": "get_ad_group_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_group_stats_columns.sql", "original_file_path": "macros/get_ad_group_stats_columns.sql", "unique_id": "macro.google_ads_source.get_ad_group_stats_columns", "macro_sql": "{% macro get_ad_group_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__ad_group_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.279862, "supported_languages": null}, "macro.google_ads_source.spark__regexp_instr": {"name": "spark__regexp_instr", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/regexp_instr.sql", "original_file_path": "macros/regexp_instr.sql", "unique_id": "macro.google_ads_source.spark__regexp_instr", "macro_sql": "{% macro spark__regexp_instr(source_value, regexp, position=1, occurrence=1, is_raw=False, flags=\"\") %}\nregexp_instr({{ source_value }}, '{{ regexp }}')\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.280409, "supported_languages": null}, "macro.google_ads_source.get_campaign_stats_columns": {"name": "get_campaign_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_campaign_stats_columns.sql", "original_file_path": "macros/get_campaign_stats_columns.sql", "unique_id": "macro.google_ads_source.get_campaign_stats_columns", "macro_sql": "{% macro get_campaign_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__campaign_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.282846, "supported_languages": null}, "macro.google_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.google_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"advertising_channel_subtype\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertising_channel_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_date\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_date\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"tracking_url_template\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2853189, "supported_languages": null}, "macro.google_ads_source.get_ad_stats_columns": {"name": "get_ad_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_stats_columns.sql", "original_file_path": "macros/get_ad_stats_columns.sql", "unique_id": "macro.google_ads_source.get_ad_stats_columns", "macro_sql": "{% macro get_ad_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_ad_group_criterion\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__ad_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.28816, "supported_languages": null}, "macro.google_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.google_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"auto_tagging_enabled\", \"datatype\": \"boolean\"},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"descriptive_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.289908, "supported_languages": null}, "macro.google_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.google_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"display_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"final_urls\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.291807, "supported_languages": null}, "macro.google_ads_source.get_ad_group_criterion_history_columns": {"name": "get_ad_group_criterion_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_group_criterion_history_columns.sql", "original_file_path": "macros/get_ad_group_criterion_history_columns.sql", "unique_id": "macro.google_ads_source.get_ad_group_criterion_history_columns", "macro_sql": "{% macro get_ad_group_criterion_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"base_campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_text\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.293899, "supported_languages": null}, "macro.google_ads_source.get_keyword_stats_columns": {"name": "get_keyword_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_keyword_stats_columns.sql", "original_file_path": "macros/get_keyword_stats_columns.sql", "unique_id": "macro.google_ads_source.get_keyword_stats_columns", "macro_sql": "{% macro get_keyword_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_criterion_criterion_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__keyword_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.2968059, "supported_languages": null}, "macro.google_ads_source.get_account_stats_columns": {"name": "get_account_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_account_stats_columns.sql", "original_file_path": "macros/get_account_stats_columns.sql", "unique_id": "macro.google_ads_source.get_account_stats_columns", "macro_sql": "{% macro get_account_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__account_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.299055, "supported_languages": null}, "macro.fivetran_utils.enabled_vars": {"name": "enabled_vars", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/enabled_vars.sql", "original_file_path": "macros/enabled_vars.sql", "unique_id": "macro.fivetran_utils.enabled_vars", "macro_sql": "{% macro enabled_vars(vars) %}\n\n{% for v in vars %}\n \n {% if var(v, True) == False %}\n {{ return(False) }}\n {% endif %}\n\n{% endfor %}\n\n{{ return(True) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.299872, "supported_languages": null}, "macro.fivetran_utils.percentile": {"name": "percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.percentile", "macro_sql": "{% macro percentile(percentile_field, partition_field, percent) -%}\n\n{{ adapter.dispatch('percentile', 'fivetran_utils') (percentile_field, partition_field, percent) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__percentile"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.301297, "supported_languages": null}, "macro.fivetran_utils.default__percentile": {"name": "default__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.default__percentile", "macro_sql": "{% macro default__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percent }} )\n within group ( order by {{ percentile_field }} )\n over ( partition by {{ partition_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3016598, "supported_languages": null}, "macro.fivetran_utils.redshift__percentile": {"name": "redshift__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.redshift__percentile", "macro_sql": "{% macro redshift__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percent }} )\n within group ( order by {{ percentile_field }} )\n over ( partition by {{ partition_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.302015, "supported_languages": null}, "macro.fivetran_utils.bigquery__percentile": {"name": "bigquery__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.bigquery__percentile", "macro_sql": "{% macro bigquery__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percentile_field }}, \n {{ percent }}) \n over (partition by {{ partition_field }} \n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.302368, "supported_languages": null}, "macro.fivetran_utils.postgres__percentile": {"name": "postgres__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.postgres__percentile", "macro_sql": "{% macro postgres__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percent }} )\n within group ( order by {{ percentile_field }} )\n /* have to group by partition field */\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.302685, "supported_languages": null}, "macro.fivetran_utils.spark__percentile": {"name": "spark__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.spark__percentile", "macro_sql": "{% macro spark__percentile(percentile_field, partition_field, percent) %}\n\n percentile( \n {{ percentile_field }}, \n {{ percent }}) \n over (partition by {{ partition_field }} \n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.303038, "supported_languages": null}, "macro.fivetran_utils.pivot_json_extract": {"name": "pivot_json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/pivot_json_extract.sql", "original_file_path": "macros/pivot_json_extract.sql", "unique_id": "macro.fivetran_utils.pivot_json_extract", "macro_sql": "{% macro pivot_json_extract(string, list_of_properties) %}\n\n{%- for property in list_of_properties -%}\n{%- if property is mapping -%}\nreplace( {{ fivetran_utils.json_extract(string, property.name) }}, '\"', '') as {{ property.alias if property.alias else property.name | replace(' ', '_') | replace('.', '_') | lower }}\n\n{%- else -%}\nreplace( {{ fivetran_utils.json_extract(string, property) }}, '\"', '') as {{ property | replace(' ', '_') | lower }}\n\n{%- endif -%}\n{%- if not loop.last -%},{%- endif %}\n{% endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.json_extract"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.30459, "supported_languages": null}, "macro.fivetran_utils.persist_pass_through_columns": {"name": "persist_pass_through_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/persist_pass_through_columns.sql", "original_file_path": "macros/persist_pass_through_columns.sql", "unique_id": "macro.fivetran_utils.persist_pass_through_columns", "macro_sql": "{% macro persist_pass_through_columns(pass_through_variable, identifier=none, transform='') %}\n\n{% if var(pass_through_variable, none) %}\n {% for field in var(pass_through_variable) %}\n , {{ transform ~ '(' ~ (identifier ~ '.' if identifier else '') ~ (field.alias if field.alias else field.name) ~ ')' }} as {{ field.alias if field.alias else field.name }}\n {% endfor %}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.305866, "supported_languages": null}, "macro.fivetran_utils.json_parse": {"name": "json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.json_parse", "macro_sql": "{% macro json_parse(string, string_path) -%}\n\n{{ adapter.dispatch('json_parse', 'fivetran_utils') (string, string_path) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__json_parse"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.307598, "supported_languages": null}, "macro.fivetran_utils.default__json_parse": {"name": "default__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.default__json_parse", "macro_sql": "{% macro default__json_parse(string, string_path) %}\n\n json_extract_path_text({{string}}, {%- for s in string_path -%}'{{ s }}'{%- if not loop.last -%},{%- endif -%}{%- endfor -%} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.308126, "supported_languages": null}, "macro.fivetran_utils.redshift__json_parse": {"name": "redshift__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.redshift__json_parse", "macro_sql": "{% macro redshift__json_parse(string, string_path) %}\n\n json_extract_path_text({{string}}, {%- for s in string_path -%}'{{ s }}'{%- if not loop.last -%},{%- endif -%}{%- endfor -%} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.308657, "supported_languages": null}, "macro.fivetran_utils.bigquery__json_parse": {"name": "bigquery__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.bigquery__json_parse", "macro_sql": "{% macro bigquery__json_parse(string, string_path) %}\n\n \n json_extract_scalar({{string}}, '$.{%- for s in string_path -%}{{ s }}{%- if not loop.last -%}.{%- endif -%}{%- endfor -%} ')\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.309172, "supported_languages": null}, "macro.fivetran_utils.postgres__json_parse": {"name": "postgres__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.postgres__json_parse", "macro_sql": "{% macro postgres__json_parse(string, string_path) %}\n\n {{string}}::json #>> '{ {%- for s in string_path -%}{{ s }}{%- if not loop.last -%},{%- endif -%}{%- endfor -%} }'\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.309686, "supported_languages": null}, "macro.fivetran_utils.snowflake__json_parse": {"name": "snowflake__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.snowflake__json_parse", "macro_sql": "{% macro snowflake__json_parse(string, string_path) %}\n\n parse_json( {{string}} ) {%- for s in string_path -%}{% if s is number %}[{{ s }}]{% else %}['{{ s }}']{% endif %}{%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3102562, "supported_languages": null}, "macro.fivetran_utils.spark__json_parse": {"name": "spark__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.spark__json_parse", "macro_sql": "{% macro spark__json_parse(string, string_path) %}\n\n {{string}} : {%- for s in string_path -%}{% if s is number %}[{{ s }}]{% else %}['{{ s }}']{% endif %}{%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3108249, "supported_languages": null}, "macro.fivetran_utils.max_bool": {"name": "max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.max_bool", "macro_sql": "{% macro max_bool(boolean_field) -%}\n\n{{ adapter.dispatch('max_bool', 'fivetran_utils') (boolean_field) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__max_bool"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.311421, "supported_languages": null}, "macro.fivetran_utils.default__max_bool": {"name": "default__max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.default__max_bool", "macro_sql": "{% macro default__max_bool(boolean_field) %}\n\n bool_or( {{ boolean_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.311658, "supported_languages": null}, "macro.fivetran_utils.snowflake__max_bool": {"name": "snowflake__max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.snowflake__max_bool", "macro_sql": "{% macro snowflake__max_bool(boolean_field) %}\n\n max( {{ boolean_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.311886, "supported_languages": null}, "macro.fivetran_utils.bigquery__max_bool": {"name": "bigquery__max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.bigquery__max_bool", "macro_sql": "{% macro bigquery__max_bool(boolean_field) %}\n\n max( {{ boolean_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.312116, "supported_languages": null}, "macro.fivetran_utils.calculated_fields": {"name": "calculated_fields", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/calculated_fields.sql", "original_file_path": "macros/calculated_fields.sql", "unique_id": "macro.fivetran_utils.calculated_fields", "macro_sql": "{% macro calculated_fields(variable) -%}\n\n{% if var(variable, none) %}\n {% for field in var(variable) %}\n , {{ field.transform_sql }} as {{ field.name }} \n {% endfor %}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.312873, "supported_languages": null}, "macro.fivetran_utils.seed_data_helper": {"name": "seed_data_helper", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/seed_data_helper.sql", "original_file_path": "macros/seed_data_helper.sql", "unique_id": "macro.fivetran_utils.seed_data_helper", "macro_sql": "{% macro seed_data_helper(seed_name, warehouses) %}\n\n{% if target.type in warehouses %}\n {% for w in warehouses %}\n {% if target.type == w %}\n {{ return(ref(seed_name ~ \"_\" ~ w ~ \"\")) }}\n {% endif %}\n {% endfor %}\n{% else %}\n{{ return(ref(seed_name)) }}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.314163, "supported_languages": null}, "macro.fivetran_utils.fill_pass_through_columns": {"name": "fill_pass_through_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/fill_pass_through_columns.sql", "original_file_path": "macros/fill_pass_through_columns.sql", "unique_id": "macro.fivetran_utils.fill_pass_through_columns", "macro_sql": "{% macro fill_pass_through_columns(pass_through_variable) %}\n\n{% if var(pass_through_variable) %}\n {% for field in var(pass_through_variable) %}\n {% if field is mapping %}\n {% if field.transform_sql %}\n , {{ field.transform_sql }} as {{ field.alias if field.alias else field.name }}\n {% else %}\n , {{ field.alias if field.alias else field.name }}\n {% endif %}\n {% else %}\n , {{ field }}\n {% endif %}\n {% endfor %}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3157089, "supported_languages": null}, "macro.fivetran_utils.string_agg": {"name": "string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.string_agg", "macro_sql": "{% macro string_agg(field_to_agg, delimiter) -%}\n\n{{ adapter.dispatch('string_agg', 'fivetran_utils') (field_to_agg, delimiter) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__string_agg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.316533, "supported_languages": null}, "macro.fivetran_utils.default__string_agg": {"name": "default__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.default__string_agg", "macro_sql": "{% macro default__string_agg(field_to_agg, delimiter) %}\n string_agg({{ field_to_agg }}, {{ delimiter }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.31682, "supported_languages": null}, "macro.fivetran_utils.snowflake__string_agg": {"name": "snowflake__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.snowflake__string_agg", "macro_sql": "{% macro snowflake__string_agg(field_to_agg, delimiter) %}\n listagg({{ field_to_agg }}, {{ delimiter }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3171048, "supported_languages": null}, "macro.fivetran_utils.redshift__string_agg": {"name": "redshift__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.redshift__string_agg", "macro_sql": "{% macro redshift__string_agg(field_to_agg, delimiter) %}\n listagg({{ field_to_agg }}, {{ delimiter }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.317388, "supported_languages": null}, "macro.fivetran_utils.spark__string_agg": {"name": "spark__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.spark__string_agg", "macro_sql": "{% macro spark__string_agg(field_to_agg, delimiter) %}\n -- collect set will remove duplicates\n replace(replace(replace(cast( collect_set({{ field_to_agg }}) as string), '[', ''), ']', ''), ', ', {{ delimiter }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3176801, "supported_languages": null}, "macro.fivetran_utils.timestamp_diff": {"name": "timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.timestamp_diff", "macro_sql": "{% macro timestamp_diff(first_date, second_date, datepart) %}\n {{ adapter.dispatch('timestamp_diff', 'fivetran_utils')(first_date, second_date, datepart) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__timestamp_diff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.322114, "supported_languages": null}, "macro.fivetran_utils.default__timestamp_diff": {"name": "default__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.default__timestamp_diff", "macro_sql": "{% macro default__timestamp_diff(first_date, second_date, datepart) %}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.322473, "supported_languages": null}, "macro.fivetran_utils.redshift__timestamp_diff": {"name": "redshift__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.redshift__timestamp_diff", "macro_sql": "{% macro redshift__timestamp_diff(first_date, second_date, datepart) %}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.322825, "supported_languages": null}, "macro.fivetran_utils.bigquery__timestamp_diff": {"name": "bigquery__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.bigquery__timestamp_diff", "macro_sql": "{% macro bigquery__timestamp_diff(first_date, second_date, datepart) %}\n\n timestamp_diff(\n {{second_date}},\n {{first_date}},\n {{datepart}}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.323169, "supported_languages": null}, "macro.fivetran_utils.postgres__timestamp_diff": {"name": "postgres__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.postgres__timestamp_diff", "macro_sql": "{% macro postgres__timestamp_diff(first_date, second_date, datepart) %}\n\n {% if datepart == 'year' %}\n (date_part('year', ({{second_date}})::date) - date_part('year', ({{first_date}})::date))\n {% elif datepart == 'quarter' %}\n ({{ dbt.datediff(first_date, second_date, 'year') }} * 4 + date_part('quarter', ({{second_date}})::date) - date_part('quarter', ({{first_date}})::date))\n {% elif datepart == 'month' %}\n ({{ dbt.datediff(first_date, second_date, 'year') }} * 12 + date_part('month', ({{second_date}})::date) - date_part('month', ({{first_date}})::date))\n {% elif datepart == 'day' %}\n (({{second_date}})::date - ({{first_date}})::date)\n {% elif datepart == 'week' %}\n ({{ dbt.datediff(first_date, second_date, 'day') }} / 7 + case\n when date_part('dow', ({{first_date}})::timestamp) <= date_part('dow', ({{second_date}})::timestamp) then\n case when {{first_date}} <= {{second_date}} then 0 else -1 end\n else\n case when {{first_date}} <= {{second_date}} then 1 else 0 end\n end)\n {% elif datepart == 'hour' %}\n ({{ dbt.datediff(first_date, second_date, 'day') }} * 24 + date_part('hour', ({{second_date}})::timestamp) - date_part('hour', ({{first_date}})::timestamp))\n {% elif datepart == 'minute' %}\n ({{ dbt.datediff(first_date, second_date, 'hour') }} * 60 + date_part('minute', ({{second_date}})::timestamp) - date_part('minute', ({{first_date}})::timestamp))\n {% elif datepart == 'second' %}\n ({{ dbt.datediff(first_date, second_date, 'minute') }} * 60 + floor(date_part('second', ({{second_date}})::timestamp)) - floor(date_part('second', ({{first_date}})::timestamp)))\n {% elif datepart == 'millisecond' %}\n ({{ dbt.datediff(first_date, second_date, 'minute') }} * 60000 + floor(date_part('millisecond', ({{second_date}})::timestamp)) - floor(date_part('millisecond', ({{first_date}})::timestamp)))\n {% elif datepart == 'microsecond' %}\n ({{ dbt.datediff(first_date, second_date, 'minute') }} * 60000000 + floor(date_part('microsecond', ({{second_date}})::timestamp)) - floor(date_part('microsecond', ({{first_date}})::timestamp)))\n {% else %}\n {{ exceptions.raise_compiler_error(\"Unsupported datepart for macro datediff in postgres: {!r}\".format(datepart)) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.326852, "supported_languages": null}, "macro.fivetran_utils.try_cast": {"name": "try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.try_cast", "macro_sql": "{% macro try_cast(field, type) %}\n {{ adapter.dispatch('try_cast', 'fivetran_utils') (field, type) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__try_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.328216, "supported_languages": null}, "macro.fivetran_utils.default__safe_cast": {"name": "default__safe_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.default__safe_cast", "macro_sql": "{% macro default__safe_cast(field, type) %}\n {# most databases don't support this function yet\n so we just need to use cast #}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.328521, "supported_languages": null}, "macro.fivetran_utils.redshift__try_cast": {"name": "redshift__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.redshift__try_cast", "macro_sql": "{% macro redshift__try_cast(field, type) %}\n{%- if type == 'numeric' -%}\n\n case\n when trim({{field}}) ~ '^(0|[1-9][0-9]*)$' then trim({{field}})\n else null\n end::{{type}}\n\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"non-numeric datatypes are not currently supported\") }}\n\n{% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.32911, "supported_languages": null}, "macro.fivetran_utils.postgres__try_cast": {"name": "postgres__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.postgres__try_cast", "macro_sql": "{% macro postgres__try_cast(field, type) %}\n{%- if type == 'numeric' -%}\n\n case\n when replace(cast({{field}} as varchar),cast(' ' as varchar),cast('' as varchar)) ~ '^(0|[1-9][0-9]*)$' \n then replace(cast({{field}} as varchar),cast(' ' as varchar),cast('' as varchar))\n else null\n end::{{type}}\n\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"non-numeric datatypes are not currently supported\") }}\n\n{% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.329813, "supported_languages": null}, "macro.fivetran_utils.snowflake__try_cast": {"name": "snowflake__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.snowflake__try_cast", "macro_sql": "{% macro snowflake__try_cast(field, type) %}\n try_cast(cast({{field}} as varchar) as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.330097, "supported_languages": null}, "macro.fivetran_utils.bigquery__try_cast": {"name": "bigquery__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.bigquery__try_cast", "macro_sql": "{% macro bigquery__try_cast(field, type) %}\n safe_cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.330414, "supported_languages": null}, "macro.fivetran_utils.spark__try_cast": {"name": "spark__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.spark__try_cast", "macro_sql": "{% macro spark__try_cast(field, type) %}\n try_cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.330695, "supported_languages": null}, "macro.fivetran_utils.source_relation": {"name": "source_relation", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/source_relation.sql", "original_file_path": "macros/source_relation.sql", "unique_id": "macro.fivetran_utils.source_relation", "macro_sql": "{% macro source_relation(union_schema_variable='union_schemas', union_database_variable='union_databases') -%}\n\n{{ adapter.dispatch('source_relation', 'fivetran_utils') (union_schema_variable, union_database_variable) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__source_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3315709, "supported_languages": null}, "macro.fivetran_utils.default__source_relation": {"name": "default__source_relation", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/source_relation.sql", "original_file_path": "macros/source_relation.sql", "unique_id": "macro.fivetran_utils.default__source_relation", "macro_sql": "{% macro default__source_relation(union_schema_variable, union_database_variable) %}\n\n{% if var(union_schema_variable, none) %}\n, case\n {% for schema in var(union_schema_variable) %}\n when lower(replace(replace(_dbt_source_relation,'\"',''),'`','')) like '%.{{ schema|lower }}.%' then '{{ schema|lower }}'\n {% endfor %}\n end as source_relation\n{% elif var(union_database_variable, none) %}\n, case\n {% for database in var(union_database_variable) %}\n when lower(replace(replace(_dbt_source_relation,'\"',''),'`','')) like '%{{ database|lower }}.%' then '{{ database|lower }}'\n {% endfor %}\n end as source_relation\n{% else %}\n, cast('' as {{ dbt.type_string() }}) as source_relation\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.332771, "supported_languages": null}, "macro.fivetran_utils.first_value": {"name": "first_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/first_value.sql", "original_file_path": "macros/first_value.sql", "unique_id": "macro.fivetran_utils.first_value", "macro_sql": "{% macro first_value(first_value_field, partition_field, order_by_field, order=\"asc\") -%}\n\n{{ adapter.dispatch('first_value', 'fivetran_utils') (first_value_field, partition_field, order_by_field, order) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__first_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.333668, "supported_languages": null}, "macro.fivetran_utils.default__first_value": {"name": "default__first_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/first_value.sql", "original_file_path": "macros/first_value.sql", "unique_id": "macro.fivetran_utils.default__first_value", "macro_sql": "{% macro default__first_value(first_value_field, partition_field, order_by_field, order=\"asc\") %}\n\n first_value( {{ first_value_field }} ignore nulls ) over (partition by {{ partition_field }} order by {{ order_by_field }} {{ order }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.334107, "supported_languages": null}, "macro.fivetran_utils.redshift__first_value": {"name": "redshift__first_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/first_value.sql", "original_file_path": "macros/first_value.sql", "unique_id": "macro.fivetran_utils.redshift__first_value", "macro_sql": "{% macro redshift__first_value(first_value_field, partition_field, order_by_field, order=\"asc\") %}\n\n first_value( {{ first_value_field }} ignore nulls ) over (partition by {{ partition_field }} order by {{ order_by_field }} {{ order }} , {{ partition_field }} rows unbounded preceding )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.334584, "supported_languages": null}, "macro.fivetran_utils.add_dbt_source_relation": {"name": "add_dbt_source_relation", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/add_dbt_source_relation.sql", "original_file_path": "macros/add_dbt_source_relation.sql", "unique_id": "macro.fivetran_utils.add_dbt_source_relation", "macro_sql": "{% macro add_dbt_source_relation() %}\n\n{% if var('union_schemas', none) or var('union_databases', none) %}\n, _dbt_source_relation\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.335264, "supported_languages": null}, "macro.fivetran_utils.add_pass_through_columns": {"name": "add_pass_through_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/add_pass_through_columns.sql", "original_file_path": "macros/add_pass_through_columns.sql", "unique_id": "macro.fivetran_utils.add_pass_through_columns", "macro_sql": "{% macro add_pass_through_columns(base_columns, pass_through_var) %}\n\n {% if pass_through_var %}\n\n {% for column in pass_through_var %}\n\n {% if column is mapping %}\n\n {% if column.alias %}\n\n {% do base_columns.append({ \"name\": column.name, \"alias\": column.alias, \"datatype\": column.datatype if column.datatype else dbt.type_string()}) %}\n\n {% else %}\n\n {% do base_columns.append({ \"name\": column.name, \"datatype\": column.datatype if column.datatype else dbt.type_string()}) %}\n \n {% endif %}\n\n {% else %}\n\n {% do base_columns.append({ \"name\": column, \"datatype\": dbt.type_string()}) %}\n\n {% endif %}\n\n {% endfor %}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3374379, "supported_languages": null}, "macro.fivetran_utils.union_relations": {"name": "union_relations", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_relations.sql", "original_file_path": "macros/union_relations.sql", "unique_id": "macro.fivetran_utils.union_relations", "macro_sql": "{%- macro union_relations(relations, aliases=none, column_override=none, include=[], exclude=[], source_column_name=none) -%}\n\n {%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided to the `union` macro. Only one is allowed\") }}\n {%- endif -%}\n\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. -#}\n {%- if not execute %}\n {{ return('') }}\n {% endif -%}\n\n {%- set column_override = column_override if column_override is not none else {} -%}\n {%- set source_column_name = source_column_name if source_column_name is not none else '_dbt_source_relation' -%}\n\n {%- set relation_columns = {} -%}\n {%- set column_superset = {} -%}\n\n {%- for relation in relations -%}\n\n {%- do relation_columns.update({relation: []}) -%}\n\n {%- do dbt_utils._is_relation(relation, 'union_relations') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) -%}\n {%- for col in cols -%}\n\n {#- If an exclude list was provided and the column is in the list, do nothing -#}\n {%- if exclude and col.column in exclude -%}\n\n {#- If an include list was provided and the column is not in the list, do nothing -#}\n {%- elif include and col.column not in include -%}\n\n {#- Otherwise add the column to the column superset -#}\n {%- else -%}\n\n {#- update the list of columns in this relation -#}\n {%- do relation_columns[relation].append(col.column) -%}\n\n {%- if col.column in column_superset -%}\n\n {%- set stored = column_superset[col.column] -%}\n {%- if col.is_string() and stored.is_string() and col.string_size() > stored.string_size() -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif %}\n\n {%- else -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif -%}\n\n {%- endif -%}\n\n {%- endfor -%}\n {%- endfor -%}\n\n {%- set ordered_column_names = column_superset.keys() -%}\n\n {%- for relation in relations %}\n\n (\n select\n\n cast({{ dbt.string_literal(relation) }} as {{ dbt.type_string() }}) as {{ source_column_name }},\n {% for col_name in ordered_column_names -%}\n\n {%- set col = column_superset[col_name] %}\n {%- set col_type = column_override.get(col.column, col.data_type) %}\n {%- set col_name = adapter.quote(col_name) if col_name in relation_columns[relation] else 'null' %}\n cast({{ col_name }} as {{ col_type }}) as {{ col.quoted }} {% if not loop.last %},{% endif -%}\n\n {%- endfor %}\n\n from {{ aliases[loop.index0] if aliases else relation }}\n )\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n\n {%- endfor -%}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt.string_literal", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.344555, "supported_languages": null}, "macro.fivetran_utils.union_tables": {"name": "union_tables", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_relations.sql", "original_file_path": "macros/union_relations.sql", "unique_id": "macro.fivetran_utils.union_tables", "macro_sql": "{%- macro union_tables(tables, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_table') -%}\n\n {%- do exceptions.warn(\"Warning: the `union_tables` macro is no longer supported and will be deprecated in a future release of dbt-utils. Use the `union_relations` macro instead\") -%}\n\n {{ return(dbt_utils.union_relations(tables, column_override, include, exclude, source_column_name)) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils.union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.345304, "supported_languages": null}, "macro.fivetran_utils.snowflake_seed_data": {"name": "snowflake_seed_data", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/snowflake_seed_data.sql", "original_file_path": "macros/snowflake_seed_data.sql", "unique_id": "macro.fivetran_utils.snowflake_seed_data", "macro_sql": "{% macro snowflake_seed_data(seed_name) %}\n\n{% if target.type == 'snowflake' %}\n{{ return(ref(seed_name ~ '_snowflake')) }}\n{% else %}\n{{ return(ref(seed_name)) }}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.346066, "supported_languages": null}, "macro.fivetran_utils.fill_staging_columns": {"name": "fill_staging_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/fill_staging_columns.sql", "original_file_path": "macros/fill_staging_columns.sql", "unique_id": "macro.fivetran_utils.fill_staging_columns", "macro_sql": "{% macro fill_staging_columns(source_columns, staging_columns) -%}\n\n{%- set source_column_names = source_columns|map(attribute='name')|map('lower')|list -%}\n\n{%- for column in staging_columns %}\n {% if column.name|lower in source_column_names -%}\n {{ fivetran_utils.quote_column(column) }} as \n {%- if 'alias' in column %} {{ column.alias }} {% else %} {{ fivetran_utils.quote_column(column) }} {%- endif -%}\n {%- else -%}\n cast(null as {{ column.datatype }})\n {%- if 'alias' in column %} as {{ column.alias }} {% else %} as {{ fivetran_utils.quote_column(column) }} {% endif -%}\n {%- endif -%}\n {%- if not loop.last -%} , {% endif -%}\n{% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.quote_column"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.348809, "supported_languages": null}, "macro.fivetran_utils.quote_column": {"name": "quote_column", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/fill_staging_columns.sql", "original_file_path": "macros/fill_staging_columns.sql", "unique_id": "macro.fivetran_utils.quote_column", "macro_sql": "{% macro quote_column(column) %}\n {% if 'quote' in column %}\n {% if column.quote %}\n {% if target.type in ('bigquery', 'spark', 'databricks') %}\n `{{ column.name }}`\n {% elif target.type == 'snowflake' %}\n \"{{ column.name | upper }}\"\n {% else %}\n \"{{ column.name }}\"\n {% endif %}\n {% else %}\n {{ column.name }}\n {% endif %}\n {% else %}\n {{ column.name }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3499892, "supported_languages": null}, "macro.fivetran_utils.json_extract": {"name": "json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.json_extract", "macro_sql": "{% macro json_extract(string, string_path) -%}\n\n{{ adapter.dispatch('json_extract', 'fivetran_utils') (string, string_path) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__json_extract"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3509629, "supported_languages": null}, "macro.fivetran_utils.default__json_extract": {"name": "default__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.default__json_extract", "macro_sql": "{% macro default__json_extract(string, string_path) %}\n\n json_extract_path_text({{string}}, {{ \"'\" ~ string_path ~ \"'\" }} )\n \n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.351299, "supported_languages": null}, "macro.fivetran_utils.snowflake__json_extract": {"name": "snowflake__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.snowflake__json_extract", "macro_sql": "{% macro snowflake__json_extract(string, string_path) %}\n\n json_extract_path_text(try_parse_json( {{string}} ), {{ \"'\" ~ string_path ~ \"'\" }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.351635, "supported_languages": null}, "macro.fivetran_utils.redshift__json_extract": {"name": "redshift__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.redshift__json_extract", "macro_sql": "{% macro redshift__json_extract(string, string_path) %}\n\n case when is_valid_json( {{string}} ) then json_extract_path_text({{string}}, {{ \"'\" ~ string_path ~ \"'\" }} ) else null end\n \n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.352007, "supported_languages": null}, "macro.fivetran_utils.bigquery__json_extract": {"name": "bigquery__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.bigquery__json_extract", "macro_sql": "{% macro bigquery__json_extract(string, string_path) %}\n\n json_extract_scalar({{string}}, {{ \"'$.\" ~ string_path ~ \"'\" }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.35234, "supported_languages": null}, "macro.fivetran_utils.postgres__json_extract": {"name": "postgres__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.postgres__json_extract", "macro_sql": "{% macro postgres__json_extract(string, string_path) %}\n\n {{string}}::json->>{{\"'\" ~ string_path ~ \"'\" }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.352671, "supported_languages": null}, "macro.fivetran_utils.collect_freshness": {"name": "collect_freshness", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/collect_freshness.sql", "original_file_path": "macros/collect_freshness.sql", "unique_id": "macro.fivetran_utils.collect_freshness", "macro_sql": "{% macro collect_freshness(source, loaded_at_field, filter) %}\n {{ return(adapter.dispatch('collect_freshness')(source, loaded_at_field, filter))}}\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__collect_freshness"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.353917, "supported_languages": null}, "macro.fivetran_utils.default__collect_freshness": {"name": "default__collect_freshness", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/collect_freshness.sql", "original_file_path": "macros/collect_freshness.sql", "unique_id": "macro.fivetran_utils.default__collect_freshness", "macro_sql": "{% macro default__collect_freshness(source, loaded_at_field, filter) %}\n {% call statement('collect_freshness', fetch_result=True, auto_begin=False) -%}\n\n {%- set enabled_array = [] -%}\n {% for node in graph.sources.values() %}\n {% if node.identifier == source.identifier %}\n {% if (node.meta['is_enabled'] | default(true)) %}\n {%- do enabled_array.append(1) -%}\n {% endif %}\n {% endif %}\n {% endfor %}\n {% set is_enabled = (enabled_array != []) %}\n\n select\n {% if is_enabled %}\n max({{ loaded_at_field }})\n {% else %} \n {{ current_timestamp() }} {% endif %} as max_loaded_at,\n {{ current_timestamp() }} as snapshotted_at\n\n {% if is_enabled %}\n from {{ source }}\n {% if filter %}\n where {{ filter }}\n {% endif %}\n {% endif %}\n\n {% endcall %}\n {{ return(load_result('collect_freshness').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.355944, "supported_languages": null}, "macro.fivetran_utils.timestamp_add": {"name": "timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.timestamp_add", "macro_sql": "{% macro timestamp_add(datepart, interval, from_timestamp) -%}\n\n{{ adapter.dispatch('timestamp_add', 'fivetran_utils') (datepart, interval, from_timestamp) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__timestamp_add"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3571231, "supported_languages": null}, "macro.fivetran_utils.default__timestamp_add": {"name": "default__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.default__timestamp_add", "macro_sql": "{% macro default__timestamp_add(datepart, interval, from_timestamp) %}\n\n timestampadd(\n {{ datepart }},\n {{ interval }},\n {{ from_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.357475, "supported_languages": null}, "macro.fivetran_utils.bigquery__timestamp_add": {"name": "bigquery__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.bigquery__timestamp_add", "macro_sql": "{% macro bigquery__timestamp_add(datepart, interval, from_timestamp) %}\n\n timestamp_add({{ from_timestamp }}, interval {{ interval }} {{ datepart }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.357816, "supported_languages": null}, "macro.fivetran_utils.redshift__timestamp_add": {"name": "redshift__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.redshift__timestamp_add", "macro_sql": "{% macro redshift__timestamp_add(datepart, interval, from_timestamp) %}\n\n dateadd(\n {{ datepart }},\n {{ interval }},\n {{ from_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.358166, "supported_languages": null}, "macro.fivetran_utils.postgres__timestamp_add": {"name": "postgres__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.postgres__timestamp_add", "macro_sql": "{% macro postgres__timestamp_add(datepart, interval, from_timestamp) %}\n\n {{ from_timestamp }} + ((interval '1 {{ datepart }}') * ({{ interval }}))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.358509, "supported_languages": null}, "macro.fivetran_utils.spark__timestamp_add": {"name": "spark__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.spark__timestamp_add", "macro_sql": "{% macro spark__timestamp_add(datepart, interval, from_timestamp) %}\n\n {{ dbt.dateadd(datepart, interval, from_timestamp) }}\n \n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.35888, "supported_languages": null}, "macro.fivetran_utils.ceiling": {"name": "ceiling", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/ceiling.sql", "original_file_path": "macros/ceiling.sql", "unique_id": "macro.fivetran_utils.ceiling", "macro_sql": "{% macro ceiling(num) -%}\n\n{{ adapter.dispatch('ceiling', 'fivetran_utils') (num) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__ceiling"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.359421, "supported_languages": null}, "macro.fivetran_utils.default__ceiling": {"name": "default__ceiling", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/ceiling.sql", "original_file_path": "macros/ceiling.sql", "unique_id": "macro.fivetran_utils.default__ceiling", "macro_sql": "{% macro default__ceiling(num) %}\n ceiling({{ num }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3596532, "supported_languages": null}, "macro.fivetran_utils.snowflake__ceiling": {"name": "snowflake__ceiling", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/ceiling.sql", "original_file_path": "macros/ceiling.sql", "unique_id": "macro.fivetran_utils.snowflake__ceiling", "macro_sql": "{% macro snowflake__ceiling(num) %}\n ceil({{ num }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.359879, "supported_languages": null}, "macro.fivetran_utils.remove_prefix_from_columns": {"name": "remove_prefix_from_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/remove_prefix_from_columns.sql", "original_file_path": "macros/remove_prefix_from_columns.sql", "unique_id": "macro.fivetran_utils.remove_prefix_from_columns", "macro_sql": "{% macro remove_prefix_from_columns(columns, prefix='', exclude=[]) %}\n\n {%- for col in columns if col.name not in exclude -%}\n {%- if col.name[:prefix|length]|lower == prefix -%}\n {{ col.name }} as {{ col.name[prefix|length:] }}\n {%- else -%}\n {{ col.name }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {% endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.361141, "supported_languages": null}, "macro.fivetran_utils.union_data": {"name": "union_data", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_data.sql", "original_file_path": "macros/union_data.sql", "unique_id": "macro.fivetran_utils.union_data", "macro_sql": "{%- macro union_data(table_identifier, database_variable, schema_variable, default_database, default_schema, default_variable, union_schema_variable='union_schemas', union_database_variable='union_databases') -%}\n\n{{ adapter.dispatch('union_data', 'fivetran_utils') (\n table_identifier, \n database_variable, \n schema_variable, \n default_database, \n default_schema, \n default_variable,\n union_schema_variable,\n union_database_variable\n ) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.fivetran_utils.default__union_data"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.366914, "supported_languages": null}, "macro.fivetran_utils.default__union_data": {"name": "default__union_data", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_data.sql", "original_file_path": "macros/union_data.sql", "unique_id": "macro.fivetran_utils.default__union_data", "macro_sql": "{%- macro default__union_data(\n table_identifier, \n database_variable, \n schema_variable, \n default_database, \n default_schema, \n default_variable,\n union_schema_variable,\n union_database_variable\n ) -%}\n\n{%- if var(union_schema_variable, none) -%}\n\n {%- set relations = [] -%}\n \n {%- if var(union_schema_variable) is string -%}\n {%- set trimmed = var(union_schema_variable)|trim('[')|trim(']') -%}\n {%- set schemas = trimmed.split(',')|map('trim',\" \")|map('trim','\"')|map('trim',\"'\") -%}\n {%- else -%}\n {%- set schemas = var(union_schema_variable) -%}\n {%- endif -%}\n\n {%- for schema in var(union_schema_variable) -%}\n {%- set relation=adapter.get_relation(\n database=source(schema, table_identifier).database if var('has_defined_sources', false) else var(database_variable, default_database),\n schema=source(schema, table_identifier).schema if var('has_defined_sources', false) else schema,\n identifier=source(schema, table_identifier).identifier if var('has_defined_sources', false) else table_identifier\n ) -%}\n \n {%- set relation_exists=relation is not none -%}\n\n {%- if relation_exists -%}\n {%- do relations.append(relation) -%}\n {%- endif -%}\n\n {%- endfor -%}\n \n {%- if relations != [] -%}\n {{ dbt_utils.union_relations(relations) }}\n {%- else -%}\n {% if execute and not var('fivetran__remove_empty_table_warnings', false) -%}\n {{ exceptions.warn(\"\\n\\nPlease be aware: The \" ~ table_identifier|upper ~ \" table was not found in your \" ~ default_schema|upper ~ \" schema(s). The Fivetran dbt package will create a completely empty \" ~ table_identifier|upper ~ \" staging model as to not break downstream transformations. To turn off these warnings, set the `fivetran__remove_empty_table_warnings` variable to TRUE (see https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source for details).\\n\") }}\n {% endif -%}\n select \n cast(null as {{ dbt.type_string() }}) as _dbt_source_relation\n limit 0\n {%- endif -%}\n\n{%- elif var(union_database_variable, none) -%}\n\n {%- set relations = [] -%}\n\n {%- for database in var(union_database_variable) -%}\n {%- set relation=adapter.get_relation(\n database=source(schema, table_identifier).database if var('has_defined_sources', false) else database,\n schema=source(schema, table_identifier).schema if var('has_defined_sources', false) else var(schema_variable, default_schema),\n identifier=source(schema, table_identifier).identifier if var('has_defined_sources', false) else table_identifier\n ) -%}\n\n {%- set relation_exists=relation is not none -%}\n\n {%- if relation_exists -%}\n {%- do relations.append(relation) -%}\n {%- endif -%}\n\n {%- endfor -%}\n\n {%- if relations != [] -%}\n {{ dbt_utils.union_relations(relations) }}\n {%- else -%}\n {% if execute and not var('fivetran__remove_empty_table_warnings', false) -%}\n {{ exceptions.warn(\"\\n\\nPlease be aware: The \" ~ table_identifier|upper ~ \" table was not found in your \" ~ default_schema|upper ~ \" schema(s). The Fivetran dbt package will create a completely empty \" ~ table_identifier|upper ~ \" staging model as to not break downstream transformations. To turn off these warnings, set the `fivetran__remove_empty_table_warnings` variable to TRUE (see https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source for details).\\n\") }}\n {% endif -%}\n select \n cast(null as {{ dbt.type_string() }}) as _dbt_source_relation\n limit 0\n {%- endif -%}\n\n{%- else -%}\n {%- set relation=adapter.get_relation(\n database=var(database_variable, default_database),\n schema=var(schema_variable, default_schema),\n identifier=var(default_schema ~ '_' ~ table_identifier ~ '_' ~ 'identifier', table_identifier)) -%}\n\n{%- set table_exists=relation is not none -%}\n\n{%- if table_exists -%}\n select * \n from {{ var(default_variable) }}\n{%- else -%}\n {% if execute and not var('fivetran__remove_empty_table_warnings', false) -%}\n {{ exceptions.warn(\"\\n\\nPlease be aware: The \" ~ table_identifier|upper ~ \" table was not found in your \" ~ default_schema|upper ~ \" schema(s). The Fivetran dbt package will create a completely empty \" ~ table_identifier|upper ~ \" staging model as to not break downstream transformations. To turn off these warnings, set the `fivetran__remove_empty_table_warnings` variable to TRUE (see https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source for details).\\n\") }}\n {% endif -%}\n select \n cast(null as {{ dbt.type_string() }}) as _dbt_source_relation\n limit 0\n{%- endif -%}\n{%- endif -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils.union_relations", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.374224, "supported_languages": null}, "macro.fivetran_utils.dummy_coalesce_value": {"name": "dummy_coalesce_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/dummy_coalesce_value.sql", "original_file_path": "macros/dummy_coalesce_value.sql", "unique_id": "macro.fivetran_utils.dummy_coalesce_value", "macro_sql": "{% macro dummy_coalesce_value(column) %}\n\n{% set coalesce_value = {\n 'STRING': \"'DUMMY_STRING'\",\n 'BOOLEAN': 'null',\n 'INT': 999999999,\n 'FLOAT': 999999999.99,\n 'TIMESTAMP': 'cast(\"2099-12-31\" as timestamp)',\n 'DATE': 'cast(\"2099-12-31\" as date)',\n} %}\n\n{% if column.is_float() %}\n{{ return(coalesce_value['FLOAT']) }}\n\n{% elif column.is_numeric() %}\n{{ return(coalesce_value['INT']) }}\n\n{% elif column.is_string() %}\n{{ return(coalesce_value['STRING']) }}\n\n{% elif column.data_type|lower == 'boolean' %}\n{{ return(coalesce_value['BOOLEAN']) }}\n\n{% elif 'timestamp' in column.data_type|lower %}\n{{ return(coalesce_value['TIMESTAMP']) }}\n\n{% elif 'date' in column.data_type|lower %}\n{{ return(coalesce_value['DATE']) }}\n\n{% elif 'int' in column.data_type|lower %}\n{{ return(coalesce_value['INT']) }}\n\n{% endif %}\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.377001, "supported_languages": null}, "macro.fivetran_utils.array_agg": {"name": "array_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/array_agg.sql", "original_file_path": "macros/array_agg.sql", "unique_id": "macro.fivetran_utils.array_agg", "macro_sql": "{% macro array_agg(field_to_agg) -%}\n\n{{ adapter.dispatch('array_agg', 'fivetran_utils') (field_to_agg) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__array_agg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.377528, "supported_languages": null}, "macro.fivetran_utils.default__array_agg": {"name": "default__array_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/array_agg.sql", "original_file_path": "macros/array_agg.sql", "unique_id": "macro.fivetran_utils.default__array_agg", "macro_sql": "{% macro default__array_agg(field_to_agg) %}\n array_agg({{ field_to_agg }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.377755, "supported_languages": null}, "macro.fivetran_utils.redshift__array_agg": {"name": "redshift__array_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/array_agg.sql", "original_file_path": "macros/array_agg.sql", "unique_id": "macro.fivetran_utils.redshift__array_agg", "macro_sql": "{% macro redshift__array_agg(field_to_agg) %}\n listagg({{ field_to_agg }}, ',')\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3779771, "supported_languages": null}, "macro.fivetran_utils.empty_variable_warning": {"name": "empty_variable_warning", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/empty_variable_warning.sql", "original_file_path": "macros/empty_variable_warning.sql", "unique_id": "macro.fivetran_utils.empty_variable_warning", "macro_sql": "{% macro empty_variable_warning(variable, downstream_model) %}\n\n{% if not var(variable) %}\n{{ log(\n \"\"\"\n Warning: You have passed an empty list to the \"\"\" ~ variable ~ \"\"\".\n As a result, you won't see the history of any columns in the \"\"\" ~ downstream_model ~ \"\"\" model.\n \"\"\",\n info=True\n) }}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3787572, "supported_languages": null}, "macro.fivetran_utils.enabled_vars_one_true": {"name": "enabled_vars_one_true", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/enabled_vars_one_true.sql", "original_file_path": "macros/enabled_vars_one_true.sql", "unique_id": "macro.fivetran_utils.enabled_vars_one_true", "macro_sql": "{% macro enabled_vars_one_true(vars) %}\n\n{% for v in vars %}\n \n {% if var(v, False) == True %}\n {{ return(True) }}\n {% endif %}\n\n{% endfor %}\n\n{{ return(False) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.379553, "supported_languages": null}, "macro.ad_reporting.is_enabled": {"name": "is_enabled", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/is_enabled.sql", "original_file_path": "macros/is_enabled.sql", "unique_id": "macro.ad_reporting.is_enabled", "macro_sql": "{% macro is_enabled(enabled_packages) %}\n\n{% if enabled_packages != [] %}\n {% set is_enabled = True %}\n{% else %}\n {% set is_enabled = False %}\n{% endif %}\n{{ return(is_enabled) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "This macro takes in a list of packages and determines if there is at least one package, if there is, it returns True, else false.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "enabled_packages", "type": "list", "description": "List of packages enabled where each package name is a string."}], "created_at": 1679425975.3943648, "supported_languages": null}, "macro.ad_reporting.get_date_from_timestamp": {"name": "get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.get_date_from_timestamp", "macro_sql": "{% macro get_date_from_timestamp(column) %}\n {{ return(adapter.dispatch('get_date_from_timestamp') (column)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.ad_reporting.bigquery__get_date_from_timestamp"]}, "description": "This macro takes a column of type timestamp or forces the column into a timestamp (depending on the data warehouse) and extracts the date in the format of e.g. 2022-01-01.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "column", "type": "string", "description": "Specifies the column of type timestamp to extract the date from."}], "created_at": 1679425975.388903, "supported_languages": null}, "macro.ad_reporting.default__get_date_from_timestamp": {"name": "default__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.default__get_date_from_timestamp", "macro_sql": "{% macro default__get_date_from_timestamp(column) %}\n date({{column}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.381186, "supported_languages": null}, "macro.ad_reporting.bigquery__get_date_from_timestamp": {"name": "bigquery__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.bigquery__get_date_from_timestamp", "macro_sql": "{% macro bigquery__get_date_from_timestamp(column) %}\n\n cast({{column}} as date)\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.381407, "supported_languages": null}, "macro.ad_reporting.spark__get_date_from_timestamp": {"name": "spark__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.spark__get_date_from_timestamp", "macro_sql": "{% macro spark__get_date_from_timestamp(column) %}\n\n to_date(to_timestamp({{ column }}),'yyyyMMdd')\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.381632, "supported_languages": null}, "macro.ad_reporting.snowflake__get_date_from_timestamp": {"name": "snowflake__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.snowflake__get_date_from_timestamp", "macro_sql": "{% macro snowflake__get_date_from_timestamp(column) %}\n\n to_date(to_timestamp({{ column }}))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3818529, "supported_languages": null}, "macro.ad_reporting.union_ctes": {"name": "union_ctes", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/union_ctes.sql", "original_file_path": "macros/union_ctes.sql", "unique_id": "macro.ad_reporting.union_ctes", "macro_sql": "{% macro union_ctes(ctes=[]) %}\n\n{% for cte in ctes %}\nselect * from {{ cte }}\n\n{% if not loop.last -%}\n union all\n{% endif -%}\n\n{% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "This macro allows for the unioning (union all) of specified CTEs.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "ctes", "type": "list", "description": "List of strings for CTE names"}], "created_at": 1679425975.395461, "supported_languages": null}, "macro.ad_reporting.get_query": {"name": "get_query", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_query.sql", "original_file_path": "macros/get_query.sql", "unique_id": "macro.ad_reporting.get_query", "macro_sql": "{% macro get_query(platform=None, report_type=None, field_mapping=None, relation=None) %}\n\n{%- set consistent_fields = ['spend', 'impressions', 'clicks'] -%}\n{%- set account_fields = ['account_id', 'account_name'] -%}\n{%- set campaign_fields = ['campaign_id', 'campaign_name'] -%}\n{%- set ad_group_fields = ['ad_group_id', 'ad_group_name'] -%}\n{%- set ad_fields = ['ad_id', 'ad_name'] -%}\n{%- set url_fields = ['base_url', 'url_host', 'url_path', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_content', 'utm_term'] -%}\n{%- set keyword_fields = ['keyword_id','keyword_text','keyword_match_type'] -%}\n{%- set search_fields = ['keyword_id', 'keyword_text', 'search_match_type', 'search_query'] -%}\n\n{%- if field_mapping is not none -%}\n{%- set fields = field_mapping.keys() -%}\n{%- endif -%}\n\n{%- set final_fields_superset={} -%}\n\n{#- Add the consistent_fields and account_fields to all reports regardless of type -#}\n{%- if report_type -%}\n {%- for consistent_field in consistent_fields -%}\n {%- do final_fields_superset.update({consistent_field: consistent_field}) -%}\n {%- endfor -%}\n {%- for account_field in account_fields -%}\n {%- do final_fields_superset.update({account_field: account_field}) -%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For campaign level reports and lower, add campaign_fields -#}\n{%- if report_type in ['campaign', 'ad_group', 'ad', 'url', 'keyword', 'search'] -%}\n {%- for campaign_field in campaign_fields -%}\n {%- do final_fields_superset.update({campaign_field: campaign_field}) -%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For ad_group level reports, equivalent and lower, add ad_group_fields -#}\n{%- if report_type in ['ad_group', 'ad', 'url', 'keyword', 'search'] -%}\n {%- for ad_group_field in ad_group_fields -%}\n {%- do final_fields_superset.update({ad_group_field: ad_group_field}) -%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For ad level reports, add ad_fields -#}\n{%- if report_type == 'ad' -%}\n {%- for ad_field in ad_fields -%}\n {%- do final_fields_superset.update({ad_field: ad_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For url level reports, add url_fields -#}\n{%- if report_type == 'url' -%}\n {%- for url_field in url_fields -%}\n {%- do final_fields_superset.update({url_field: url_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For keyword level reports, add keyword_fields -#}\n{%- if report_type == 'keyword' -%}\n {%- for keyword_field in keyword_fields -%}\n {%- do final_fields_superset.update({keyword_field: keyword_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For search level reports, add search_fields -#}\n{%- if report_type == 'search' -%}\n {%- for search_field in search_fields -%}\n {%- do final_fields_superset.update({search_field: search_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{%- if field_mapping is not none -%}\n {%- for field in fields -%}\n {%- do final_fields_superset.update({field:field_mapping[field]}) -%}\n {%- endfor -%}\n{%- endif -%}\n\nselect \n {{ get_date_from_timestamp('date_day') }} as date_day,\n cast( '{{ platform }}' as {{ dbt.type_string() }}) as platform,\n\n {% for field in final_fields_superset.keys()|sort() -%}\n {% if field in ['clicks', 'impressions'] -%}\n cast({{ final_fields_superset[field] }} as {{ dbt.type_int() }}) as {{ field }}\n\n {% elif field == 'spend' -%}\n cast({{ final_fields_superset[field] }} as {{ dbt.type_float() }}) as {{ field }}\n\n {% elif '_id' in field or '_name' in field or 'url' in field or 'utm' in field or field in ['keyword_match_type', 'keyword_text', 'search_match_type', 'search_query'] -%}\n cast({{ final_fields_superset[field] }} as {{ dbt.type_string() }}) as {{ field }} \n {% endif -%}\n {%- if not loop.last -%},{%- endif -%}\n {%- endfor %}\nfrom {{ relation }}\n{% endmacro %}", "depends_on": {"macros": ["macro.ad_reporting.get_date_from_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_float"]}, "description": "This macro compiles the final query with all aliasing and casting incorporated.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "platform", "type": "string", "description": "Specifies the platform for the CTE; this value should match exactly one value for the `all_packages` variable within `macros/get_enabled_packages.sql`.\n"}, {"name": "report_type", "type": "string", "description": "Specifies the report type and should map to the respective model; could take on one of the following values ['account', 'campaign', 'ad_group', 'ad', 'url', 'keyword', 'search'].\n"}, {"name": "field_mapping", "type": null, "description": "A dictionary that specifies any column name overriding as necessary since standard names in Ad Reporting may map to a different name as it appears natively within each platform. Each key will have exactly one corresponding string value; if a value is NULL then it will map to the string 'null'.\n"}, {"name": "relation", "type": null, "description": "This is a reference to the upstream model that the query will be selecting from; an example argument would look like this: relation=ref('tiktok_ads__advertiser_report').\n"}], "created_at": 1679425975.393025, "supported_languages": null}, "macro.ad_reporting.get_enabled_packages": {"name": "get_enabled_packages", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_enabled_packages.sql", "original_file_path": "macros/get_enabled_packages.sql", "unique_id": "macro.ad_reporting.get_enabled_packages", "macro_sql": "{% macro get_enabled_packages(exclude=[], include=[]) %}\n\n{%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided `get_enabled_packages` macro. Only one is allowed\") }}\n{%- endif -%}\n\n{% set all_packages = [\n 'amazon_ads',\n 'apple_search_ads', \n 'facebook_ads', \n 'google_ads', \n 'linkedin_ads',\n 'microsoft_ads', \n 'pinterest_ads',\n 'snapchat_ads',\n 'tiktok_ads',\n 'twitter_ads',\n 'reddit_ads'] %}\n\n{% set enabled_packages = [] %}\n\n{% if include != [] %}\n {% for package in include %}\n {% if var('ad_reporting__' ~ package ~ '_enabled', True) %}\n {{ enabled_packages.append(package) }}\n {% endif %}\n {% endfor %}\n\n{% elif exclude != [] %}\n {% for package in all_packages %}\n {% if var('ad_reporting__' ~ package ~ '_enabled', True) and package not in exclude %}\n {{ enabled_packages.append(package) }}\n {% endif %}\n {% endfor %}\n\n{% else %}\n {% for package in all_packages %}\n {% if var('ad_reporting__' ~ package ~ '_enabled', True) %}\n {{ enabled_packages.append(package) }}\n {% endif %}\n {% endfor %}\n{% endif %}\n\n{{ return(enabled_packages) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "This macro evaluates all `ad_reporting___enabled` variables in the user's `dbt_project.yml` and returns a list of packages that are enabled.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "exclude", "type": "list", "description": "This argument is optional and is the list of platforms to exclude in the enabled package evaluation."}, {"name": "include", "type": "list", "description": "This argument is optional and is the list of platforms to include in the enabled package evaluation."}], "created_at": 1679425975.390645, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"organization_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.397207, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_level_report_columns": {"name": "get_ad_level_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_level_report_columns.sql", "original_file_path": "macros/get_ad_level_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_level_report_columns", "macro_sql": "{% macro get_ad_level_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.3996422, "supported_languages": null}, "macro.apple_search_ads_source.get_search_term_report_columns": {"name": "get_search_term_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_search_term_report_columns.sql", "original_file_path": "macros/get_search_term_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_search_term_report_columns", "macro_sql": "{% macro get_search_term_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_amount_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"bid_amount_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_display_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"search_term_source\", \"datatype\": dbt.type_string()},\n {\"name\": \"search_term_text\", \"datatype\": dbt.type_string()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ return(columns) }}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__search_term_passthrough_metrics')) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_numeric", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.4041312, "supported_languages": null}, "macro.apple_search_ads_source.get_keyword_report_columns": {"name": "get_keyword_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_keyword_report_columns.sql", "original_file_path": "macros/get_keyword_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_keyword_report_columns", "macro_sql": "{% macro get_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.40621, "supported_languages": null}, "macro.apple_search_ads_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.408275, "supported_languages": null}, "macro.apple_search_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"organization_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.410052, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"org_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.411951, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_group_report_columns": {"name": "get_ad_group_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_group_report_columns.sql", "original_file_path": "macros/get_ad_group_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_group_report_columns", "macro_sql": "{% macro get_ad_group_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.414013, "supported_languages": null}, "macro.apple_search_ads_source.get_organization_columns": {"name": "get_organization_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_organization_columns.sql", "original_file_path": "macros/get_organization_columns.sql", "unique_id": "macro.apple_search_ads_source.get_organization_columns", "macro_sql": "{% macro get_organization_columns() %}\n\n{% set columns = [\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"payment_model\", \"datatype\": dbt.type_string()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.415364, "supported_languages": null}, "macro.apple_search_ads_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"bid_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"text\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.4174569, "supported_languages": null}, "macro.pinterest_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.pinterest_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.419361, "supported_languages": null}, "macro.pinterest_source.get_pin_promotion_history_columns": {"name": "get_pin_promotion_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_pin_promotion_history_columns.sql", "original_file_path": "macros/get_pin_promotion_history_columns.sql", "unique_id": "macro.pinterest_source.get_pin_promotion_history_columns", "macro_sql": "{% macro get_pin_promotion_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"android_deep_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"click_tracking_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"destination_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ios_deep_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_pin_deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"is_removable\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"pin_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"review_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"view_tracking_url\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.422888, "supported_languages": null}, "macro.pinterest_source.get_keyword_report_columns": {"name": "get_keyword_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_keyword_report_columns.sql", "original_file_path": "macros/get_keyword_report_columns.sql", "unique_id": "macro.pinterest_source.get_keyword_report_columns", "macro_sql": "{% macro get_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"pin_promotion_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__keyword_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.426093, "supported_languages": null}, "macro.pinterest_source.get_pin_promotion_report_columns": {"name": "get_pin_promotion_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_pin_promotion_report_columns.sql", "original_file_path": "macros/get_pin_promotion_report_columns.sql", "unique_id": "macro.pinterest_source.get_pin_promotion_report_columns", "macro_sql": "{% macro get_pin_promotion_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"pin_promotion_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__pin_promotion_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_numeric", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.428751, "supported_languages": null}, "macro.pinterest_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.pinterest_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__campaign_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.4313989, "supported_languages": null}, "macro.pinterest_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.pinterest_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.432936, "supported_languages": null}, "macro.pinterest_source.get_advertiser_history_columns": {"name": "get_advertiser_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_advertiser_history_columns.sql", "original_file_path": "macros/get_advertiser_history_columns.sql", "unique_id": "macro.pinterest_source.get_advertiser_history_columns", "macro_sql": "{% macro get_advertiser_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"billing_profile_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"billing_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"country\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"merchant_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"owner_user_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.435681, "supported_languages": null}, "macro.pinterest_source.get_ad_group_report_columns": {"name": "get_ad_group_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_ad_group_report_columns.sql", "original_file_path": "macros/get_ad_group_report_columns.sql", "unique_id": "macro.pinterest_source.get_ad_group_report_columns", "macro_sql": "{% macro get_ad_group_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__ad_group_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.438543, "supported_languages": null}, "macro.pinterest_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.pinterest_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"archived\", \"datatype\": \"boolean\"},\n {\"name\": \"bid\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"parent_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"value\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.44125, "supported_languages": null}, "macro.pinterest_source.get_advertiser_report_columns": {"name": "get_advertiser_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_advertiser_report_columns.sql", "original_file_path": "macros/get_advertiser_report_columns.sql", "unique_id": "macro.pinterest_source.get_advertiser_report_columns", "macro_sql": "{% macro get_advertiser_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__advertiser_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.443342, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"action_days\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"adgroup_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"adgroup_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"audience_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"category\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"display_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"frequency\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"frequency_schedule\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"gender\", \"datatype\": dbt.type_string()},\n {\"name\": \"landing_page_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"interest_category_v_2\", \"datatype\": dbt.type_string()},\n {\"name\": \"action_categories\", \"datatype\": dbt.type_string()},\n {\"name\": \"age\", \"datatype\": dbt.type_string()},\n {\"name\": \"languages\", \"datatype\": dbt.type_string()}\n\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_float", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.447142, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_group_report_hourly_columns": {"name": "get_ad_group_report_hourly_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_group_report_hourly_columns.sql", "original_file_path": "macros/get_ad_group_report_hourly_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_group_report_hourly_columns", "macro_sql": "{% macro get_ad_group_report_hourly_columns() %}\n\n{% set columns = [\n {\"name\": \"adgroup_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"average_video_play\", \"datatype\": dbt.type_float()},\n {\"name\": \"average_video_play_per_user\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"comments\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion_rate\", \"datatype\": dbt.type_float()},\n {\"name\": \"cost_per_conversion\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpc\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpm\", \"datatype\": dbt.type_float()},\n {\"name\": \"ctr\", \"datatype\": dbt.type_float()},\n {\"name\": \"follows\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"likes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"profile_visits\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"reach\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"stat_time_hour\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"video_play_actions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_25\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_50\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_75\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_2_s\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_6_s\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('tiktok_ads__ad_group_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.452537, "supported_languages": null}, "macro.tiktok_ads_source.get_advertiser_columns": {"name": "get_advertiser_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_advertiser_columns.sql", "original_file_path": "macros/get_advertiser_columns.sql", "unique_id": "macro.tiktok_ads_source.get_advertiser_columns", "macro_sql": "{% macro get_advertiser_columns() %}\n\n{% set columns = [\n {\"name\": \"address\", \"datatype\": dbt.type_string()},\n {\"name\": \"balance\", \"datatype\": dbt.type_float()},\n {\"name\": \"company\", \"datatype\": dbt.type_string()},\n {\"name\": \"contacter\", \"datatype\": dbt.type_string()},\n {\"name\": \"country\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"description\", \"datatype\": dbt.type_string()},\n {\"name\": \"email\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"industry\", \"datatype\": dbt.type_string()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"phone_number\", \"datatype\": dbt.type_string()},\n {\"name\": \"telephone\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_float", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.45582, "supported_languages": null}, "macro.tiktok_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.tiktok_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"campaign_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"split_test_variable\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.457373, "supported_languages": null}, "macro.tiktok_ads_source.get_campaign_report_hourly_columns": {"name": "get_campaign_report_hourly_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_campaign_report_hourly_columns.sql", "original_file_path": "macros/get_campaign_report_hourly_columns.sql", "unique_id": "macro.tiktok_ads_source.get_campaign_report_hourly_columns", "macro_sql": "{% macro get_campaign_report_hourly_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"average_video_play\", \"datatype\": dbt.type_float()},\n {\"name\": \"average_video_play_per_user\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"comments\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion_rate\", \"datatype\": dbt.type_float()},\n {\"name\": \"cost_per_conversion\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpc\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpm\", \"datatype\": dbt.type_float()},\n {\"name\": \"ctr\", \"datatype\": dbt.type_float()},\n {\"name\": \"follows\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"likes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"profile_visits\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"reach\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"stat_time_hour\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"video_play_actions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_25\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_50\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_75\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_2_s\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_6_s\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('tiktok_ads__campaign_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.463011, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"ad_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"adgroup_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"call_to_action\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"click_tracking_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"impression_tracking_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"landing_page_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.4653099, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_report_hourly_columns": {"name": "get_ad_report_hourly_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_report_hourly_columns.sql", "original_file_path": "macros/get_ad_report_hourly_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_report_hourly_columns", "macro_sql": "{% macro get_ad_report_hourly_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"average_video_play\", \"datatype\": dbt.type_float()},\n {\"name\": \"average_video_play_per_user\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"comments\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion_rate\", \"datatype\": dbt.type_float()},\n {\"name\": \"cost_per_conversion\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpc\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpm\", \"datatype\": dbt.type_float()},\n {\"name\": \"ctr\", \"datatype\": dbt.type_float()},\n {\"name\": \"follows\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"likes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"profile_visits\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"reach\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"stat_time_hour\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"video_play_actions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_25\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_50\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_75\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_2_s\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_6_s\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('tiktok_ads__ad_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.4706612, "supported_languages": null}, "macro.facebook_ads_source.get_ad_set_history_columns": {"name": "get_ad_set_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_ad_set_history_columns.sql", "original_file_path": "macros/get_ad_set_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_ad_set_history_columns", "macro_sql": "{% macro get_ad_set_history_columns() %}\n\n{% set columns = [\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"bid_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"budget_remaining\", \"datatype\": dbt.type_int()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.47314, "supported_languages": null}, "macro.facebook_ads_source.get_creative_history_columns": {"name": "get_creative_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_creative_history_columns.sql", "original_file_path": "macros/get_creative_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_creative_history_columns", "macro_sql": "{% macro get_creative_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"page_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_page_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_tags\", \"datatype\": dbt.type_string()},\n {\"name\": \"asset_feed_spec_link_urls\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_child_attachments\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_caption\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_description\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_message\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_android\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_ios\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_ipad\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_iphone\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.476982, "supported_languages": null}, "macro.facebook_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"stop_time\", \"datatype\": dbt.type_timestamp()}, \n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"lifetime_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"budget_remaining\", \"datatype\": dbt.type_float()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.479454, "supported_languages": null}, "macro.facebook_ads_source.get_basic_ad_columns": {"name": "get_basic_ad_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_basic_ad_columns.sql", "original_file_path": "macros/get_basic_ad_columns.sql", "unique_id": "macro.facebook_ads_source.get_basic_ad_columns", "macro_sql": "{% macro get_basic_ad_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"adset_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"inline_link_clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"reach\", \"datatype\": dbt.type_int()},\n {\"name\": \"frequency\", \"datatype\": dbt.type_float()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('facebook_ads__basic_ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.481896, "supported_languages": null}, "macro.facebook_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"business_country_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone_name\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.483809, "supported_languages": null}, "macro.facebook_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_set_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creative_id\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.485537, "supported_languages": null}, "macro.snapchat_ads_source.get_campaign_hourly_report_columns": {"name": "get_campaign_hourly_report_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_campaign_hourly_report_columns.sql", "original_file_path": "macros/get_campaign_hourly_report_columns.sql", "unique_id": "macro.snapchat_ads_source.get_campaign_hourly_report_columns", "macro_sql": "{% macro get_campaign_hourly_report_columns() %}\n\n{% set columns = [\n {\"name\": \"attachment_quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_total_view_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"saves\", \"datatype\": dbt.type_int()},\n {\"name\": \"screen_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"shares\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()},\n {\"name\": \"swipes\", \"datatype\": dbt.type_int()},\n {\"name\": \"video_views\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_time_millis\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('snapchat_ads__campaign_hourly_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.489783, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_squad_history_columns": {"name": "get_ad_squad_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_squad_history_columns.sql", "original_file_path": "macros/get_ad_squad_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_squad_history_columns", "macro_sql": "{% macro get_ad_squad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.491573, "supported_languages": null}, "macro.snapchat_ads_source.get_creative_history_columns": {"name": "get_creative_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_creative_history_columns.sql", "original_file_path": "macros/get_creative_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_creative_history_columns", "macro_sql": "{% macro get_creative_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"web_view_url\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.493292, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_hourly_report_columns": {"name": "get_ad_hourly_report_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_hourly_report_columns.sql", "original_file_path": "macros/get_ad_hourly_report_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_hourly_report_columns", "macro_sql": "{% macro get_ad_hourly_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"attachment_quartile_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_quartile_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_quartile_3\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_total_view_time_millis\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_view_completion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"quartile_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"quartile_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"quartile_3\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"saves\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"screen_time_millis\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"swipes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"view_completion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"view_time_millis\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('snapchat_ads__ad_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_numeric", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.497526, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_squad_hourly_report_columns": {"name": "get_ad_squad_hourly_report_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_squad_hourly_report_columns.sql", "original_file_path": "macros/get_ad_squad_hourly_report_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_squad_hourly_report_columns", "macro_sql": "{% macro get_ad_squad_hourly_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_squad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"attachment_quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_total_view_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"saves\", \"datatype\": dbt.type_int()},\n {\"name\": \"screen_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"shares\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()},\n {\"name\": \"swipes\", \"datatype\": dbt.type_int()},\n {\"name\": \"video_views\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_time_millis\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('snapchat_ads__ad_squad_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.501439, "supported_languages": null}, "macro.snapchat_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.502889, "supported_languages": null}, "macro.snapchat_ads_source.get_creative_url_tag_history_columns": {"name": "get_creative_url_tag_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_creative_url_tag_history_columns.sql", "original_file_path": "macros/get_creative_url_tag_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_creative_url_tag_history_columns", "macro_sql": "{% macro get_creative_url_tag_history_columns() %}\n\n{% set columns = [\n {\"name\": \"creative_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"key\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"value\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.504396, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_squad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.505974, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_account_history_columns": {"name": "get_ad_account_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_account_history_columns.sql", "original_file_path": "macros/get_ad_account_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_account_history_columns", "macro_sql": "{% macro get_ad_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"advertiser\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.507883, "supported_languages": null}, "macro.twitter_ads_source.get_tweet_columns": {"name": "get_tweet_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_tweet_columns.sql", "original_file_path": "macros/get_tweet_columns.sql", "unique_id": "macro.twitter_ads_source.get_tweet_columns", "macro_sql": "{% macro get_tweet_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"full_text\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"lang\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.50916, "supported_languages": null}, "macro.twitter_ads_source.get_line_item_keywords_report_columns": {"name": "get_line_item_keywords_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_line_item_keywords_report_columns.sql", "original_file_path": "macros/get_line_item_keywords_report_columns.sql", "unique_id": "macro.twitter_ads_source.get_line_item_keywords_report_columns", "macro_sql": "{% macro get_line_item_keywords_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"line_item_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"segment\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__line_item_keywords_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.511381, "supported_languages": null}, "macro.twitter_ads_source.get_line_item_report_columns": {"name": "get_line_item_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_line_item_report_columns.sql", "original_file_path": "macros/get_line_item_report_columns.sql", "unique_id": "macro.twitter_ads_source.get_line_item_report_columns", "macro_sql": "{% macro get_line_item_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"line_item_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__line_item_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.51349, "supported_languages": null}, "macro.twitter_ads_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.twitter_ads_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__campaign_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.515573, "supported_languages": null}, "macro.twitter_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"approval_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"business_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"business_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"industry_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"salt\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone_switch_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5209641, "supported_languages": null}, "macro.twitter_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"duration_in_days\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"entity_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"frequency_cap\", \"datatype\": dbt.type_int()},\n {\"name\": \"funding_instrument_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"servable\", \"datatype\": \"boolean\"},\n {\"name\": \"standard_delivery\", \"datatype\": \"boolean\"},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"total_budget_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.524152, "supported_languages": null}, "macro.twitter_ads_source.get_line_item_history_columns": {"name": "get_line_item_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_line_item_history_columns", "macro_sql": "{% macro get_line_item_history_columns() %}\n\n{% set columns = [\n {\"name\": \"advertiser_domain\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_user_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"automatically_select_bid\", \"datatype\": \"boolean\"},\n {\"name\": \"bid_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_unit\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"charge_by\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_source\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"entity_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"objective\", \"datatype\": dbt.type_string()},\n {\"name\": \"optimization\", \"datatype\": dbt.type_string()},\n {\"name\": \"primary_web_event_tag\", \"datatype\": dbt.type_string()},\n {\"name\": \"product_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"target_cpa_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"total_budget_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.52836, "supported_languages": null}, "macro.twitter_ads_source.get_promoted_tweet_history_columns": {"name": "get_promoted_tweet_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_promoted_tweet_history_columns", "macro_sql": "{% macro get_promoted_tweet_history_columns() %}\n\n{% set columns = [\n {\"name\": \"approval_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"entity_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"line_item_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"tweet_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.530006, "supported_languages": null}, "macro.twitter_ads_source.get_tweet_url_columns": {"name": "get_tweet_url_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_tweet_url_columns", "macro_sql": "{% macro get_tweet_url_columns() %}\n\n{% set columns = [\n {\"name\": \"display_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"expanded_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"index\", \"datatype\": dbt.type_int()},\n {\"name\": \"indices\", \"datatype\": dbt.type_string()},\n {\"name\": \"tweet_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"url\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.531348, "supported_languages": null}, "macro.twitter_ads_source.get_promoted_tweet_report_columns": {"name": "get_promoted_tweet_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_promoted_tweet_report_columns", "macro_sql": "{% macro get_promoted_tweet_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"promoted_tweet_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__promoted_tweet_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5331688, "supported_languages": null}, "macro.dbt_expectations.type_timestamp": {"name": "type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.type_timestamp", "macro_sql": "\n{%- macro type_timestamp() -%}\n {{ return(adapter.dispatch('type_timestamp', 'dbt_expectations')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_expectations.default__type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5338712, "supported_languages": null}, "macro.dbt_expectations.default__type_timestamp": {"name": "default__type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.default__type_timestamp", "macro_sql": "{% macro default__type_timestamp() -%}\n timestamp\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5340369, "supported_languages": null}, "macro.dbt_expectations.snowflake__type_timestamp": {"name": "snowflake__type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.snowflake__type_timestamp", "macro_sql": "{% macro snowflake__type_timestamp() -%}\n timestamp_ntz\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.534198, "supported_languages": null}, "macro.dbt_expectations.postgres__type_timestamp": {"name": "postgres__type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.postgres__type_timestamp", "macro_sql": "{% macro postgres__type_timestamp() -%}\n timestamp without time zone\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.534406, "supported_languages": null}, "macro.dbt_expectations.type_datetime": {"name": "type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.type_datetime", "macro_sql": "{% macro type_datetime() -%}\n {{ return(adapter.dispatch('type_datetime', 'dbt_expectations')()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__type_datetime"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.534743, "supported_languages": null}, "macro.dbt_expectations.default__type_datetime": {"name": "default__type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.default__type_datetime", "macro_sql": "{% macro default__type_datetime() -%}\n datetime\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.53491, "supported_languages": null}, "macro.dbt_expectations.snowflake__type_datetime": {"name": "snowflake__type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.snowflake__type_datetime", "macro_sql": "{% macro snowflake__type_datetime() -%}\n timestamp_ntz\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.535073, "supported_languages": null}, "macro.dbt_expectations.postgres__type_datetime": {"name": "postgres__type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.postgres__type_datetime", "macro_sql": "{% macro postgres__type_datetime() -%}\n timestamp without time zone\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.535233, "supported_languages": null}, "macro.dbt_expectations.group_by": {"name": "group_by", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/groupby.sql", "original_file_path": "macros/utils/groupby.sql", "unique_id": "macro.dbt_expectations.group_by", "macro_sql": "{%- macro group_by(n) -%}\n {{ return(adapter.dispatch('group_by', 'dbt_expectations')(n)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.535775, "supported_languages": null}, "macro.dbt_expectations.default__group_by": {"name": "default__group_by", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/groupby.sql", "original_file_path": "macros/utils/groupby.sql", "unique_id": "macro.dbt_expectations.default__group_by", "macro_sql": "\n\n{%- macro default__group_by(n) -%}\n\n group by {% for i in range(1, n + 1) -%}\n {{ i }}{{ ',' if not loop.last }}\n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.536294, "supported_languages": null}, "macro.dbt_expectations.regexp_instr": {"name": "regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.regexp_instr", "macro_sql": "{% macro regexp_instr(source_value, regexp, position=1, occurrence=1, is_raw=False, flags=\"\") %}\n\n {{ adapter.dispatch('regexp_instr', 'dbt_expectations')(\n source_value, regexp, position, occurrence, is_raw, flags\n ) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__regexp_instr"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.538016, "supported_languages": null}, "macro.dbt_expectations.default__regexp_instr": {"name": "default__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.default__regexp_instr", "macro_sql": "{% macro default__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{# unclear if other databases support raw strings or flags #}\n{% if is_raw or flags %}\n {{ exceptions.warn(\n \"is_raw and flags options are not supported for this adapter \"\n ~ \"and are being ignored.\"\n ) }}\n{% endif %}\nregexp_instr({{ source_value }}, '{{ regexp }}', {{ position }}, {{ occurrence }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5387259, "supported_languages": null}, "macro.dbt_expectations.snowflake__regexp_instr": {"name": "snowflake__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.snowflake__regexp_instr", "macro_sql": "{% macro snowflake__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{%- set regexp = \"$$\" ~ regexp ~ \"$$\" if is_raw else \"'\" ~ regexp ~ \"'\" -%}\n{% if flags %}{{ dbt_expectations._validate_flags(flags, 'cimes') }}{% endif %}\nregexp_instr({{ source_value }}, {{ regexp }}, {{ position }}, {{ occurrence }}, 0, '{{ flags }}')\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations._validate_flags"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.539619, "supported_languages": null}, "macro.dbt_expectations.bigquery__regexp_instr": {"name": "bigquery__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.bigquery__regexp_instr", "macro_sql": "{% macro bigquery__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{% if flags %}\n {{ exceptions.warn(\n \"The flags option is not supported for BigQuery and is being ignored.\"\n ) }}\n{% endif %}\n{%- set regexp = \"r'\" ~ regexp ~ \"'\" if is_raw else \"'\" ~ regexp ~ \"'\" -%}\nregexp_instr({{ source_value }}, {{ regexp }}, {{ position }}, {{ occurrence }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5404842, "supported_languages": null}, "macro.dbt_expectations.postgres__regexp_instr": {"name": "postgres__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.postgres__regexp_instr", "macro_sql": "{% macro postgres__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{% if flags %}{{ dbt_expectations._validate_flags(flags, 'bcegimnpqstwx') }}{% endif %}\narray_length((select regexp_matches({{ source_value }}, '{{ regexp }}', '{{ flags }}')), 1)\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations._validate_flags"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5411022, "supported_languages": null}, "macro.dbt_expectations.redshift__regexp_instr": {"name": "redshift__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.redshift__regexp_instr", "macro_sql": "{% macro redshift__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{% if flags %}{{ dbt_expectations._validate_flags(flags, 'ciep') }}{% endif %}\nregexp_instr({{ source_value }}, '{{ regexp }}', {{ position }}, {{ occurrence }}, 0, '{{ flags }}')\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations._validate_flags"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.541787, "supported_languages": null}, "macro.dbt_expectations._validate_flags": {"name": "_validate_flags", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations._validate_flags", "macro_sql": "{% macro _validate_flags(flags, alphabet) %}\n{% for flag in flags %}\n {% if flag not in alphabet %}\n {{ exceptions.raise_compiler_error(\n \"flag \" ~ flag ~ \" not in list of allowed flags for this adapter: \" ~ alphabet | join(\", \")\n ) }}\n {% endif %}\n{% endfor %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.542488, "supported_languages": null}, "macro.dbt_expectations.log_natural": {"name": "log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.log_natural", "macro_sql": "{% macro log_natural(x) -%}\n {{ adapter.dispatch('log_natural', 'dbt_expectations') (x) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__log_natural"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5430348, "supported_languages": null}, "macro.dbt_expectations.default__log_natural": {"name": "default__log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.default__log_natural", "macro_sql": "{% macro default__log_natural(x) -%}\n\n ln({{ x }})\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5432599, "supported_languages": null}, "macro.dbt_expectations.bigquery__log_natural": {"name": "bigquery__log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.bigquery__log_natural", "macro_sql": "{% macro bigquery__log_natural(x) -%}\n\n ln({{ x }})\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.543477, "supported_languages": null}, "macro.dbt_expectations.snowflake__log_natural": {"name": "snowflake__log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.snowflake__log_natural", "macro_sql": "{% macro snowflake__log_natural(x) -%}\n\n ln({{ x }})\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.543696, "supported_languages": null}, "macro.dbt_expectations.rand": {"name": "rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.rand", "macro_sql": "{% macro rand() -%}\n {{ adapter.dispatch('rand', 'dbt_expectations') () }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__rand"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.544248, "supported_languages": null}, "macro.dbt_expectations.default__rand": {"name": "default__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.default__rand", "macro_sql": "{% macro default__rand() -%}\n\n rand()\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.544416, "supported_languages": null}, "macro.dbt_expectations.bigquery__rand": {"name": "bigquery__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.bigquery__rand", "macro_sql": "{% macro bigquery__rand() -%}\n\n rand()\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.544578, "supported_languages": null}, "macro.dbt_expectations.snowflake__rand": {"name": "snowflake__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.snowflake__rand", "macro_sql": "{% macro snowflake__rand(seed) -%}\n\n uniform(0::float, 1::float, random())\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.544878, "supported_languages": null}, "macro.dbt_expectations.postgres__rand": {"name": "postgres__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.postgres__rand", "macro_sql": "{% macro postgres__rand() -%}\n\n random()\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.54504, "supported_languages": null}, "macro.dbt_expectations.redshift__rand": {"name": "redshift__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.redshift__rand", "macro_sql": "{% macro redshift__rand() -%}\n\n random()\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5451992, "supported_languages": null}, "macro.dbt_expectations.median": {"name": "median", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/median.sql", "original_file_path": "macros/math/median.sql", "unique_id": "macro.dbt_expectations.median", "macro_sql": "{% macro median(field) %}\n{{ dbt_expectations.percentile_cont(field, 0.5) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.percentile_cont"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5455859, "supported_languages": null}, "macro.dbt_expectations.percentile_cont": {"name": "percentile_cont", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/percentile_cont.sql", "original_file_path": "macros/math/percentile_cont.sql", "unique_id": "macro.dbt_expectations.percentile_cont", "macro_sql": "{% macro percentile_cont(field, quantile, partition=None) %}\n {{ adapter.dispatch('quantile', 'dbt_expectations') (field, quantile, partition) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__quantile"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5463629, "supported_languages": null}, "macro.dbt_expectations.default__quantile": {"name": "default__quantile", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/percentile_cont.sql", "original_file_path": "macros/math/percentile_cont.sql", "unique_id": "macro.dbt_expectations.default__quantile", "macro_sql": "{% macro default__quantile(field, quantile, partition) -%}\n percentile_cont({{ quantile }}) within group (order by {{ field }})\n {%- if partition %}over(partition by {{ partition }}){% endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.546795, "supported_languages": null}, "macro.dbt_expectations.bigquery__quantile": {"name": "bigquery__quantile", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/percentile_cont.sql", "original_file_path": "macros/math/percentile_cont.sql", "unique_id": "macro.dbt_expectations.bigquery__quantile", "macro_sql": "{% macro bigquery__quantile(field, quantile, partition) -%}\n percentile_cont({{ field }}, {{ quantile }})\n over({%- if partition %}partition by {{ partition }}{% endif -%})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.547227, "supported_languages": null}, "macro.dbt_expectations.ignore_row_if_expression": {"name": "ignore_row_if_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "unique_id": "macro.dbt_expectations.ignore_row_if_expression", "macro_sql": "{% macro ignore_row_if_expression(ignore_row_if, columns) %}\n {{ adapter.dispatch('ignore_row_if_expression', 'dbt_expectations') (ignore_row_if, columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__ignore_row_if_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5480409, "supported_languages": null}, "macro.dbt_expectations.default__ignore_row_if_expression": {"name": "default__ignore_row_if_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "unique_id": "macro.dbt_expectations.default__ignore_row_if_expression", "macro_sql": "{% macro default__ignore_row_if_expression(ignore_row_if, columns) %}\n {%- set ignore_row_if_values = [\"all_values_are_missing\", \"any_value_is_missing\"] -%}\n {% if ignore_row_if not in ignore_row_if_values %}\n {{ exceptions.raise_compiler_error(\n \"`ignore_row_if` must be one of \" ~ (ignore_row_if_values | join(\", \")) ~ \". Got: '\" ~ ignore_row_if ~\"'.'\"\n ) }}\n {% endif %}\n\n {%- set op = \"and\" if ignore_row_if == \"all_values_are_missing\" else \"or\" -%}\n not (\n {% for column in columns -%}\n {{ column }} is null{% if not loop.last %} {{ op }} {% endif %}\n {% endfor %}\n )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.549259, "supported_languages": null}, "macro.dbt_expectations.test_expression_between": {"name": "test_expression_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_between.sql", "original_file_path": "macros/schema_tests/_generalized/expression_between.sql", "unique_id": "macro.dbt_expectations.test_expression_between", "macro_sql": "{% test expression_between(model,\n expression,\n min_value=None,\n max_value=None,\n group_by_columns=None,\n row_condition=None,\n strictly=False\n ) %}\n\n {{ dbt_expectations.expression_between(model, expression, min_value, max_value, group_by_columns, row_condition, strictly) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5511382, "supported_languages": null}, "macro.dbt_expectations.expression_between": {"name": "expression_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_between.sql", "original_file_path": "macros/schema_tests/_generalized/expression_between.sql", "unique_id": "macro.dbt_expectations.expression_between", "macro_sql": "{% macro expression_between(model,\n expression,\n min_value,\n max_value,\n group_by_columns,\n row_condition,\n strictly\n ) %}\n\n{%- if min_value is none and max_value is none -%}\n{{ exceptions.raise_compiler_error(\n \"You have to provide either a min_value, max_value or both.\"\n) }}\n{%- endif -%}\n\n{%- set strict_operator = \"\" if strictly else \"=\" -%}\n\n{% set expression_min_max %}\n( 1=1\n{%- if min_value is not none %} and {{ expression | trim }} >{{ strict_operator }} {{ min_value }}{% endif %}\n{%- if max_value is not none %} and {{ expression | trim }} <{{ strict_operator }} {{ max_value }}{% endif %}\n)\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression_min_max,\n group_by_columns=group_by_columns,\n row_condition=row_condition)\n }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.552639, "supported_languages": null}, "macro.dbt_expectations.test_expression_is_true": {"name": "test_expression_is_true", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_is_true.sql", "original_file_path": "macros/schema_tests/_generalized/expression_is_true.sql", "unique_id": "macro.dbt_expectations.test_expression_is_true", "macro_sql": "{% test expression_is_true(model,\n expression,\n test_condition=\"= true\",\n group_by_columns=None,\n row_condition=None\n ) %}\n\n {{ dbt_expectations.expression_is_true(model, expression, test_condition, group_by_columns, row_condition) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.554136, "supported_languages": null}, "macro.dbt_expectations.expression_is_true": {"name": "expression_is_true", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_is_true.sql", "original_file_path": "macros/schema_tests/_generalized/expression_is_true.sql", "unique_id": "macro.dbt_expectations.expression_is_true", "macro_sql": "{% macro expression_is_true(model,\n expression,\n test_condition=\"= true\",\n group_by_columns=None,\n row_condition=None\n ) %}\n {{ adapter.dispatch('expression_is_true', 'dbt_expectations') (model, expression, test_condition, group_by_columns, row_condition) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.554742, "supported_languages": null}, "macro.dbt_expectations.default__expression_is_true": {"name": "default__expression_is_true", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_is_true.sql", "original_file_path": "macros/schema_tests/_generalized/expression_is_true.sql", "unique_id": "macro.dbt_expectations.default__expression_is_true", "macro_sql": "{% macro default__expression_is_true(model, expression, test_condition, group_by_columns, row_condition) -%}\nwith grouped_expression as (\n select\n {% if group_by_columns %}\n {% for group_by_column in group_by_columns -%}\n {{ group_by_column }} as col_{{ loop.index }},\n {% endfor -%}\n {% endif %}\n {{ dbt_expectations.truth_expression(expression) }}\n from {{ model }}\n {%- if row_condition %}\n where\n {{ row_condition }}\n {% endif %}\n {% if group_by_columns %}\n group by\n {% for group_by_column in group_by_columns -%}\n {{ group_by_column }}{% if not loop.last %},{% endif %}\n {% endfor %}\n {% endif %}\n\n),\nvalidation_errors as (\n\n select\n *\n from\n grouped_expression\n where\n not(expression {{ test_condition }})\n\n)\n\nselect *\nfrom validation_errors\n\n\n{% endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.truth_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.556011, "supported_languages": null}, "macro.dbt_expectations.get_select": {"name": "get_select", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.get_select", "macro_sql": "{% macro get_select(model, expression, row_condition, group_by) -%}\n {{ adapter.dispatch('get_select', 'dbt_expectations') (model, expression, row_condition, group_by) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__get_select"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5634382, "supported_languages": null}, "macro.dbt_expectations.default__get_select": {"name": "default__get_select", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.default__get_select", "macro_sql": "\n\n{%- macro default__get_select(model, expression, row_condition, group_by) %}\n select\n {% if group_by %}\n {% for g in group_by -%}\n {{ g }} as col_{{ loop.index }},\n {% endfor -%}\n {% endif %}\n {{ expression }} as expression\n from\n {{ model }}\n {%- if row_condition %}\n where\n {{ row_condition }}\n {% endif %}\n {% if group_by %}\n group by\n {% for g in group_by -%}\n {{ loop.index }}{% if not loop.last %},{% endif %}\n {% endfor %}\n {% endif %}\n{% endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.564578, "supported_languages": null}, "macro.dbt_expectations.test_equal_expression": {"name": "test_equal_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.test_equal_expression", "macro_sql": "{% test equal_expression(model, expression,\n compare_model=None,\n compare_expression=None,\n group_by=None,\n compare_group_by=None,\n row_condition=None,\n compare_row_condition=None,\n tolerance=0.0,\n tolerance_percent=None\n ) -%}\n\n {{ adapter.dispatch('test_equal_expression', 'dbt_expectations') (\n model,\n expression,\n compare_model,\n compare_expression,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition,\n tolerance,\n tolerance_percent) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.565547, "supported_languages": null}, "macro.dbt_expectations.default__test_equal_expression": {"name": "default__test_equal_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.default__test_equal_expression", "macro_sql": "\n\n{%- macro default__test_equal_expression(\n model,\n expression,\n compare_model,\n compare_expression,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition,\n tolerance,\n tolerance_percent) -%}\n\n {%- set compare_model = model if not compare_model else compare_model -%}\n {%- set compare_expression = expression if not compare_expression else compare_expression -%}\n {%- set compare_row_condition = row_condition if not compare_row_condition else compare_row_condition -%}\n {%- set compare_group_by = group_by if not compare_group_by else compare_group_by -%}\n\n {%- set n_cols = (group_by|length) if group_by else 0 %}\n with a as (\n {{ dbt_expectations.get_select(model, expression, row_condition, group_by) }}\n ),\n b as (\n {{ dbt_expectations.get_select(compare_model, compare_expression, compare_row_condition, compare_group_by) }}\n ),\n final as (\n\n select\n {% for i in range(1, n_cols + 1) -%}\n coalesce(a.col_{{ i }}, b.col_{{ i }}) as col_{{ i }},\n {% endfor %}\n a.expression,\n b.expression as compare_expression,\n abs(coalesce(a.expression, 0) - coalesce(b.expression, 0)) as expression_difference,\n abs(coalesce(a.expression, 0) - coalesce(b.expression, 0))/\n nullif(a.expression * 1.0, 0) as expression_difference_percent\n from\n {% if n_cols > 0 %}\n a\n full outer join\n b on\n {% for i in range(1, n_cols + 1) -%}\n a.col_{{ i }} = b.col_{{ i }} {% if not loop.last %}and{% endif %}\n {% endfor -%}\n {% else %}\n a cross join b\n {% endif %}\n )\n -- DEBUG:\n -- select * from final\n select\n *\n from final\n where\n {% if tolerance_percent %}\n expression_difference_percent > {{ tolerance_percent }}\n {% else %}\n expression_difference > {{ tolerance }}\n {% endif %}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.get_select"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5682402, "supported_languages": null}, "macro.dbt_expectations.truth_expression": {"name": "truth_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_truth_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_truth_expression.sql", "unique_id": "macro.dbt_expectations.truth_expression", "macro_sql": "{% macro truth_expression(expression) %}\n {{ adapter.dispatch('truth_expression', 'dbt_expectations') (expression) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__truth_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.568726, "supported_languages": null}, "macro.dbt_expectations.default__truth_expression": {"name": "default__truth_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_truth_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_truth_expression.sql", "unique_id": "macro.dbt_expectations.default__truth_expression", "macro_sql": "{% macro default__truth_expression(expression) %}\n {{ expression }} as expression\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.568952, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern": {"name": "test_expect_column_values_to_match_like_pattern", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern", "macro_sql": "{% test expect_column_values_to_match_like_pattern(model, column_name,\n like_pattern,\n row_condition=None\n ) %}\n\n{% set expression = dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=True) %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5699232, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern_list": {"name": "test_expect_column_values_to_match_like_pattern_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern_list", "macro_sql": "{% test expect_column_values_to_match_like_pattern_list(model, column_name,\n like_pattern_list,\n match_on=\"any\",\n row_condition=None\n ) %}\n\n{% set expression %}\n {% for like_pattern in like_pattern_list %}\n {{ dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=True) }}\n {%- if not loop.last %}\n {{ \" and \" if match_on == \"all\" else \" or \"}}\n {% endif -%}\n {% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.571757, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_regex": {"name": "test_expect_column_values_to_match_regex", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_regex", "macro_sql": "{% test expect_column_values_to_match_regex(model, column_name,\n regex,\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} > 0\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.573023, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_value_lengths_to_equal": {"name": "test_expect_column_value_lengths_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_equal.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_column_value_lengths_to_equal", "macro_sql": "{% test expect_column_value_lengths_to_equal(model, column_name,\n value,\n row_condition=None\n ) %}\n\n{% set expression = dbt.length(column_name) ~ \" = \" ~ value %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.length", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5739782, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_value_lengths_to_be_between": {"name": "test_expect_column_value_lengths_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_be_between.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_value_lengths_to_be_between", "macro_sql": "{% test expect_column_value_lengths_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\n{{ dbt.length(column_name) }}\n{% endset %}\n\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=None,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.length", "macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5753658, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_regex": {"name": "test_expect_column_values_to_not_match_regex", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_regex", "macro_sql": "{% test expect_column_values_to_not_match_regex(model, column_name,\n regex,\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} = 0\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.576635, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_regex_list": {"name": "test_expect_column_values_to_not_match_regex_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_regex_list", "macro_sql": "{% test expect_column_values_to_not_match_regex_list(model, column_name,\n regex_list,\n match_on=\"any\",\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n{% for regex in regex_list %}\n{{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} = 0\n{%- if not loop.last %}\n{{ \" and \" if match_on == \"all\" else \" or \"}}\n{% endif -%}\n{% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.578858, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_regex_list": {"name": "test_expect_column_values_to_match_regex_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_regex_list", "macro_sql": "{% test expect_column_values_to_match_regex_list(model, column_name,\n regex_list,\n match_on=\"any\",\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n {% for regex in regex_list %}\n {{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} > 0\n {%- if not loop.last %}\n {{ \" and \" if match_on == \"all\" else \" or \"}}\n {% endif -%}\n {% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.580823, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern_list": {"name": "test_expect_column_values_to_not_match_like_pattern_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern_list", "macro_sql": "{% test expect_column_values_to_not_match_like_pattern_list(model, column_name,\n like_pattern_list,\n match_on=\"any\",\n row_condition=None\n ) %}\n\n{% set expression %}\n {% for like_pattern in like_pattern_list %}\n {{ dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=False) }}\n {%- if not loop.last %}\n {{ \" and \" if match_on == \"all\" else \" or \"}}\n {% endif -%}\n {% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.582674, "supported_languages": null}, "macro.dbt_expectations._get_like_pattern_expression": {"name": "_get_like_pattern_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/_get_like_pattern_expression.sql", "original_file_path": "macros/schema_tests/string_matching/_get_like_pattern_expression.sql", "unique_id": "macro.dbt_expectations._get_like_pattern_expression", "macro_sql": "{% macro _get_like_pattern_expression(column_name, like_pattern, positive) %}\n{{ column_name }} {{ \"not\" if not positive else \"\" }} like '{{ like_pattern }}'\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5831912, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern": {"name": "test_expect_column_values_to_not_match_like_pattern", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern", "macro_sql": "{% test expect_column_values_to_not_match_like_pattern(model, column_name,\n like_pattern,\n row_condition=None\n ) %}\n\n{% set expression = dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=False) %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.58417, "supported_languages": null}, "macro.dbt_expectations.test_expect_row_values_to_have_recent_data": {"name": "test_expect_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.test_expect_row_values_to_have_recent_data", "macro_sql": "{% test expect_row_values_to_have_recent_data(model,\n column_name,\n datepart,\n interval,\n row_condition=None) %}\n\n {{ adapter.dispatch('test_expect_row_values_to_have_recent_data', 'dbt_expectations') (model,\n column_name,\n datepart,\n interval,\n row_condition) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_row_values_to_have_recent_data"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.58687, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_row_values_to_have_recent_data": {"name": "default__test_expect_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.default__test_expect_row_values_to_have_recent_data", "macro_sql": "{% macro default__test_expect_row_values_to_have_recent_data(model, column_name, datepart, interval, row_condition) %}\n{%- set default_start_date = '1970-01-01' -%}\nwith max_recency as (\n\n select max(cast({{ column_name }} as {{ dbt_expectations.type_timestamp() }})) as max_timestamp\n from\n {{ model }}\n where\n -- to exclude erroneous future dates\n cast({{ column_name }} as {{ dbt_expectations.type_timestamp() }}) <= {{ dbt_date.now() }}\n {% if row_condition %}\n and {{ row_condition }}\n {% endif %}\n)\nselect\n *\nfrom\n max_recency\nwhere\n -- if the row_condition excludes all rows, we need to compare against a default date\n -- to avoid false negatives\n coalesce(max_timestamp, cast('{{ default_start_date }}' as {{ dbt_expectations.type_timestamp() }}))\n <\n cast({{ dbt.dateadd(datepart, interval * -1, dbt_date.now()) }} as {{ dbt_expectations.type_timestamp() }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.type_timestamp", "macro.dbt_date.now", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.588209, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_contain_set": {"name": "test_expect_table_columns_to_contain_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_contain_set.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_contain_set.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_contain_set", "macro_sql": "{%- test expect_table_columns_to_contain_set(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n select *\n from\n input_columns i\n left join\n relation_columns r on r.relation_column = i.input_column\n where\n -- catch any column in input list that is not in the list of table columns\n r.relation_column is null\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.590572, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table": {"name": "test_expect_table_row_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table", "macro_sql": "{%- test expect_table_row_count_to_equal_other_table(model,\n compare_model,\n group_by=None,\n compare_group_by=None,\n factor=1,\n row_condition=None,\n compare_row_condition=None\n ) -%}\n\n {{ adapter.dispatch('test_expect_table_row_count_to_equal_other_table',\n 'dbt_expectations') (model,\n compare_model,\n group_by,\n compare_group_by,\n factor,\n row_condition,\n compare_row_condition\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5921972, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table": {"name": "default__test_expect_table_row_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table", "macro_sql": "\n\n{%- macro default__test_expect_table_row_count_to_equal_other_table(model,\n compare_model,\n group_by,\n compare_group_by,\n factor,\n row_condition,\n compare_row_condition\n ) -%}\n{{ dbt_expectations.test_equal_expression(model, \"count(*)\",\n compare_model=compare_model,\n compare_expression=\"count(*) * \" + factor|string,\n group_by=group_by,\n compare_group_by=compare_group_by,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition\n) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5929222, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_not_contain_set": {"name": "test_expect_table_columns_to_not_contain_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_not_contain_set.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_not_contain_set.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_not_contain_set", "macro_sql": "{%- test expect_table_columns_to_not_contain_set(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n -- catch any column in input list that is in the list of table columns\n select *\n from\n input_columns i\n inner join\n relation_columns r on r.relation_column = i.input_column\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.59504, "supported_languages": null}, "macro.dbt_expectations.test_expect_grouped_row_values_to_have_recent_data": {"name": "test_expect_grouped_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.test_expect_grouped_row_values_to_have_recent_data", "macro_sql": "{% test expect_grouped_row_values_to_have_recent_data(model,\n group_by,\n timestamp_column,\n datepart,\n interval,\n row_condition=None) %}\n\n {{ adapter.dispatch('test_expect_grouped_row_values_to_have_recent_data', 'dbt_expectations') (model,\n group_by,\n timestamp_column,\n datepart,\n interval,\n row_condition) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_grouped_row_values_to_have_recent_data"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.5986261, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_grouped_row_values_to_have_recent_data": {"name": "default__test_expect_grouped_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.default__test_expect_grouped_row_values_to_have_recent_data", "macro_sql": "{% macro default__test_expect_grouped_row_values_to_have_recent_data(model,\n group_by,\n timestamp_column,\n datepart,\n interval,\n row_condition) %}\nwith latest_grouped_timestamps as (\n\n select\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n max(1) as join_key,\n max(cast({{ timestamp_column }} as {{ dbt_expectations.type_timestamp() }})) as latest_timestamp_column\n from\n {{ model }}\n where\n -- to exclude erroneous future dates\n cast({{ timestamp_column }} as {{ dbt_expectations.type_timestamp() }}) <= {{ dbt_date.now() }}\n {% if row_condition %}\n and {{ row_condition }}\n {% endif %}\n\n {% if group_by -%}\n {{ dbt_expectations.group_by(group_by | length) }}\n {%- endif %}\n),\ntotal_row_counts as (\n\n select\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n max(1) as join_key,\n count(*) as row_count\n from\n latest_grouped_timestamps\n {% if group_by -%}\n {{ dbt_expectations.group_by(group_by | length) }}\n {%- endif %}\n\n\n),\noutdated_grouped_timestamps as (\n\n select *\n from\n latest_grouped_timestamps\n where\n -- are the max timestamps per group older than the specified cutoff?\n latest_timestamp_column <\n cast(\n {{ dbt.dateadd(datepart, interval * -1, dbt_date.now()) }}\n as {{ dbt_expectations.type_timestamp() }}\n )\n\n),\nvalidation_errors as (\n\n select\n r.row_count,\n t.*\n from\n total_row_counts r\n left join\n outdated_grouped_timestamps t\n on\n {% for g in group_by %}\n r.{{ g }} = t.{{ g }} and\n {% endfor %}\n r.join_key = t.join_key\n where\n -- fail if either no rows were returned due to row_condition,\n -- or the recency test returned failed rows\n r.row_count = 0\n or\n t.join_key is not null\n\n)\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.type_timestamp", "macro.dbt_date.now", "macro.dbt_expectations.group_by", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.602357, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_to_exist": {"name": "test_expect_column_to_exist", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_column_to_exist.sql", "original_file_path": "macros/schema_tests/table_shape/expect_column_to_exist.sql", "unique_id": "macro.dbt_expectations.test_expect_column_to_exist", "macro_sql": "{%- test expect_column_to_exist(model, column_name, column_index=None, transform=\"upper\") -%}\n{%- if execute -%}\n\n {%- set column_name = column_name | map(transform) | join -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n\n {%- set matching_column_index = relation_column_names.index(column_name) if column_name in relation_column_names else -1 %}\n\n {%- if column_index -%}\n\n {%- set column_index_0 = column_index - 1 if column_index > 0 else 0 -%}\n\n {%- set column_index_matches = true if matching_column_index == column_index_0 else false %}\n\n {%- else -%}\n\n {%- set column_index_matches = true -%}\n\n {%- endif %}\n\n with test_data as (\n\n select\n cast('{{ column_name }}' as {{ dbt.type_string() }}) as column_name,\n {{ matching_column_index }} as matching_column_index,\n {{ column_index_matches }} as column_index_matches\n\n )\n select *\n from test_data\n where\n not(matching_column_index >= 0 and column_index_matches)\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.604664, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_equal": {"name": "test_expect_table_row_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_equal", "macro_sql": "{%- test expect_table_row_count_to_equal(model,\n value,\n group_by=None,\n row_condition=None\n ) -%}\n {{ adapter.dispatch('test_expect_table_row_count_to_equal',\n 'dbt_expectations') (model,\n value,\n group_by,\n row_condition\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_equal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6059, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_equal": {"name": "default__test_expect_table_row_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_equal", "macro_sql": "\n\n\n\n{%- macro default__test_expect_table_row_count_to_equal(model,\n value,\n group_by,\n row_condition\n ) -%}\n{% set expression %}\ncount(*) = {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6065202, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_be_between": {"name": "test_expect_table_row_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_be_between", "macro_sql": "{%- test expect_table_row_count_to_be_between(model,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) -%}\n {{ adapter.dispatch('test_expect_table_row_count_to_be_between',\n 'dbt_expectations') (model,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_be_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6087391, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_be_between": {"name": "default__test_expect_table_row_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_be_between", "macro_sql": "\n\n{%- macro default__test_expect_table_row_count_to_be_between(model,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) -%}\n{% set expression %}\ncount(*)\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.609479, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table_times_factor": {"name": "test_expect_table_row_count_to_equal_other_table_times_factor", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table_times_factor", "macro_sql": "{%- test expect_table_row_count_to_equal_other_table_times_factor(model,\n compare_model,\n factor,\n group_by=None,\n compare_group_by=None,\n row_condition=None,\n compare_row_condition=None\n ) -%}\n {{ adapter.dispatch('test_expect_table_row_count_to_equal_other_table_times_factor',\n 'dbt_expectations') (model,\n compare_model,\n factor,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table_times_factor"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.611279, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table_times_factor": {"name": "default__test_expect_table_row_count_to_equal_other_table_times_factor", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table_times_factor", "macro_sql": "\n\n{%- macro default__test_expect_table_row_count_to_equal_other_table_times_factor(model,\n compare_model,\n factor,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition\n ) -%}\n\n{{ dbt_expectations.test_expect_table_row_count_to_equal_other_table(model,\n compare_model,\n group_by=group_by,\n compare_group_by=compare_group_by,\n factor=factor,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition\n) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6119292, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_match_set": {"name": "test_expect_table_columns_to_match_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_match_set.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_match_set.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_match_set", "macro_sql": "{%- test expect_table_columns_to_match_set(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n select *\n from\n relation_columns r\n full outer join\n input_columns i on r.relation_column = i.input_column\n where\n -- catch any column in input list that is not in the list of table columns\n -- or any table column that is not in the input list\n r.relation_column is null or\n i.input_column is null\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6141582, "supported_languages": null}, "macro.dbt_expectations._get_column_list": {"name": "_get_column_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/_get_column_list.sql", "original_file_path": "macros/schema_tests/table_shape/_get_column_list.sql", "unique_id": "macro.dbt_expectations._get_column_list", "macro_sql": "{%- macro _get_column_list(model, transform=\"upper\") -%}\n{%- set relation_columns = adapter.get_columns_in_relation(model) -%}\n{%- set relation_column_names = relation_columns | map(attribute=\"name\") | map(transform) | list -%}\n{%- do return(relation_column_names) -%}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.614948, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_match_ordered_list": {"name": "test_expect_table_columns_to_match_ordered_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_match_ordered_list.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_match_ordered_list.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_match_ordered_list", "macro_sql": "{%- test expect_table_columns_to_match_ordered_list(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select\n {{ loop.index }} as relation_column_idx,\n cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select\n {{ loop.index }} as input_column_idx,\n cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n select *\n from\n relation_columns r\n full outer join\n input_columns i on r.relation_column = i.input_column and r.relation_column_idx = i.input_column_idx\n where\n -- catch any column in input list that is not in the sequence of table columns\n -- or any table column that is not in the input sequence\n r.relation_column is null or\n i.input_column is null\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.617467, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_aggregation_to_equal_other_table": {"name": "test_expect_table_aggregation_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_aggregation_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_aggregation_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_table_aggregation_to_equal_other_table", "macro_sql": "{%- test expect_table_aggregation_to_equal_other_table(model,\n expression,\n compare_model,\n compare_expression=None,\n group_by=None,\n compare_group_by=None,\n row_condition=None,\n compare_row_condition=None,\n tolerance=0.0,\n tolerance_percent=None\n ) -%}\n\n\n{{ dbt_expectations.test_equal_expression(\n model,\n expression=expression,\n compare_model=compare_model,\n compare_expression=compare_expression,\n group_by=group_by,\n compare_group_by=compare_group_by,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition,\n tolerance=tolerance,\n tolerance_percent=tolerance_percent\n) }}\n\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6186938, "supported_languages": null}, "macro.dbt_expectations._list_intersect": {"name": "_list_intersect", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/_list_intersect.sql", "original_file_path": "macros/schema_tests/table_shape/_list_intersect.sql", "unique_id": "macro.dbt_expectations._list_intersect", "macro_sql": "{%- macro _list_intersect(list1, list2) -%}\n{%- set matching_items = [] -%}\n{%- for itm in list1 -%}\n {%- if itm in list2 -%}\n {%- do matching_items.append(itm) -%}\n {%- endif -%}\n{%- endfor -%}\n{%- do return(matching_items) -%}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6195269, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_column_count_to_equal_other_table": {"name": "test_expect_table_column_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_table_column_count_to_equal_other_table", "macro_sql": "{%- test expect_table_column_count_to_equal_other_table(model, compare_model) -%}\n{%- if execute -%}\n{%- set number_columns = (adapter.get_columns_in_relation(model) | length) -%}\n{%- set compare_number_columns = (adapter.get_columns_in_relation(compare_model) | length) -%}\nwith test_data as (\n\n select\n {{ number_columns }} as number_columns,\n {{ compare_number_columns }} as compare_number_columns\n\n)\nselect *\nfrom test_data\nwhere\n number_columns != compare_number_columns\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.620455, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_column_count_to_equal": {"name": "test_expect_table_column_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_table_column_count_to_equal", "macro_sql": "{%- test expect_table_column_count_to_equal(model, value) -%}\n{%- if execute -%}\n{%- set number_actual_columns = (adapter.get_columns_in_relation(model) | length) -%}\nwith test_data as (\n\n select\n {{ number_actual_columns }} as number_actual_columns,\n {{ value }} as value\n\n)\nselect *\nfrom test_data\nwhere\n number_actual_columns != value\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.621175, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_column_count_to_be_between": {"name": "test_expect_table_column_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_column_count_to_be_between.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_column_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_table_column_count_to_be_between", "macro_sql": "{%- test expect_table_column_count_to_be_between(model,\n min_value=None,\n max_value=None\n ) -%}\n{%- if min_value is none and max_value is none -%}\n{{ exceptions.raise_compiler_error(\n \"You have to provide either a min_value, max_value or both.\"\n) }}\n{%- endif -%}\n{%- if execute -%}\n{%- set number_actual_columns = (adapter.get_columns_in_relation(model) | length) -%}\n\n{%- set expression %}\n( 1=1\n{%- if min_value %} and number_actual_columns >= min_value{% endif %}\n{%- if max_value %} and number_actual_columns <= max_value{% endif %}\n)\n{% endset -%}\n\nwith test_data as (\n\n select\n {{ number_actual_columns }} as number_actual_columns,\n {{ min_value if min_value else 0 }} as min_value,\n {{ max_value if max_value else 0 }} as max_value\n\n)\nselect *\nfrom test_data\nwhere\n not {{ expression }}\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.623014, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_be_in_set": {"name": "test_expect_column_values_to_not_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_in_set.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_be_in_set", "macro_sql": "{% test expect_column_values_to_not_be_in_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n cast('{{ value }}' as {{ dbt.type_string() }})\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n),\nvalidation_errors as (\n -- values from the model that match the set\n select\n v.value_field\n from\n all_values v\n join\n set_values s on v.value_field = s.value_field\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6246321, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_in_set": {"name": "test_expect_column_values_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_set.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_in_set", "macro_sql": "{% test expect_column_values_to_be_in_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n cast('{{ value }}' as {{ dbt.type_string() }})\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n),\nvalidation_errors as (\n -- values from the model that are not in the set\n select\n v.value_field\n from\n all_values v\n left join\n set_values s on v.value_field = s.value_field\n where\n s.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6262841, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_increasing": {"name": "test_expect_column_values_to_be_increasing", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_increasing.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_increasing.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_increasing", "macro_sql": "{% test expect_column_values_to_be_increasing(model, column_name,\n sort_column=None,\n strictly=True,\n row_condition=None,\n group_by=None) %}\n\n{%- set sort_column = column_name if not sort_column else sort_column -%}\n{%- set operator = \">\" if strictly else \">=\" -%}\nwith all_values as (\n\n select\n {{ sort_column }} as sort_column,\n {%- if group_by -%}\n {{ group_by | join(\", \") }},\n {%- endif %}\n {{ column_name }} as value_field\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nadd_lag_values as (\n\n select\n sort_column,\n {%- if group_by -%}\n {{ group_by | join(\", \") }},\n {%- endif %}\n value_field,\n lag(value_field) over\n {%- if not group_by -%}\n (order by sort_column)\n {%- else -%}\n (partition by {{ group_by | join(\", \") }} order by sort_column)\n {%- endif %} as value_field_lag\n from\n all_values\n\n),\nvalidation_errors as (\n select\n *\n from\n add_lag_values\n where\n value_field_lag is not null\n and\n not (value_field {{ operator }} value_field_lag)\n\n)\nselect *\nfrom validation_errors\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.628757, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_null": {"name": "test_expect_column_values_to_be_null", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_null.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_null.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_null", "macro_sql": "{% test expect_column_values_to_be_null(model, column_name, row_condition=None) %}\n\n{% set expression = column_name ~ \" is null\" %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.62966, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_unique": {"name": "test_expect_column_values_to_be_unique", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_unique.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_unique.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_unique", "macro_sql": "{% test expect_column_values_to_be_unique(model, column_name, row_condition=None) %}\n{{ dbt_expectations.test_expect_compound_columns_to_be_unique(model, [column_name], row_condition=row_condition) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.test_expect_compound_columns_to_be_unique"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.630184, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_between": {"name": "test_expect_column_values_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_between.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_between", "macro_sql": "{% test expect_column_values_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n row_condition=None,\n strictly=False\n ) %}\n\n{% set expression %}\n{{ column_name }}\n{% endset %}\n\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=None,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.631522, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_decreasing": {"name": "test_expect_column_values_to_be_decreasing", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_decreasing.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_decreasing.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_decreasing", "macro_sql": "{% test expect_column_values_to_be_decreasing(model, column_name,\n sort_column=None,\n strictly=True,\n row_condition=None,\n group_by=None) %}\n\n{%- set sort_column = column_name if not sort_column else sort_column -%}\n{%- set operator = \"<\" if strictly else \"<=\" %}\nwith all_values as (\n\n select\n {{ sort_column }} as sort_column,\n {%- if group_by -%}\n {{ group_by | join(\", \") }},\n {%- endif %}\n {{ column_name }} as value_field\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nadd_lag_values as (\n\n select\n sort_column,\n value_field,\n lag(value_field) over\n {%- if not group_by -%}\n (order by sort_column)\n {%- else -%}\n (partition by {{ group_by | join(\", \") }} order by sort_column)\n {%- endif %} as value_field_lag\n from\n all_values\n\n),\nvalidation_errors as (\n\n select\n *\n from\n add_lag_values\n where\n value_field_lag is not null\n and\n not (value_field {{ operator }} value_field_lag)\n\n)\nselect *\nfrom validation_errors\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.633781, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_in_type_list": {"name": "test_expect_column_values_to_be_in_type_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_type_list.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_type_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_in_type_list", "macro_sql": "{%- test expect_column_values_to_be_in_type_list(model, column_name, column_type_list) -%}\n{%- if execute -%}\n\n {%- set column_name = column_name | upper -%}\n {%- set columns_in_relation = adapter.get_columns_in_relation(model) -%}\n {%- set column_type_list = column_type_list| map(\"upper\") | list -%}\n with relation_columns as (\n\n {% for column in columns_in_relation %}\n select\n cast('{{ column.name | upper }}' as {{ dbt.type_string() }}) as relation_column,\n cast('{{ column.dtype | upper }}' as {{ dbt.type_string() }}) as relation_column_type\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n test_data as (\n\n select\n *\n from\n relation_columns\n where\n relation_column = '{{ column_name }}'\n and\n relation_column_type not in ('{{ column_type_list | join(\"', '\") }}')\n\n )\n select *\n from test_data\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.635752, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_of_type": {"name": "test_expect_column_values_to_be_of_type", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_of_type.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_of_type.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_of_type", "macro_sql": "{%- test expect_column_values_to_be_of_type(model, column_name, column_type) -%}\n{{ dbt_expectations.test_expect_column_values_to_be_in_type_list(model, column_name, [column_type]) }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_expect_column_values_to_be_in_type_list"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.63622, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_have_consistent_casing": {"name": "test_expect_column_values_to_have_consistent_casing", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_have_consistent_casing.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_have_consistent_casing.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_have_consistent_casing", "macro_sql": "{% test expect_column_values_to_have_consistent_casing(model, column_name, display_inconsistent_columns=False) %}\n\nwith test_data as (\n\n select\n distinct {{ column_name }} as distinct_values\n from\n {{ model }}\n\n ),\n {% if display_inconsistent_columns %}\n validation_errors as (\n\n select\n lower(distinct_values) as inconsistent_columns,\n count(distinct_values) as set_count_case_insensitive\n from\n test_data\n group by 1\n having\n count(distinct_values) > 1\n\n )\n select * from validation_errors\n {% else %}\n validation_errors as (\n\n select\n count(1) as set_count,\n count(distinct lower(distinct_values)) as set_count_case_insensitive\n from\n test_data\n\n )\n select *\n from\n validation_errors\n where\n set_count != set_count_case_insensitive\n {% endif %}\n {%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6369762, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_be_null": {"name": "test_expect_column_values_to_not_be_null", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_null.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_null.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_be_null", "macro_sql": "{% test expect_column_values_to_not_be_null(model, column_name, row_condition=None) %}\n\n{% set expression = column_name ~ \" is not null\" %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6378088, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_min_to_be_between": {"name": "test_expect_column_min_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_min_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_min_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_min_to_be_between", "macro_sql": "{% test expect_column_min_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\nmin({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6392052, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_unique_value_count_to_be_between": {"name": "test_expect_column_unique_value_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_unique_value_count_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_unique_value_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_unique_value_count_to_be_between", "macro_sql": "{% test expect_column_unique_value_count_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6406531, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_quantile_values_to_be_between": {"name": "test_expect_column_quantile_values_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_quantile_values_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_quantile_values_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_quantile_values_to_be_between", "macro_sql": "{% test expect_column_quantile_values_to_be_between(model, column_name,\n quantile,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.percentile_cont(column_name, quantile) }}\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.percentile_cont", "macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.642188, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_median_to_be_between": {"name": "test_expect_column_median_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_median_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_median_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_median_to_be_between", "macro_sql": "{% test expect_column_median_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.median(column_name) }}\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.median", "macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6436522, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_proportion_of_unique_values_to_be_between": {"name": "test_expect_column_proportion_of_unique_values_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_proportion_of_unique_values_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_proportion_of_unique_values_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_proportion_of_unique_values_to_be_between", "macro_sql": "{% test expect_column_proportion_of_unique_values_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }})*1.0/count({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.645171, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_values_to_equal_set": {"name": "test_expect_column_distinct_values_to_equal_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_equal_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_equal_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_values_to_equal_set", "macro_sql": "{% test expect_column_distinct_values_to_equal_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select distinct\n {{ column_name }} as column_value\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n\n select\n *\n from\n all_values v\n full outer join\n unique_set_values s on v.column_value = s.value_field\n where\n v.column_value is null or\n s.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.646775, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_most_common_value_to_be_in_set": {"name": "test_expect_column_most_common_value_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_most_common_value_to_be_in_set", "macro_sql": "{% test expect_column_most_common_value_to_be_in_set(model,\n column_name,\n value_set,\n top_n,\n quote_values=True,\n data_type=\"decimal\",\n row_condition=None\n ) -%}\n\n {{ adapter.dispatch('test_expect_column_most_common_value_to_be_in_set', 'dbt_expectations') (\n model, column_name, value_set, top_n, quote_values, data_type, row_condition\n ) }}\n\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_most_common_value_to_be_in_set"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.649456, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_most_common_value_to_be_in_set": {"name": "default__test_expect_column_most_common_value_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_most_common_value_to_be_in_set", "macro_sql": "{% macro default__test_expect_column_most_common_value_to_be_in_set(model,\n column_name,\n value_set,\n top_n,\n quote_values,\n data_type,\n row_condition\n ) %}\n\nwith value_counts as (\n\n select\n {% if quote_values -%}\n {{ column_name }}\n {%- else -%}\n cast({{ column_name }} as {{ data_type }})\n {%- endif %} as value_field,\n count(*) as value_count\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n group by {% if quote_values -%}\n {{ column_name }}\n {%- else -%}\n cast({{ column_name }} as {{ data_type }})\n {%- endif %}\n\n),\nvalue_counts_ranked as (\n\n select\n *,\n row_number() over(order by value_count desc) as value_count_rank\n from\n value_counts\n\n),\nvalue_count_top_n as (\n\n select\n value_field\n from\n value_counts_ranked\n where\n value_count_rank = {{ top_n }}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n cast({{ value }} as {{ data_type }})\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n -- values from the model that are not in the set\n select\n value_field\n from\n value_count_top_n\n where\n value_field not in (select value_field from unique_set_values)\n\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.651083, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_values_to_contain_set": {"name": "test_expect_column_distinct_values_to_contain_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_contain_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_contain_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_values_to_contain_set", "macro_sql": "{% test expect_column_distinct_values_to_contain_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n -- values in set that are not in the list of values from the model\n select\n s.value_field\n from\n unique_set_values s\n left join\n all_values v on s.value_field = v.value_field\n where\n v.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.652704, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_equal": {"name": "test_expect_column_distinct_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_equal", "macro_sql": "{% test expect_column_distinct_count_to_equal(model,\n column_name,\n value,\n group_by=None,\n row_condition=None\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }}) = {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.653789, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_be_less_than": {"name": "test_expect_column_distinct_count_to_be_less_than", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_less_than.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_less_than.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_be_less_than", "macro_sql": "{% test expect_column_distinct_count_to_be_less_than(model,\n column_name,\n value,\n group_by=None,\n row_condition=None\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }}) < {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6548889, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_sum_to_be_between": {"name": "test_expect_column_sum_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_sum_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_sum_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_sum_to_be_between", "macro_sql": "{% test expect_column_sum_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\nsum({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.656275, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_stdev_to_be_between": {"name": "test_expect_column_stdev_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_stdev_to_be_between", "macro_sql": "{% test expect_column_stdev_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) -%}\n {{ adapter.dispatch('test_expect_column_stdev_to_be_between', 'dbt_expectations') (\n model, column_name,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_stdev_to_be_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.658359, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_stdev_to_be_between": {"name": "default__test_expect_column_stdev_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_stdev_to_be_between", "macro_sql": "{% macro default__test_expect_column_stdev_to_be_between(\n model, column_name,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) %}\n\n{% set expression %}\nstddev({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6591759, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_mean_to_be_between": {"name": "test_expect_column_mean_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_mean_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_mean_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_mean_to_be_between", "macro_sql": "{% test expect_column_mean_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\navg({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6605701, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_max_to_be_between": {"name": "test_expect_column_max_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_max_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_max_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_max_to_be_between", "macro_sql": "{% test expect_column_max_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\nmax({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.661956, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_be_greater_than": {"name": "test_expect_column_distinct_count_to_be_greater_than", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_greater_than.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_greater_than.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_be_greater_than", "macro_sql": "{% test expect_column_distinct_count_to_be_greater_than(model,\n column_name,\n value,\n group_by=None,\n row_condition=None\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }}) > {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.663062, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_values_to_be_in_set": {"name": "test_expect_column_distinct_values_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_be_in_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_values_to_be_in_set", "macro_sql": "{% test expect_column_distinct_values_to_be_in_set(model,\n column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n -- values from the model that are not in the set\n select\n v.value_field\n from\n all_values v\n left join\n unique_set_values s on v.value_field = s.value_field\n where\n s.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6650398, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_equal_other_table": {"name": "test_expect_column_distinct_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_equal_other_table", "macro_sql": "{% test expect_column_distinct_count_to_equal_other_table(model,\n compare_model,\n column_name,\n compare_column_name,\n row_condition=None,\n compare_row_condition=None\n ) %}\n{%- set expression -%}\ncount(distinct {{ column_name }})\n{%- endset -%}\n{%- set compare_expression -%}\n{%- if compare_column_name -%}\ncount(distinct {{ compare_column_name }})\n{%- else -%}\n{{ expression }}\n{%- endif -%}\n{%- endset -%}\n{{ dbt_expectations.test_equal_expression(\n model,\n expression=expression,\n compare_model=compare_model,\n compare_expression=compare_expression,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition\n) }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.666453, "supported_languages": null}, "macro.dbt_expectations.test_expect_row_values_to_have_data_for_every_n_datepart": {"name": "test_expect_row_values_to_have_data_for_every_n_datepart", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_row_values_to_have_data_for_every_n_datepart.sql", "original_file_path": "macros/schema_tests/distributional/expect_row_values_to_have_data_for_every_n_datepart.sql", "unique_id": "macro.dbt_expectations.test_expect_row_values_to_have_data_for_every_n_datepart", "macro_sql": "{%- test expect_row_values_to_have_data_for_every_n_datepart(model,\n date_col,\n date_part=\"day\",\n interval=None,\n row_condition=None,\n exclusion_condition=None,\n test_start_date=None,\n test_end_date=None) -%}\n{% if not execute %}\n {{ return('') }}\n{% endif %}\n\n{% if not test_start_date or not test_end_date %}\n {% set sql %}\n\n select\n min({{ date_col }}) as start_{{ date_part }},\n max({{ date_col }}) as end_{{ date_part }}\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n {% endset %}\n\n {%- set dr = run_query(sql) -%}\n {%- set db_start_date = dr.columns[0].values()[0].strftime('%Y-%m-%d') -%}\n {%- set db_end_date = dr.columns[1].values()[0].strftime('%Y-%m-%d') -%}\n\n{% endif %}\n\n{% if not test_start_date %}\n{% set start_date = db_start_date %}\n{% else %}\n{% set start_date = test_start_date %}\n{% endif %}\n\n\n{% if not test_end_date %}\n{% set end_date = db_end_date %}\n{% else %}\n{% set end_date = test_end_date %}\n{% endif %}\nwith base_dates as (\n\n {{ dbt_date.get_base_dates(start_date=start_date, end_date=end_date, datepart=date_part) }}\n {% if interval %}\n {#\n Filter the date spine created above down to the interval granularity using a modulo operation.\n The number of date_parts after the start_date divided by the integer interval will produce no remainder for the desired intervals,\n e.g. for 2-day interval from a starting Jan 1, 2020:\n params: start_date = '2020-01-01', date_part = 'day', interval = 2\n date spine created above: [2020-01-01, 2020-01-02, 2020-01-03, 2020-01-04, 2020-01-05, ...]\n The first parameter to the `mod` function would be the number of days between the start_date and the spine date, i.e. [0, 1, 2, 3, 4 ...]\n The second parameter to the `mod` function would be the integer interval, i.e. 2\n This modulo operation produces the following remainders: [0, 1, 0, 1, 0, ...]\n Filtering the spine only where this remainder == 0 will return a spine with every other day as desired, i.e. [2020-01-01, 2020-01-03, 2020-01-05, ...]\n #}\n where mod(\n cast({{ dbt.datediff(\"'\" ~ start_date ~ \"'\", 'date_' ~ date_part, date_part) }} as {{ dbt.type_int() }}),\n cast({{interval}} as {{ dbt.type_int() }})\n ) = 0\n {% endif %}\n\n),\nmodel_data as (\n\n select\n {% if not interval %}\n\n cast({{ dbt.date_trunc(date_part, date_col) }} as {{ dbt_expectations.type_datetime() }}) as date_{{ date_part }},\n\n {% else %}\n {#\n Use a modulo operator to determine the number of intervals that a date_col is away from the interval-date spine\n and subtracts that amount to effectively slice each date_col record into its corresponding spine bucket,\n e.g. given a date_col of with records [2020-01-01, 2020-01-02, 2020-01-03, 2020-01-11, 2020-01-12]\n if we want to slice these dates into their 2-day buckets starting Jan 1, 2020 (start_date = '2020-01-01', date_part='day', interval=2),\n the modulo operation described above will produce these remainders: [0, 1, 0, 0, 1]\n subtracting that number of days from the observations will produce records [2020-01-01, 2020-01-01, 2020-01-03, 2020-01-11, 2020-01-11],\n all of which align with records from the interval-date spine\n #}\n {{ dbt.dateadd(\n date_part,\n \"mod(\n cast(\" ~ dbt.datediff(\"'\" ~ start_date ~ \"'\", date_col, date_part) ~ \" as \" ~ dbt.type_int() ~ \" ),\n cast(\" ~ interval ~ \" as \" ~ dbt.type_int() ~ \" )\n ) * (-1)\",\n \"cast( \" ~ dbt.date_trunc(date_part, date_col) ~ \" as \" ~ dbt_expectations.type_datetime() ~ \")\"\n )}} as date_{{ date_part }},\n\n {% endif %}\n\n count(*) as row_cnt\n from\n {{ model }} f\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n group by\n date_{{date_part}}\n\n),\n\nfinal as (\n\n select\n cast(d.date_{{ date_part }} as {{ dbt_expectations.type_datetime() }}) as date_{{ date_part }},\n case when f.date_{{ date_part }} is null then true else false end as is_missing,\n coalesce(f.row_cnt, 0) as row_cnt\n from\n base_dates d\n left join\n model_data f on cast(d.date_{{ date_part }} as {{ dbt_expectations.type_datetime() }}) = f.date_{{ date_part }}\n)\nselect\n *\nfrom final\nwhere row_cnt = 0\n{% if exclusion_condition %}\n and {{ exclusion_condition }}\n{% endif %}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt_date.get_base_dates", "macro.dbt.datediff", "macro.dbt.type_int", "macro.dbt.date_trunc", "macro.dbt_expectations.type_datetime", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.673574, "supported_languages": null}, "macro.dbt_expectations._get_metric_expression": {"name": "_get_metric_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "unique_id": "macro.dbt_expectations._get_metric_expression", "macro_sql": "{%- macro _get_metric_expression(metric_column, take_logs) -%}\n\n{%- if take_logs %}\n{%- set expr = \"nullif(\" ~ metric_column ~ \", 0)\" -%}\ncoalesce({{ dbt_expectations.log_natural(expr) }}, 0)\n{%- else -%}\ncoalesce({{ metric_column }}, 0)\n{%- endif %}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_expectations.log_natural"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.679677, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_within_n_moving_stdevs": {"name": "test_expect_column_values_to_be_within_n_moving_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_within_n_moving_stdevs", "macro_sql": "{% test expect_column_values_to_be_within_n_moving_stdevs(model,\n column_name,\n date_column_name,\n group_by=None,\n period='day',\n lookback_periods=1,\n trend_periods=7,\n test_periods=14,\n sigma_threshold=3,\n sigma_threshold_upper=None,\n sigma_threshold_lower=None,\n take_diffs=true,\n take_logs=true\n ) -%}\n {{ adapter.dispatch('test_expect_column_values_to_be_within_n_moving_stdevs', 'dbt_expectations') (model,\n column_name,\n date_column_name,\n group_by,\n period,\n lookback_periods,\n trend_periods,\n test_periods,\n sigma_threshold,\n sigma_threshold_upper,\n sigma_threshold_lower,\n take_diffs,\n take_logs\n ) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_moving_stdevs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.6808262, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_moving_stdevs": {"name": "default__test_expect_column_values_to_be_within_n_moving_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_moving_stdevs", "macro_sql": "{% macro default__test_expect_column_values_to_be_within_n_moving_stdevs(model,\n column_name,\n date_column_name,\n group_by,\n period,\n lookback_periods,\n trend_periods,\n test_periods,\n sigma_threshold,\n sigma_threshold_upper,\n sigma_threshold_lower,\n take_diffs,\n take_logs\n ) %}\n\n{%- set sigma_threshold_upper = sigma_threshold_upper if sigma_threshold_upper else sigma_threshold -%}\n{%- set sigma_threshold_lower = sigma_threshold_lower if sigma_threshold_lower else -1 * sigma_threshold -%}\n{%- set partition_by = \"partition by \" ~ (group_by | join(\",\")) if group_by -%}\n{%- set group_by_length = (group_by | length ) if group_by else 0 -%}\n\nwith metric_values as (\n\n with grouped_metric_values as (\n\n select\n {{ dbt.date_trunc(period, date_column_name) }} as metric_period,\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n sum({{ column_name }}) as agg_metric_value\n from\n {{ model }}\n {{ dbt_expectations.group_by(1 + group_by_length) }}\n\n )\n {%- if take_diffs %}\n , grouped_metric_values_with_priors as (\n\n select\n *,\n lag(agg_metric_value, {{ lookback_periods }}) over(\n {{ partition_by }}\n order by metric_period) as prior_agg_metric_value\n from\n grouped_metric_values d\n\n )\n select\n *,\n {{ dbt_expectations._get_metric_expression(\"agg_metric_value\", take_logs) }}\n -\n {{ dbt_expectations._get_metric_expression(\"prior_agg_metric_value\", take_logs) }}\n as metric_test_value\n from\n grouped_metric_values_with_priors d\n\n {%- else %}\n\n select\n *,\n {{ dbt_expectations._get_metric_expression(\"agg_metric_value\", take_logs) }}\n as metric_test_value\n from\n grouped_metric_values\n\n {%- endif %}\n\n),\nmetric_moving_calcs as (\n\n select\n *,\n avg(metric_test_value)\n over({{ partition_by }}\n order by metric_period rows\n between {{ trend_periods }} preceding and 1 preceding) as metric_test_rolling_average,\n stddev(metric_test_value)\n over({{ partition_by }}\n order by metric_period rows\n between {{ trend_periods }} preceding and 1 preceding) as metric_test_rolling_stddev\n from\n metric_values\n\n),\nmetric_sigma as (\n\n select\n *,\n (metric_test_value - metric_test_rolling_average) as metric_test_delta,\n (metric_test_value - metric_test_rolling_average)/\n nullif(metric_test_rolling_stddev, 0) as metric_test_sigma\n from\n metric_moving_calcs\n\n)\nselect\n *\nfrom\n metric_sigma\nwhere\n\n metric_period >= cast(\n {{ dbt.dateadd(period, -test_periods, dbt.date_trunc(period, dbt_date.now())) }}\n as {{ dbt_expectations.type_timestamp() }})\n and\n metric_period < {{ dbt.date_trunc(period, dbt_date.now()) }}\n and\n\n not (\n metric_test_sigma >= {{ sigma_threshold_lower }} and\n metric_test_sigma <= {{ sigma_threshold_upper }}\n )\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt_expectations.group_by", "macro.dbt_expectations._get_metric_expression", "macro.dbt.dateadd", "macro.dbt_date.now", "macro.dbt_expectations.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.683883, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_within_n_stdevs": {"name": "test_expect_column_values_to_be_within_n_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_within_n_stdevs", "macro_sql": "{% test expect_column_values_to_be_within_n_stdevs(model,\n column_name,\n group_by=None,\n sigma_threshold=3\n ) -%}\n {{\n adapter.dispatch('test_expect_column_values_to_be_within_n_stdevs', 'dbt_expectations') (\n model, column_name, group_by, sigma_threshold\n )\n }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_stdevs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.685292, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_stdevs": {"name": "default__test_expect_column_values_to_be_within_n_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_stdevs", "macro_sql": "{% macro default__test_expect_column_values_to_be_within_n_stdevs(model,\n column_name,\n group_by,\n sigma_threshold\n ) %}\n\nwith metric_values as (\n\n select\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n sum({{ column_name }}) as {{ column_name }}\n from\n {{ model }}\n {% if group_by -%}\n {{ dbt_expectations.group_by(group_by | length) }}\n {%- endif %}\n\n),\nmetric_values_with_statistics as (\n\n select\n *,\n avg({{ column_name }}) over() as {{ column_name }}_average,\n stddev({{ column_name }}) over() as {{ column_name }}_stddev\n from\n metric_values\n\n),\nmetric_values_z_scores as (\n\n select\n *,\n ({{ column_name }} - {{ column_name }}_average)/\n nullif({{ column_name }}_stddev, 0) as {{ column_name }}_sigma\n from\n metric_values_with_statistics\n\n)\nselect\n *\nfrom\n metric_values_z_scores\nwhere\n abs({{ column_name }}_sigma) > {{ sigma_threshold }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.686462, "supported_languages": null}, "macro.dbt_expectations.test_expect_select_column_values_to_be_unique_within_record": {"name": "test_expect_select_column_values_to_be_unique_within_record", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "original_file_path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "unique_id": "macro.dbt_expectations.test_expect_select_column_values_to_be_unique_within_record", "macro_sql": "{% test expect_select_column_values_to_be_unique_within_record(model,\n column_list,\n quote_columns=False,\n ignore_row_if=\"all_values_are_missing\",\n row_condition=None\n ) -%}\n {{ adapter.dispatch('test_expect_select_column_values_to_be_unique_within_record', 'dbt_expectations') (model, column_list, quote_columns, ignore_row_if, row_condition) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_select_column_values_to_be_unique_within_record"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.688736, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_select_column_values_to_be_unique_within_record": {"name": "default__test_expect_select_column_values_to_be_unique_within_record", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "original_file_path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "unique_id": "macro.dbt_expectations.default__test_expect_select_column_values_to_be_unique_within_record", "macro_sql": "{% macro default__test_expect_select_column_values_to_be_unique_within_record(model,\n column_list,\n quote_columns,\n ignore_row_if,\n row_condition\n ) %}\n\n{% if not quote_columns %}\n {%- set columns=column_list %}\n{% elif quote_columns %}\n {%- set columns=[] %}\n {% for column in column_list -%}\n {% set columns = columns.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for unique_combination_of_columns test must be one of [True, False] Got: '\" ~ quote_columns ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set row_condition_ext -%}\n\n {%- if row_condition %}\n {{ row_condition }} and\n {% endif -%}\n\n {{ dbt_expectations.ignore_row_if_expression(ignore_row_if, columns) }}\n\n{%- endset -%}\n\nwith column_values as (\n\n select\n row_number() over(order by 1) as row_index,\n {% for column in columns -%}\n {{ column }}{% if not loop.last %},{% endif %}\n {%- endfor %}\n from {{ model }}\n where\n 1=1\n {%- if row_condition_ext %}\n and {{ row_condition_ext }}\n {% endif %}\n\n),\nunpivot_columns as (\n\n {% for column in columns %}\n select row_index, '{{ column }}' as column_name, {{ column }} as column_value from column_values\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n),\nvalidation_errors as (\n\n select\n row_index,\n count(distinct column_value) as column_values\n from unpivot_columns\n group by 1\n having count(distinct column_value) < {{ columns | length }}\n\n)\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.ignore_row_if_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.691038, "supported_languages": null}, "macro.dbt_expectations.test_expect_compound_columns_to_be_unique": {"name": "test_expect_compound_columns_to_be_unique", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_compound_columns_to_be_unique.sql", "original_file_path": "macros/schema_tests/multi-column/expect_compound_columns_to_be_unique.sql", "unique_id": "macro.dbt_expectations.test_expect_compound_columns_to_be_unique", "macro_sql": "{% test expect_compound_columns_to_be_unique(model,\n column_list,\n quote_columns=False,\n ignore_row_if=\"all_values_are_missing\",\n row_condition=None\n ) %}\n{% if not column_list %}\n {{ exceptions.raise_compiler_error(\n \"`column_list` must be specified as a list of columns. Got: '\" ~ column_list ~\"'.'\"\n ) }}\n{% endif %}\n\n{% if not quote_columns %}\n {%- set columns=column_list %}\n{% elif quote_columns %}\n {%- set columns=[] %}\n {% for column in column_list -%}\n {% set columns = columns.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for expect_compound_columns_to_be_unique test must be one of [True, False] Got: '\" ~ quote_columns ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set row_condition_ext -%}\n\n {%- if row_condition %}\n {{ row_condition }} and\n {% endif -%}\n\n {{ dbt_expectations.ignore_row_if_expression(ignore_row_if, columns) }}\n\n{%- endset -%}\n\nwith validation_errors as (\n\n select\n {% for column in columns -%}\n {{ column }}{% if not loop.last %},{% endif %}\n {%- endfor %}\n from {{ model }}\n where\n 1=1\n {%- if row_condition_ext %}\n and {{ row_condition_ext }}\n {% endif %}\n group by\n {% for column in columns -%}\n {{ column }}{% if not loop.last %},{% endif %}\n {%- endfor %}\n having count(*) > 1\n\n)\nselect * from validation_errors\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.ignore_row_if_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.694659, "supported_languages": null}, "macro.dbt_expectations.test_expect_multicolumn_sum_to_equal": {"name": "test_expect_multicolumn_sum_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_multicolumn_sum_to_equal.sql", "original_file_path": "macros/schema_tests/multi-column/expect_multicolumn_sum_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_multicolumn_sum_to_equal", "macro_sql": "{% test expect_multicolumn_sum_to_equal(model,\n column_list,\n sum_total,\n group_by=None,\n row_condition=None\n ) %}\n\n{% set expression %}\n{% for column in column_list %}\nsum({{ column }}){% if not loop.last %} + {% endif %}\n{% endfor %} = {{ sum_total }}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.696291, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_pair_values_to_be_equal": {"name": "test_expect_column_pair_values_to_be_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_equal.sql", "original_file_path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_column_pair_values_to_be_equal", "macro_sql": "{% test expect_column_pair_values_to_be_equal(model,\n column_A,\n column_B,\n row_condition=None\n ) %}\n\n{% set operator = \"=\" %}\n{% set expression = column_A ~ \" \" ~ operator ~ \" \" ~ column_B %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.697401, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_pair_values_A_to_be_greater_than_B": {"name": "test_expect_column_pair_values_A_to_be_greater_than_B", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_column_pair_values_A_to_be_greater_than_B.sql", "original_file_path": "macros/schema_tests/multi-column/expect_column_pair_values_A_to_be_greater_than_B.sql", "unique_id": "macro.dbt_expectations.test_expect_column_pair_values_A_to_be_greater_than_B", "macro_sql": "{% test expect_column_pair_values_A_to_be_greater_than_B(model,\n column_A,\n column_B,\n or_equal=False,\n row_condition=None\n ) %}\n\n{% set operator = \">=\" if or_equal else \">\" %}\n{% set expression = column_A ~ \" \" ~ operator ~ \" \" ~ column_B %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.698646, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_pair_values_to_be_in_set": {"name": "test_expect_column_pair_values_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_in_set.sql", "original_file_path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_pair_values_to_be_in_set", "macro_sql": "{% test expect_column_pair_values_to_be_in_set(model,\n column_A,\n column_B,\n value_pairs_set,\n row_condition=None\n ) %}\n\n{% set expression %}\n{% for pair in value_pairs_set %}\n{%- if (pair | length) == 2 %}\n({{ column_A }} = {{ pair[0] }} and {{ column_B }} = {{ pair[1] }}){% if not loop.last %} or {% endif %}\n{% else %}\n{{ exceptions.raise_compiler_error(\n \"`value_pairs_set` argument for expect_column_pair_values_to_be_in_set test cannot have more than 2 item per element.\n Got: '\" ~ pair ~ \"'.'\"\n ) }}\n{% endif %}\n{% endfor %}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679425967.701073, "supported_languages": null}}, "docs": {"doc.dbt.__overview__": {"name": "__overview__", "resource_type": "doc", "package_name": "dbt", "path": "overview.md", "original_file_path": "docs/overview.md", "unique_id": "doc.dbt.__overview__", "block_contents": "### Welcome!\n\nWelcome to the auto-generated documentation for your dbt project!\n\n### Navigation\n\nYou can use the `Project` and `Database` navigation tabs on the left side of the window to explore the models\nin your project.\n\n#### Project Tab\nThe `Project` tab mirrors the directory structure of your dbt project. In this tab, you can see all of the\nmodels defined in your dbt project, as well as models imported from dbt packages.\n\n#### Database Tab\nThe `Database` tab also exposes your models, but in a format that looks more like a database explorer. This view\nshows relations (tables and views) grouped into database schemas. Note that ephemeral models are _not_ shown\nin this interface, as they do not exist in the database.\n\n### Graph Exploration\nYou can click the blue icon on the bottom-right corner of the page to view the lineage graph of your models.\n\nOn model pages, you'll see the immediate parents and children of the model you're exploring. By clicking the `Expand`\nbutton at the top-right of this lineage pane, you'll be able to see all of the models that are used to build,\nor are built from, the model you're exploring.\n\nOnce expanded, you'll be able to use the `--select` and `--exclude` model selection syntax to filter the\nmodels in the graph. For more information on model selection, check out the [dbt docs](https://docs.getdbt.com/docs/model-selection-syntax).\n\nNote that you can also right-click on models to interactively filter and explore the graph.\n\n---\n\n### More information\n\n- [What is dbt](https://docs.getdbt.com/docs/introduction)?\n- Read the [dbt viewpoint](https://docs.getdbt.com/docs/viewpoint)\n- [Installation](https://docs.getdbt.com/docs/installation)\n- Join the [dbt Community](https://www.getdbt.com/community/) for questions and discussion"}, "doc.microsoft_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.account_id", "block_contents": "The ID of the account."}, "doc.microsoft_ads_source.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.account_name", "block_contents": "The name of the account."}, "doc.microsoft_ads_source.account_timezone": {"name": "account_timezone", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.account_timezone", "block_contents": "The time zone associated with this account."}, "doc.microsoft_ads_source.ad_distribution": {"name": "ad_distribution", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_distribution", "block_contents": "The distribution medium associated with this record."}, "doc.microsoft_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_id", "block_contents": "The ID of the corresponding ad."}, "doc.microsoft_ads_source.ad_group_status": {"name": "ad_group_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_group_status", "block_contents": "The status of this ad group; see the following [documentation](https://help.ads.microsoft.com/apex/index/3/en/53094) for more information on values and definitions."}, "doc.microsoft_ads_source.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_name", "block_contents": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source."}, "doc.microsoft_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_group_id", "block_contents": "The ID of the corresponding ad group."}, "doc.microsoft_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_group_name", "block_contents": "The name of the corresponding ad group."}, "doc.microsoft_ads_source.ad_status": {"name": "ad_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_status", "block_contents": "The status of this ad; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adstatus?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.ad_type": {"name": "ad_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_type", "block_contents": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.bid_match_type": {"name": "bid_match_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.bid_match_type", "block_contents": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'."}, "doc.microsoft_ads_source.budget_association_status": {"name": "budget_association_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.budget_association_status", "block_contents": "The status of the campaign's budget."}, "doc.microsoft_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_id", "block_contents": "The ID of the campaign."}, "doc.microsoft_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_name", "block_contents": "The name of the campaign."}, "doc.microsoft_ads_source.campaign_status": {"name": "campaign_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_status", "block_contents": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.campaign_timezone": {"name": "campaign_timezone", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_timezone", "block_contents": "The time zone associated with this campaign."}, "doc.microsoft_ads_source.campaign_type": {"name": "campaign_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_type", "block_contents": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.clicks", "block_contents": "The number of clicks that occurred by the grain of the report."}, "doc.microsoft_ads_source.currency_code": {"name": "currency_code", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.currency_code", "block_contents": "The currency code associated with spend and, if applicable, other metrics associated with currency."}, "doc.microsoft_ads_source.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.date_day", "block_contents": "The date of the performance report."}, "doc.microsoft_ads_source.delivered_match_type": {"name": "delivered_match_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.delivered_match_type", "block_contents": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'."}, "doc.microsoft_ads_source.device_os": {"name": "device_os", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.device_os", "block_contents": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'."}, "doc.microsoft_ads_source.device_type": {"name": "device_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.device_type", "block_contents": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'."}, "doc.microsoft_ads_source.end_date": {"name": "end_date", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.end_date", "block_contents": "The date in which this ad group will no longer run."}, "doc.microsoft_ads_source.final_url": {"name": "final_url", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.final_url", "block_contents": "The full URL that the ad links to."}, "doc.microsoft_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.impressions", "block_contents": "The number of impressions that occurred by the grain of the report."}, "doc.microsoft_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether a record is the most recent version of that record."}, "doc.microsoft_ads_source.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.keyword_id", "block_contents": "The ID of the keyword."}, "doc.microsoft_ads_source.keyword_name": {"name": "keyword_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.keyword_name", "block_contents": "The keyword(s) associated with this record."}, "doc.microsoft_ads_source.keyword_status": {"name": "keyword_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.keyword_status", "block_contents": "The status of this keyword; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/keywordstatus?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.language": {"name": "language", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.language", "block_contents": "The language that the associated ad was viewed in."}, "doc.microsoft_ads_source.match_type": {"name": "match_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.match_type", "block_contents": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1)."}, "doc.microsoft_ads_source.modified_at": {"name": "modified_at", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.modified_at", "block_contents": "The time each version of the object was last modified, i.e. when that version of the object was 'created'."}, "doc.microsoft_ads_source.network": {"name": "network", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.network", "block_contents": "The network associated with this record."}, "doc.microsoft_ads_source.search_query": {"name": "search_query", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.search_query", "block_contents": "The search query string associated with this record."}, "doc.microsoft_ads_source.spend": {"name": "spend", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.spend", "block_contents": "The amount of spend that occurred by the grain of the report."}, "doc.microsoft_ads_source.start_date": {"name": "start_date", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.start_date", "block_contents": "The date in which an ad group starts running."}, "doc.microsoft_ads_source.time_zone": {"name": "time_zone", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.time_zone", "block_contents": "The time zone associated with this record."}, "doc.microsoft_ads_source.top_vs_other": {"name": "top_vs_other", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.top_vs_other", "block_contents": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009)."}, "doc.reddit_ads._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads._fivetran_synced", "block_contents": "Timestamp of when Fivetran synced a record."}, "doc.reddit_ads.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.account_id", "block_contents": "The ID of the account."}, "doc.reddit_ads.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_id", "block_contents": "The ID of the ad."}, "doc.reddit_ads.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_group_id", "block_contents": "The ID of the ad group."}, "doc.reddit_ads.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.campaign_id", "block_contents": "The ID of the campaign."}, "doc.reddit_ads.post_id": {"name": "post_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.post_id", "block_contents": "The ID of the post."}, "doc.reddit_ads.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_name", "block_contents": "Name of ad."}, "doc.reddit_ads.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_group_name", "block_contents": "Name of ad group."}, "doc.reddit_ads.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.campaign_name", "block_contents": "Name of campaign."}, "doc.reddit_ads.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.created_at", "block_contents": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp."}, "doc.reddit_ads.currency": {"name": "currency", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.currency", "block_contents": "The currency this account uses (ISO-4217)"}, "doc.reddit_ads.status": {"name": "status", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.status", "block_contents": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\""}, "doc.reddit_ads.time_zone_id": {"name": "time_zone_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.time_zone_id", "block_contents": "The time zone id preference for this account"}, "doc.reddit_ads.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.clicks", "block_contents": "The number of clicks detected for this report period"}, "doc.reddit_ads.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.date_day", "block_contents": "YYYY-MM-DD formatted date"}, "doc.reddit_ads.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.impressions", "block_contents": "The number of impressions served for this report period"}, "doc.reddit_ads.spend": {"name": "spend", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.spend", "block_contents": "The amount (in microcurrency) spent for this report period in Ad Account's currency"}, "doc.reddit_ads.click_url": {"name": "click_url", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.click_url", "block_contents": "The destination url, or the website address, that a visitor goes to when they click on the ad"}, "doc.reddit_ads.post_url": {"name": "post_url", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.post_url", "block_contents": "The URL belonging to the post."}, "doc.reddit_ads.attribution_type": {"name": "attribution_type", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.attribution_type", "block_contents": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both."}, "doc.reddit_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source._fivetran_synced", "block_contents": "Timestamp of when Fivetran synced a record."}, "doc.reddit_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.account_id", "block_contents": "The ID of the account."}, "doc.reddit_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_id", "block_contents": "The ID of the ad."}, "doc.reddit_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_group_id", "block_contents": "The ID of the ad group."}, "doc.reddit_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.campaign_id", "block_contents": "The ID of the campaign."}, "doc.reddit_ads_source.post_id": {"name": "post_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.post_id", "block_contents": "The ID of the post."}, "doc.reddit_ads_source.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_name", "block_contents": "Name of ad."}, "doc.reddit_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_group_name", "block_contents": "Name of ad group."}, "doc.reddit_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.campaign_name", "block_contents": "Name of campaign."}, "doc.reddit_ads_source.attribution_type": {"name": "attribution_type", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.attribution_type", "block_contents": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both."}, "doc.reddit_ads_source.click_attribution_window": {"name": "click_attribution_window", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.click_attribution_window", "block_contents": "Determines how long after clicking on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\""}, "doc.reddit_ads_source.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.created_at", "block_contents": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp."}, "doc.reddit_ads_source.currency": {"name": "currency", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.currency", "block_contents": "The currency this account uses (ISO-4217)"}, "doc.reddit_ads_source.status": {"name": "status", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.status", "block_contents": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\""}, "doc.reddit_ads_source.time_zone_id": {"name": "time_zone_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.time_zone_id", "block_contents": "The time zone id preference for this account"}, "doc.reddit_ads_source.view_attribution_window": {"name": "view_attribution_window", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.view_attribution_window", "block_contents": "Determines how long after viewing on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\""}, "doc.reddit_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.clicks", "block_contents": "The number of clicks detected for this report period"}, "doc.reddit_ads_source.comment_downvotes": {"name": "comment_downvotes", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.comment_downvotes", "block_contents": "The number comment downvotes for this report period"}, "doc.reddit_ads_source.comment_upvotes": {"name": "comment_upvotes", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.comment_upvotes", "block_contents": "The number comment upvotes for this report period"}, "doc.reddit_ads_source.comments_page_views": {"name": "comments_page_views", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.comments_page_views", "block_contents": "The number of times the comments page was viewed for this report period"}, "doc.reddit_ads_source.conversion_roas": {"name": "conversion_roas", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.conversion_roas", "block_contents": "Return on ad spend for purchases for this period"}, "doc.reddit_ads_source.cpc": {"name": "cpc", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.cpc", "block_contents": "The cost-per-click for this period"}, "doc.reddit_ads_source.ctr": {"name": "ctr", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ctr", "block_contents": "The click-through-rate for this period"}, "doc.reddit_ads_source.date": {"name": "date", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.date", "block_contents": "YYYY-MM-DD formatted date"}, "doc.reddit_ads_source.ecpm": {"name": "ecpm", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ecpm", "block_contents": "The effective CPM for this period"}, "doc.reddit_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.impressions", "block_contents": "The number of impressions served for this report period"}, "doc.reddit_ads_source.region": {"name": "region", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.region", "block_contents": "The region (US state or UK country) targeted for the reports"}, "doc.reddit_ads_source.spend": {"name": "spend", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.spend", "block_contents": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)"}, "doc.reddit_ads_source.video_started": {"name": "video_started", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_started", "block_contents": "The number of times the ad was served and the video began playing"}, "doc.reddit_ads_source.video_watched_25_percent": {"name": "video_watched_25_percent", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_25_percent", "block_contents": "The number of times the ad was served and at least 25% of the video has played"}, "doc.reddit_ads_source.video_watched_3_seconds": {"name": "video_watched_3_seconds", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_3_seconds", "block_contents": "The number of times the ad was served and at least 3 seconds of the video has played"}, "doc.reddit_ads_source.video_watched_50_percent": {"name": "video_watched_50_percent", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_50_percent", "block_contents": "The number of times the ad was served and at least 50% of the video has played"}, "doc.reddit_ads_source.video_watched_5_seconds": {"name": "video_watched_5_seconds", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_5_seconds", "block_contents": "The number of times the ad was served and at least 5 seconds of the video has played"}, "doc.reddit_ads_source.video_watched_75_percent": {"name": "video_watched_75_percent", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_75_percent", "block_contents": "The number of times the ad was served and at least 75% of the video has played"}, "doc.reddit_ads_source.viewer_comments": {"name": "viewer_comments", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.viewer_comments", "block_contents": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)"}, "doc.reddit_ads_source.click_url": {"name": "click_url", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.click_url", "block_contents": "The destination url, or the website address, that a visitor goes to when they click on the ad"}, "doc.reddit_ads_source.configured_status": {"name": "configured_status", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.configured_status", "block_contents": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\""}, "doc.reddit_ads_source.effective_status": {"name": "effective_status", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.effective_status", "block_contents": "The calculated status determining the real status of this entity."}, "doc.reddit_ads_source.is_processing": {"name": "is_processing", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.is_processing", "block_contents": "Whether or not effective status is processing"}, "doc.reddit_ads_source.post_url": {"name": "post_url", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.post_url", "block_contents": "The URL belonging to the post."}, "doc.reddit_ads_source.rejection_reason": {"name": "rejection_reason", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.rejection_reason", "block_contents": "Reason why entity was rejected."}, "doc.reddit_ads_source.bid_strategy": {"name": "bid_strategy", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.bid_strategy", "block_contents": "The bid strategy for this entity. \"MAXIMIZE_VOLUME\", \"MANUAL_BIDDING\", or \"BIDLESS\""}, "doc.reddit_ads_source.bid_value": {"name": "bid_value", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.bid_value", "block_contents": "The amount to pay in microcurrency per bidding event."}, "doc.reddit_ads_source.end_time": {"name": "end_time", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.end_time", "block_contents": "When the entity will stop delivering."}, "doc.reddit_ads_source.expand_targeting": {"name": "expand_targeting", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.expand_targeting", "block_contents": "Boolean that when selected, allows Reddit to expand your targeting to maximize your results."}, "doc.reddit_ads_source.goal_type": {"name": "goal_type", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.goal_type", "block_contents": "The type of goal for the entity. \"IMPRESSIONS\", \"PERCENTAGE\", \"CLICKS\", \"CONVERSIONS\", \"LIFETIME_SPEND\", \"DAILY_SPEND\", or \"VIDEO_VIEWABLE_IMPRESSIONS\""}, "doc.reddit_ads_source.goal_value": {"name": "goal_value", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.goal_value", "block_contents": "The value used to determine the goal has been met. This is measured in microcurrency for monetary goals types."}, "doc.reddit_ads_source.optimization_strategy_type": {"name": "optimization_strategy_type", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.optimization_strategy_type", "block_contents": "The strategy to use when optimizing the delivery of an ad. \"DOWNSTREAM_CONVERSIONS\" or \"APP_INSTALLS\""}, "doc.reddit_ads_source.start_time": {"name": "start_time", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.start_time", "block_contents": "When the entity will begin to deliver."}, "doc.reddit_ads_source.funding_instrument_id": {"name": "funding_instrument_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.funding_instrument_id", "block_contents": "Campaign level funding instrument id"}, "doc.reddit_ads_source.objective": {"name": "objective", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.objective", "block_contents": "The objective type of a campaign."}, "doc.amazon_ads_source._fivetran_deleted": {"name": "_fivetran_deleted", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source._fivetran_deleted", "block_contents": "Boolean created by Fivetran to indicate whether the record has been deleted."}, "doc.amazon_ads_source._fivetran_id": {"name": "_fivetran_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source._fivetran_id", "block_contents": "Unique ID used by Fivetran to sync and dedupe data."}, "doc.amazon_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.amazon_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.account_id", "block_contents": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces."}, "doc.amazon_ads_source.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.account_name", "block_contents": "Account Name. Not currently populated for sellers."}, "doc.amazon_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_group_id", "block_contents": "The ID of the AdGroup."}, "doc.amazon_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_group_name", "block_contents": "The name of the AdGroup."}, "doc.amazon_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_id", "block_contents": "The ID of the Ad."}, "doc.amazon_ads_source.ad_keyword_status": {"name": "ad_keyword_status", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_keyword_status", "block_contents": "Current status of a keyword."}, "doc.amazon_ads_source.advertised_asin": {"name": "advertised_asin", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.advertised_asin", "block_contents": "The ASIN associated to an advertised product."}, "doc.amazon_ads_source.advertised_sku": {"name": "advertised_sku", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.advertised_sku", "block_contents": "The SKU being advertised."}, "doc.amazon_ads_source.bid_keyword": {"name": "bid_keyword", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.bid_keyword", "block_contents": "Bid associated with this keyword."}, "doc.amazon_ads_source.campaign_applicable_budget_rule_id": {"name": "campaign_applicable_budget_rule_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_applicable_budget_rule_id", "block_contents": "The ID associated to the active budget rule for a campaign."}, "doc.amazon_ads_source.campaign_applicable_budget_rule_name": {"name": "campaign_applicable_budget_rule_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_applicable_budget_rule_name", "block_contents": "The name associated to the active budget rule for a campaign."}, "doc.amazon_ads_source.campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_bidding_strategy", "block_contents": "The bidding strategy associated with a campaign."}, "doc.amazon_ads_source.campaign_budget_amount": {"name": "campaign_budget_amount", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_budget_amount", "block_contents": "Total budget allocated to the campaign."}, "doc.amazon_ads_source.campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_budget_currency_code", "block_contents": "The currency code associated with the campaign."}, "doc.amazon_ads_source.campaign_budget_type": {"name": "campaign_budget_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_budget_type", "block_contents": "One of: daily or lifetime."}, "doc.amazon_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_id", "block_contents": "The ID of the Campaign."}, "doc.amazon_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_name", "block_contents": "The name of the Campaign."}, "doc.amazon_ads_source.campaign_rule_based_budget_amount": {"name": "campaign_rule_based_budget_amount", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_rule_based_budget_amount", "block_contents": "The value of the rule-based budget for a campaign."}, "doc.amazon_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.clicks", "block_contents": "Total number of ad clicks."}, "doc.amazon_ads_source.cost": {"name": "cost", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.cost", "block_contents": "Total cost of ad clicks."}, "doc.amazon_ads_source.country_code": {"name": "country_code", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.country_code", "block_contents": "The code for a given country."}, "doc.amazon_ads_source.creation_date": {"name": "creation_date", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.creation_date", "block_contents": "The date of creation of the record."}, "doc.amazon_ads_source.currency_code": {"name": "currency_code", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.currency_code", "block_contents": "The currency used for all monetary values for entities under this profile."}, "doc.amazon_ads_source.default_bid": {"name": "default_bid", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.default_bid", "block_contents": "The date of creation of the record."}, "doc.amazon_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.impressions", "block_contents": "Total number of ad impressions."}, "doc.amazon_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.is_most_recent_record", "block_contents": "Boolean indicating whether record was the most recent instance."}, "doc.amazon_ads_source.keyword_bid": {"name": "keyword_bid", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_bid", "block_contents": "Bid associated with a keyword or targeting expression."}, "doc.amazon_ads_source.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_id", "block_contents": "The ID of the keyword."}, "doc.amazon_ads_source.keyword_match_type": {"name": "keyword_match_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_match_type", "block_contents": "One of (broad, exact, or phrase.)"}, "doc.amazon_ads_source.keyword_type": {"name": "keyword_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads_source.last_updated_date": {"name": "last_updated_date", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.last_updated_date", "block_contents": "Date of last update to record."}, "doc.amazon_ads_source.match_type": {"name": "match_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.match_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads_source.negative_keyword_id": {"name": "negative_keyword_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.negative_keyword_id", "block_contents": "The ID of the negative keyword."}, "doc.amazon_ads_source.portfolio_id": {"name": "portfolio_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.portfolio_id", "block_contents": "The ID of the Portfolio."}, "doc.amazon_ads_source.portfolio_name": {"name": "portfolio_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.portfolio_name", "block_contents": "The name of the Portfolio."}, "doc.amazon_ads_source.profile_id": {"name": "profile_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.profile_id", "block_contents": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace."}, "doc.amazon_ads_source.report_date": {"name": "report_date", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.report_date", "block_contents": "The date of the report."}, "doc.amazon_ads_source.search_term": {"name": "search_term", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.search_term", "block_contents": "The search term used by the customer."}, "doc.amazon_ads_source.serving_status": {"name": "serving_status", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.serving_status", "block_contents": "The current serving status of the record."}, "doc.amazon_ads_source.state": {"name": "state", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.state", "block_contents": "The state of the record (enabled, paused, or archived)."}, "doc.amazon_ads_source.targeting": {"name": "targeting", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.targeting", "block_contents": "A string representation of the expression object used in the targeting clause."}, "doc.amazon_ads._fivetran_deleted": {"name": "_fivetran_deleted", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads._fivetran_deleted", "block_contents": "Boolean created by Fivetran to indicate whether the record has been deleted."}, "doc.amazon_ads._fivetran_id": {"name": "_fivetran_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads._fivetran_id", "block_contents": "Unique ID used by Fivetran to sync and dedupe data."}, "doc.amazon_ads._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.amazon_ads.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.account_id", "block_contents": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces."}, "doc.amazon_ads.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.account_name", "block_contents": "Account Name. Not currently populated for sellers."}, "doc.amazon_ads.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_group_id", "block_contents": "The ID of the AdGroup."}, "doc.amazon_ads.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_group_name", "block_contents": "The name of the AdGroup."}, "doc.amazon_ads.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_id", "block_contents": "The ID of the Ad."}, "doc.amazon_ads.ad_keyword_status": {"name": "ad_keyword_status", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_keyword_status", "block_contents": "Current status of a keyword."}, "doc.amazon_ads.advertised_asin": {"name": "advertised_asin", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.advertised_asin", "block_contents": "The ASIN associated to an advertised product."}, "doc.amazon_ads.advertised_sku": {"name": "advertised_sku", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.advertised_sku", "block_contents": "The SKU being advertised."}, "doc.amazon_ads.bid_keyword": {"name": "bid_keyword", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.bid_keyword", "block_contents": "Bid associated with this keyword."}, "doc.amazon_ads.campaign_applicable_budget_rule_id": {"name": "campaign_applicable_budget_rule_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_applicable_budget_rule_id", "block_contents": "The ID associated to the active budget rule for a campaign."}, "doc.amazon_ads.campaign_applicable_budget_rule_name": {"name": "campaign_applicable_budget_rule_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_applicable_budget_rule_name", "block_contents": "The name associated to the active budget rule for a campaign."}, "doc.amazon_ads.campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_bidding_strategy", "block_contents": "The bidding strategy associated with a campaign."}, "doc.amazon_ads.campaign_budget_amount": {"name": "campaign_budget_amount", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_budget_amount", "block_contents": "Total budget allocated to the campaign."}, "doc.amazon_ads.campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_budget_currency_code", "block_contents": "The currency code associated with the campaign."}, "doc.amazon_ads.campaign_budget_type": {"name": "campaign_budget_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_budget_type", "block_contents": "One of: daily or lifetime."}, "doc.amazon_ads.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_id", "block_contents": "The ID of the Campaign."}, "doc.amazon_ads.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_name", "block_contents": "The name of the Campaign."}, "doc.amazon_ads.campaign_rule_based_budget_amount": {"name": "campaign_rule_based_budget_amount", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_rule_based_budget_amount", "block_contents": "The value of the rule-based budget for a campaign."}, "doc.amazon_ads.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.clicks", "block_contents": "Total number of ad clicks."}, "doc.amazon_ads.cost": {"name": "cost", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.cost", "block_contents": "Total cost of ad clicks."}, "doc.amazon_ads.country_code": {"name": "country_code", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.country_code", "block_contents": "The code for a given country."}, "doc.amazon_ads.creation_date": {"name": "creation_date", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.creation_date", "block_contents": "The date of creation of the record."}, "doc.amazon_ads.currency_code": {"name": "currency_code", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.currency_code", "block_contents": "The currency used for all monetary values for entities under this profile."}, "doc.amazon_ads.default_bid": {"name": "default_bid", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.default_bid", "block_contents": "The date of creation of the record."}, "doc.amazon_ads.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.impressions", "block_contents": "Total number of ad impressions."}, "doc.amazon_ads.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.is_most_recent_record", "block_contents": "Boolean indicating whether record was the most recent instance."}, "doc.amazon_ads.keyword_bid": {"name": "keyword_bid", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_bid", "block_contents": "Bid associated with a keyword or targeting expression."}, "doc.amazon_ads.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_id", "block_contents": "The ID of the keyword."}, "doc.amazon_ads.keyword_match_type": {"name": "keyword_match_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_match_type", "block_contents": "One of (broad, exact, or phrase.)"}, "doc.amazon_ads.keyword_text": {"name": "keyword_text", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_text", "block_contents": "The exact text for the keyword."}, "doc.amazon_ads.keyword_type": {"name": "keyword_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads.last_updated_date": {"name": "last_updated_date", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.last_updated_date", "block_contents": "Date of last update to record."}, "doc.amazon_ads.match_type": {"name": "match_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.match_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads.negative_keyword_id": {"name": "negative_keyword_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.negative_keyword_id", "block_contents": "The ID of the negative keyword."}, "doc.amazon_ads.portfolio_id": {"name": "portfolio_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.portfolio_id", "block_contents": "The ID of the Portfolio."}, "doc.amazon_ads.portfolio_name": {"name": "portfolio_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.portfolio_name", "block_contents": "The name of the Portfolio."}, "doc.amazon_ads.profile_id": {"name": "profile_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.profile_id", "block_contents": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace."}, "doc.amazon_ads.report_date": {"name": "report_date", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.report_date", "block_contents": "The date of the report."}, "doc.amazon_ads.search_term": {"name": "search_term", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.search_term", "block_contents": "The search term used by the customer."}, "doc.amazon_ads.serving_status": {"name": "serving_status", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.serving_status", "block_contents": "The current serving status of the record."}, "doc.amazon_ads.state": {"name": "state", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.state", "block_contents": "The state of the record (enabled, paused, or archived)."}, "doc.amazon_ads.targeting": {"name": "targeting", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.targeting", "block_contents": "A string representation of the expression object used in the targeting clause."}, "doc.google_ads_source._fivetran_id": {"name": "_fivetran_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source._fivetran_id", "block_contents": "Unique ID used by Fivetran to sync and dedupe data."}, "doc.google_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.google_ads_source.account_descriptive_name": {"name": "account_descriptive_name", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.account_descriptive_name", "block_contents": "The descriptive name of the Customer account."}, "doc.google_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_id", "block_contents": "The ID of the AdGroup."}, "doc.google_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_name", "block_contents": "The name of the AdGroup."}, "doc.google_ads_source.ad_group_status": {"name": "ad_group_status", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_status", "block_contents": "Status of the ad group."}, "doc.google_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.campaign_id", "block_contents": "The ID of the Campaign."}, "doc.google_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_id", "block_contents": "The ID of the Ad."}, "doc.google_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.account_id", "block_contents": "The ID of the Account."}, "doc.google_ads_source.ad_status": {"name": "ad_status", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_status", "block_contents": "Status of the Ad."}, "doc.google_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.campaign_name", "block_contents": "The name of the Campaign."}, "doc.google_ads_source.campaign_status": {"name": "campaign_status", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.campaign_status", "block_contents": "Status of the Campaign."}, "doc.google_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.clicks", "block_contents": "The number of clicks."}, "doc.google_ads_source.cost": {"name": "cost", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.cost", "block_contents": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period."}, "doc.google_ads_source.date": {"name": "date", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.date", "block_contents": "The date being reported on."}, "doc.google_ads_source.effective_final_url": {"name": "effective_final_url", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.effective_final_url", "block_contents": "Effective final URL of the impressions."}, "doc.google_ads_source.external_customer_id": {"name": "external_customer_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.external_customer_id", "block_contents": "The Customer ID."}, "doc.google_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.impressions", "block_contents": "Count of how often your ad has appeared on a search results page or website on the Google Network."}, "doc.google_ads_source.criteria_id": {"name": "criteria_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria_id", "block_contents": "The Criterion ID."}, "doc.google_ads_source.gcl_id": {"name": "gcl_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.gcl_id", "block_contents": "The Google Click ID."}, "doc.google_ads_source.criteria": {"name": "criteria", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria", "block_contents": "Descriptive string for the Criterion."}, "doc.google_ads_source.criteria_destination_url": {"name": "criteria_destination_url", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria_destination_url", "block_contents": "Destination URL of the criterion that triggered ads."}, "doc.google_ads_source.criteria_type": {"name": "criteria_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria_type", "block_contents": "The type of the Criterion."}, "doc.google_ads_source.base_url": {"name": "base_url", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.base_url", "block_contents": "The base URL of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.url_host": {"name": "url_host", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.url_host", "block_contents": "The URL host of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.url_path": {"name": "url_path", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.url_path", "block_contents": "The URL path of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_source": {"name": "utm_source", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_source", "block_contents": "The utm_source parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_medium": {"name": "utm_medium", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_medium", "block_contents": "The utm_medium parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_campaign": {"name": "utm_campaign", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_campaign", "block_contents": "The utm_campaign parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_content": {"name": "utm_content", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_content", "block_contents": "The utm_content parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_term": {"name": "utm_term", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_term", "block_contents": "The utm_term parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.updated_at": {"name": "updated_at", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.updated_at", "block_contents": "Timestamp of when the record was last updated in Google Ads."}, "doc.google_ads_source.ad_type": {"name": "ad_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_type", "block_contents": "The type of the ad in Google Ads."}, "doc.google_ads_source.ad_group_type": {"name": "ad_group_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_type", "block_contents": "The type of the ad group in Google Ads."}, "doc.google_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether the record is the most recent version of the object."}, "doc.google_ads_source.ad_network_type": {"name": "ad_network_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_network_type", "block_contents": "The Google Ad network type used across the account."}, "doc.google_ads_source.device": {"name": "device", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.device", "block_contents": "Account ad performance per unique device where the ads were served."}, "doc.ad_reporting.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.account_id", "block_contents": "The ID representing the account."}, "doc.ad_reporting.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.account_name", "block_contents": "The name of the account, if present in the source data."}, "doc.ad_reporting.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_group_id", "block_contents": "The ID representing the ad group, if present in the source data."}, "doc.ad_reporting.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_group_name", "block_contents": "The name of the ad group, if present in the source data."}, "doc.ad_reporting.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_id", "block_contents": "The ID representing the ad, if present in the source data."}, "doc.ad_reporting.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_name", "block_contents": "The name of the ad, if present in the source data."}, "doc.ad_reporting.base_url": {"name": "base_url", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.base_url", "block_contents": "The base url of the ad."}, "doc.ad_reporting.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.campaign_id", "block_contents": "The ID representing the campaign, if present in the source data."}, "doc.ad_reporting.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.campaign_name", "block_contents": "The name of the campaign, if present in the source data."}, "doc.ad_reporting.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.clicks", "block_contents": "The count of clicks."}, "doc.ad_reporting.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.date_day", "block_contents": "The date of the report."}, "doc.ad_reporting.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.impressions", "block_contents": "The count of impressions."}, "doc.ad_reporting.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.keyword_id", "block_contents": "The ID representing the keyword, if present in the source data."}, "doc.ad_reporting.keyword_match_type": {"name": "keyword_match_type", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.keyword_match_type", "block_contents": "The keyword match type associated with this record."}, "doc.ad_reporting.keyword_text": {"name": "keyword_text", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.keyword_text", "block_contents": "The keyword text."}, "doc.ad_reporting.platform": {"name": "platform", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.platform", "block_contents": "The ad platform associated with this record."}, "doc.ad_reporting.search_match_type": {"name": "search_match_type", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.search_match_type", "block_contents": "The search match type associated with this record."}, "doc.ad_reporting.search_query": {"name": "search_query", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.search_query", "block_contents": "The search query text."}, "doc.ad_reporting.spend": {"name": "spend", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.spend", "block_contents": "The cost of the ads."}, "doc.ad_reporting.url_host": {"name": "url_host", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.url_host", "block_contents": "The URL host of the ad."}, "doc.ad_reporting.url_path": {"name": "url_path", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.url_path", "block_contents": "The URL path of the ad."}, "doc.ad_reporting.utm_campaign": {"name": "utm_campaign", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_campaign", "block_contents": "The utm_campaign parameter of the ad."}, "doc.ad_reporting.utm_content": {"name": "utm_content", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_content", "block_contents": "The utm_content parameter of the ad."}, "doc.ad_reporting.utm_medium": {"name": "utm_medium", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_medium", "block_contents": "The utm_medium parameter of the ad."}, "doc.ad_reporting.utm_source": {"name": "utm_source", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_source", "block_contents": "The utm_source parameter of the ad."}, "doc.ad_reporting.utm_term": {"name": "utm_term", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_term", "block_contents": "The utm_term parameter of the ad."}, "doc.pinterest_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.pinterest_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.is_most_recent_record", "block_contents": "Boolean representing whether the record is the most recent version of the object."}, "doc.pinterest_source.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.date_day", "block_contents": "The performance date of the record."}, "doc.pinterest_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.ad_group_id", "block_contents": "The ID of the related Ad group."}, "doc.pinterest_source.pin_promotion_id": {"name": "pin_promotion_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.pin_promotion_id", "block_contents": "The ID of the related Pin promotion."}, "doc.pinterest_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.campaign_id", "block_contents": "The ID of the related Campaign."}, "doc.pinterest_source.advertiser_id": {"name": "advertiser_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.advertiser_id", "block_contents": "The ID of the related Advertiser."}, "doc.pinterest_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.impressions", "block_contents": "The number of paid and earned impressions that occurred on the day of the record."}, "doc.pinterest_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.clicks", "block_contents": "The number of paid and earned clicks that occurred on the day of the record."}, "doc.pinterest_source.spend": {"name": "spend", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.spend", "block_contents": "The amount of spend that occurred on the day of the record."}, "doc.pinterest_source.updated_at": {"name": "updated_at", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.updated_at", "block_contents": "Timestamp of when a record was last updated."}, "doc.pinterest_source.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.created_at", "block_contents": "Timestamp of when a record was created."}, "doc.pinterest_source.spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.spend_in_micro_dollar", "block_contents": "The amount of spend in micro dollars that occurred on the day of the record."}, "doc.pinterest_source.clickthrough_1": {"name": "clickthrough_1", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.clickthrough_1", "block_contents": "The number of paid pin clicks that occurred on the day of the record."}, "doc.pinterest_source.clickthrough_2": {"name": "clickthrough_2", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.clickthrough_2", "block_contents": "The number of earned outbound clicks that occurred on the day of the record."}, "doc.pinterest_source.impression_1": {"name": "impression_1", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.impression_1", "block_contents": "The number of paid pin impressions that occurred on the day of the record."}, "doc.pinterest_source.impression_2": {"name": "impression_2", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.impression_2", "block_contents": "The number of earned pin impressions that occurred on the day of the record."}, "doc.facebook_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "facebook_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.facebook_ads_source._fivetran_synced", "block_contents": "When the record was last synced by Fivetran."}, "doc.facebook_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "facebook_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.facebook_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it."}, "doc.facebook_ads_source.updated_time": {"name": "updated_time", "resource_type": "doc", "package_name": "facebook_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.facebook_ads_source.updated_time", "block_contents": "The timestamp of the last update of a record."}, "doc.snapchat_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "snapchat_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.snapchat_ads_source._fivetran_synced", "block_contents": "When the record was last synced by Fivetran."}, "doc.snapchat_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "snapchat_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.snapchat_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether a record is the most recent version of that record."}, "doc.twitter_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source._fivetran_synced", "block_contents": "When the record was last synced by Fivetran."}, "doc.twitter_ads_source.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source.created_at", "block_contents": "The timestamp the account was created."}, "doc.twitter_ads_source.updated_at": {"name": "updated_at", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source.updated_at", "block_contents": "The timestamp the account was last updated."}, "doc.twitter_ads_source.deleted": {"name": "deleted", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source.deleted", "block_contents": "Whether the record has been deleted or not."}}, "exposures": {}, "metrics": {"metric.ad_reporting.spend": {"name": "spend", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.spend", "fqn": ["ad_reporting", "spend"], "description": "Total spend (in currency of individual platforms)", "label": "Ad spend (Fivetran)", "calculation_method": "sum", "expression": "spend", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679425975.2427661}, "metric.ad_reporting.clicks": {"name": "clicks", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.clicks", "fqn": ["ad_reporting", "clicks"], "description": "Total clicks", "label": "Ad clicks (Fivetran)", "calculation_method": "sum", "expression": "clicks", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679425975.248852}, "metric.ad_reporting.impressions": {"name": "impressions", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.impressions", "fqn": ["ad_reporting", "impressions"], "description": "Total impressions", "label": "Ad impressions (Fivetran)", "calculation_method": "sum", "expression": "impressions", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679425975.254753}, "metric.ad_reporting.cost_per_click": {"name": "cost_per_click", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.cost_per_click", "fqn": ["ad_reporting", "cost_per_click"], "description": "The ratio of spend to clicks", "label": "Average ad cost per click (Fivetran)", "calculation_method": "derived", "expression": "spend / clicks", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": null, "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["metric.ad_reporting.spend", "metric.ad_reporting.clicks"]}, "refs": [], "metrics": [["spend"], ["clicks"]], "created_at": 1679425975.260492}, "metric.ad_reporting.bounce_rate": {"name": "bounce_rate", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.bounce_rate", "fqn": ["ad_reporting", "bounce_rate"], "description": "Percentage of impressions that did not convert into clicks.", "label": "Average Ad Bounce Rate (Fivetran)", "calculation_method": "derived", "expression": "(impressions - clicks) / impressions", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": null, "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["metric.ad_reporting.impressions", "metric.ad_reporting.clicks", "metric.ad_reporting.impressions"]}, "refs": [], "metrics": [["impressions"], ["clicks"], ["impressions"]], "created_at": 1679425975.267049}, "metric.ad_reporting.clickthrough_rate": {"name": "clickthrough_rate", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.clickthrough_rate", "fqn": ["ad_reporting", "clickthrough_rate"], "description": "Percentage of impressions that did convert into clicks.", "label": "Ad Clickthrough Rate (Fivetran)", "calculation_method": "derived", "expression": "clicks / impressions", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": null, "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["metric.ad_reporting.clicks", "metric.ad_reporting.impressions"]}, "refs": [], "metrics": [["clicks"], ["impressions"]], "created_at": 1679425975.2731671}, "metric.ad_reporting.active_ads": {"name": "active_ads", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.active_ads", "fqn": ["ad_reporting", "active_ads"], "description": "Count of ads witth spend > 0.", "label": "Count of Active Ads (Fivetran)", "calculation_method": "count_distinct", "expression": "ad_id", "filters": [{"field": "spend", "operator": ">", "value": "0"}], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679425975.279604}, "metric.ad_reporting.avg_spend_nonzero": {"name": "avg_spend_nonzero", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.avg_spend_nonzero", "fqn": ["ad_reporting", "avg_spend_nonzero"], "description": "Average ad spend, ignores zero-spend days.", "label": "Average Spend, Ignore Zeros (Fivetran)", "calculation_method": "average", "expression": "spend", "filters": [{"field": "spend", "operator": ">", "value": "0"}], "time_grains": ["week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679425975.285683}, "metric.ad_reporting.avg_spend": {"name": "avg_spend", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.avg_spend", "fqn": ["ad_reporting", "avg_spend"], "description": "Average ad spend, does not ignore zero-spend days.", "label": "Average Spend (Fivetran)", "calculation_method": "average", "expression": "spend", "filters": [], "time_grains": ["week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679425975.290869}}, "selectors": {}, "disabled": {}, "parent_map": {"seed.my_new_project.adgroup_report_hourly": [], "seed.my_new_project.adgroup_history": [], "seed.my_new_project.campaign_history": [], "seed.my_new_project.advertiser": [], "seed.my_new_project.ad_report_hourly": [], "seed.my_new_project.ad_history": [], "seed.my_new_project.campaign_report_hourly": [], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__account_history": ["model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_group_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": ["source.microsoft_ads_source.microsoft_ads.account_history"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": ["source.microsoft_ads_source.microsoft_ads.keyword_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": ["source.microsoft_ads_source.microsoft_ads.campaign_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.account_performance_daily_report"], "model.tiktok_ads.tiktok_ads__ad_group_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads.tiktok_ads__url_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads.tiktok_ads__campaign_report": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "model.tiktok_ads.tiktok_ads__ad_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads.tiktok_ads__advertiser_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "model.twitter_ads.twitter_ads__account_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "model.twitter_ads.twitter_ads__campaign_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__campaign_report"], "model.twitter_ads.twitter_ads__url_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__tweet", "model.twitter_ads_source.stg_twitter_ads__tweet_url"], "model.twitter_ads.twitter_ads__promoted_tweet_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__tweet"], "model.twitter_ads.twitter_ads__line_item_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__line_item_report"], "model.twitter_ads.twitter_ads__keyword_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"], "model.reddit_ads.reddit_ads__campaign_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__campaign_report"], "model.reddit_ads.reddit_ads__url_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.reddit_ads.reddit_ads__account_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__account_report"], "model.reddit_ads.reddit_ads__ad_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.reddit_ads.reddit_ads__ad_group_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_group_report", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.pinterest.pinterest_ads__url_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "model.pinterest.pinterest_ads__campaign_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__campaign_report"], "model.pinterest.pinterest_ads__keyword_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__keyword_history", "model.pinterest_source.stg_pinterest_ads__keyword_report"], "model.pinterest.pinterest_ads__advertiser_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__advertiser_report"], "model.pinterest.pinterest_ads__pin_promotion_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "model.pinterest.pinterest_ads__ad_group_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__ad_group_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history"], "model.reddit_ads_source.stg_reddit_ads__ad_group": ["model.reddit_ads_source.stg_reddit_ads__ad_group_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"], "model.reddit_ads_source.stg_reddit_ads__ad": ["model.reddit_ads_source.stg_reddit_ads__ad_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_tmp"], "model.reddit_ads_source.stg_reddit_ads__campaign_report": ["model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__account": ["model.reddit_ads_source.stg_reddit_ads__account_tmp", "model.reddit_ads_source.stg_reddit_ads__account_tmp"], "model.reddit_ads_source.stg_reddit_ads__account_report": ["model.reddit_ads_source.stg_reddit_ads__account_report_tmp", "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__ad_report": ["model.reddit_ads_source.stg_reddit_ads__ad_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__campaign": ["model.reddit_ads_source.stg_reddit_ads__campaign_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": ["source.reddit_ads_source.reddit_ads.campaign"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": ["source.reddit_ads_source.reddit_ads.ad_group_report"], "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": ["source.reddit_ads_source.reddit_ads.campaign_report"], "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": ["source.reddit_ads_source.reddit_ads.account_report"], "model.reddit_ads_source.stg_reddit_ads__account_tmp": ["source.reddit_ads_source.reddit_ads.account"], "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": ["source.reddit_ads_source.reddit_ads.ad_group"], "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": ["source.reddit_ads_source.reddit_ads.ad_report"], "model.reddit_ads_source.stg_reddit_ads__ad_tmp": ["source.reddit_ads_source.reddit_ads.ad"], "model.google_ads.google_ads__keyword_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_criterion_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__keyword_stats"], "model.google_ads.google_ads__campaign_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__campaign_stats"], "model.google_ads.google_ads__url_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history", "model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads.google_ads__ad_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history", "model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads.google_ads__ad_group_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_group_stats", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads.google_ads__account_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__account_stats"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp", "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__campaign_history": ["model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp", "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__profile": ["model.amazon_ads_source.stg_amazon_ads__profile_tmp", "model.amazon_ads_source.stg_amazon_ads__profile_tmp"], "model.amazon_ads_source.stg_amazon_ads__keyword_history": ["model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp", "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": ["source.amazon_ads_source.amazon_ads.keyword_history"], "model.amazon_ads_source.stg_amazon_ads__profile_tmp": ["source.amazon_ads_source.amazon_ads.profile"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": ["source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": ["source.amazon_ads_source.amazon_ads.product_ad_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": ["source.amazon_ads_source.amazon_ads.ad_group_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": ["source.amazon_ads_source.amazon_ads.campaign_level_report"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": ["source.amazon_ads_source.amazon_ads.targeting_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": ["source.amazon_ads_source.amazon_ads.portfolio_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": ["source.amazon_ads_source.amazon_ads.campaign_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": ["source.amazon_ads_source.amazon_ads.ad_group_level_report"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": ["source.amazon_ads_source.amazon_ads.advertised_product_report"], "model.linkedin_source.stg_linkedin_ads__creative_history": ["model.linkedin_source.stg_linkedin_ads__creative_history_tmp", "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"], "model.linkedin_source.stg_linkedin_ads__campaign_history": ["model.linkedin_source.stg_linkedin_ads__campaign_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"], "model.linkedin_source.stg_linkedin_ads__account_history": ["model.linkedin_source.stg_linkedin_ads__account_history_tmp", "model.linkedin_source.stg_linkedin_ads__account_history_tmp"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": ["source.linkedin_source.linkedin.ad_analytics_by_creative"], "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": ["source.linkedin_source.linkedin.campaign_history"], "model.linkedin_source.stg_linkedin_ads__account_history_tmp": ["source.linkedin_source.linkedin.account_history"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": ["source.linkedin_source.linkedin.campaign_group_history"], "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": ["source.linkedin_source.linkedin.creative_history"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": ["source.linkedin_source.linkedin.ad_analytics_by_campaign"], "model.amazon_ads.amazon_ads__portfolio_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__search_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "model.amazon_ads.amazon_ads__ad_group_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__keyword_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "model.amazon_ads.amazon_ads__campaign_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__account_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__ad_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__product_ad_history", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.int_amazon_ads__portfolio_history": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "model.facebook_ads.facebook_ads__url_report": ["model.facebook_ads.int_facebook_ads__creative_history", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.facebook_ads__url_tags": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "model.facebook_ads.facebook_ads__campaign_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.facebook_ads__account_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad"], "model.facebook_ads.facebook_ads__ad_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.facebook_ads__ad_set_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.int_facebook_ads__creative_history": ["model.facebook_ads.facebook_ads__url_tags", "model.facebook_ads_source.stg_facebook_ads__creative_history"], "model.snapchat_ads.snapchat_ads__ad_report": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "model.snapchat_ads.snapchat_ads__url_report": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads.snapchat_ads__account_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads.snapchat_ads__ad_squad_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads.snapchat_ads__campaign_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "model.snapchat_ads.snapchat_ads__creative_history_prep": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "model.google_ads_source.stg_google_ads__ad_group_stats": ["model.google_ads_source.stg_google_ads__ad_group_stats_tmp", "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"], "model.google_ads_source.stg_google_ads__account_stats": ["model.google_ads_source.stg_google_ads__account_stats_tmp", "model.google_ads_source.stg_google_ads__account_stats_tmp"], "model.google_ads_source.stg_google_ads__ad_group_history": ["model.google_ads_source.stg_google_ads__ad_group_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_history_tmp"], "model.google_ads_source.stg_google_ads__ad_history": ["model.google_ads_source.stg_google_ads__ad_history_tmp", "model.google_ads_source.stg_google_ads__ad_history_tmp"], "model.google_ads_source.stg_google_ads__keyword_stats": ["model.google_ads_source.stg_google_ads__keyword_stats_tmp", "model.google_ads_source.stg_google_ads__keyword_stats_tmp"], "model.google_ads_source.stg_google_ads__ad_stats": ["model.google_ads_source.stg_google_ads__ad_stats_tmp", "model.google_ads_source.stg_google_ads__ad_stats_tmp"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"], "model.google_ads_source.stg_google_ads__campaign_stats": ["model.google_ads_source.stg_google_ads__campaign_stats_tmp", "model.google_ads_source.stg_google_ads__campaign_stats_tmp"], "model.google_ads_source.stg_google_ads__campaign_history": ["model.google_ads_source.stg_google_ads__campaign_history_tmp", "model.google_ads_source.stg_google_ads__campaign_history_tmp"], "model.google_ads_source.stg_google_ads__account_history": ["model.google_ads_source.stg_google_ads__account_history_tmp", "model.google_ads_source.stg_google_ads__account_history_tmp"], "model.google_ads_source.stg_google_ads__account_stats_tmp": ["source.google_ads_source.google_ads.account_stats"], "model.google_ads_source.stg_google_ads__ad_group_history_tmp": ["source.google_ads_source.google_ads.ad_group_history"], "model.google_ads_source.stg_google_ads__campaign_stats_tmp": ["source.google_ads_source.google_ads.campaign_stats"], "model.google_ads_source.stg_google_ads__ad_stats_tmp": ["source.google_ads_source.google_ads.ad_stats"], "model.google_ads_source.stg_google_ads__campaign_history_tmp": ["source.google_ads_source.google_ads.campaign_history"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": ["source.google_ads_source.google_ads.ad_group_criterion_history"], "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": ["source.google_ads_source.google_ads.ad_group_stats"], "model.google_ads_source.stg_google_ads__keyword_stats_tmp": ["source.google_ads_source.google_ads.keyword_stats"], "model.google_ads_source.stg_google_ads__ad_history_tmp": ["source.google_ads_source.google_ads.ad_history"], "model.google_ads_source.stg_google_ads__account_history_tmp": ["source.google_ads_source.google_ads.account_history"], "model.apple_search_ads.apple_search_ads__ad_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__ad_group_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__keyword_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__search_term_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "model.apple_search_ads.apple_search_ads__campaign_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__organization_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.ad_reporting.ad_reporting__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report"], "model.ad_reporting.ad_reporting__account_report": ["model.ad_reporting.int_ad_reporting__account_report"], "model.ad_reporting.ad_reporting__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report"], "model.ad_reporting.ad_reporting__search_report": ["model.ad_reporting.int_ad_reporting__search_report"], "model.ad_reporting.ad_reporting__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report"], "model.ad_reporting.ad_reporting__url_report": ["model.ad_reporting.int_ad_reporting__url_report"], "model.ad_reporting.ad_reporting__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report"], "model.ad_reporting.int_ad_reporting__campaign_report": ["model.amazon_ads.amazon_ads__campaign_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.facebook_ads.facebook_ads__campaign_report", "model.google_ads.google_ads__campaign_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.pinterest.pinterest_ads__campaign_report", "model.reddit_ads.reddit_ads__campaign_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.twitter_ads.twitter_ads__campaign_report"], "model.ad_reporting.int_ad_reporting__keyword_report": ["model.amazon_ads.amazon_ads__keyword_report", "model.apple_search_ads.apple_search_ads__keyword_report", "model.google_ads.google_ads__keyword_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.pinterest.pinterest_ads__keyword_report", "model.twitter_ads.twitter_ads__keyword_report"], "model.ad_reporting.int_ad_reporting__ad_report": ["model.amazon_ads.amazon_ads__ad_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.facebook_ads.facebook_ads__ad_report", "model.google_ads.google_ads__ad_report", "model.linkedin.linkedin_ads__creative_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.reddit_ads.reddit_ads__ad_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.twitter_ads.twitter_ads__promoted_tweet_report"], "model.ad_reporting.int_ad_reporting__account_report": ["model.amazon_ads.amazon_ads__account_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.facebook_ads.facebook_ads__account_report", "model.google_ads.google_ads__account_report", "model.linkedin.linkedin_ads__account_report", "model.microsoft_ads.microsoft_ads__account_report", "model.pinterest.pinterest_ads__advertiser_report", "model.reddit_ads.reddit_ads__account_report", "model.snapchat_ads.snapchat_ads__account_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.twitter_ads.twitter_ads__account_report"], "model.ad_reporting.int_ad_reporting__url_report": ["model.facebook_ads.facebook_ads__url_report", "model.google_ads.google_ads__url_report", "model.linkedin.linkedin_ads__url_report", "model.microsoft_ads.microsoft_ads__url_report", "model.pinterest.pinterest_ads__url_report", "model.reddit_ads.reddit_ads__url_report", "model.snapchat_ads.snapchat_ads__url_report", "model.tiktok_ads.tiktok_ads__url_report", "model.twitter_ads.twitter_ads__url_report"], "model.ad_reporting.int_ad_reporting__search_report": ["model.amazon_ads.amazon_ads__search_report", "model.apple_search_ads.apple_search_ads__search_term_report", "model.microsoft_ads.microsoft_ads__search_report"], "model.ad_reporting.int_ad_reporting__ad_group_report": ["model.amazon_ads.amazon_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_group_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.google_ads.google_ads__ad_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.microsoft_ads.microsoft_ads__ad_group_report", "model.pinterest.pinterest_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_group_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.tiktok_ads.tiktok_ads__ad_group_report", "model.twitter_ads.twitter_ads__line_item_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__organization": ["model.apple_search_ads_source.stg_apple_search_ads__organization_tmp", "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": ["source.apple_search_ads_source.apple_search_ads.search_term_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": ["source.apple_search_ads_source.apple_search_ads.campaign_history"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": ["source.apple_search_ads_source.apple_search_ads.keyword_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_group_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_group_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_history"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": ["source.apple_search_ads_source.apple_search_ads.campaign_report"], "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": ["source.apple_search_ads_source.apple_search_ads.organization"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": ["source.apple_search_ads_source.apple_search_ads.keyword_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_level_report"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"], "model.pinterest_source.stg_pinterest_ads__keyword_report": ["model.pinterest_source.stg_pinterest_ads__keyword_report_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"], "model.pinterest_source.stg_pinterest_ads__ad_group_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"], "model.pinterest_source.stg_pinterest_ads__campaign_history": ["model.pinterest_source.stg_pinterest_ads__campaign_history_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"], "model.pinterest_source.stg_pinterest_ads__advertiser_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"], "model.pinterest_source.stg_pinterest_ads__advertiser_history": ["model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"], "model.pinterest_source.stg_pinterest_ads__campaign_report": ["model.pinterest_source.stg_pinterest_ads__campaign_report_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"], "model.pinterest_source.stg_pinterest_ads__keyword_history": ["model.pinterest_source.stg_pinterest_ads__keyword_history_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"], "model.pinterest_source.stg_pinterest_ads__ad_group_history": ["model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"], "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": ["source.pinterest_source.pinterest_ads.advertiser_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": ["source.pinterest_source.pinterest_ads.pin_promotion_report"], "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": ["source.pinterest_source.pinterest_ads.campaign_report"], "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": ["source.pinterest_source.pinterest_ads.advertiser_report"], "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": ["source.pinterest_source.pinterest_ads.keyword_report"], "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": ["source.pinterest_source.pinterest_ads.ad_group_report"], "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": ["source.pinterest_source.pinterest_ads.keyword_history"], "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": ["source.pinterest_source.pinterest_ads.campaign_history"], "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": ["source.pinterest_source.pinterest_ads.ad_group_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": ["source.pinterest_source.pinterest_ads.pin_promotion_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp", "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": ["source.tiktok_ads_source.tiktok_ads.ad_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": ["source.tiktok_ads_source.tiktok_ads.ad_history"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": ["source.tiktok_ads_source.tiktok_ads.adgroup_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": ["source.tiktok_ads_source.tiktok_ads.campaign_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": ["source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": ["source.tiktok_ads_source.tiktok_ads.campaign_history"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": ["source.tiktok_ads_source.tiktok_ads.advertiser"], "model.facebook_ads_source.stg_facebook_ads__basic_ad": ["model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp", "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"], "model.facebook_ads_source.stg_facebook_ads__creative_history": ["model.facebook_ads_source.stg_facebook_ads__creative_history_tmp", "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__campaign_history": ["model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp", "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__account_history": ["model.facebook_ads_source.stg_facebook_ads__account_history_tmp", "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__ad_history": ["model.facebook_ads_source.stg_facebook_ads__ad_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": ["source.facebook_ads_source.facebook_ads.ad_set_history"], "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": ["source.facebook_ads_source.facebook_ads.basic_ad"], "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": ["source.facebook_ads_source.facebook_ads.ad_history"], "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": ["source.facebook_ads_source.facebook_ads.campaign_history"], "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": ["source.facebook_ads_source.facebook_ads.creative_history"], "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": ["source.facebook_ads_source.facebook_ads.account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": ["source.snapchat_ads_source.snapchat_ads.creative_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": ["source.snapchat_ads_source.snapchat_ads.creative_url_tag_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": ["source.snapchat_ads_source.snapchat_ads.campaign_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_squad_history"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": ["source.snapchat_ads_source.snapchat_ads.campaign_hourly_report"], "model.microsoft_ads.microsoft_ads__ad_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads.microsoft_ads__ad_group_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads.microsoft_ads__keyword_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "model.microsoft_ads.microsoft_ads__url_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads.microsoft_ads__account_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__account_history"], "model.microsoft_ads.microsoft_ads__search_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "model.microsoft_ads.microsoft_ads__campaign_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__campaign_report": ["model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__line_item_history": ["model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__line_item_report": ["model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__campaign_history": ["model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__tweet": ["model.twitter_ads_source.stg_twitter_ads__tweet_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"], "model.twitter_ads_source.stg_twitter_ads__account_history": ["model.twitter_ads_source.stg_twitter_ads__account_history_tmp", "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__tweet_url": ["model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": ["source.twitter_ads_source.twitter_ads.tweet_url"], "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": ["source.twitter_ads_source.twitter_ads.tweet"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": ["source.twitter_ads_source.twitter_ads.promoted_tweet_report"], "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": ["source.twitter_ads_source.twitter_ads.line_item_history"], "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": ["source.twitter_ads_source.twitter_ads.campaign_report"], "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": ["source.twitter_ads_source.twitter_ads.campaign_history"], "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp": ["source.twitter_ads_source.twitter_ads.line_item_keywords_report"], "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": ["source.twitter_ads_source.twitter_ads.line_item_report"], "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": ["source.twitter_ads_source.twitter_ads.account_history"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": ["source.twitter_ads_source.twitter_ads.promoted_tweet_history"], "model.linkedin.linkedin_ads__campaign_group_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin.linkedin_ads__creative_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__creative_history"], "model.linkedin.linkedin_ads__campaign_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin.linkedin_ads__account_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin.linkedin_ads__url_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__creative_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99": ["model.tiktok_ads.tiktok_ads__advertiser_report"], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce": ["model.tiktok_ads.tiktok_ads__advertiser_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9": ["model.tiktok_ads.tiktok_ads__advertiser_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed": ["model.tiktok_ads.tiktok_ads__ad_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707": ["model.tiktok_ads.tiktok_ads__ad_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb": ["model.tiktok_ads.tiktok_ads__ad_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e": ["model.tiktok_ads.tiktok_ads__ad_group_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4": ["model.tiktok_ads.tiktok_ads__ad_group_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e": ["model.tiktok_ads.tiktok_ads__ad_group_report"], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836": ["model.tiktok_ads.tiktok_ads__campaign_report"], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8": ["model.tiktok_ads.tiktok_ads__campaign_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19": ["model.tiktok_ads.tiktok_ads__campaign_report"], "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff": ["model.tiktok_ads.tiktok_ads__url_report"], "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0": ["model.tiktok_ads.tiktok_ads__url_report"], "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b": ["model.tiktok_ads.tiktok_ads__url_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47": ["model.tiktok_ads.tiktok_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec": ["model.twitter_ads.twitter_ads__keyword_report"], "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538": ["model.twitter_ads.twitter_ads__keyword_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39": ["model.twitter_ads.twitter_ads__keyword_report"], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5": ["model.twitter_ads.twitter_ads__promoted_tweet_report"], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e": ["model.twitter_ads.twitter_ads__promoted_tweet_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082": ["model.twitter_ads.twitter_ads__promoted_tweet_report"], "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff": ["model.twitter_ads.twitter_ads__url_report"], "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90": ["model.reddit_ads.reddit_ads__account_report"], "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5": ["model.reddit_ads.reddit_ads__account_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6": ["model.reddit_ads.reddit_ads__account_report"], "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7": ["model.reddit_ads.reddit_ads__ad_group_report"], "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604": ["model.reddit_ads.reddit_ads__ad_group_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191": ["model.reddit_ads.reddit_ads__ad_group_report"], "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a": ["model.reddit_ads.reddit_ads__ad_report"], "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e": ["model.reddit_ads.reddit_ads__ad_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d": ["model.reddit_ads.reddit_ads__ad_report"], "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131": ["model.reddit_ads.reddit_ads__campaign_report"], "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49": ["model.reddit_ads.reddit_ads__campaign_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af": ["model.reddit_ads.reddit_ads__campaign_report"], "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da": ["model.reddit_ads.reddit_ads__url_report"], "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0": ["model.reddit_ads.reddit_ads__url_report"], "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb": ["model.reddit_ads.reddit_ads__url_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958": ["model.reddit_ads.reddit_ads__url_report"], "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7": ["model.pinterest.pinterest_ads__ad_group_report"], "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2": ["model.pinterest.pinterest_ads__ad_group_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d": ["model.pinterest.pinterest_ads__ad_group_report"], "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf": ["model.pinterest.pinterest_ads__campaign_report"], "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2": ["model.pinterest.pinterest_ads__campaign_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279": ["model.pinterest.pinterest_ads__campaign_report"], "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca": ["model.pinterest.pinterest_ads__advertiser_report"], "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672": ["model.pinterest.pinterest_ads__advertiser_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11": ["model.pinterest.pinterest_ads__advertiser_report"], "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba": ["model.pinterest.pinterest_ads__keyword_report"], "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198": ["model.pinterest.pinterest_ads__keyword_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d": ["model.pinterest.pinterest_ads__keyword_report"], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd": ["model.pinterest.pinterest_ads__pin_promotion_report"], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561": ["model.pinterest.pinterest_ads__pin_promotion_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3": ["model.pinterest.pinterest_ads__pin_promotion_report"], "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e": ["model.reddit_ads_source.stg_reddit_ads__account"], "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078": ["model.reddit_ads_source.stg_reddit_ads__account"], "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de": ["model.reddit_ads_source.stg_reddit_ads__account_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be": ["model.reddit_ads_source.stg_reddit_ads__account_report"], "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652": ["model.reddit_ads_source.stg_reddit_ads__ad"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd": ["model.reddit_ads_source.stg_reddit_ads__ad"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857": ["model.reddit_ads_source.stg_reddit_ads__ad_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a": ["model.reddit_ads_source.stg_reddit_ads__ad_report"], "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503": ["model.reddit_ads_source.stg_reddit_ads__ad_group"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2": ["model.reddit_ads_source.stg_reddit_ads__ad_group"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"], "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4": ["model.reddit_ads_source.stg_reddit_ads__campaign"], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682": ["model.reddit_ads_source.stg_reddit_ads__campaign"], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"], "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72": ["model.google_ads.google_ads__url_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f": ["model.google_ads.google_ads__url_report"], "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422": ["model.google_ads.google_ads__account_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e": ["model.google_ads.google_ads__account_report"], "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c": ["model.google_ads.google_ads__ad_group_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f": ["model.google_ads.google_ads__ad_group_report"], "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad": ["model.google_ads.google_ads__ad_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b": ["model.google_ads.google_ads__ad_report"], "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e": ["model.google_ads.google_ads__campaign_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469": ["model.google_ads.google_ads__campaign_report"], "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055": ["model.google_ads.google_ads__keyword_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d": ["model.google_ads.google_ads__keyword_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b": ["model.amazon_ads_source.stg_amazon_ads__profile"], "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474": ["model.linkedin_source.stg_linkedin_ads__creative_history"], "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_version_tag.d3f8e73227": ["model.linkedin_source.stg_linkedin_ads__creative_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id.cc02e6aa66": ["model.linkedin_source.stg_linkedin_ads__creative_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2": ["model.linkedin_source.stg_linkedin_ads__campaign_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469": ["model.linkedin_source.stg_linkedin_ads__campaign_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793": ["model.linkedin_source.stg_linkedin_ads__campaign_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0": ["model.linkedin_source.stg_linkedin_ads__account_history"], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81": ["model.linkedin_source.stg_linkedin_ads__account_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce": ["model.linkedin_source.stg_linkedin_ads__account_history"], "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66": ["model.amazon_ads.amazon_ads__account_report"], "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061": ["model.amazon_ads.amazon_ads__account_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2": ["model.amazon_ads.amazon_ads__account_report"], "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a": ["model.amazon_ads.amazon_ads__ad_group_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1": ["model.amazon_ads.amazon_ads__ad_group_report"], "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3": ["model.amazon_ads.amazon_ads__ad_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7": ["model.amazon_ads.amazon_ads__ad_report"], "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c": ["model.amazon_ads.amazon_ads__campaign_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0": ["model.amazon_ads.amazon_ads__campaign_report"], "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6": ["model.amazon_ads.amazon_ads__portfolio_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6": ["model.amazon_ads.amazon_ads__portfolio_report"], "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a": ["model.amazon_ads.amazon_ads__keyword_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80": ["model.amazon_ads.amazon_ads__keyword_report"], "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a": ["model.amazon_ads.amazon_ads__search_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f": ["model.amazon_ads.amazon_ads__search_report"], "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be": ["model.facebook_ads.facebook_ads__url_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7": ["model.facebook_ads.facebook_ads__url_report"], "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238": ["model.facebook_ads.facebook_ads__ad_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738": ["model.facebook_ads.facebook_ads__ad_report"], "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4": ["model.facebook_ads.facebook_ads__ad_set_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f": ["model.facebook_ads.facebook_ads__ad_set_report"], "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21": ["model.facebook_ads.facebook_ads__campaign_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6": ["model.facebook_ads.facebook_ads__campaign_report"], "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024": ["model.facebook_ads.facebook_ads__account_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40": ["model.facebook_ads.facebook_ads__account_report"], "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3": ["model.facebook_ads.facebook_ads__url_tags"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3": ["model.facebook_ads.facebook_ads__url_tags"], "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260": ["model.snapchat_ads.snapchat_ads__account_report"], "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b": ["model.snapchat_ads.snapchat_ads__account_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6": ["model.snapchat_ads.snapchat_ads__account_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe": ["model.snapchat_ads.snapchat_ads__ad_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744": ["model.snapchat_ads.snapchat_ads__ad_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57": ["model.snapchat_ads.snapchat_ads__ad_report"], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b": ["model.snapchat_ads.snapchat_ads__campaign_report"], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac": ["model.snapchat_ads.snapchat_ads__campaign_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e": ["model.snapchat_ads.snapchat_ads__campaign_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639": ["model.snapchat_ads.snapchat_ads__ad_squad_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe": ["model.snapchat_ads.snapchat_ads__ad_squad_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c": ["model.snapchat_ads.snapchat_ads__ad_squad_report"], "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6": ["model.snapchat_ads.snapchat_ads__url_report"], "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78": ["model.snapchat_ads.snapchat_ads__url_report"], "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de": ["model.snapchat_ads.snapchat_ads__url_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be": ["model.snapchat_ads.snapchat_ads__url_report"], "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f": ["model.google_ads_source.stg_google_ads__account_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1": ["model.google_ads_source.stg_google_ads__account_history"], "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be": ["model.google_ads_source.stg_google_ads__ad_group_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd": ["model.google_ads_source.stg_google_ads__ad_group_history"], "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248": ["model.google_ads_source.stg_google_ads__ad_history"], "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7": ["model.google_ads_source.stg_google_ads__ad_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b": ["model.google_ads_source.stg_google_ads__ad_history"], "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4": ["model.google_ads_source.stg_google_ads__ad_stats"], "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8": ["model.google_ads_source.stg_google_ads__ad_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451": ["model.google_ads_source.stg_google_ads__ad_stats"], "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75": ["model.google_ads_source.stg_google_ads__campaign_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86": ["model.google_ads_source.stg_google_ads__campaign_history"], "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786": ["model.google_ads_source.stg_google_ads__ad_group_stats"], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077": ["model.google_ads_source.stg_google_ads__ad_group_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020": ["model.google_ads_source.stg_google_ads__ad_group_stats"], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b": ["model.google_ads_source.stg_google_ads__campaign_stats"], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f": ["model.google_ads_source.stg_google_ads__campaign_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45": ["model.google_ads_source.stg_google_ads__campaign_stats"], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d": ["model.google_ads_source.stg_google_ads__keyword_stats"], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0": ["model.google_ads_source.stg_google_ads__keyword_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68": ["model.google_ads_source.stg_google_ads__keyword_stats"], "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b": ["model.google_ads_source.stg_google_ads__account_stats"], "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5": ["model.google_ads_source.stg_google_ads__account_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860": ["model.google_ads_source.stg_google_ads__account_stats"], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5": ["model.apple_search_ads.apple_search_ads__ad_group_report"], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c": ["model.apple_search_ads.apple_search_ads__ad_group_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9": ["model.apple_search_ads.apple_search_ads__ad_group_report"], "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c": ["model.apple_search_ads.apple_search_ads__ad_report"], "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17": ["model.apple_search_ads.apple_search_ads__ad_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1": ["model.apple_search_ads.apple_search_ads__ad_report"], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146": ["model.apple_search_ads.apple_search_ads__campaign_report"], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a": ["model.apple_search_ads.apple_search_ads__campaign_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f": ["model.apple_search_ads.apple_search_ads__campaign_report"], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db": ["model.apple_search_ads.apple_search_ads__keyword_report"], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82": ["model.apple_search_ads.apple_search_ads__keyword_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13": ["model.apple_search_ads.apple_search_ads__keyword_report"], "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8": ["model.apple_search_ads.apple_search_ads__organization_report"], "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523": ["model.apple_search_ads.apple_search_ads__organization_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3": ["model.apple_search_ads.apple_search_ads__organization_report"], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c": ["model.apple_search_ads.apple_search_ads__search_term_report"], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7": ["model.apple_search_ads.apple_search_ads__search_term_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4": ["model.apple_search_ads.apple_search_ads__search_term_report"], "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022": ["model.ad_reporting.ad_reporting__account_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583": ["model.ad_reporting.ad_reporting__account_report"], "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842": ["model.ad_reporting.ad_reporting__ad_group_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a": ["model.ad_reporting.ad_reporting__ad_group_report"], "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152": ["model.ad_reporting.ad_reporting__ad_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55": ["model.ad_reporting.ad_reporting__ad_report"], "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b": ["model.ad_reporting.ad_reporting__campaign_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f": ["model.ad_reporting.ad_reporting__campaign_report"], "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334": ["model.ad_reporting.ad_reporting__keyword_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6": ["model.ad_reporting.ad_reporting__keyword_report"], "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb": ["model.ad_reporting.ad_reporting__search_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf": ["model.ad_reporting.ad_reporting__search_report"], "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6": ["model.ad_reporting.ad_reporting__url_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424": ["model.ad_reporting.ad_reporting__url_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb": ["model.apple_search_ads_source.stg_apple_search_ads__organization"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a": ["model.apple_search_ads_source.stg_apple_search_ads__organization"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341": ["model.pinterest_source.stg_pinterest_ads__campaign_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87": ["model.pinterest_source.stg_pinterest_ads__campaign_history"], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238": ["model.pinterest_source.stg_pinterest_ads__campaign_report"], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc": ["model.pinterest_source.stg_pinterest_ads__campaign_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc": ["model.pinterest_source.stg_pinterest_ads__campaign_report"], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a": ["model.pinterest_source.stg_pinterest_ads__keyword_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877": ["model.pinterest_source.stg_pinterest_ads__keyword_history"], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300": ["model.pinterest_source.stg_pinterest_ads__keyword_report"], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48": ["model.pinterest_source.stg_pinterest_ads__keyword_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6": ["model.pinterest_source.stg_pinterest_ads__keyword_report"], "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f": ["model.facebook_ads_source.stg_facebook_ads__account_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f": ["model.facebook_ads_source.stg_facebook_ads__account_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2": ["model.facebook_ads_source.stg_facebook_ads__account_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064": ["model.facebook_ads_source.stg_facebook_ads__ad_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4": ["model.facebook_ads_source.stg_facebook_ads__ad_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58": ["model.facebook_ads_source.stg_facebook_ads__ad_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e": ["model.microsoft_ads.microsoft_ads__account_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f": ["model.microsoft_ads.microsoft_ads__account_report"], "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9": ["model.microsoft_ads.microsoft_ads__ad_group_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3": ["model.microsoft_ads.microsoft_ads__ad_group_report"], "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125": ["model.microsoft_ads.microsoft_ads__ad_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686": ["model.microsoft_ads.microsoft_ads__ad_report"], "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8": ["model.microsoft_ads.microsoft_ads__campaign_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b": ["model.microsoft_ads.microsoft_ads__campaign_report"], "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b": ["model.microsoft_ads.microsoft_ads__keyword_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9": ["model.microsoft_ads.microsoft_ads__keyword_report"], "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d": ["model.microsoft_ads.microsoft_ads__search_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3": ["model.microsoft_ads.microsoft_ads__search_report"], "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a": ["model.microsoft_ads.microsoft_ads__url_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7": ["model.microsoft_ads.microsoft_ads__url_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2": ["model.twitter_ads_source.stg_twitter_ads__account_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40": ["model.twitter_ads_source.stg_twitter_ads__account_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd": ["model.twitter_ads_source.stg_twitter_ads__tweet"], "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95": ["model.twitter_ads_source.stg_twitter_ads__tweet"], "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842": ["model.linkedin.linkedin_ads__account_report"], "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53": ["model.linkedin.linkedin_ads__account_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c": ["model.linkedin.linkedin_ads__account_report"], "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1": ["model.linkedin.linkedin_ads__campaign_report"], "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15": ["model.linkedin.linkedin_ads__campaign_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3": ["model.linkedin.linkedin_ads__campaign_report"], "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b": ["model.linkedin.linkedin_ads__campaign_group_report"], "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf": ["model.linkedin.linkedin_ads__campaign_group_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6": ["model.linkedin.linkedin_ads__campaign_group_report"], "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020": ["model.linkedin.linkedin_ads__creative_report"], "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889": ["model.linkedin.linkedin_ads__creative_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f": ["model.linkedin.linkedin_ads__creative_report"], "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315": ["model.linkedin.linkedin_ads__url_report"], "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2": ["model.linkedin.linkedin_ads__url_report"], "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb": ["model.linkedin.linkedin_ads__url_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d": ["model.linkedin.linkedin_ads__url_report"], "source.microsoft_ads_source.microsoft_ads.account_history": [], "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.ad_group_history": [], "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.ad_history": [], "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.campaign_history": [], "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.keyword_history": [], "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": [], "source.reddit_ads_source.reddit_ads.account": [], "source.reddit_ads_source.reddit_ads.account_report": [], "source.reddit_ads_source.reddit_ads.ad": [], "source.reddit_ads_source.reddit_ads.ad_report": [], "source.reddit_ads_source.reddit_ads.ad_group": [], "source.reddit_ads_source.reddit_ads.ad_group_report": [], "source.reddit_ads_source.reddit_ads.campaign": [], "source.reddit_ads_source.reddit_ads.campaign_report": [], "source.amazon_ads_source.amazon_ads.ad_group_history": [], "source.amazon_ads_source.amazon_ads.ad_group_level_report": [], "source.amazon_ads_source.amazon_ads.advertised_product_report": [], "source.amazon_ads_source.amazon_ads.campaign_history": [], "source.amazon_ads_source.amazon_ads.campaign_level_report": [], "source.amazon_ads_source.amazon_ads.keyword_history": [], "source.amazon_ads_source.amazon_ads.portfolio_history": [], "source.amazon_ads_source.amazon_ads.product_ad_history": [], "source.amazon_ads_source.amazon_ads.profile": [], "source.amazon_ads_source.amazon_ads.targeting_keyword_report": [], "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": [], "source.linkedin_source.linkedin.ad_analytics_by_creative": [], "source.linkedin_source.linkedin.creative_history": [], "source.linkedin_source.linkedin.campaign_history": [], "source.linkedin_source.linkedin.campaign_group_history": [], "source.linkedin_source.linkedin.account_history": [], "source.linkedin_source.linkedin.ad_analytics_by_campaign": [], "source.google_ads_source.google_ads.ad_stats": [], "source.google_ads_source.google_ads.ad_history": [], "source.google_ads_source.google_ads.ad_group_history": [], "source.google_ads_source.google_ads.campaign_history": [], "source.google_ads_source.google_ads.account_history": [], "source.google_ads_source.google_ads.ad_group_criterion_history": [], "source.google_ads_source.google_ads.ad_group_stats": [], "source.google_ads_source.google_ads.campaign_stats": [], "source.google_ads_source.google_ads.keyword_stats": [], "source.google_ads_source.google_ads.account_stats": [], "source.apple_search_ads_source.apple_search_ads.ad_group_history": [], "source.apple_search_ads_source.apple_search_ads.ad_group_report": [], "source.apple_search_ads_source.apple_search_ads.ad_history": [], "source.apple_search_ads_source.apple_search_ads.ad_level_report": [], "source.apple_search_ads_source.apple_search_ads.campaign_history": [], "source.apple_search_ads_source.apple_search_ads.campaign_report": [], "source.apple_search_ads_source.apple_search_ads.keyword_history": [], "source.apple_search_ads_source.apple_search_ads.keyword_report": [], "source.apple_search_ads_source.apple_search_ads.organization": [], "source.apple_search_ads_source.apple_search_ads.search_term_report": [], "source.pinterest_source.pinterest_ads.pin_promotion_report": [], "source.pinterest_source.pinterest_ads.pin_promotion_history": [], "source.pinterest_source.pinterest_ads.campaign_history": [], "source.pinterest_source.pinterest_ads.ad_group_history": [], "source.pinterest_source.pinterest_ads.ad_group_report": [], "source.pinterest_source.pinterest_ads.advertiser_history": [], "source.pinterest_source.pinterest_ads.advertiser_report": [], "source.pinterest_source.pinterest_ads.campaign_report": [], "source.pinterest_source.pinterest_ads.keyword_history": [], "source.pinterest_source.pinterest_ads.keyword_report": [], "source.tiktok_ads_source.tiktok_ads.advertiser": [], "source.tiktok_ads_source.tiktok_ads.campaign_history": [], "source.tiktok_ads_source.tiktok_ads.adgroup_history": [], "source.tiktok_ads_source.tiktok_ads.ad_history": [], "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": [], "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": [], "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": [], "source.facebook_ads_source.facebook_ads.account_history": [], "source.facebook_ads_source.facebook_ads.ad_history": [], "source.facebook_ads_source.facebook_ads.ad_set_history": [], "source.facebook_ads_source.facebook_ads.basic_ad": [], "source.facebook_ads_source.facebook_ads.campaign_history": [], "source.facebook_ads_source.facebook_ads.creative_history": [], "source.snapchat_ads_source.snapchat_ads.ad_account_history": [], "source.snapchat_ads_source.snapchat_ads.ad_history": [], "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": [], "source.snapchat_ads_source.snapchat_ads.ad_squad_history": [], "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": [], "source.snapchat_ads_source.snapchat_ads.campaign_history": [], "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": [], "source.snapchat_ads_source.snapchat_ads.creative_history": [], "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": [], "source.twitter_ads_source.twitter_ads.account_history": [], "source.twitter_ads_source.twitter_ads.campaign_history": [], "source.twitter_ads_source.twitter_ads.line_item_history": [], "source.twitter_ads_source.twitter_ads.promoted_tweet_history": [], "source.twitter_ads_source.twitter_ads.tweet_url": [], "source.twitter_ads_source.twitter_ads.promoted_tweet_report": [], "source.twitter_ads_source.twitter_ads.tweet": [], "source.twitter_ads_source.twitter_ads.campaign_report": [], "source.twitter_ads_source.twitter_ads.line_item_report": [], "source.twitter_ads_source.twitter_ads.line_item_keywords_report": [], "metric.ad_reporting.spend": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.clicks": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.impressions": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.cost_per_click": ["metric.ad_reporting.clicks", "metric.ad_reporting.spend"], "metric.ad_reporting.bounce_rate": ["metric.ad_reporting.clicks", "metric.ad_reporting.impressions", "metric.ad_reporting.impressions"], "metric.ad_reporting.clickthrough_rate": ["metric.ad_reporting.clicks", "metric.ad_reporting.impressions"], "metric.ad_reporting.active_ads": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.avg_spend_nonzero": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.avg_spend": ["model.ad_reporting.ad_reporting__ad_report"]}, "child_map": {"seed.my_new_project.adgroup_report_hourly": [], "seed.my_new_project.adgroup_history": [], "seed.my_new_project.campaign_history": [], "seed.my_new_project.advertiser": [], "seed.my_new_project.ad_report_hourly": [], "seed.my_new_project.ad_history": [], "seed.my_new_project.campaign_report_hourly": [], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": ["model.microsoft_ads.microsoft_ads__account_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a", "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": ["model.microsoft_ads.microsoft_ads__search_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c", "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": ["model.microsoft_ads.microsoft_ads__keyword_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a", "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": ["model.microsoft_ads.microsoft_ads__campaign_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762", "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": ["model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c", "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": ["model.microsoft_ads.microsoft_ads__ad_group_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": ["model.microsoft_ads.microsoft_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history": ["model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": ["model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8"], "model.microsoft_ads_source.stg_microsoft_ads__account_history": ["model.microsoft_ads.microsoft_ads__account_report", "model.microsoft_ads.microsoft_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479", "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": ["model.microsoft_ads.microsoft_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427", "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"], "model.tiktok_ads.tiktok_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e", "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4", "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e"], "model.tiktok_ads.tiktok_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47", "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0", "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b", "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff"], "model.tiktok_ads.tiktok_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19", "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8", "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836"], "model.tiktok_ads.tiktok_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb", "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707", "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed"], "model.tiktok_ads.tiktok_ads__advertiser_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9", "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce", "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99"], "model.twitter_ads.twitter_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f", "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908", "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846", "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194"], "model.twitter_ads.twitter_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421", "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8", "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0", "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82"], "model.twitter_ads.twitter_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff", "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e", "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b", "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e", "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143"], "model.twitter_ads.twitter_ads__promoted_tweet_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082", "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5", "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e"], "model.twitter_ads.twitter_ads__line_item_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a", "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce", "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211", "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312"], "model.twitter_ads.twitter_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39", "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec", "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538"], "model.reddit_ads.reddit_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af", "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49", "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131"], "model.reddit_ads.reddit_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958", "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0", "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb", "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da"], "model.reddit_ads.reddit_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6", "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5", "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90"], "model.reddit_ads.reddit_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d", "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e", "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a"], "model.reddit_ads.reddit_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191", "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604", "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7"], "model.pinterest.pinterest_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8", "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e", "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502", "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a"], "model.pinterest.pinterest_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279", "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2", "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf"], "model.pinterest.pinterest_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d", "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba", "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198"], "model.pinterest.pinterest_ads__advertiser_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11", "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672", "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca"], "model.pinterest.pinterest_ads__pin_promotion_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3", "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd", "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561"], "model.pinterest.pinterest_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d", "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2", "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7"], "model.reddit_ads_source.stg_reddit_ads__ad_group": ["model.reddit_ads.reddit_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2", "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503"], "model.reddit_ads_source.stg_reddit_ads__ad": ["model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd", "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652"], "model.reddit_ads_source.stg_reddit_ads__campaign_report": ["model.reddit_ads.reddit_ads__campaign_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d", "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f"], "model.reddit_ads_source.stg_reddit_ads__account": ["model.reddit_ads.reddit_ads__account_report", "model.reddit_ads.reddit_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__campaign_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078", "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e"], "model.reddit_ads_source.stg_reddit_ads__account_report": ["model.reddit_ads.reddit_ads__account_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be", "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de"], "model.reddit_ads_source.stg_reddit_ads__ad_report": ["model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857"], "model.reddit_ads_source.stg_reddit_ads__campaign": ["model.reddit_ads.reddit_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__campaign_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682", "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report": ["model.reddit_ads.reddit_ads__ad_group_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d"], "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": ["model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report", "model.reddit_ads_source.stg_reddit_ads__ad_group_report"], "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__campaign_report", "model.reddit_ads_source.stg_reddit_ads__campaign_report"], "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__account_report", "model.reddit_ads_source.stg_reddit_ads__account_report"], "model.reddit_ads_source.stg_reddit_ads__account_tmp": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__account"], "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_group"], "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__ad_report"], "model.reddit_ads_source.stg_reddit_ads__ad_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad"], "model.google_ads.google_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d", "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055"], "model.google_ads.google_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469", "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e"], "model.google_ads.google_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f", "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72"], "model.google_ads.google_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b", "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad"], "model.google_ads.google_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f", "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c"], "model.google_ads.google_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e", "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": ["model.amazon_ads.amazon_ads__account_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__portfolio_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313", "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": ["model.amazon_ads.amazon_ads__ad_group_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94", "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": ["model.amazon_ads.amazon_ads__ad_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d", "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history": ["model.amazon_ads.amazon_ads__portfolio_report", "model.amazon_ads.int_amazon_ads__portfolio_history", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050", "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02"], "model.amazon_ads_source.stg_amazon_ads__campaign_history": ["model.amazon_ads.amazon_ads__account_report", "model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__portfolio_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382", "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history": ["model.amazon_ads.amazon_ads__ad_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4", "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": ["model.amazon_ads.amazon_ads__keyword_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb", "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7"], "model.amazon_ads_source.stg_amazon_ads__profile": ["model.amazon_ads.amazon_ads__account_report", "model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__portfolio_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b"], "model.amazon_ads_source.stg_amazon_ads__keyword_history": ["model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197", "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history": ["model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9", "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": ["model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693", "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06"], "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__keyword_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history"], "model.amazon_ads_source.stg_amazon_ads__profile_tmp": ["model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history", "model.amazon_ads_source.stg_amazon_ads__product_ad_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report"], "model.linkedin_source.stg_linkedin_ads__creative_history": ["model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id.cc02e6aa66", "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474", "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_version_tag.d3f8e73227"], "model.linkedin_source.stg_linkedin_ads__campaign_history": ["model.linkedin.linkedin_ads__account_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": ["model.linkedin.linkedin_ads__account_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history": ["model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea"], "model.linkedin_source.stg_linkedin_ads__account_history": ["model.linkedin.linkedin_ads__account_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce", "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0", "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": ["model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": ["model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin_source.stg_linkedin_ads__account_history_tmp": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__account_history"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": ["model.linkedin_source.stg_linkedin_ads__creative_history", "model.linkedin_source.stg_linkedin_ads__creative_history"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "model.amazon_ads.amazon_ads__portfolio_report": ["test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6", "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6"], "model.amazon_ads.amazon_ads__search_report": ["model.ad_reporting.int_ad_reporting__search_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f", "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a"], "model.amazon_ads.amazon_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1", "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a"], "model.amazon_ads.amazon_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80", "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a"], "model.amazon_ads.amazon_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0", "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c"], "model.amazon_ads.amazon_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2", "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061", "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66"], "model.amazon_ads.amazon_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7", "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3"], "model.amazon_ads.int_amazon_ads__portfolio_history": ["model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__search_report"], "model.facebook_ads.facebook_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7", "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be"], "model.facebook_ads.facebook_ads__url_tags": ["model.facebook_ads.int_facebook_ads__creative_history", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3", "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3"], "model.facebook_ads.facebook_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6", "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21"], "model.facebook_ads.facebook_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40", "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024"], "model.facebook_ads.facebook_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738", "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238"], "model.facebook_ads.facebook_ads__ad_set_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f", "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4"], "model.facebook_ads.int_facebook_ads__creative_history": ["model.facebook_ads.facebook_ads__url_report"], "model.snapchat_ads.snapchat_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57", "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744", "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe"], "model.snapchat_ads.snapchat_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be", "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78", "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de", "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6"], "model.snapchat_ads.snapchat_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6", "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b", "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260"], "model.snapchat_ads.snapchat_ads__ad_squad_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c", "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe", "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639"], "model.snapchat_ads.snapchat_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e", "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac", "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b"], "model.snapchat_ads.snapchat_ads__creative_history_prep": ["model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__url_report"], "model.google_ads_source.stg_google_ads__ad_group_stats": ["model.google_ads.google_ads__ad_group_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020", "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077", "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786"], "model.google_ads_source.stg_google_ads__account_stats": ["model.google_ads.google_ads__account_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860", "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b", "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5"], "model.google_ads_source.stg_google_ads__ad_group_history": ["model.google_ads.google_ads__ad_group_report", "model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__keyword_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd", "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be"], "model.google_ads_source.stg_google_ads__ad_history": ["model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b", "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248"], "model.google_ads_source.stg_google_ads__keyword_stats": ["model.google_ads.google_ads__keyword_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68", "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d", "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0"], "model.google_ads_source.stg_google_ads__ad_stats": ["model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451", "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8", "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history": ["model.google_ads.google_ads__keyword_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816", "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476"], "model.google_ads_source.stg_google_ads__campaign_stats": ["model.google_ads.google_ads__campaign_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45", "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f", "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b"], "model.google_ads_source.stg_google_ads__campaign_history": ["model.google_ads.google_ads__ad_group_report", "model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__campaign_report", "model.google_ads.google_ads__keyword_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86", "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75"], "model.google_ads_source.stg_google_ads__account_history": ["model.google_ads.google_ads__account_report", "model.google_ads.google_ads__ad_group_report", "model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__campaign_report", "model.google_ads.google_ads__keyword_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1", "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f"], "model.google_ads_source.stg_google_ads__account_stats_tmp": ["model.google_ads_source.stg_google_ads__account_stats", "model.google_ads_source.stg_google_ads__account_stats"], "model.google_ads_source.stg_google_ads__ad_group_history_tmp": ["model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_group_history"], "model.google_ads_source.stg_google_ads__campaign_stats_tmp": ["model.google_ads_source.stg_google_ads__campaign_stats", "model.google_ads_source.stg_google_ads__campaign_stats"], "model.google_ads_source.stg_google_ads__ad_stats_tmp": ["model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__ad_stats"], "model.google_ads_source.stg_google_ads__campaign_history_tmp": ["model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history", "model.google_ads_source.stg_google_ads__ad_group_criterion_history"], "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": ["model.google_ads_source.stg_google_ads__ad_group_stats", "model.google_ads_source.stg_google_ads__ad_group_stats"], "model.google_ads_source.stg_google_ads__keyword_stats_tmp": ["model.google_ads_source.stg_google_ads__keyword_stats", "model.google_ads_source.stg_google_ads__keyword_stats"], "model.google_ads_source.stg_google_ads__ad_history_tmp": ["model.google_ads_source.stg_google_ads__ad_history", "model.google_ads_source.stg_google_ads__ad_history"], "model.google_ads_source.stg_google_ads__account_history_tmp": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__account_history"], "model.apple_search_ads.apple_search_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1", "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c", "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17"], "model.apple_search_ads.apple_search_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9", "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5", "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c"], "model.apple_search_ads.apple_search_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13", "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82", "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db"], "model.apple_search_ads.apple_search_ads__search_term_report": ["model.ad_reporting.int_ad_reporting__search_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4", "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c", "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7"], "model.apple_search_ads.apple_search_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f", "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146", "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a"], "model.apple_search_ads.apple_search_ads__organization_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3", "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523", "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8"], "model.ad_reporting.ad_reporting__campaign_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f", "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b"], "model.ad_reporting.ad_reporting__account_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583", "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022"], "model.ad_reporting.ad_reporting__ad_group_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a", "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842"], "model.ad_reporting.ad_reporting__search_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf", "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb"], "model.ad_reporting.ad_reporting__ad_report": ["metric.ad_reporting.active_ads", "metric.ad_reporting.avg_spend", "metric.ad_reporting.avg_spend_nonzero", "metric.ad_reporting.clicks", "metric.ad_reporting.impressions", "metric.ad_reporting.spend", "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55", "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152"], "model.ad_reporting.ad_reporting__url_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424", "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6"], "model.ad_reporting.ad_reporting__keyword_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6", "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334"], "model.ad_reporting.int_ad_reporting__campaign_report": ["model.ad_reporting.ad_reporting__campaign_report"], "model.ad_reporting.int_ad_reporting__keyword_report": ["model.ad_reporting.ad_reporting__keyword_report"], "model.ad_reporting.int_ad_reporting__ad_report": ["model.ad_reporting.ad_reporting__ad_report"], "model.ad_reporting.int_ad_reporting__account_report": ["model.ad_reporting.ad_reporting__account_report"], "model.ad_reporting.int_ad_reporting__url_report": ["model.ad_reporting.ad_reporting__url_report"], "model.ad_reporting.int_ad_reporting__search_report": ["model.ad_reporting.ad_reporting__search_report"], "model.ad_reporting.int_ad_reporting__ad_group_report": ["model.ad_reporting.ad_reporting__ad_group_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": ["model.apple_search_ads.apple_search_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.apple_search_ads.apple_search_ads__keyword_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.apple_search_ads.apple_search_ads__search_term_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report": ["model.apple_search_ads.apple_search_ads__ad_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": ["model.apple_search_ads.apple_search_ads__campaign_report", "model.apple_search_ads.apple_search_ads__organization_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3"], "model.apple_search_ads_source.stg_apple_search_ads__organization": ["model.apple_search_ads.apple_search_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.apple_search_ads.apple_search_ads__keyword_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.apple_search_ads.apple_search_ads__search_term_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a", "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": ["model.apple_search_ads.apple_search_ads__keyword_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": ["model.apple_search_ads.apple_search_ads__keyword_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": ["model.apple_search_ads.apple_search_ads__search_term_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344", "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad", "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": ["model.apple_search_ads.apple_search_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.apple_search_ads.apple_search_ads__keyword_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history": ["model.apple_search_ads.apple_search_ads__ad_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": ["model.apple_search_ads.apple_search_ads__ad_group_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__organization", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": ["model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9", "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34"], "model.pinterest_source.stg_pinterest_ads__keyword_report": ["model.pinterest.pinterest_ads__keyword_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6", "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300", "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48"], "model.pinterest_source.stg_pinterest_ads__ad_group_report": ["model.pinterest.pinterest_ads__ad_group_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e", "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471", "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c"], "model.pinterest_source.stg_pinterest_ads__campaign_history": ["model.pinterest.pinterest_ads__ad_group_report", "model.pinterest.pinterest_ads__campaign_report", "model.pinterest.pinterest_ads__keyword_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87", "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341"], "model.pinterest_source.stg_pinterest_ads__advertiser_report": ["model.pinterest.pinterest_ads__advertiser_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0", "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff", "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95"], "model.pinterest_source.stg_pinterest_ads__advertiser_history": ["model.pinterest.pinterest_ads__ad_group_report", "model.pinterest.pinterest_ads__advertiser_report", "model.pinterest.pinterest_ads__campaign_report", "model.pinterest.pinterest_ads__keyword_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b", "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb"], "model.pinterest_source.stg_pinterest_ads__campaign_report": ["model.pinterest.pinterest_ads__campaign_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc", "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc", "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238"], "model.pinterest_source.stg_pinterest_ads__keyword_history": ["model.pinterest.pinterest_ads__keyword_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877", "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": ["model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024", "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1", "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab"], "model.pinterest_source.stg_pinterest_ads__ad_group_history": ["model.pinterest.pinterest_ads__ad_group_report", "model.pinterest.pinterest_ads__keyword_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339", "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be"], "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": ["model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": ["model.pinterest_source.stg_pinterest_ads__campaign_report", "model.pinterest_source.stg_pinterest_ads__campaign_report"], "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": ["model.pinterest_source.stg_pinterest_ads__advertiser_report", "model.pinterest_source.stg_pinterest_ads__advertiser_report"], "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": ["model.pinterest_source.stg_pinterest_ads__keyword_report", "model.pinterest_source.stg_pinterest_ads__keyword_report"], "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": ["model.pinterest_source.stg_pinterest_ads__ad_group_report", "model.pinterest_source.stg_pinterest_ads__ad_group_report"], "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": ["model.pinterest_source.stg_pinterest_ads__keyword_history", "model.pinterest_source.stg_pinterest_ads__keyword_history"], "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": ["model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__campaign_history"], "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": ["model.tiktok_ads.tiktok_ads__campaign_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34", "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb", "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": ["model.tiktok_ads.tiktok_ads__ad_group_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": ["model.tiktok_ads.tiktok_ads__ad_group_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": ["model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser": ["model.tiktok_ads.tiktok_ads__ad_group_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def", "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history": ["model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": ["model.tiktok_ads.tiktok_ads__ad_group_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b", "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_history"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "model.facebook_ads_source.stg_facebook_ads__basic_ad": ["model.facebook_ads.facebook_ads__account_report", "model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7", "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b", "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc"], "model.facebook_ads_source.stg_facebook_ads__creative_history": ["model.facebook_ads.facebook_ads__url_tags", "model.facebook_ads.int_facebook_ads__creative_history", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562", "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f", "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261"], "model.facebook_ads_source.stg_facebook_ads__campaign_history": ["model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2", "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852", "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270"], "model.facebook_ads_source.stg_facebook_ads__account_history": ["model.facebook_ads.facebook_ads__account_report", "model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2", "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f", "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f"], "model.facebook_ads_source.stg_facebook_ads__ad_history": ["model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history": ["model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__basic_ad"], "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"], "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__creative_history", "model.facebook_ads_source.stg_facebook_ads__creative_history"], "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": ["model.snapchat_ads.snapchat_ads__ad_squad_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99", "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380", "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe", "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": ["model.snapchat_ads.snapchat_ads__campaign_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "model.microsoft_ads.microsoft_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686", "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125"], "model.microsoft_ads.microsoft_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3", "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9"], "model.microsoft_ads.microsoft_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9", "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b"], "model.microsoft_ads.microsoft_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7", "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a"], "model.microsoft_ads.microsoft_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f", "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e"], "model.microsoft_ads.microsoft_ads__search_report": ["model.ad_reporting.int_ad_reporting__search_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3", "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d"], "model.microsoft_ads.microsoft_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b", "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8"], "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report": ["model.twitter_ads.twitter_ads__keyword_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec"], "model.twitter_ads_source.stg_twitter_ads__campaign_report": ["model.twitter_ads.twitter_ads__campaign_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4"], "model.twitter_ads_source.stg_twitter_ads__line_item_history": ["model.twitter_ads.twitter_ads__keyword_report", "model.twitter_ads.twitter_ads__line_item_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809"], "model.twitter_ads_source.stg_twitter_ads__line_item_report": ["model.twitter_ads.twitter_ads__line_item_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb"], "model.twitter_ads_source.stg_twitter_ads__campaign_history": ["model.twitter_ads.twitter_ads__campaign_report", "model.twitter_ads.twitter_ads__keyword_report", "model.twitter_ads.twitter_ads__line_item_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": ["model.twitter_ads.twitter_ads__account_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598"], "model.twitter_ads_source.stg_twitter_ads__tweet": ["model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd", "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95"], "model.twitter_ads_source.stg_twitter_ads__account_history": ["model.twitter_ads.twitter_ads__account_report", "model.twitter_ads.twitter_ads__campaign_report", "model.twitter_ads.twitter_ads__keyword_report", "model.twitter_ads.twitter_ads__line_item_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40", "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2"], "model.twitter_ads_source.stg_twitter_ads__tweet_url": ["model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74", "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be", "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": ["model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09"], "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": ["model.twitter_ads_source.stg_twitter_ads__tweet_url", "model.twitter_ads_source.stg_twitter_ads__tweet_url"], "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": ["model.twitter_ads_source.stg_twitter_ads__tweet", "model.twitter_ads_source.stg_twitter_ads__tweet"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history"], "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__campaign_report", "model.twitter_ads_source.stg_twitter_ads__campaign_report"], "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history"], "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report", "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"], "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__line_item_report", "model.twitter_ads_source.stg_twitter_ads__line_item_report"], "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__account_history"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"], "model.linkedin.linkedin_ads__campaign_group_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6", "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf", "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b"], "model.linkedin.linkedin_ads__creative_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f", "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889", "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020"], "model.linkedin.linkedin_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3", "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15", "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1"], "model.linkedin.linkedin_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c", "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842", "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53"], "model.linkedin.linkedin_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d", "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb", "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2", "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c": [], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99": [], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9": [], "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed": [], "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb": [], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e": [], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e": [], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836": [], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19": [], "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff": [], "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0": [], "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47": [], "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8": [], "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0": [], "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421": [], "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce": [], "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211": [], "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a": [], "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846": [], "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194": [], "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f": [], "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec": [], "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39": [], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5": [], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082": [], "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b": [], "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e": [], "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143": [], "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff": [], "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90": [], "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6": [], "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7": [], "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191": [], "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a": [], "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d": [], "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131": [], "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af": [], "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da": [], "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0": [], "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958": [], "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e": [], "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502": [], "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8": [], "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7": [], "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d": [], "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf": [], "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279": [], "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca": [], "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11": [], "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba": [], "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d": [], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd": [], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3": [], "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e": [], "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078": [], "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be": [], "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a": [], "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788": [], "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4": [], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682": [], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d": [], "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f": [], "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e": [], "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f": [], "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b": [], "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469": [], "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d": [], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9": [], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94": [], "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d": [], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382": [], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313": [], "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197": [], "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050": [], "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4": [], "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b": [], "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb": [], "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d": [], "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474": [], "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_version_tag.d3f8e73227": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id.cc02e6aa66": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da": [], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0": [], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce": [], "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66": [], "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2": [], "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1": [], "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7": [], "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0": [], "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6": [], "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80": [], "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f": [], "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7": [], "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738": [], "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f": [], "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6": [], "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40": [], "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3": [], "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260": [], "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6": [], "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe": [], "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57": [], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b": [], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e": [], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639": [], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c": [], "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6": [], "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78": [], "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be": [], "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd": [], "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248": [], "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b": [], "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4": [], "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451": [], "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020": [], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b": [], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45": [], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d": [], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68": [], "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b": [], "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860": [], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5": [], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9": [], "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c": [], "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1": [], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146": [], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f": [], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db": [], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13": [], "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8": [], "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3": [], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c": [], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4": [], "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583": [], "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a": [], "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55": [], "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f": [], "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6": [], "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf": [], "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344": [], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339": [], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87": [], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9": [], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1": [], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024": [], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c": [], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e": [], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b": [], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95": [], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0": [], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238": [], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc": [], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877": [], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300": [], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6": [], "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34": [], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f": [], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef": [], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852": [], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2": [], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f": [], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562": [], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc": [], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe": [], "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f": [], "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3": [], "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686": [], "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b": [], "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9": [], "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3": [], "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7": [], "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd": [], "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95": [], "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842": [], "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c": [], "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1": [], "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3": [], "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b": [], "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6": [], "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020": [], "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f": [], "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315": [], "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2": [], "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d": [], "source.microsoft_ads_source.microsoft_ads.account_history": ["model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"], "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_group_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.campaign_history": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"], "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.keyword_history": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"], "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"], "source.reddit_ads_source.reddit_ads.account": ["model.reddit_ads_source.stg_reddit_ads__account_tmp"], "source.reddit_ads_source.reddit_ads.account_report": ["model.reddit_ads_source.stg_reddit_ads__account_report_tmp"], "source.reddit_ads_source.reddit_ads.ad": ["model.reddit_ads_source.stg_reddit_ads__ad_tmp"], "source.reddit_ads_source.reddit_ads.ad_report": ["model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"], "source.reddit_ads_source.reddit_ads.ad_group": ["model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"], "source.reddit_ads_source.reddit_ads.ad_group_report": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"], "source.reddit_ads_source.reddit_ads.campaign": ["model.reddit_ads_source.stg_reddit_ads__campaign_tmp"], "source.reddit_ads_source.reddit_ads.campaign_report": ["model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"], "source.amazon_ads_source.amazon_ads.ad_group_history": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"], "source.amazon_ads_source.amazon_ads.ad_group_level_report": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"], "source.amazon_ads_source.amazon_ads.advertised_product_report": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"], "source.amazon_ads_source.amazon_ads.campaign_history": ["model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"], "source.amazon_ads_source.amazon_ads.campaign_level_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"], "source.amazon_ads_source.amazon_ads.keyword_history": ["model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"], "source.amazon_ads_source.amazon_ads.portfolio_history": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"], "source.amazon_ads_source.amazon_ads.product_ad_history": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"], "source.amazon_ads_source.amazon_ads.profile": ["model.amazon_ads_source.stg_amazon_ads__profile_tmp"], "source.amazon_ads_source.amazon_ads.targeting_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"], "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"], "source.linkedin_source.linkedin.ad_analytics_by_creative": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"], "source.linkedin_source.linkedin.creative_history": ["model.linkedin_source.stg_linkedin_ads__creative_history_tmp"], "source.linkedin_source.linkedin.campaign_history": ["model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"], "source.linkedin_source.linkedin.campaign_group_history": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"], "source.linkedin_source.linkedin.account_history": ["model.linkedin_source.stg_linkedin_ads__account_history_tmp"], "source.linkedin_source.linkedin.ad_analytics_by_campaign": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"], "source.google_ads_source.google_ads.ad_stats": ["model.google_ads_source.stg_google_ads__ad_stats_tmp"], "source.google_ads_source.google_ads.ad_history": ["model.google_ads_source.stg_google_ads__ad_history_tmp"], "source.google_ads_source.google_ads.ad_group_history": ["model.google_ads_source.stg_google_ads__ad_group_history_tmp"], "source.google_ads_source.google_ads.campaign_history": ["model.google_ads_source.stg_google_ads__campaign_history_tmp"], "source.google_ads_source.google_ads.account_history": ["model.google_ads_source.stg_google_ads__account_history_tmp"], "source.google_ads_source.google_ads.ad_group_criterion_history": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"], "source.google_ads_source.google_ads.ad_group_stats": ["model.google_ads_source.stg_google_ads__ad_group_stats_tmp"], "source.google_ads_source.google_ads.campaign_stats": ["model.google_ads_source.stg_google_ads__campaign_stats_tmp"], "source.google_ads_source.google_ads.keyword_stats": ["model.google_ads_source.stg_google_ads__keyword_stats_tmp"], "source.google_ads_source.google_ads.account_stats": ["model.google_ads_source.stg_google_ads__account_stats_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_group_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_group_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_level_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"], "source.apple_search_ads_source.apple_search_ads.campaign_history": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"], "source.apple_search_ads_source.apple_search_ads.campaign_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"], "source.apple_search_ads_source.apple_search_ads.keyword_history": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"], "source.apple_search_ads_source.apple_search_ads.keyword_report": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"], "source.apple_search_ads_source.apple_search_ads.organization": ["model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"], "source.apple_search_ads_source.apple_search_ads.search_term_report": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"], "source.pinterest_source.pinterest_ads.pin_promotion_report": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"], "source.pinterest_source.pinterest_ads.pin_promotion_history": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"], "source.pinterest_source.pinterest_ads.campaign_history": ["model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"], "source.pinterest_source.pinterest_ads.ad_group_history": ["model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"], "source.pinterest_source.pinterest_ads.ad_group_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"], "source.pinterest_source.pinterest_ads.advertiser_history": ["model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"], "source.pinterest_source.pinterest_ads.advertiser_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"], "source.pinterest_source.pinterest_ads.campaign_report": ["model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"], "source.pinterest_source.pinterest_ads.keyword_history": ["model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"], "source.pinterest_source.pinterest_ads.keyword_report": ["model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"], "source.tiktok_ads_source.tiktok_ads.advertiser": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"], "source.tiktok_ads_source.tiktok_ads.campaign_history": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"], "source.tiktok_ads_source.tiktok_ads.adgroup_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"], "source.tiktok_ads_source.tiktok_ads.ad_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"], "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"], "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"], "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"], "source.facebook_ads_source.facebook_ads.account_history": ["model.facebook_ads_source.stg_facebook_ads__account_history_tmp"], "source.facebook_ads_source.facebook_ads.ad_history": ["model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"], "source.facebook_ads_source.facebook_ads.ad_set_history": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"], "source.facebook_ads_source.facebook_ads.basic_ad": ["model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"], "source.facebook_ads_source.facebook_ads.campaign_history": ["model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"], "source.facebook_ads_source.facebook_ads.creative_history": ["model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_account_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_squad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"], "source.snapchat_ads_source.snapchat_ads.campaign_history": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"], "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"], "source.snapchat_ads_source.snapchat_ads.creative_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"], "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"], "source.twitter_ads_source.twitter_ads.account_history": ["model.twitter_ads_source.stg_twitter_ads__account_history_tmp"], "source.twitter_ads_source.twitter_ads.campaign_history": ["model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"], "source.twitter_ads_source.twitter_ads.line_item_history": ["model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"], "source.twitter_ads_source.twitter_ads.promoted_tweet_history": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"], "source.twitter_ads_source.twitter_ads.tweet_url": ["model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"], "source.twitter_ads_source.twitter_ads.promoted_tweet_report": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"], "source.twitter_ads_source.twitter_ads.tweet": ["model.twitter_ads_source.stg_twitter_ads__tweet_tmp"], "source.twitter_ads_source.twitter_ads.campaign_report": ["model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"], "source.twitter_ads_source.twitter_ads.line_item_report": ["model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"], "source.twitter_ads_source.twitter_ads.line_item_keywords_report": ["model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp"], "metric.ad_reporting.spend": ["metric.ad_reporting.cost_per_click"], "metric.ad_reporting.clicks": ["metric.ad_reporting.bounce_rate", "metric.ad_reporting.clickthrough_rate", "metric.ad_reporting.cost_per_click"], "metric.ad_reporting.impressions": ["metric.ad_reporting.bounce_rate", "metric.ad_reporting.bounce_rate", "metric.ad_reporting.clickthrough_rate"], "metric.ad_reporting.cost_per_click": [], "metric.ad_reporting.bounce_rate": [], "metric.ad_reporting.clickthrough_rate": [], "metric.ad_reporting.active_ads": [], "metric.ad_reporting.avg_spend_nonzero": [], "metric.ad_reporting.avg_spend": []}} \ No newline at end of file +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/manifest/v8.json", "dbt_version": "1.4.0", "generated_at": "2023-03-23T17:41:10.280556Z", "invocation_id": "16c91677-8cb5-48b5-8ba8-f2cc539bf5d3", "env": {}, "project_id": "9bf57d857f8bb3abf75f1b334ad30f3c", "user_id": "535a716f-60c0-47b9-9763-5e1b450166b6", "send_anonymous_usage_stats": true, "adapter_type": "bigquery"}, "nodes": {"seed.ad_reporting_integration_tests.twitter_line_item_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_line_item_history_data.csv", "original_file_path": "seeds/twitter_line_item_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_history_data", "fqn": ["ad_reporting_integration_tests", "twitter_line_item_history_data"], "alias": "twitter_line_item_history_data", "checksum": {"name": "sha256", "checksum": "daa4cbbaf3f09ccdc7dea309513ca09e42782e7b7734d91f9c93e8a838e7486f"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.002979, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_campaign_history_data.csv", "original_file_path": "seeds/amazon_ads_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_campaign_history_data"], "alias": "amazon_ads_campaign_history_data", "checksum": {"name": "sha256", "checksum": "9068962798044d194996c82d369af9f416fad5d1b701b3558f4ceea13fd2d36f"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.020153, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_ad_group_level_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_ad_group_level_report_data.csv", "original_file_path": "seeds/amazon_ads_ad_group_level_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_ad_group_level_report_data"], "alias": "amazon_ads_ad_group_level_report_data", "checksum": {"name": "sha256", "checksum": "2bd578c7a9b442d8ff680c377b1575193642d8567c02018b15b7feb06d633c23"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.024398, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_ad_group_level_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_keyword_stats_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_keyword_stats_data.csv", "original_file_path": "seeds/google_ads_keyword_stats_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data", "fqn": ["ad_reporting_integration_tests", "google_ads_keyword_stats_data"], "alias": "google_ads_keyword_stats_data", "checksum": {"name": "sha256", "checksum": "e4745703dd19dabf77a7df047ced6c1c56966ad8552d2f67676bcfd4ff36c94f"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.0287821, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_keyword_stats_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_ad_group_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_ad_group_report_data.csv", "original_file_path": "seeds/pinterest_ads_ad_group_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_ad_group_report_data"], "alias": "pinterest_ads_ad_group_report_data", "checksum": {"name": "sha256", "checksum": "6451df695a92aca87f55fdc197110c9e91d5b1663808905afa2f031527fa3947"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.033243, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_ad_group_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "linkedin_ad_campaign_history_data.csv", "original_file_path": "seeds/linkedin_ad_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "linkedin_ad_campaign_history_data"], "alias": "linkedin_ad_campaign_history_data", "checksum": {"name": "sha256", "checksum": "90cdf3c013456ff4a40f502e0d55fa10be2dfdb269b5b79b41671ab4558ae879"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp", "account_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp", "account_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.037492, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_account_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_account_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_account_report_data.csv", "original_file_path": "seeds/reddit_ads_account_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_account_report_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_account_report_data"], "alias": "reddit_ads_account_report_data", "checksum": {"name": "sha256", "checksum": "82b98a76c07069e7752621a8ce85c1a613bcbcbb4be084c7f3b6d25fbf10a6c6"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"account_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.0421388, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_account_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_line_item_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_line_item_report_data.csv", "original_file_path": "seeds/twitter_line_item_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_report_data", "fqn": ["ad_reporting_integration_tests", "twitter_line_item_report_data"], "alias": "twitter_line_item_report_data", "checksum": {"name": "sha256", "checksum": "4cef1efaf56e236366e68ccc814c5da3ddf3d2504ab3f156d5f4da1918c0bed6"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.04616, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_keyword_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_keyword_report_data.csv", "original_file_path": "seeds/pinterest_ads_keyword_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_keyword_report_data"], "alias": "pinterest_ads_keyword_report_data", "checksum": {"name": "sha256", "checksum": "46fc926a1182c51ea670ec916f3a86dfa2f20d5553227275682310462caaa849"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.050117, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_keyword_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_keyword_performance_daily_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_keyword_performance_daily_report_data.csv", "original_file_path": "seeds/microsoft_ads_keyword_performance_daily_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_keyword_performance_daily_report_data"], "alias": "microsoft_ads_keyword_performance_daily_report_data", "checksum": {"name": "sha256", "checksum": "24aab796f90b4c8d3376f138913e0070b2295af6744e8aeef1a5a68b06c4f32b"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.054393, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_keyword_performance_daily_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_ad_group_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_ad_group_history_data.csv", "original_file_path": "seeds/amazon_ads_ad_group_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_ad_group_history_data"], "alias": "amazon_ads_ad_group_history_data", "checksum": {"name": "sha256", "checksum": "45753ff9cf086544b805b76303478c515ead8870e4ad9ae3988de8cae6befdde"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.0588422, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_ad_group_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "facebook_ads_ad_history_data.csv", "original_file_path": "seeds/facebook_ads_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data", "fqn": ["ad_reporting_integration_tests", "facebook_ads_ad_history_data"], "alias": "facebook_ads_ad_history_data", "checksum": {"name": "sha256", "checksum": "95c960d78745b1652034ba4da5cc2a7d5b923e816a81c90360f1b28588b7befd"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "account_id": "int64", "ad_set_id": "int64", "campaign_id": "int64", "creative_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_set_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "creative_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.0628428, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_campaign_level_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_campaign_level_report_data.csv", "original_file_path": "seeds/amazon_ads_campaign_level_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_campaign_level_report_data"], "alias": "amazon_ads_campaign_level_report_data", "checksum": {"name": "sha256", "checksum": "5f7e1ab619881258876aaf8b90732b912e29efaf0a824faba39388dd4a6da544"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "click_through_rate": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "click_through_rate": "float"}}, "created_at": 1679592100.0671911, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_campaign_level_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_campaign_history_data.csv", "original_file_path": "seeds/apple_search_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "apple_search_campaign_history_data"], "alias": "apple_search_campaign_history_data", "checksum": {"name": "sha256", "checksum": "42cca2a87492b1c40a102fd9f9941a0894cdb254d7027a88dc9dedfeca1bb67c"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"modification_time": "timestamp", "start_time": "timestamp", "end_time": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"modification_time": "timestamp", "start_time": "timestamp", "end_time": "timestamp"}}, "created_at": 1679592100.0720482, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_campaign_history_data.csv", "original_file_path": "seeds/pinterest_ads_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_campaign_history_data"], "alias": "pinterest_ads_campaign_history_data", "checksum": {"name": "sha256", "checksum": "4c2ec13ff8548a5571e2de4601947d72d934669534584fa234099b3200564aab"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.07636, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_account_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_account_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_account_report_data.csv", "original_file_path": "seeds/twitter_account_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_account_report_data", "fqn": ["ad_reporting_integration_tests", "twitter_account_report_data"], "alias": "twitter_account_report_data", "checksum": {"name": "sha256", "checksum": "d1364362cbe48a00e05e628fac71d48e151ee2c5394b44c6000765ea069fa154"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.080495, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_account_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_campaign_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_campaign_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_campaign_data.csv", "original_file_path": "seeds/reddit_ads_campaign_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_campaign_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_campaign_data"], "alias": "reddit_ads_campaign_data", "checksum": {"name": "sha256", "checksum": "726c8b03bd81f57203df064ff66dd74bbdae559b8d7e1175c214ec06da819881"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.084598, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_campaign_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_creative_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "linkedin_ad_creative_history_data.csv", "original_file_path": "seeds/linkedin_ad_creative_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data", "fqn": ["ad_reporting_integration_tests", "linkedin_ad_creative_history_data"], "alias": "linkedin_ad_creative_history_data", "checksum": {"name": "sha256", "checksum": "60d568d212f155df35c86f9d39572cf55a733c53598016adb0aa9b4df79ce2e8"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp"}}, "created_at": 1679592100.0892212, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_creative_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_squad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_ad_squad_history_data.csv", "original_file_path": "seeds/snapchat_ad_squad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data", "fqn": ["ad_reporting_integration_tests", "snapchat_ad_squad_history_data"], "alias": "snapchat_ad_squad_history_data", "checksum": {"name": "sha256", "checksum": "0e83ca691f2153480e7b63173f1c7ed8c38c0dc247d41a6f2fd46afc1e5963b1"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.093749, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_squad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_campaign_history_data.csv", "original_file_path": "seeds/twitter_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "twitter_campaign_history_data"], "alias": "twitter_campaign_history_data", "checksum": {"name": "sha256", "checksum": "efc42a8a6652bd7f8fdcad7bd3e5803a749190f78acfd3aa5c5aa05e31d6bd35"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.098133, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_pin_promotion_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_pin_promotion_history_data.csv", "original_file_path": "seeds/pinterest_ads_pin_promotion_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_pin_promotion_history_data"], "alias": "pinterest_ads_pin_promotion_history_data", "checksum": {"name": "sha256", "checksum": "6b7c5d891ccb02be0c1e126545984964eb4fa226a9d1ae9741ad76288497e338"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.102459, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_pin_promotion_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_group_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_ad_group_history_data.csv", "original_file_path": "seeds/apple_search_ad_group_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data", "fqn": ["ad_reporting_integration_tests", "apple_search_ad_group_history_data"], "alias": "apple_search_ad_group_history_data", "checksum": {"name": "sha256", "checksum": "6940c04c90cc94b46d8a36bf1b3701cbd64d75b298222e26819aaf6460ddf984"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"modification_time": "timestamp", "start_time": "timestamp", "end_time": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"modification_time": "timestamp", "start_time": "timestamp", "end_time": "timestamp"}}, "created_at": 1679592100.107454, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_group_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_campaign_group_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "linkedin_ad_campaign_group_history_data.csv", "original_file_path": "seeds/linkedin_ad_campaign_group_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data", "fqn": ["ad_reporting_integration_tests", "linkedin_ad_campaign_group_history_data"], "alias": "linkedin_ad_campaign_group_history_data", "checksum": {"name": "sha256", "checksum": "a3e2f426d56d779f1bcb3013b2d4862e7a8203c0372c4892e598165fedab1744"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp", "account_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp", "account_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.111685, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_campaign_group_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_ad_group_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_ad_group_history_data.csv", "original_file_path": "seeds/pinterest_ads_ad_group_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_ad_group_history_data"], "alias": "pinterest_ads_ad_group_history_data", "checksum": {"name": "sha256", "checksum": "ff76dce5a5b57b38a03bfc295838b9f05e99e3e310066ac3fc96f7c78e3b6be8"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.115817, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_ad_group_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_product_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_product_ad_history_data.csv", "original_file_path": "seeds/amazon_ads_product_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_product_ad_history_data"], "alias": "amazon_ads_product_ad_history_data", "checksum": {"name": "sha256", "checksum": "7efed04b5599f1f2a4e8db33b56eb1f43c6ed27a77a504c7f8b7d628aac37749"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.119937, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_product_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_campaign_stats_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_campaign_stats_data.csv", "original_file_path": "seeds/google_ads_campaign_stats_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data", "fqn": ["ad_reporting_integration_tests", "google_ads_campaign_stats_data"], "alias": "google_ads_campaign_stats_data", "checksum": {"name": "sha256", "checksum": "f8ffb40c33a31cdd4185ed5e956cfdaff9736054806ef3f9da5cf6f036ef7d0d"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.1244879, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_campaign_stats_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_ad_data.csv", "original_file_path": "seeds/reddit_ads_ad_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_ad_data"], "alias": "reddit_ads_ad_data", "checksum": {"name": "sha256", "checksum": "3c60814303d77bfb7b387e026b59ea6f6db7ae316bcb3a8c5b84b50e706d9d59"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.129028, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_account_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_account_history_data.csv", "original_file_path": "seeds/microsoft_ads_account_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_account_history_data"], "alias": "microsoft_ads_account_history_data", "checksum": {"name": "sha256", "checksum": "282800342d5306132bdc208ee361599831ae8566b4639cd5c3bea492062e4b78"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"name": "string"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"name": "{{ 'string' if target.name in ['bigquery','spark', 'databricks'] else 'varchar' }}"}}, "created_at": 1679592100.133493, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_account_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_account_performance_daily_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_account_performance_daily_report_data.csv", "original_file_path": "seeds/microsoft_ads_account_performance_daily_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_account_performance_daily_report_data"], "alias": "microsoft_ads_account_performance_daily_report_data", "checksum": {"name": "sha256", "checksum": "38506b413bb9edde36b2b1ab800847a06cddd5205317dbcd351ae3b0eb730bc2"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.137857, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_account_performance_daily_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_ad_history_data.csv", "original_file_path": "seeds/tiktok_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_ad_history_data", "fqn": ["ad_reporting_integration_tests", "tiktok_ad_history_data"], "alias": "tiktok_ad_history_data", "checksum": {"name": "sha256", "checksum": "e8cd94df3f2404a811c8e661e0a3c9e843a93af4082a34bcf4e2a0581a582fb5"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.14258, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_advertised_product_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_advertised_product_report_data.csv", "original_file_path": "seeds/amazon_ads_advertised_product_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_advertised_product_report_data"], "alias": "amazon_ads_advertised_product_report_data", "checksum": {"name": "sha256", "checksum": "359aceee40e7bd32af39a8504323e8d5467d77630cf98aa0a4223d3b9c963016"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "click_through_rate": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "click_through_rate": "float"}}, "created_at": 1679592100.146585, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_advertised_product_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_creative_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "facebook_ads_creative_history_data.csv", "original_file_path": "seeds/facebook_ads_creative_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data", "fqn": ["ad_reporting_integration_tests", "facebook_ads_creative_history_data"], "alias": "facebook_ads_creative_history_data", "checksum": {"name": "path", "checksum": "seeds/facebook_ads_creative_history_data.csv"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"page_link": "string", "template_page_link": "string", "id": "int64", "account_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"page_link": "{{ 'string' if target.name in ['bigquery','spark', 'databricks'] else 'varchar' }}", "template_page_link": "{{ 'string' if target.name in ['bigquery','spark', 'databricks'] else 'varchar' }}", "id": "{{ 'int64' if target.name == 'bigquery' else 'bigint' }}", "account_id": "{{ 'int64' if target.name == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.150663, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_creative_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_adgroup_report_hourly_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_adgroup_report_hourly_data.csv", "original_file_path": "seeds/tiktok_adgroup_report_hourly_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data", "fqn": ["ad_reporting_integration_tests", "tiktok_adgroup_report_hourly_data"], "alias": "tiktok_adgroup_report_hourly_data", "checksum": {"name": "sha256", "checksum": "8be9d24fc395101fc03be9b0e38f0e87baf450c262ce29af544fd1fae72c203a"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.1546419, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_adgroup_report_hourly_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_promoted_tweet_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_promoted_tweet_history_data.csv", "original_file_path": "seeds/twitter_promoted_tweet_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data", "fqn": ["ad_reporting_integration_tests", "twitter_promoted_tweet_history_data"], "alias": "twitter_promoted_tweet_history_data", "checksum": {"name": "sha256", "checksum": "ec5e3be3c75b17b07893e9e7c21a4e0b8d5a820a73d3306fd94ec59935714690"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"tweet_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"tweet_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.159581, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_promoted_tweet_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_search_term_ad_keyword_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_search_term_ad_keyword_report_data.csv", "original_file_path": "seeds/amazon_ads_search_term_ad_keyword_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_search_term_ad_keyword_report_data"], "alias": "amazon_ads_search_term_ad_keyword_report_data", "checksum": {"name": "sha256", "checksum": "f0aa8b9495b20a37e8ce3af2394355f4e4dee753bb615b8a87670625d619c246"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "keyword_bid": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "keyword_bid": "float"}}, "created_at": 1679592100.163738, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_search_term_ad_keyword_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_organization_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_organization_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_organization_data.csv", "original_file_path": "seeds/apple_search_organization_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_organization_data", "fqn": ["ad_reporting_integration_tests", "apple_search_organization_data"], "alias": "apple_search_organization_data", "checksum": {"name": "sha256", "checksum": "bbb5878ab9c07bd1f391181a8321ea50476f37d25f36fd1d66e58d513336699c"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.167714, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_organization_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_campaign_history_data.csv", "original_file_path": "seeds/tiktok_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "tiktok_campaign_history_data"], "alias": "tiktok_campaign_history_data", "checksum": {"name": "sha256", "checksum": "c9a4686eed6f728add12beb70cb5820de610d87e882111bc1fa254c361ed0321"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.17182, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_advertiser_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_advertiser_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_advertiser_data.csv", "original_file_path": "seeds/tiktok_advertiser_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_advertiser_data", "fqn": ["ad_reporting_integration_tests", "tiktok_advertiser_data"], "alias": "tiktok_advertiser_data", "checksum": {"name": "sha256", "checksum": "de5eae63898b95132ec4cadc4e896dd253e3a2cb1dd0d8a94df849ca8e861a4c"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.1763892, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_advertiser_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_promoted_tweet_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_promoted_tweet_report_data.csv", "original_file_path": "seeds/twitter_promoted_tweet_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data", "fqn": ["ad_reporting_integration_tests", "twitter_promoted_tweet_report_data"], "alias": "twitter_promoted_tweet_report_data", "checksum": {"name": "sha256", "checksum": "6a94bf0e2cfcebb31203eba09cf167ef23144b892aa14b654461ff216b4b6a8e"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.1804101, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_promoted_tweet_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_stats_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_ad_group_stats_data.csv", "original_file_path": "seeds/google_ads_ad_group_stats_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data", "fqn": ["ad_reporting_integration_tests", "google_ads_ad_group_stats_data"], "alias": "google_ads_ad_group_stats_data", "checksum": {"name": "sha256", "checksum": "d3ac6d88466ebf8fca7753e60be01dfa615a8e9b654da4d91fab8ee59c6c7cf0"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.1844108, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_stats_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_ad_stats_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_stats_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_ad_stats_data.csv", "original_file_path": "seeds/google_ads_ad_stats_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_stats_data", "fqn": ["ad_reporting_integration_tests", "google_ads_ad_stats_data"], "alias": "google_ads_ad_stats_data", "checksum": {"name": "sha256", "checksum": "7aa7a5c05d68344ef454636b9f70e4e69869c5d78f677b20df600e5ac2ddcb25"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.188523, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_stats_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_campaign_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_campaign_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_campaign_report_data.csv", "original_file_path": "seeds/twitter_campaign_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_campaign_report_data", "fqn": ["ad_reporting_integration_tests", "twitter_campaign_report_data"], "alias": "twitter_campaign_report_data", "checksum": {"name": "sha256", "checksum": "bb3bdaea68e1bc903cb5b3a3e507926b43009e0f52ec2f867a97e7276cef81bb"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.1931431, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_campaign_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_account_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_account_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_account_history_data.csv", "original_file_path": "seeds/google_ads_account_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_account_history_data", "fqn": ["ad_reporting_integration_tests", "google_ads_account_history_data"], "alias": "google_ads_account_history_data", "checksum": {"name": "sha256", "checksum": "bf0559a512f089514aa67964b7ae5aef0fee8deb6e0874c01e853ed78dd7883d"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.1971352, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_account_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_profile_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_profile_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_profile_data.csv", "original_file_path": "seeds/amazon_ads_profile_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_profile_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_profile_data"], "alias": "amazon_ads_profile_data", "checksum": {"name": "sha256", "checksum": "bf98315483844e348320dc4d774059cb5229ef48b495aebace17dd04520d160b"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.201107, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_profile_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "facebook_ads_campaign_history_data.csv", "original_file_path": "seeds/facebook_ads_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "facebook_ads_campaign_history_data"], "alias": "facebook_ads_campaign_history_data", "checksum": {"name": "sha256", "checksum": "1dfd8244efe7c32be5fb93c8417575d79670225092a28cab9da03d0ad7773432"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "account_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.205387, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_keyword_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_keyword_history_data.csv", "original_file_path": "seeds/microsoft_ads_keyword_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_keyword_history_data"], "alias": "microsoft_ads_keyword_history_data", "checksum": {"name": "sha256", "checksum": "e736b54737adad8174d44a89eab9a6b720326744bff802fda870f585c86e7511"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.210387, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_keyword_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_tweet_url_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_tweet_url_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_tweet_url_data.csv", "original_file_path": "seeds/twitter_tweet_url_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_tweet_url_data", "fqn": ["ad_reporting_integration_tests", "twitter_tweet_url_data"], "alias": "twitter_tweet_url_data", "checksum": {"name": "sha256", "checksum": "9dc909bf2d2459ddb0228c3ba58e230b8080a67ffaecce201f5de36c338d62b2"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"tweet_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"tweet_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.214608, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_tweet_url_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_keyword_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_keyword_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_keyword_history_data.csv", "original_file_path": "seeds/apple_search_keyword_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_keyword_history_data", "fqn": ["ad_reporting_integration_tests", "apple_search_keyword_history_data"], "alias": "apple_search_keyword_history_data", "checksum": {"name": "sha256", "checksum": "a6d53cd4951594b21214e60bf51503907ee364eac04c7d24a19dc490cc7d818c"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"modification_time": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"modification_time": "timestamp"}}, "created_at": 1679592100.218774, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_keyword_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_group_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_ad_group_data.csv", "original_file_path": "seeds/reddit_ads_ad_group_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_ad_group_data"], "alias": "reddit_ads_ad_group_data", "checksum": {"name": "sha256", "checksum": "854e1b14702e4e7d1d455e8d47bb6356e3970c7baac2b1a2e1aafbb129233a62"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "campaign_id": "INT64", "ad_id": "INT64", "ad_group_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.2234209, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_group_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_campaign_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_campaign_report_data.csv", "original_file_path": "seeds/pinterest_ads_campaign_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_campaign_report_data"], "alias": "pinterest_ads_campaign_report_data", "checksum": {"name": "sha256", "checksum": "40dc5b48841d732d7707801558e939abdbf2c0c333a2a4b6f76cd40d68f90f78"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.228112, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_campaign_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_search_performance_daily_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_search_performance_daily_report_data.csv", "original_file_path": "seeds/microsoft_ads_search_performance_daily_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_search_performance_daily_report_data"], "alias": "microsoft_ads_search_performance_daily_report_data", "checksum": {"name": "sha256", "checksum": "d511070057e0350bd6feeff317d9adf1fbe30690b615211738b3f2efc6e29133"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.2322502, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_search_performance_daily_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_campaign_history_data.csv", "original_file_path": "seeds/google_ads_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "google_ads_campaign_history_data"], "alias": "google_ads_campaign_history_data", "checksum": {"name": "sha256", "checksum": "54db8f4f5a51eae1af9391b9b74c4b847485e82c382a25ebc1b4a727640825e5"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.23635, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_keyword_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_keyword_history_data.csv", "original_file_path": "seeds/pinterest_ads_keyword_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_keyword_history_data"], "alias": "pinterest_ads_keyword_history_data", "checksum": {"name": "sha256", "checksum": "589c187cfa8845b5851700d6e10128a158fe860a55a4f4de7f83b1e92226bc9e"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.240449, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_keyword_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_analytics_by_creative_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "linkedin_ad_analytics_by_creative_data.csv", "original_file_path": "seeds/linkedin_ad_analytics_by_creative_data.csv", "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data", "fqn": ["ad_reporting_integration_tests", "linkedin_ad_analytics_by_creative_data"], "alias": "linkedin_ad_analytics_by_creative_data", "checksum": {"name": "sha256", "checksum": "90a1a324923b47307989ab10594f537f8c45262ffcdfd8ffbe09bae7f05760f7"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"day": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"day": "timestamp"}}, "created_at": 1679592100.245147, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_analytics_by_creative_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_ad_history_data.csv", "original_file_path": "seeds/snapchat_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_history_data", "fqn": ["ad_reporting_integration_tests", "snapchat_ad_history_data"], "alias": "snapchat_ad_history_data", "checksum": {"name": "sha256", "checksum": "839c0910ff6ff3cff2580bd9144223132dd1d87f003aeea329e47ba858a2dc23"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.249374, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.facebook_ads_account_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_account_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "facebook_ads_account_history_data.csv", "original_file_path": "seeds/facebook_ads_account_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_account_history_data", "fqn": ["ad_reporting_integration_tests", "facebook_ads_account_history_data"], "alias": "facebook_ads_account_history_data", "checksum": {"name": "sha256", "checksum": "cd864f60b0ec016488416e66c22b5ff0ffcb882139124d92c3207f5abb0ae36d"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "name": "string"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.name == 'bigquery' else 'bigint' }}", "name": "{{ 'string' if target.name in ['bigquery','spark', 'databricks'] else 'varchar' }}"}}, "created_at": 1679592100.253577, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_account_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_campaign_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_campaign_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_campaign_report_data.csv", "original_file_path": "seeds/apple_search_campaign_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_campaign_report_data", "fqn": ["ad_reporting_integration_tests", "apple_search_campaign_report_data"], "alias": "apple_search_campaign_report_data", "checksum": {"name": "sha256", "checksum": "a4a374475156eb8d9ddc40c43cadbcc843efcf7a55180346d2d4b875c2791ab1"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.257808, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_campaign_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_ad_group_history_data.csv", "original_file_path": "seeds/google_ads_ad_group_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data", "fqn": ["ad_reporting_integration_tests", "google_ads_ad_group_history_data"], "alias": "google_ads_ad_group_history_data", "checksum": {"name": "sha256", "checksum": "82518353626bed4214f1dea514b77c97c96da2e4c7253734c3268e55111e67ce"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.262391, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_campaign_history_data.csv", "original_file_path": "seeds/snapchat_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "snapchat_campaign_history_data"], "alias": "snapchat_campaign_history_data", "checksum": {"name": "sha256", "checksum": "640eb2ec082938ad70c430a6b3441711f6fed19eb6e28d7622f03294e92e5b70"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.266507, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_basic_ad_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "facebook_ads_basic_ad_data.csv", "original_file_path": "seeds/facebook_ads_basic_ad_data.csv", "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data", "fqn": ["ad_reporting_integration_tests", "facebook_ads_basic_ad_data"], "alias": "facebook_ads_basic_ad_data", "checksum": {"name": "sha256", "checksum": "66b31e24edd0ba75d3fee6ad4c1522fd9b43417943aac398f1c92f5076ba7ac0"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"ad_id": "int64", "account_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"ad_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.270738, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_basic_ad_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_ad_report_hourly_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_ad_report_hourly_data.csv", "original_file_path": "seeds/tiktok_ad_report_hourly_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data", "fqn": ["ad_reporting_integration_tests", "tiktok_ad_report_hourly_data"], "alias": "tiktok_ad_report_hourly_data", "checksum": {"name": "sha256", "checksum": "d69dcb9baa6015d02d6304146b4f3c6cab3fb75431c351636d9c9f65b5f7d911"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.2749922, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_ad_report_hourly_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_group_performance_daily_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_ad_group_performance_daily_report_data.csv", "original_file_path": "seeds/microsoft_ads_ad_group_performance_daily_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_ad_group_performance_daily_report_data"], "alias": "microsoft_ads_ad_group_performance_daily_report_data", "checksum": {"name": "sha256", "checksum": "384b5c5b4f318171a536391e3591a2d4833f4bafeef3ea7f20be82b1f04b1346"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.279624, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_group_performance_daily_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_search_term_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_search_term_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_search_term_report_data.csv", "original_file_path": "seeds/apple_search_search_term_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_search_term_report_data", "fqn": ["ad_reporting_integration_tests", "apple_search_search_term_report_data"], "alias": "apple_search_search_term_report_data", "checksum": {"name": "sha256", "checksum": "6add75b68a0f9a6f153a9fb83a682387a76a5b89d6dcd14fdbbcb5b418bb3b5a"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.2840168, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_search_term_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_account_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_account_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_account_data.csv", "original_file_path": "seeds/reddit_ads_account_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_account_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_account_data"], "alias": "reddit_ads_account_data", "checksum": {"name": "sha256", "checksum": "4d672f0080db8e51bd896c8fe9a56a0f2e6cb4fe175ae3a55713449532cd6a67"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.2880929, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_account_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_squad_hourly_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_ad_squad_hourly_report_data.csv", "original_file_path": "seeds/snapchat_ad_squad_hourly_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data", "fqn": ["ad_reporting_integration_tests", "snapchat_ad_squad_hourly_report_data"], "alias": "snapchat_ad_squad_hourly_report_data", "checksum": {"name": "sha256", "checksum": "bfd35d6b8446668beead2ac4590a52d36815d55adf1dee4cde552a5538fc1725"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.292223, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_squad_hourly_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_group_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_ad_group_report_data.csv", "original_file_path": "seeds/reddit_ads_ad_group_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_ad_group_report_data"], "alias": "reddit_ads_ad_group_report_data", "checksum": {"name": "sha256", "checksum": "18a4e6c21b4b4c6248b681cc49bad5d0d12171a2d0a699ca99af864737d40817"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"account_id": "INT64", "ad_group_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.296664, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_group_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_account_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "linkedin_ad_account_history_data.csv", "original_file_path": "seeds/linkedin_ad_account_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data", "fqn": ["ad_reporting_integration_tests", "linkedin_ad_account_history_data"], "alias": "linkedin_ad_account_history_data", "checksum": {"name": "sha256", "checksum": "e00ceef7b82a006c9fb463fe928e58f1d0bdaeddb0541508934c62d0142084fb"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"created_time": "timestamp", "last_modified_time": "timestamp"}}, "created_at": 1679592100.3009112, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_account_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_account_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_account_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_account_history_data.csv", "original_file_path": "seeds/twitter_account_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_account_history_data", "fqn": ["ad_reporting_integration_tests", "twitter_account_history_data"], "alias": "twitter_account_history_data", "checksum": {"name": "sha256", "checksum": "229fd6a7831e53082c29732e64a0e1dde615b4918a4a724a20f5277acbc6b91f"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"name": "string"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"name": "{{ 'string' if target.name in ['bigquery','spark', 'databricks'] else 'varchar' }}"}}, "created_at": 1679592100.305414, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_account_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_creative_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_creative_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_creative_history_data.csv", "original_file_path": "seeds/snapchat_creative_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_creative_history_data", "fqn": ["ad_reporting_integration_tests", "snapchat_creative_history_data"], "alias": "snapchat_creative_history_data", "checksum": {"name": "sha256", "checksum": "40505e1e47b59c850371007584560a03172120f078da2c81c6712aea77d868a8"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.309653, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_creative_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "linkedin_ad_analytics_by_campaign_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "linkedin_ad_analytics_by_campaign_data.csv", "original_file_path": "seeds/linkedin_ad_analytics_by_campaign_data.csv", "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data", "fqn": ["ad_reporting_integration_tests", "linkedin_ad_analytics_by_campaign_data"], "alias": "linkedin_ad_analytics_by_campaign_data", "checksum": {"name": "sha256", "checksum": "a6b72fcf11043561ec04bae0035659363e992cd11f8ed5376f056b7f4e5b5b32"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.314236, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_analytics_by_campaign_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_ad_history_data.csv", "original_file_path": "seeds/google_ads_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_history_data", "fqn": ["ad_reporting_integration_tests", "google_ads_ad_history_data"], "alias": "google_ads_ad_history_data", "checksum": {"name": "sha256", "checksum": "d75e5e99b2a5e2c3cecf248666c708c739a75cdee2cd66068fc893d9fe7ad635"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.318316, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "facebook_ads_ad_set_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "facebook_ads_ad_set_history_data.csv", "original_file_path": "seeds/facebook_ads_ad_set_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data", "fqn": ["ad_reporting_integration_tests", "facebook_ads_ad_set_history_data"], "alias": "facebook_ads_ad_set_history_data", "checksum": {"name": "sha256", "checksum": "da4e6b48f3feaa4bd2c3783b125909a14c5317b3c1484b4f6af5d7c1d88f5bd7"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "account_id": "int64", "campaign_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.322824, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_ad_set_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_pin_promotion_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_pin_promotion_report_data.csv", "original_file_path": "seeds/pinterest_ads_pin_promotion_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_pin_promotion_report_data"], "alias": "pinterest_ads_pin_promotion_report_data", "checksum": {"name": "sha256", "checksum": "adef7939173c1809f516a7cf739b697eb875210228e21a1cbb52bbdee7dc4ce4"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.3271081, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_pin_promotion_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_keyword_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_keyword_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_keyword_report_data.csv", "original_file_path": "seeds/apple_search_keyword_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_keyword_report_data", "fqn": ["ad_reporting_integration_tests", "apple_search_keyword_report_data"], "alias": "apple_search_keyword_report_data", "checksum": {"name": "sha256", "checksum": "6aafe7098ea6f18764856a6631b190de106462f83f8bb1d3c8fb91e2d3cfffee"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.331645, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_keyword_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_hourly_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_ad_hourly_report_data.csv", "original_file_path": "seeds/snapchat_ad_hourly_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data", "fqn": ["ad_reporting_integration_tests", "snapchat_ad_hourly_report_data"], "alias": "snapchat_ad_hourly_report_data", "checksum": {"name": "sha256", "checksum": "1f2f808727dc7d9d45ba0ac10bba717da6454110d8fb242ee54986b8b60d7f9d"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"date": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"date": "timestamp"}}, "created_at": 1679592100.3356102, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_hourly_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_targeting_keyword_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_targeting_keyword_report_data.csv", "original_file_path": "seeds/amazon_ads_targeting_keyword_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_targeting_keyword_report_data"], "alias": "amazon_ads_targeting_keyword_report_data", "checksum": {"name": "sha256", "checksum": "9d8d836b312da8f87e0649638b7a040f11975c4817d4439d9a67e9726f8c46cc"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "click_through_rate": "float", "keyword_bid": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"_fivetran_synced": "timestamp", "campaign_budget_amount": "float", "click_through_rate": "float", "keyword_bid": "float"}}, "created_at": 1679592100.339683, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_targeting_keyword_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_performance_daily_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_ad_performance_daily_report_data.csv", "original_file_path": "seeds/microsoft_ads_ad_performance_daily_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_ad_performance_daily_report_data"], "alias": "microsoft_ads_ad_performance_daily_report_data", "checksum": {"name": "sha256", "checksum": "026f9dd8b52f39f82551e9b632dc4ee00ef44df83c0227d076ecb260025a451a"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.343843, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_performance_daily_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_tweet_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_tweet_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_tweet_data.csv", "original_file_path": "seeds/twitter_tweet_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_tweet_data", "fqn": ["ad_reporting_integration_tests", "twitter_tweet_data"], "alias": "twitter_tweet_data", "checksum": {"name": "sha256", "checksum": "7e28de3484a806b3428f4898e035364e2a282ef5819cfe895f8c94f6455e726f"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.348398, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_tweet_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_campaign_hourly_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_campaign_hourly_report_data.csv", "original_file_path": "seeds/snapchat_campaign_hourly_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data", "fqn": ["ad_reporting_integration_tests", "snapchat_campaign_hourly_report_data"], "alias": "snapchat_campaign_hourly_report_data", "checksum": {"name": "sha256", "checksum": "30cfac35c4fb0c216f8992ee23e13c2ed9322373ef62316ca9b5876952444295"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.3523998, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_campaign_hourly_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_ad_history_data.csv", "original_file_path": "seeds/microsoft_ads_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_ad_history_data"], "alias": "microsoft_ads_ad_history_data", "checksum": {"name": "sha256", "checksum": "68d19aa9efd8111d82af64fb5ceadb9d124fe1f2d1ec9d87fb6a87e96b4e6eba"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.356535, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "twitter_line_item_keywords_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "twitter_line_item_keywords_report_data.csv", "original_file_path": "seeds/twitter_line_item_keywords_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data", "fqn": ["ad_reporting_integration_tests", "twitter_line_item_keywords_report_data"], "alias": "twitter_line_item_keywords_report_data", "checksum": {"name": "sha256", "checksum": "80107d8a67ce63a986c2e1a4d7af8d1e6572053a11e20e7df98f5d42e0da690e"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.360755, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_keywords_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_ad_account_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_ad_account_history_data.csv", "original_file_path": "seeds/snapchat_ad_account_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data", "fqn": ["ad_reporting_integration_tests", "snapchat_ad_account_history_data"], "alias": "snapchat_ad_account_history_data", "checksum": {"name": "sha256", "checksum": "0e1f3a58ee6a4863bb59fbd30c286606f0de77040fbb2903ab312e5d248454cb"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.3655171, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_account_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_campaign_performance_daily_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_campaign_performance_daily_report_data.csv", "original_file_path": "seeds/microsoft_ads_campaign_performance_daily_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_campaign_performance_daily_report_data"], "alias": "microsoft_ads_campaign_performance_daily_report_data", "checksum": {"name": "sha256", "checksum": "2defb0e38c65b2bf62ce5cb269c2f539437885533b53d7a3174d1cc04e2c7efe"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "account_id": "INT64", "campaign_id": "INT64", "ad_group_id": "INT64", "ad_id": "INT64", "keyword_id": "INT64", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "last_modified_time": "timestamp", "modified_time": "timestamp", "spend": "float"}}, "created_at": 1679592100.369575, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_campaign_performance_daily_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_ad_group_criterion_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_ad_group_criterion_history_data.csv", "original_file_path": "seeds/google_ads_ad_group_criterion_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data", "fqn": ["ad_reporting_integration_tests", "google_ads_ad_group_criterion_history_data"], "alias": "google_ads_ad_group_criterion_history_data", "checksum": {"name": "sha256", "checksum": "ba922f14e5ead32ec131a2d000bede63d45f504b6c27fc84534b4bf56fc019f2"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"customer_id": "INT64", "ad_id": "INT64", "campaign_id": "INT64", "id": "INT64", "base_campaign_id": "INT64", "base_ad_group_id": "INT64", "ad_group_id": "INT64", "ad_group_criterion_criterion_id": "INT64", "base_adgroup_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"customer_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_criterion_criterion_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "base_adgroup_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.373707, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_criterion_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_portfolio_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_portfolio_history_data.csv", "original_file_path": "seeds/amazon_ads_portfolio_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_portfolio_history_data"], "alias": "amazon_ads_portfolio_history_data", "checksum": {"name": "sha256", "checksum": "f35ce3ea8cd6309e50535134b9375861995eb6cda4e215efc0b170cae03a3eee"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.377789, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_portfolio_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_ad_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_ad_report_data.csv", "original_file_path": "seeds/apple_search_ad_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_report_data", "fqn": ["ad_reporting_integration_tests", "apple_search_ad_report_data"], "alias": "apple_search_ad_report_data", "checksum": {"name": "sha256", "checksum": "cec2ecc4c7e91cf19165a1e29734c42255fd997ade35f03a22609aac5fa8e5f3"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.3821912, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "amazon_ads_keyword_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "amazon_ads_keyword_history_data.csv", "original_file_path": "seeds/amazon_ads_keyword_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data", "fqn": ["ad_reporting_integration_tests", "amazon_ads_keyword_history_data"], "alias": "amazon_ads_keyword_history_data", "checksum": {"name": "sha256", "checksum": "68a118d96a47a1c6ed2ee084efadd429eb0a54755ba72f283b57e13a9632f327"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.386152, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_keyword_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_campaign_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_campaign_report_data.csv", "original_file_path": "seeds/reddit_ads_campaign_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_campaign_report_data"], "alias": "reddit_ads_campaign_report_data", "checksum": {"name": "sha256", "checksum": "73d181faba6c8451dcb1b7cc04f028642990fd68fbd13c2e84f952f0fa1b424e"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"account_id": "INT64", "campaign_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.390181, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_campaign_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.google_ads_account_stats_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "google_ads_account_stats_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "google_ads_account_stats_data.csv", "original_file_path": "seeds/google_ads_account_stats_data.csv", "unique_id": "seed.ad_reporting_integration_tests.google_ads_account_stats_data", "fqn": ["ad_reporting_integration_tests", "google_ads_account_stats_data"], "alias": "google_ads_account_stats_data", "checksum": {"name": "sha256", "checksum": "d6b21f0858465ed0937e45a56e864fa023280d4e9a343e3e8442764386717ff7"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.3943481, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_account_stats_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "snapchat_creative_url_tag_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "snapchat_creative_url_tag_history_data.csv", "original_file_path": "seeds/snapchat_creative_url_tag_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data", "fqn": ["ad_reporting_integration_tests", "snapchat_creative_url_tag_history_data"], "alias": "snapchat_creative_url_tag_history_data", "checksum": {"name": "sha256", "checksum": "c5e8dbafad038e142209d2145532d5d5e762922bf4fe44535901b46cd9797dcc"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.398647, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_creative_url_tag_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_campaign_report_hourly_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_campaign_report_hourly_data.csv", "original_file_path": "seeds/tiktok_campaign_report_hourly_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data", "fqn": ["ad_reporting_integration_tests", "tiktok_campaign_report_hourly_data"], "alias": "tiktok_campaign_report_hourly_data", "checksum": {"name": "sha256", "checksum": "e142bf0e3037365792c797d4dcbc3c3ec4621f1802fae83b3ef5a4f05630f162"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.402501, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_campaign_report_hourly_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_campaign_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_campaign_history_data.csv", "original_file_path": "seeds/microsoft_ads_campaign_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_campaign_history_data"], "alias": "microsoft_ads_campaign_history_data", "checksum": {"name": "sha256", "checksum": "b713e54ffdbc25d2260c83c5a17eb48d98bde788bcdb5b62defa9cca936cb552"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.406444, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_campaign_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "reddit_ads_ad_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "reddit_ads_ad_report_data.csv", "original_file_path": "seeds/reddit_ads_ad_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data", "fqn": ["ad_reporting_integration_tests", "reddit_ads_ad_report_data"], "alias": "reddit_ads_ad_report_data", "checksum": {"name": "sha256", "checksum": "14c3bf5b4e2b66f5971ba77839d88bdabbef2a61b57a373335303973d27d5d33"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"ad_id": "INT64", "account_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"ad_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "account_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.410555, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_advertiser_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_advertiser_history_data.csv", "original_file_path": "seeds/pinterest_ads_advertiser_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_advertiser_history_data"], "alias": "pinterest_ads_advertiser_history_data", "checksum": {"name": "sha256", "checksum": "a1efd698a39cc0a75b74b43b84d114eddf6eaac9d3dd7d2a06e704951c091fe4"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.4152179, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_advertiser_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pinterest_ads_advertiser_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "pinterest_ads_advertiser_report_data.csv", "original_file_path": "seeds/pinterest_ads_advertiser_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data", "fqn": ["ad_reporting_integration_tests", "pinterest_ads_advertiser_report_data"], "alias": "pinterest_ads_advertiser_report_data", "checksum": {"name": "sha256", "checksum": "d1a7a977ede788e2610dc21decfb57c226253807e9780784d17a06175f9adef8"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "int64", "campaign_id": "int64", "ad_group_id": "int64", "pin_id": "int64", "advertiser_id": "int64", "pin_promotion_id": "int64", "keyword_id": "int64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "ad_group_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "advertiser_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "pin_promotion_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}", "keyword_id": "{{ 'int64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.419418, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_advertiser_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_group_report_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_ad_group_report_data.csv", "original_file_path": "seeds/apple_search_ad_group_report_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data", "fqn": ["ad_reporting_integration_tests", "apple_search_ad_group_report_data"], "alias": "apple_search_ad_group_report_data", "checksum": {"name": "sha256", "checksum": "135ee77ac9c3aa146d4f0281b04312c1034c271276f215b27145bb99f83534f5"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.424021, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_group_report_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "microsoft_ads_ad_group_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "microsoft_ads_ad_group_history_data.csv", "original_file_path": "seeds/microsoft_ads_ad_group_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data", "fqn": ["ad_reporting_integration_tests", "microsoft_ads_ad_group_history_data"], "alias": "microsoft_ads_ad_group_history_data", "checksum": {"name": "sha256", "checksum": "4abd621bb94190bc111a86b471c7cde3b75308f0eee84a0c62fcdeb53bc54d9e"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"id": "INT64", "campaign_id": "INT64"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}", "campaign_id": "{{ 'INT64' if target.type == 'bigquery' else 'bigint' }}"}}, "created_at": 1679592100.428392, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_group_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.apple_search_ad_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "apple_search_ad_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "apple_search_ad_history_data.csv", "original_file_path": "seeds/apple_search_ad_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_history_data", "fqn": ["ad_reporting_integration_tests", "apple_search_ad_history_data"], "alias": "apple_search_ad_history_data", "checksum": {"name": "sha256", "checksum": "e9e1a65339d24d616ce16ea8ee3cc902473a1b5048789ad338c4ba6ca57fe8e0"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {"creation_time": "timestamp", "modification_time": "timestamp"}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}", "column_types": {"creation_time": "timestamp", "modification_time": "timestamp"}}, "created_at": 1679592100.433275, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tiktok_adgroup_history_data", "resource_type": "seed", "package_name": "ad_reporting_integration_tests", "path": "tiktok_adgroup_history_data.csv", "original_file_path": "seeds/tiktok_adgroup_history_data.csv", "unique_id": "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data", "fqn": ["ad_reporting_integration_tests", "tiktok_adgroup_history_data"], "alias": "tiktok_adgroup_history_data", "checksum": {"name": "sha256", "checksum": "572b082b8c5ae907a5223b5e07ac93098104c5cc39fe525580c858aaf5efeebd"}, "config": {"enabled": true, "alias": null, "schema": null, "database": null, "tags": [], "meta": {}, "materialized": "seed", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "quote_columns": false, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"quote_columns": "{{ true if target.type in ('redshift','postgres') else false }}"}, "created_at": 1679592100.437522, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_adgroup_history_data`", "raw_code": "", "root_path": "/Users/sheri.nguyen/dbt-packages/ad_reporting/dbt_ad_reporting/integration_tests"}, "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__account_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__account_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__account_daily_report"], "alias": "stg_microsoft_ads__account_daily_report", "checksum": {"name": "sha256", "checksum": "13f0f5b9c0d3c8e1474867c8492a360d07f6cb1756022a352c821be8cda7af26"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.26021, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__account_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__account_daily_report_tmp')),\n staging_columns=get_account_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n device_os,\n device_type,\n network,\n currency_code, \n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks, \n impressions,\n spend\n \n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__account_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report_tmp"], ["stg_microsoft_ads__account_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_account_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__account_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_distribution\n \n as \n \n ad_distribution\n \n, \n \n \n bid_match_type\n \n as \n \n bid_match_type\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n delivered_match_type\n \n as \n \n delivered_match_type\n \n, \n \n \n device_os\n \n as \n \n device_os\n \n, \n \n \n device_type\n \n as \n \n device_type\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n network\n \n as \n \n network\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n top_vs_other\n \n as \n \n top_vs_other\n \n\n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n device_os,\n device_type,\n network,\n currency_code, \n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks, \n impressions,\n spend\n \n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__search_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__search_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__search_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__search_daily_report"], "alias": "stg_microsoft_ads__search_daily_report", "checksum": {"name": "sha256", "checksum": "c776b1595930feed1c4dfa76f94f9c346ff92e0ccfe2c52275bfef45ddf71c7c"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.34231, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__search_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__search_daily_report_tmp')),\n staging_columns=get_search_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n search_query,\n device_os,\n device_type,\n network,\n language,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__search_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report_tmp"], ["stg_microsoft_ads__search_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_search_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__search_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n bid_match_type\n \n as \n \n bid_match_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n delivered_match_type\n \n as \n \n delivered_match_type\n \n, \n \n \n device_os\n \n as \n \n device_os\n \n, \n \n \n device_type\n \n as \n \n device_type\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n keyword_id\n \n as \n \n keyword_id\n \n, \n \n \n language\n \n as \n \n language\n \n, \n \n \n network\n \n as \n \n network\n \n, \n \n \n search_query\n \n as \n \n search_query\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n top_vs_other\n \n as \n \n top_vs_other\n \n\n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n search_query,\n device_os,\n device_type,\n network,\n language,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__keyword_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__keyword_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__keyword_daily_report"], "alias": "stg_microsoft_ads__keyword_daily_report", "checksum": {"name": "sha256", "checksum": "355959720c8f47de848c95bd42c6eefd81aeb89c02b20a3cc7e3e75098212212"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.329806, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__keyword_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__keyword_daily_report_tmp')),\n staging_columns=get_keyword_daily_report_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__keyword_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report_tmp"], ["stg_microsoft_ads__keyword_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_keyword_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__keyword_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_distribution\n \n as \n \n ad_distribution\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n bid_match_type\n \n as \n \n bid_match_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n delivered_match_type\n \n as \n \n delivered_match_type\n \n, \n \n \n device_os\n \n as \n \n device_os\n \n, \n \n \n device_type\n \n as \n \n device_type\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n keyword_id\n \n as \n \n keyword_id\n \n, \n \n \n language\n \n as \n \n language\n \n, \n \n \n network\n \n as \n \n network\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n top_vs_other\n \n as \n \n top_vs_other\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n keyword_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__campaign_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__campaign_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__campaign_daily_report"], "alias": "stg_microsoft_ads__campaign_daily_report", "checksum": {"name": "sha256", "checksum": "13b5edfd52333941e6cbf976ac71d69c1f4986ea71948f644c0f6bbdc4ac7de8"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_association_status": {"name": "budget_association_status", "description": "The status of the campaign's budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.312021, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__campaign_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__campaign_daily_report_tmp')),\n staging_columns=get_campaign_daily_report_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n currency_code,\n device_os,\n device_type,\n network,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n budget_association_status,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report_tmp"], ["stg_microsoft_ads__campaign_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_campaign_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__campaign_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_distribution\n \n as \n \n ad_distribution\n \n, \n \n \n bid_match_type\n \n as \n \n bid_match_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n delivered_match_type\n \n as \n \n delivered_match_type\n \n, \n \n \n device_os\n \n as \n \n device_os\n \n, \n \n \n device_type\n \n as \n \n device_type\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n network\n \n as \n \n network\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n top_vs_other\n \n as \n \n top_vs_other\n \n, \n \n \n budget_association_status\n \n as \n \n budget_association_status\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n currency_code,\n device_os,\n device_type,\n network,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n budget_association_status,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__keyword_history.sql", "original_file_path": "models/stg_microsoft_ads__keyword_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__keyword_history"], "alias": "stg_microsoft_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "1ab4d19ab769d28e12c6671643ccd3abcdb71dfbabffa4dbbe0fc4b08bae4232"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft keywords.", "columns": {"keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_name": {"name": "keyword_name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this keyword; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/keywordstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.317676, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as keyword_id,\n name as keyword_name,\n modified_time as modified_at,\n ad_group_id,\n match_type,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__keyword_history_tmp"], ["stg_microsoft_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n modified_time\n \n as \n \n modified_time\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n match_type\n \n as \n \n match_type\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as keyword_id,\n name as keyword_name,\n modified_time as modified_at,\n ad_group_id,\n match_type,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_group_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__ad_group_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_group_daily_report"], "alias": "stg_microsoft_ads__ad_group_daily_report", "checksum": {"name": "sha256", "checksum": "1469a2b46ec430dc3226a0ce28ad9e915104811f3b4aec44e6ef28aed7b2f48d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.277836, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_group_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_group_daily_report_tmp')),\n staging_columns=get_ad_group_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report_tmp"], ["stg_microsoft_ads__ad_group_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_group_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_group_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_distribution\n \n as \n \n ad_distribution\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n bid_match_type\n \n as \n \n bid_match_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n delivered_match_type\n \n as \n \n delivered_match_type\n \n, \n \n \n device_os\n \n as \n \n device_os\n \n, \n \n \n device_type\n \n as \n \n device_type\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n language\n \n as \n \n language\n \n, \n \n \n network\n \n as \n \n network\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n top_vs_other\n \n as \n \n top_vs_other\n \n\n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_group_history.sql", "original_file_path": "models/stg_microsoft_ads__ad_group_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_group_history"], "alias": "stg_microsoft_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "4de2e41bc989a2384df40fae5c9ab580b60bbc880b0d26c7ca84ab3937f3a7cf"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft ad groups.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The date in which an ad group starts running.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The date in which this ad group will no longer run.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad group; see the following [documentation](https://help.ads.microsoft.com/apex/index/3/en/53094) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.2667048, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_group_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_group_id,\n name as ad_group_name,\n campaign_id,\n modified_time as modified_at,\n start_date,\n end_date,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_history_tmp"], ["stg_microsoft_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n modified_time\n \n as \n \n modified_time\n \n, \n \n \n start_date\n \n as \n \n start_date\n \n, \n \n \n end_date\n \n as \n \n end_date\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_group_id,\n name as ad_group_name,\n campaign_id,\n modified_time as modified_at,\n start_date,\n end_date,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_history.sql", "original_file_path": "models/stg_microsoft_ads__ad_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_history"], "alias": "stg_microsoft_ads__ad_history", "checksum": {"name": "sha256", "checksum": "8b09a143b8874327b96ac512de797191baa321edd39103216953d6badb73351d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft ads.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_url": {"name": "final_url", "description": "The full URL that the ad links to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.284113, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n title_part_1 as ad_name,\n final_url,\n ad_group_id,\n modified_time as modified_at,\n status,\n type,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_history_tmp"], ["stg_microsoft_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n title_part_1\n \n as \n \n title_part_1\n \n, \n \n \n final_url\n \n as \n \n final_url\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n modified_time\n \n as \n \n modified_time\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n type\n \n as \n \n type\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n title_part_1 as ad_name,\n final_url,\n ad_group_id,\n modified_time as modified_at,\n status,\n type,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_daily_report", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__ad_daily_report.sql", "original_file_path": "models/stg_microsoft_ads__ad_daily_report.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__ad_daily_report"], "alias": "stg_microsoft_ads__ad_daily_report", "checksum": {"name": "sha256", "checksum": "5867c7ac2235bcdddd45c7c6f48b5340184f440ff88ffcd5f53f0e7e8a8f21c6"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad and all non-metric columns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.2951932, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__ad_daily_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__ad_daily_report_tmp')),\n staging_columns=get_ad_daily_report_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n {{ fivetran_utils.fill_pass_through_columns('microsoft_ads__ad_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report_tmp"], ["stg_microsoft_ads__ad_daily_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_ad_daily_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__ad_daily_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_distribution\n \n as \n \n ad_distribution\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n bid_match_type\n \n as \n \n bid_match_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n delivered_match_type\n \n as \n \n delivered_match_type\n \n, \n \n \n device_os\n \n as \n \n device_os\n \n, \n \n \n device_type\n \n as \n \n device_type\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n language\n \n as \n \n language\n \n, \n \n \n network\n \n as \n \n network\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n top_vs_other\n \n as \n \n top_vs_other\n \n\n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n account_id,\n campaign_id,\n ad_group_id,\n ad_id,\n currency_code,\n device_os,\n device_type,\n network,\n language,\n ad_distribution,\n bid_match_type,\n delivered_match_type,\n top_vs_other,\n clicks,\n impressions,\n spend\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__account_history.sql", "original_file_path": "models/stg_microsoft_ads__account_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__account_history"], "alias": "stg_microsoft_ads__account_history", "checksum": {"name": "sha256", "checksum": "39eeb4c34161dd3e6ccee2310eb51adae09769ee8dca6b2e22d7d421048698e6"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft accounts.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.250756, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__account_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n name as account_name,\n last_modified_time as modified_at,\n time_zone,\n currency_code,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__account_history_tmp"], ["stg_microsoft_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n last_modified_time\n \n as \n \n last_modified_time\n \n, \n \n \n time_zone\n \n as \n \n time_zone\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n name as account_name,\n last_modified_time as modified_at,\n time_zone,\n currency_code,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_history", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "stg_microsoft_ads__campaign_history.sql", "original_file_path": "models/stg_microsoft_ads__campaign_history.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "fqn": ["microsoft_ads_source", "stg_microsoft_ads__campaign_history"], "alias": "stg_microsoft_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "c47ff718f4a476f21216ecc8fee70546821ffa8af1b6309a6a88bde23e6ce763"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a version of one or more Microsoft campaigns.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads_source://models/stg_microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592108.3016121, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_microsoft_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_microsoft_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id,\n name as campaign_name,\n account_id,\n modified_time as modified_at,\n type,\n time_zone,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_microsoft_ads__campaign_history_tmp"], ["stg_microsoft_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.microsoft_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n modified_time\n \n as \n \n modified_time\n \n, \n \n \n type\n \n as \n \n type\n \n, \n \n \n time_zone\n \n as \n \n time_zone\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id,\n name as campaign_name,\n account_id,\n modified_time as modified_at,\n type,\n time_zone,\n status,\n row_number() over (partition by id order by modified_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__search_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__search_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__search_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__search_daily_report_tmp"], "alias": "stg_microsoft_ads__search_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "9b8d4452caa10568d6716c0c6b39598a962e60ca1859c4902ad9f7ad2bd28626"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.836906, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('search_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "search_query_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__search_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_search_performance_daily_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_group_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_group_history_tmp"], "alias": "stg_microsoft_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "0aebf1d34a59e00211f044b66e94c2d5141b3c0fc7b152dbdc769942a2da1c6e"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.8489869, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_group_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_group_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__campaign_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__campaign_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__campaign_daily_report_tmp"], "alias": "stg_microsoft_ads__campaign_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "673ffabe992b47d945786bc8f91ad5d586854df386a3bb40ddae76d7ad41da33"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.860289, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "campaign_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__campaign_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_campaign_performance_daily_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_history_tmp"], "alias": "stg_microsoft_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "f1af9df8b7a8c5f0eae62106592b9c8719d3f8ff9bd09f6d4f868a46b0acd0af"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.871994, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__account_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__account_history_tmp"], "alias": "stg_microsoft_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "f326243a07088f5fde31cda73d5ada38bc95edbb0acd6f20b1cc479d076eeeed"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.885025, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.account_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_account_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_daily_report_tmp"], "alias": "stg_microsoft_ads__ad_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "4cf26ae811cd73631d86eee119cf79e71fd008b630b39e2e4d9bec63df999506"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.896468, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_performance_daily_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__ad_group_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__ad_group_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__ad_group_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__ad_group_daily_report_tmp"], "alias": "stg_microsoft_ads__ad_group_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "57f3f8acc0b43e57bba5c441bff246ada9d9ff8715098271628ac5122138dd0e"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.908521, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "ad_group_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__ad_group_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_group_performance_daily_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__keyword_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__keyword_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__keyword_daily_report_tmp"], "alias": "stg_microsoft_ads__keyword_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "ba23d7a4b13beac610573f8c6f8b5ba0ab4305b00e4453b7da4383c06062b9a7"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.919981, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "keyword_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__keyword_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_keyword_performance_daily_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__keyword_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__keyword_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__keyword_history_tmp"], "alias": "stg_microsoft_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "3d52da52eb899f748854c603db39c3fc0971a2140d4515e10c9f41623cc3bd3c"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.93313, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.keyword_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_keyword_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__campaign_history_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__campaign_history_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__campaign_history_tmp"], "alias": "stg_microsoft_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "c4a882096d8a71aaee29080771645afbd99d3f680b5575cc798abbeb0925291d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.945212, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.campaign_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads_source", "name": "stg_microsoft_ads__account_daily_report_tmp", "resource_type": "model", "package_name": "microsoft_ads_source", "path": "tmp/stg_microsoft_ads__account_daily_report_tmp.sql", "original_file_path": "models/tmp/stg_microsoft_ads__account_daily_report_tmp.sql", "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp", "fqn": ["microsoft_ads_source", "tmp", "stg_microsoft_ads__account_daily_report_tmp"], "alias": "stg_microsoft_ads__account_daily_report_tmp", "checksum": {"name": "sha256", "checksum": "f7861bfb9f1931e450f018bf995c5eb19f2f0a79efb7d426e69b28965d637aa5"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592100.9567208, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_performance_daily_report') }}", "language": "sql", "refs": [], "sources": [["microsoft_ads", "account_performance_daily_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.microsoft_ads_source.microsoft_ads.account_performance_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/tmp/stg_microsoft_ads__account_daily_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_account_performance_daily_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__ad_group_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__ad_group_report.sql", "original_file_path": "models/tiktok_ads__ad_group_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__ad_group_report", "fqn": ["tiktok_ads", "tiktok_ads__ad_group_report"], "alias": "tiktok_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "cd6f0250ddc693a683fb43b67c723a0f30c205465b44856b369764e593d0188a"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the ad group level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.722034, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_group_report_hourly') }}\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n hourly.ad_group_id,\n ad_groups.ad_group_name,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_group_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ad_groups \n on hourly.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ad_groups.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(16) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"], ["stg_tiktok_ads__ad_group_history"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n hourly.ad_group_id,\n ad_groups.ad_group_name,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ad_groups \n on hourly.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ad_groups.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__url_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__url_report.sql", "original_file_path": "models/tiktok_ads__url_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__url_report", "fqn": ["tiktok_ads", "tiktok_ads__url_report"], "alias": "tiktok_ads__url_report", "checksum": {"name": "sha256", "checksum": "9d2e1b017a072d77ccdd7ce5d906429fdee130e6cefc34eb49358079223e2f32"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the URL level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.772844, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_report_hourly') }}\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n ads.utm_term,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n -- We are filtering for only ads where url fields are populated.\n where ads.landing_page_url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(26) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"], ["stg_tiktok_ads__ad_history"], ["stg_tiktok_ads__ad_group_history"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n ads.utm_term,\n advertiser.currency,\n ad_groups.action_categories,\n ad_groups.category,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n\n \n -- We are filtering for only ads where url fields are populated.\n where ads.landing_page_url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__campaign_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__campaign_report.sql", "original_file_path": "models/tiktok_ads__campaign_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__campaign_report", "fqn": ["tiktok_ads", "tiktok_ads__campaign_report"], "alias": "tiktok_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "e326da741a25ba4b3cdbeca8fb8e249c30cd5ef582be47077c14f4259804286f"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the campaign level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.74194, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('campaign_report_hourly') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n advertiser.advertiser_id,\n advertiser.advertiser_name,\n hourly.campaign_id,\n campaigns.campaign_name,\n advertiser.currency,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__campaign_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join campaigns\n on hourly.campaign_id = campaigns.campaign_id\n left join advertiser\n on campaigns.advertiser_id = advertiser.advertiser_id\n {{ dbt_utils.group_by(6) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"], ["stg_tiktok_ads__campaign_history"], ["stg_tiktok_ads__advertiser"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n advertiser.advertiser_id,\n advertiser.advertiser_name,\n hourly.campaign_id,\n campaigns.campaign_name,\n advertiser.currency,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join campaigns\n on hourly.campaign_id = campaigns.campaign_id\n left join advertiser\n on campaigns.advertiser_id = advertiser.advertiser_id\n group by 1,2,3,4,5,6\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__ad_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__ad_report.sql", "original_file_path": "models/tiktok_ads__ad_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__ad_report", "fqn": ["tiktok_ads", "tiktok_ads__ad_report"], "alias": "tiktok_ads__ad_report", "checksum": {"name": "sha256", "checksum": "ceee3ce54092049c327198fdc079ec337fa26661db48a8f976bc996997f8cac6"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.69428, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_report_hourly') }}\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record\n),\n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n advertiser.currency,\n ad_groups.category,\n ad_groups.action_categories,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(18) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"], ["stg_tiktok_ads__ad_history"], ["stg_tiktok_ads__ad_group_history"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n where is_most_recent_record\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n where is_most_recent_record\n), \n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n where is_most_recent_record\n),\n\naggregated as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ad_groups.advertiser_id,\n advertiser.advertiser_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_name,\n hourly.ad_id,\n ads.ad_name,\n advertiser.currency,\n ad_groups.category,\n ad_groups.action_categories,\n ad_groups.gender,\n ad_groups.audience_type,\n ad_groups.budget,\n ad_groups.age,\n ad_groups.languages,\n ad_groups.interest_category,\n sum(hourly.impressions) as impressions,\n sum(hourly.clicks) as clicks,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s,\n sum(hourly.video_watched_6_s) as video_watched_6_s,\n sum(hourly.video_views_p_25) as video_views_p_25,\n sum(hourly.video_views_p_50) as video_views_p_50, \n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join ad_groups \n on ads.ad_group_id = ad_groups.ad_group_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads.tiktok_ads__advertiser_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_tiktok_ads", "name": "tiktok_ads__advertiser_report", "resource_type": "model", "package_name": "tiktok_ads", "path": "tiktok_ads__advertiser_report.sql", "original_file_path": "models/tiktok_ads__advertiser_report.sql", "unique_id": "model.tiktok_ads.tiktok_ads__advertiser_report", "fqn": ["tiktok_ads", "tiktok_ads__advertiser_report"], "alias": "tiktok_ads__advertiser_report", "checksum": {"name": "sha256", "checksum": "b78cce2d035af7c7214232ba2acd99a6ade4908ee71ce08fed3322fa380c08b4"}, "config": {"enabled": true, "alias": null, "schema": "tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account level.", "columns": {"date_day": {"name": "date_day", "description": "Day of record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Advertiser's currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of follows that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpc": {"name": "daily_cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_cpm": {"name": "daily_cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_ctr": {"name": "daily_ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads://models/tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "tiktok_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.6544929, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith hourly as (\n \n select *\n from {{ var('ad_report_hourly') }}\n),\n\nadvertiser as (\n\n select *\n from {{ var('advertiser') }}\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record\n), \n\njoined as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ads.advertiser_id,\n advertiser.advertiser_name,\n advertiser.currency,\n sum(hourly.clicks) as clicks,\n sum(hourly.impressions) as impressions,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s, \n sum(hourly.video_watched_6_s) as video_watched_6_s, \n sum(hourly.video_views_p_25) as video_views_p_25, \n sum(hourly.video_views_p_50) as video_views_p_50,\n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='tiktok_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n {{ dbt_utils.group_by(4) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"], ["stg_tiktok_ads__advertiser"], ["stg_tiktok_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__ad_history"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads__advertiser_report.sql", "compiled": true, "compiled_code": "\n\nwith hourly as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n),\n\nadvertiser as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n where is_most_recent_record\n), \n\njoined as (\n\n select\n cast(hourly.stat_time_hour as date) as date_day,\n ads.advertiser_id,\n advertiser.advertiser_name,\n advertiser.currency,\n sum(hourly.clicks) as clicks,\n sum(hourly.impressions) as impressions,\n sum(hourly.spend) as spend,\n sum(hourly.reach) as reach,\n sum(hourly.conversion) as conversion,\n sum(hourly.likes) as likes,\n sum(hourly.comments) as comments,\n sum(hourly.shares) as shares,\n sum(hourly.profile_visits) as profile_visits,\n sum(hourly.follows) as follows,\n sum(hourly.video_watched_2_s) as video_watched_2_s, \n sum(hourly.video_watched_6_s) as video_watched_6_s, \n sum(hourly.video_views_p_25) as video_views_p_25, \n sum(hourly.video_views_p_50) as video_views_p_50,\n sum(hourly.video_views_p_75) as video_views_p_75,\n sum(hourly.spend)/nullif(sum(hourly.clicks),0) as daily_cpc,\n (sum(hourly.spend)/nullif(sum(hourly.impressions),0))*1000 as daily_cpm,\n (sum(hourly.clicks)/nullif(sum(hourly.impressions),0))*100 as daily_ctr\n\n \n\n\n\n\n \n from hourly\n left join ads\n on hourly.ad_id = ads.ad_id\n left join advertiser\n on ads.advertiser_id = advertiser.advertiser_id\n group by 1,2,3,4\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__account_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__account_report.sql", "original_file_path": "models/twitter_ads__account_report.sql", "unique_id": "model.twitter_ads.twitter_ads__account_report", "fqn": ["twitter_ads", "twitter_ads__account_report"], "alias": "twitter_ads__account_report", "checksum": {"name": "sha256", "checksum": "16ac0265f5e3aa59cf06260bb446a6ef88d625c029d2e7298d44b9008c350fa9"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account level, within a placement in Twitter.\n", "columns": {"spend_micro": {"name": "spend_micro", "description": "The spend (in micros) for the account on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the account on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for th account on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the account on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the account on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_id": {"name": "business_id", "description": "The ID of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_name": {"name": "business_name", "description": "The name of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry_type": {"name": "industry_type", "description": "The industry of the accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The timezone the account is set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_switched_timestamp": {"name": "timezone_switched_timestamp", "description": "The timestamp the account's timezone was last changed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.923626, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith accounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\npromoted_tweet_report as (\n \n select *\n from {{ var('promoted_tweet_report') }}\n),\n\nrollup_report as (\n\n select \n date_day,\n account_id,\n placement,\n sum(clicks) as clicks, \n sum(impressions) as impressions,\n sum(spend) as spend,\n sum(spend_micro) as spend_micro,\n sum(url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from promoted_tweet_report\n group by 1,2,3\n\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n accounts.is_deleted,\n accounts.timezone,\n accounts.industry_type,\n accounts.approval_status,\n accounts.business_name,\n accounts.business_id,\n accounts.created_timestamp,\n accounts.updated_timestamp,\n accounts.timezone_switched_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from rollup_report as report\n left join accounts \n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=13) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__account_history"], ["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith accounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\npromoted_tweet_report as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n),\n\nrollup_report as (\n\n select \n date_day,\n account_id,\n placement,\n sum(clicks) as clicks, \n sum(impressions) as impressions,\n sum(spend) as spend,\n sum(spend_micro) as spend_micro,\n sum(url_clicks) as url_clicks\n\n \n\n\n\n\n\n from promoted_tweet_report\n group by 1,2,3\n\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n accounts.is_deleted,\n accounts.timezone,\n accounts.industry_type,\n accounts.approval_status,\n accounts.business_name,\n accounts.business_id,\n accounts.created_timestamp,\n accounts.updated_timestamp,\n accounts.timezone_switched_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from rollup_report as report\n left join accounts \n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__campaign_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__campaign_report.sql", "original_file_path": "models/twitter_ads__campaign_report.sql", "unique_id": "model.twitter_ads.twitter_ads__campaign_report", "fqn": ["twitter_ads", "twitter_ads__campaign_report"], "alias": "twitter_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "ac412006847147c6ef722fbf416456e8a94a3f0fee9eeed3b26a663e9820a3ab"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account and campaign level, within a placement in Twitter.\n", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on that date. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions on that date. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The amount of spend, in micros, on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The number of URL clicks on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The time the campaign will end", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_cap": {"name": "frequency_cap", "description": "The maximum number of times an ad could be delivered to a user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_servable": {"name": "is_servable", "description": "Whether the campaign is in a state to be actively served to users.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_standard_delivery": {"name": "is_standard_delivery", "description": "Whether standard delivery is enabled (vs accelerated delivery).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The time the campaign will start.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Reference to the funding instrument.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "The daily budget amount to be allocated to the campaign. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.8921, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('campaign_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.is_deleted,\n campaigns.entity_status as campaign_status,\n campaigns.currency,\n campaigns.is_servable,\n campaigns.is_standard_delivery,\n campaigns.frequency_cap,\n campaigns.start_timestamp,\n campaigns.end_timestamp,\n campaigns.created_timestamp,\n campaigns.updated_timestamp,\n campaigns.funding_instrument_id,\n campaigns.daily_budget_amount,\n campaigns.total_budget_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__campaign_report_passthrough_metrics', transform='sum') }}\n\n from report \n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=19) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.is_deleted,\n campaigns.entity_status as campaign_status,\n campaigns.currency,\n campaigns.is_servable,\n campaigns.is_standard_delivery,\n campaigns.frequency_cap,\n campaigns.start_timestamp,\n campaigns.end_timestamp,\n campaigns.created_timestamp,\n campaigns.updated_timestamp,\n campaigns.funding_instrument_id,\n campaigns.daily_budget_amount,\n campaigns.total_budget_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__url_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__url_report.sql", "original_file_path": "models/twitter_ads__url_report.sql", "unique_id": "model.twitter_ads.twitter_ads__url_report", "fqn": ["twitter_ads", "twitter_ads__url_report"], "alias": "twitter_ads__url_report", "checksum": {"name": "sha256", "checksum": "06fc0ec0eca546e85c1f848988ec0e3b8c4c30504aa9d920c690fc58ed4ae5cb"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, line item (ad group), promoted tweet, and url level, within a placement in Twitter.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item (ad group).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the promoted tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_name": {"name": "tweet_name", "description": "The name, if provided, of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_full_text": {"name": "tweet_full_text", "description": "The full text of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The URL as it will be displayed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expanded_url": {"name": "expanded_url", "description": "The fully expanded URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet + URL on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet + URL on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend, in micros, for the tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The URL clicks for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.966961, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('promoted_tweet_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from {{ var('promoted_tweet_history') }}\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from {{ var('tweet') }}\n),\n\ntweet_url as (\n\n select *\n from {{ var('tweet_url') }}\n where index = 0\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text as tweet_full_text,\n tweet_url.base_url,\n tweet_url.url_host,\n tweet_url.url_path,\n tweet_url.utm_source,\n tweet_url.utm_medium,\n tweet_url.utm_campaign,\n tweet_url.utm_content,\n tweet_url.utm_term,\n tweet_url.expanded_url,\n tweet_url.display_url,\n campaigns.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweet_url \n on promoted_tweets.tweet_id = tweet_url.tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n \n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where tweet_url.expanded_url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(n=23) }}\n\n \n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__promoted_tweet_history"], ["stg_twitter_ads__tweet"], ["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__tweet", "model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet`\n),\n\ntweet_url as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url`\n where index = 0\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text as tweet_full_text,\n tweet_url.base_url,\n tweet_url.url_host,\n tweet_url.url_path,\n tweet_url.utm_source,\n tweet_url.utm_medium,\n tweet_url.utm_campaign,\n tweet_url.utm_content,\n tweet_url.utm_term,\n tweet_url.expanded_url,\n tweet_url.display_url,\n campaigns.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweet_url \n on promoted_tweets.tweet_id = tweet_url.tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n \n \n where tweet_url.expanded_url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23\n\n \n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__promoted_tweet_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__promoted_tweet_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__promoted_tweet_report.sql", "original_file_path": "models/twitter_ads__promoted_tweet_report.sql", "unique_id": "model.twitter_ads.twitter_ads__promoted_tweet_report", "fqn": ["twitter_ads", "twitter_ads__promoted_tweet_report"], "alias": "twitter_ads__promoted_tweet_report", "checksum": {"name": "sha256", "checksum": "bfe92b3b7b4256289f1f52608543c3e81151c3e345dc27623c7e7658386058d6"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, line item (ad group), and promoted tweet level, within a placement in Twitter.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item (ad group).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the promoted tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_name": {"name": "tweet_name", "description": "The name, if provided, of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "full_text": {"name": "full_text", "description": "The full text of the tweet that the URL appeared in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet + URL on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet + URL on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend, in micros, for the tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The URL clicks for the promoted tweet + URL on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_status": {"name": "promoted_tweet_status", "description": "The status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the tweet's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_status": {"name": "line_item_status", "description": "The status of the tweet's line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Two-letter language code of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.949446, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('promoted_tweet_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from {{ var('promoted_tweet_history') }}\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from {{ var('tweet') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text,\n promoted_tweets.is_deleted,\n promoted_tweets.entity_status as promoted_tweet_status,\n campaigns.entity_status as campaign_status,\n line_items.entity_status as line_item_status,\n tweets.language,\n campaigns.currency,\n promoted_tweets.approval_status,\n promoted_tweets.created_timestamp,\n promoted_tweets.updated_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics', transform='sum') }}\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=21) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__promoted_tweet_history"], ["stg_twitter_ads__tweet"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__tweet"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__promoted_tweet_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\npromoted_tweets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\n where is_latest_version\n),\n\ntweets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet`\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n accounts.account_id,\n accounts.name as account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n line_items.line_item_id,\n line_items.name as line_item_name,\n promoted_tweets.promoted_tweet_id,\n promoted_tweets.tweet_id,\n tweets.name as tweet_name,\n tweets.full_text,\n promoted_tweets.is_deleted,\n promoted_tweets.entity_status as promoted_tweet_status,\n campaigns.entity_status as campaign_status,\n line_items.entity_status as line_item_status,\n tweets.language,\n campaigns.currency,\n promoted_tweets.approval_status,\n promoted_tweets.created_timestamp,\n promoted_tweets.updated_timestamp,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join promoted_tweets \n on report.promoted_tweet_id = promoted_tweets.promoted_tweet_id\n left join tweets\n on promoted_tweets.tweet_id = tweets.tweet_id\n left join line_items\n on promoted_tweets.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads.twitter_ads__line_item_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__line_item_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__line_item_report.sql", "original_file_path": "models/twitter_ads__line_item_report.sql", "unique_id": "model.twitter_ads.twitter_ads__line_item_report", "fqn": ["twitter_ads", "twitter_ads__line_item_report"], "alias": "twitter_ads__line_item_report", "checksum": {"name": "sha256", "checksum": "db0229d29cf1dbd5701d716465c399fe7be337436c2887f82fc25918d98ca90b"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, and line item (ad group) level, within a placement in Twitter.\n", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the line item's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the line item's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on that date. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions on that date. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The name of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The amount of spend, in micros, on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The number of URL clicks on that date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_domain": {"name": "advertiser_domain", "description": "The website domain for this advertiser, without the protocol specification.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_user_id": {"name": "advertiser_user_id", "description": "The Twitter user identifier for the handle promoting the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "The bidding mechanism.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_unit": {"name": "bid_unit", "description": "The bid unit for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "charge_by": {"name": "charge_by", "description": "The unit to charge this line item by.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_source": {"name": "creative_source", "description": "The source of the creatives for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency in which metrics will be reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The timestamp at which the line item will stop being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_status": {"name": "line_item_status", "description": "The status of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the line item's related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The campaign objective for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization": {"name": "optimization", "description": "The optimization setting to use with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "primary_web_event_tag": {"name": "primary_web_event_tag", "description": "The identifier of the primary web event tag. Allows more accurate tracking of engagements for the campaign pertaining to this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "product_type": {"name": "product_type", "description": "The type of promoted product that this line item will contain.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The timestamp at which the line item will start being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to be associated with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa": {"name": "target_cpa", "description": "The target cost per acquisition for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": true}, "created_at": 1679592108.912283, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('line_item_report') }}\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n line_items.is_deleted,\n line_items.entity_status as line_item_status,\n campaigns.entity_status as campaign_status,\n line_items.currency,\n line_items.advertiser_domain,\n line_items.advertiser_user_id,\n line_items.bid_type,\n line_items.bid_unit,\n line_items.charge_by,\n line_items.objective,\n line_items.optimization,\n line_items.product_type,\n line_items.primary_web_event_tag,\n line_items.creative_source,\n line_items.start_timestamp,\n line_items.end_timestamp,\n line_items.created_timestamp,\n line_items.updated_timestamp,\n line_items.target_cpa,\n line_items.total_budget_amount,\n line_items.bid_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__line_item_report_passthrough_metrics', transform='sum')}}\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=29) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter_ads__line_item_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report`\n),\n\nline_items as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n line_items.is_deleted,\n line_items.entity_status as line_item_status,\n campaigns.entity_status as campaign_status,\n line_items.currency,\n line_items.advertiser_domain,\n line_items.advertiser_user_id,\n line_items.bid_type,\n line_items.bid_unit,\n line_items.charge_by,\n line_items.objective,\n line_items.optimization,\n line_items.product_type,\n line_items.primary_web_event_tag,\n line_items.creative_source,\n line_items.start_timestamp,\n line_items.end_timestamp,\n line_items.created_timestamp,\n line_items.updated_timestamp,\n line_items.target_cpa,\n line_items.total_budget_amount,\n line_items.bid_amount,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n \n\n\n\n\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__campaign_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__campaign_report.sql", "original_file_path": "models/reddit_ads__campaign_report.sql", "unique_id": "model.reddit_ads.reddit_ads__campaign_report", "fqn": ["reddit_ads", "reddit_ads__campaign_report"], "alias": "reddit_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "4ba6618f25acf0f70b0d33bbc6b438136761157c587f628db45109589889f80c"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per campaign, along with account information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.132885, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('campaign_daily_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n),\n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n date_day,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__campaign_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(5)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__campaign_report"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n date_day,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__url_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__url_report.sql", "original_file_path": "models/reddit_ads__url_report.sql", "unique_id": "model.reddit_ads.reddit_ads__url_report", "fqn": ["reddit_ads", "reddit_ads__url_report"], "alias": "reddit_ads__url_report", "checksum": {"name": "sha256", "checksum": "864699cc2e0e57928ce86b6d6d08bce180a1bf87e52484614827f191dcd1734b"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per url and utm parameters, along with post,ad, account, campaign, and ad group information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_url": {"name": "post_url", "description": "The URL belonging to the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_url": {"name": "click_url", "description": "The destination url, or the website address, that a visitor goes to when they click on the ad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The site that sent traffic to your page. Microsoft Advertising sets this to Bing; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "Which channel was used. Microsoft Advertising sets this to cp; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "Which campaign the keyword came from; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "Which ad group the keyword came from; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "Which keyword brought people to your website; extracted from the `click_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.146975, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_daily_report') }}\n),\n\nads as (\n\n select *\n from {{ var('ad') }}\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group') }}\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n report.date_day,\n ads.ad_name,\n report.ad_id,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n ads.post_url,\n ads.click_url,\n {{ dbt.split_part('ads.click_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('ads.click_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('ads.click_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_term') }} as utm_term,\n {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_content') }} as utm_content,\n coalesce( {{ dbt_utils.get_url_parameter('ads.click_url', 'utm_campaign') }}, campaigns.campaign_name) as utm_campaign,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__ad_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(19) }}\n), \n\nfiltered as (\n\n select *\n from joined\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where click_url is not null -- filter for only ads with valid URLs\n {% endif %}\n)\n\nselect *\nfrom filtered", "language": "sql", "refs": [["stg_reddit_ads__ad_report"], ["stg_reddit_ads__ad"], ["stg_reddit_ads__ad_group"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report`\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad`\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group`\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n report.date_day,\n ads.ad_name,\n report.ad_id,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n ads.post_url,\n ads.click_url,\n \n\n \n split(\n ads.click_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.click_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n coalesce( nullif(\n\n \n split(\n \n\n \n split(\n ads.click_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,''), campaigns.campaign_name) as utm_campaign,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n), \n\nfiltered as (\n\n select *\n from joined\n\n \n where click_url is not null -- filter for only ads with valid URLs\n \n)\n\nselect *\nfrom filtered", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__account_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__account_report.sql", "original_file_path": "models/reddit_ads__account_report.sql", "unique_id": "model.reddit_ads.reddit_ads__account_report", "fqn": ["reddit_ads", "reddit_ads__account_report"], "alias": "reddit_ads__account_report", "checksum": {"name": "sha256", "checksum": "d6d9c826127b05037262bf50e1cb401a82890c7e67240a6d360232f64608a8ae"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend of ads by account, account timezone, attribution type, and currency.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attribution_type": {"name": "attribution_type", "description": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone_id": {"name": "time_zone_id", "description": "The time zone id preference for this account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.1123781, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('account_daily_report') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account') }}\n)\n\n, joined as (\n\n select\n report.date_day,\n report.account_id,\n accounts.currency,\n accounts.attribution_type,\n accounts.status,\n accounts.time_zone_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__account_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(6)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__account_report"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_report`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\n)\n\n, joined as (\n\n select\n report.date_day,\n report.account_id,\n accounts.currency,\n accounts.attribution_type,\n accounts.status,\n accounts.time_zone_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__ad_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__ad_report.sql", "original_file_path": "models/reddit_ads__ad_report.sql", "unique_id": "model.reddit_ads.reddit_ads__ad_report", "fqn": ["reddit_ads", "reddit_ads__ad_report"], "alias": "reddit_ads__ad_report", "checksum": {"name": "sha256", "checksum": "0c272b68d0923e014d9a34ea824efe46d2a79f7d0c6d9c922305411a3180c1e7"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per ad, along with account, campaign, ad group, and post information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.127552, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_daily_report') }}\n),\n\nads as (\n\n select *\n from {{ var('ad') }}\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n),\n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n report.date_day,\n report.ad_id,\n ads.ad_name,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__ad_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(10) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__ad_report"], ["stg_reddit_ads__ad"], ["stg_reddit_ads__ad_group"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report`\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad`\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n report.date_day,\n report.ad_id,\n ads.ad_name,\n report.account_id,\n campaigns.campaign_name,\n ads.campaign_id,\n ad_groups.ad_group_name,\n ads.ad_group_id,\n accounts.currency,\n ads.post_id,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join accounts\n on report.account_id = accounts.account_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads.reddit_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads", "name": "reddit_ads__ad_group_report", "resource_type": "model", "package_name": "reddit_ads", "path": "reddit_ads__ad_group_report.sql", "original_file_path": "models/reddit_ads__ad_group_report.sql", "unique_id": "model.reddit_ads.reddit_ads__ad_group_report", "fqn": ["reddit_ads", "reddit_ads__ad_group_report"], "alias": "reddit_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "f37deed104f54050975d4e7b44d3982f5221f4b62ceba54d26f9897ebd6f2593"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily number of clicks, impressions, and spend per ad group, along with campaign and account information.\n", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads://models/reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.118845, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_daily_report') }}\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign') }}\n),\n\naccounts as (\n\n select *\n from {{ var('account') }}\n),\n\njoined as (\n\n select\n report.date_day,\n report.account_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n campaigns.campaign_name,\n ad_groups.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='reddit_ads__ad_group_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(7)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report"], ["stg_reddit_ads__ad_group"], ["stg_reddit_ads__campaign"], ["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_report`\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\n),\n\njoined as (\n\n select\n report.date_day,\n report.account_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n campaigns.campaign_name,\n ad_groups.campaign_id,\n accounts.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__url_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__url_report.sql", "original_file_path": "models/pinterest_ads__url_report.sql", "unique_id": "model.pinterest.pinterest_ads__url_report", "fqn": ["pinterest", "pinterest_ads__url_report"], "alias": "pinterest_ads__url_report", "checksum": {"name": "sha256", "checksum": "1ee4b8fc3fdecf9aa27336f1939c1d5f78ee9ca877f4b85e5054f077ed9f12c2"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the advertiser, campaign, ad group, and url level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_name": {"name": "pin_name", "description": "Pin promotion name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_status": {"name": "pin_status", "description": "The status of the Pin promotion. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679592109.5020401, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('pin_promotion_report') }}\n), \n\npins as (\n\n select *\n from {{ var('pin_promotion_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.destination_url,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.base_url,\n pins.url_host,\n pins.url_path,\n pins.utm_source,\n pins.utm_medium,\n pins.utm_campaign,\n pins.utm_content,\n pins.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__pin_promotion_report_passthrough_metrics', transform = 'sum') }}\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where pins.destination_url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(22) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"], ["stg_pinterest_ads__pin_promotion_history"], ["stg_pinterest_ads__ad_group_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\n), \n\npins as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.destination_url,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.base_url,\n pins.url_host,\n pins.url_path,\n pins.utm_source,\n pins.utm_medium,\n pins.utm_campaign,\n pins.utm_content,\n pins.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n \n where pins.destination_url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__campaign_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__campaign_report.sql", "original_file_path": "models/pinterest_ads__campaign_report.sql", "unique_id": "model.pinterest.pinterest_ads__campaign_report", "fqn": ["pinterest", "pinterest_ads__campaign_report"], "alias": "pinterest_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "80ef7572b29ea31a7e5866ad9a6e6bf99fc0055ef64e527a9173fa440acbdcbd"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the advertiser and campaign level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679592109.5171719, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('campaign_report') }}\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nadvertisers as (\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.campaign_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__campaign_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(6) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report`\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nadvertisers as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n),\n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.campaign_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__keyword_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__keyword_report.sql", "original_file_path": "models/pinterest_ads__keyword_report.sql", "unique_id": "model.pinterest.pinterest_ads__keyword_report", "fqn": ["pinterest", "pinterest_ads__keyword_report"], "alias": "pinterest_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "0c8aed643c742107bb4abb54739f3859a8fbe68ea6082f8e7b5b814d3f36dc51"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of a keyword at the advertiser, campaign, ad group, and keyword level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of match the keyword is tied to. Either Exact or Broad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "parent_type": {"name": "parent_type", "description": "Identifier of what grain the parent type is. Ad group or campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_value": {"name": "keyword_value", "description": "The text value that makes upd the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679592109.532835, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('keyword_report') }}\n), \n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nkeywords as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n report.keyword_id,\n keywords.match_type,\n keywords.parent_type,\n keywords.keyword_value,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__keyword_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join keywords\n on report.keyword_id = keywords.keyword_id\n left join ad_groups\n on keywords.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"], ["stg_pinterest_ads__advertiser_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__ad_group_history"], ["stg_pinterest_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__keyword_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report`\n), \n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nkeywords as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n report.keyword_id,\n keywords.match_type,\n keywords.parent_type,\n keywords.keyword_value,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join keywords\n on report.keyword_id = keywords.keyword_id\n left join ad_groups\n on keywords.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__advertiser_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__advertiser_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__advertiser_report.sql", "original_file_path": "models/pinterest_ads__advertiser_report.sql", "unique_id": "model.pinterest.pinterest_ads__advertiser_report", "fqn": ["pinterest", "pinterest_ads__advertiser_report"], "alias": "pinterest_ads__advertiser_report", "checksum": {"name": "sha256", "checksum": "c1636464f5742460c31c1f5e1c83fa0f21d4985eb7faae46b3fab94444f5c7d1"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of an advertiser on the Pinterest Ads platform.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_status": {"name": "advertiser_status", "description": "Status of the advertiser account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code which the advertiser is set up using.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The country code where the advertiser is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_type": {"name": "billing_type", "description": "The billing type of the advertiser. Will typically be CREDIT_CARD or INVOICE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679592109.524034, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('advertiser_report') }}\n), \n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n report.advertiser_id,\n advertisers.advertiser_status,\n advertisers.currency_code,\n advertisers.country,\n advertisers.billing_type,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__advertiser_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join advertisers\n on report.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(7) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__advertiser_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report`\n), \n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n report.advertiser_id,\n advertisers.advertiser_status,\n advertisers.currency_code,\n advertisers.country,\n advertisers.billing_type,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join advertisers\n on report.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6,7\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__pin_promotion_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__pin_promotion_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__pin_promotion_report.sql", "original_file_path": "models/pinterest_ads__pin_promotion_report.sql", "unique_id": "model.pinterest.pinterest_ads__pin_promotion_report", "fqn": ["pinterest", "pinterest_ads__pin_promotion_report"], "alias": "pinterest_ads__pin_promotion_report", "checksum": {"name": "sha256", "checksum": "2784c143da7bdc10c3f26c175533bf2a6b688624492925b0d95ebdded2a6c873"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the advertiser, campaign, ad group, and pin level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_name": {"name": "pin_name", "description": "Name of the pin.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_status": {"name": "pin_status", "description": "Status of the pin.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679592109.544032, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('pin_promotion_report') }}\n), \n\npins as (\n\n select *\n from {{ var('pin_promotion_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.destination_url,\n pins.base_url,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__pin_promotion_report_passthrough_metrics', transform = 'sum') }}\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n {{ dbt_utils.group_by(15) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"], ["stg_pinterest_ads__pin_promotion_history"], ["stg_pinterest_ads__ad_group_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__pin_promotion_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\n), \n\npins as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\njoined as (\n\n select\n report.date_day,\n campaigns.advertiser_id,\n advertisers.advertiser_name,\n report.campaign_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n report.ad_group_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_status,\n pins.creative_type,\n report.pin_promotion_id,\n pins.pin_name,\n pins.pin_status,\n pins.destination_url,\n pins.base_url,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n\n from report \n left join pins \n on report.pin_promotion_id = pins.pin_promotion_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns \n on report.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest.pinterest_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest", "name": "pinterest_ads__ad_group_report", "resource_type": "model", "package_name": "pinterest", "path": "pinterest_ads__ad_group_report.sql", "original_file_path": "models/pinterest_ads__ad_group_report.sql", "unique_id": "model.pinterest.pinterest_ads__ad_group_report", "fqn": ["pinterest", "pinterest_ads__ad_group_report"], "alias": "pinterest_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "d1304e8b32bec7251d7873aae88ed9f0bdbd754eda4fb64133ad79c8124906f6"}, "config": {"enabled": true, "alias": null, "schema": "pinterest", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign, advertiser, and ad group level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Ad group creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest://models/pinterest.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest", "materialized": "table", "enabled": true}, "created_at": 1679592109.5112262, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_report') }}\n), \n\nadvertisers as (\n\n select *\n from {{ var('advertiser_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.created_at,\n ad_groups.start_time,\n ad_groups.end_time,\n ad_groups.ad_group_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='pinterest__ad_group_report_passthrough_metrics', transform = 'sum') }}\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"], ["stg_pinterest_ads__advertiser_history"], ["stg_pinterest_ads__campaign_history"], ["stg_pinterest_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history"]}, "compiled_path": "target/compiled/pinterest/models/pinterest_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report`\n), \n\nadvertisers as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n report.date_day,\n advertisers.advertiser_name,\n advertisers.advertiser_id,\n campaigns.campaign_name,\n campaigns.campaign_status,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.created_at,\n ad_groups.start_time,\n ad_groups.end_time,\n ad_groups.ad_group_status,\n sum(report.spend) as spend,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions\n\n \n\n\n\n\n\n from report\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join advertisers\n on campaigns.advertiser_id = advertisers.advertiser_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad_group.sql", "original_file_path": "models/stg_reddit_ads__ad_group.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad_group"], "alias": "stg_reddit_ads__ad_group", "checksum": {"name": "sha256", "checksum": "d40222148d3ca57cca6979f19a2ba903f8e0742fc83699039e9c7f26feb9c1fe"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents information about each ad group.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "The bid strategy for this entity. \"MAXIMIZE_VOLUME\", \"MANUAL_BIDDING\", or \"BIDLESS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_value": {"name": "bid_value", "description": "The amount to pay in microcurrency per bidding event.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time_at": {"name": "end_time_at", "description": "When the entity will stop delivering.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expand_targeting": {"name": "expand_targeting", "description": "Boolean that when selected, allows Reddit to expand your targeting to maximize your results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_type": {"name": "goal_type", "description": "The type of goal for the entity. \"IMPRESSIONS\", \"PERCENTAGE\", \"CLICKS\", \"CONVERSIONS\", \"LIFETIME_SPEND\", \"DAILY_SPEND\", or \"VIDEO_VIEWABLE_IMPRESSIONS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_value": {"name": "goal_value", "description": "The value used to determine the goal has been met. This is measured in microcurrency for monetary goals types.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_strategy_type": {"name": "optimization_strategy_type", "description": "The strategy to use when optimizing the delivery of an ad. \"DOWNSTREAM_CONVERSIONS\" or \"APP_INSTALLS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time_at": {"name": "start_time_at", "description": "When the entity will begin to deliver.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.7870998, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_group_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_group_tmp')),\n staging_columns=get_ad_group_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n bid_strategy,\n bid_value,\n campaign_id,\n configured_status,\n effective_status,\n cast(end_time as {{ dbt.type_timestamp() }}) as end_time_at,\n expand_targeting,\n goal_type,\n goal_value,\n id as ad_group_id,\n is_processing,\n name as ad_group_name,\n optimization_strategy_type,\n cast(start_time as {{ dbt.type_timestamp() }}) as start_time_at\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_group_tmp"], ["stg_reddit_ads__ad_group_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_group_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad_group.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n bid_strategy\n \n as \n \n bid_strategy\n \n, \n \n \n bid_value\n \n as \n \n bid_value\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n configured_status\n \n as \n \n configured_status\n \n, \n \n \n effective_status\n \n as \n \n effective_status\n \n, \n \n \n end_time\n \n as \n \n end_time\n \n, \n \n \n expand_targeting\n \n as \n \n expand_targeting\n \n, \n \n \n goal_type\n \n as \n \n goal_type\n \n, \n \n \n goal_value\n \n as \n \n goal_value\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n is_processing\n \n as \n \n is_processing\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n optimization_strategy_type\n \n as \n \n optimization_strategy_type\n \n, \n \n \n start_time\n \n as \n \n start_time\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n bid_strategy,\n bid_value,\n campaign_id,\n configured_status,\n effective_status,\n cast(end_time as TIMESTAMP) as end_time_at,\n expand_targeting,\n goal_type,\n goal_value,\n id as ad_group_id,\n is_processing,\n name as ad_group_name,\n optimization_strategy_type,\n cast(start_time as TIMESTAMP) as start_time_at\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad.sql", "original_file_path": "models/stg_reddit_ads__ad.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad"], "alias": "stg_reddit_ads__ad", "checksum": {"name": "sha256", "checksum": "5caecd1e54c2c74dc284e635671e296ae5453eb903db934613213ae993997cf2"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents information about each ad.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_url": {"name": "click_url", "description": "The destination url, or the website address, that a visitor goes to when they click on the ad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_url": {"name": "post_url", "description": "The URL belonging to the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "rejection_reason": {"name": "rejection_reason", "description": "Reason why entity was rejected.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.773516, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_tmp')),\n staging_columns=get_ad_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_group_id,\n campaign_id,\n click_url,\n configured_status,\n effective_status,\n id as ad_id,\n is_processing,\n name as ad_name,\n post_id,\n post_url,\n rejection_reason\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_tmp"], ["stg_reddit_ads__ad_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n click_url\n \n as \n \n click_url\n \n, \n \n \n configured_status\n \n as \n \n configured_status\n \n, \n \n \n effective_status\n \n as \n \n effective_status\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n is_processing\n \n as \n \n is_processing\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n post_id\n \n as \n \n post_id\n \n, \n \n \n post_url\n \n as \n \n post_url\n \n, \n \n \n rejection_reason\n \n as \n \n rejection_reason\n \n\n\n\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_group_id,\n campaign_id,\n click_url,\n configured_status,\n effective_status,\n id as ad_id,\n is_processing,\n name as ad_name,\n post_id,\n post_url,\n rejection_reason\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__campaign_report.sql", "original_file_path": "models/stg_reddit_ads__campaign_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__campaign_report"], "alias": "stg_reddit_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "5991e879f403a9124ff106ab631a50a9fe75c0f17e9a70fa282510647ff84418"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and campaign.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.802013, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n campaign_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__campaign_report_tmp"], ["stg_reddit_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n region\n \n as \n \n region\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n \n \n `date`\n \n \n \n as date_day \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n campaign_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__account.sql", "original_file_path": "models/stg_reddit_ads__account.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account", "fqn": ["reddit_ads_source", "stg_reddit_ads__account"], "alias": "stg_reddit_ads__account", "checksum": {"name": "sha256", "checksum": "188de870d0d6e4ed9b3969ce93b165b7902fd34fb53bd6ea5f80fe447ac1ab28"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents information about an account.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attribution_type": {"name": "attribution_type", "description": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_attribution_window": {"name": "click_attribution_window", "description": "Determines how long after clicking on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone_id": {"name": "time_zone_id", "description": "The time zone id preference for this account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_attribution_window": {"name": "view_attribution_window", "description": "Determines how long after viewing on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.7609658, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__account_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__account_tmp')),\n staging_columns=get_account_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n attribution_type,\n click_attribution_window,\n cast(created_at as {{ dbt.type_timestamp() }}) as created_at,\n currency,\n id as account_id,\n status,\n time_zone_id,\n view_attribution_window\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__account_tmp"], ["stg_reddit_ads__account_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_account_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_tmp", "model.reddit_ads_source.stg_reddit_ads__account_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__account.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n attribution_type\n \n as \n \n attribution_type\n \n, \n \n \n click_attribution_window\n \n as \n \n click_attribution_window\n \n, \n \n \n created_at\n \n as \n \n created_at\n \n, \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n time_zone_id\n \n as \n \n time_zone_id\n \n, \n \n \n view_attribution_window\n \n as \n \n view_attribution_window\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n attribution_type,\n click_attribution_window,\n cast(created_at as TIMESTAMP) as created_at,\n currency,\n id as account_id,\n status,\n time_zone_id,\n view_attribution_window\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__account_report.sql", "original_file_path": "models/stg_reddit_ads__account_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__account_report"], "alias": "stg_reddit_ads__account_report", "checksum": {"name": "sha256", "checksum": "59c8532082272c5703b5fd50aa2222e315799710df33b89a837f9fa6d96f10e0"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and account.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.765889, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__account_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__account_report_tmp')),\n staging_columns=get_account_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__account_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__account_report_tmp"], ["stg_reddit_ads__account_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_account_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report_tmp", "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n region\n \n as \n \n region\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n \n \n `date`\n \n \n \n as date_day \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad_report.sql", "original_file_path": "models/stg_reddit_ads__ad_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad_report"], "alias": "stg_reddit_ads__ad_report", "checksum": {"name": "sha256", "checksum": "74e3b9cb13233b8fccfd8481929f156c179d78ed6764e280651c959fe3533620"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and ad.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.778132, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_report_tmp')),\n staging_columns=get_ad_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__ad_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_report_tmp"], ["stg_reddit_ads__ad_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n region\n \n as \n \n region\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n \n \n `date`\n \n \n \n as date_day \n\n\n from base\n),\n\nfinal as (\n \n select\n account_id,\n ad_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__campaign.sql", "original_file_path": "models/stg_reddit_ads__campaign.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign", "fqn": ["reddit_ads_source", "stg_reddit_ads__campaign"], "alias": "stg_reddit_ads__campaign", "checksum": {"name": "sha256", "checksum": "66b471962e2a59a217a9416aaf1b384cc5bb35a8b1415a22acd3845ea1099204"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents information about each campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Campaign level funding instrument id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The objective type of a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.797179, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__campaign_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__campaign_tmp')),\n staging_columns=get_campaign_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n configured_status,\n effective_status,\n funding_instrument_id,\n id as campaign_id,\n is_processing,\n name as campaign_name,\n objective\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__campaign_tmp"], ["stg_reddit_ads__campaign_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_campaign_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__campaign.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n configured_status\n \n as \n \n configured_status\n \n, \n \n \n effective_status\n \n as \n \n effective_status\n \n, \n \n \n funding_instrument_id\n \n as \n \n funding_instrument_id\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n is_processing\n \n as \n \n is_processing\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n objective\n \n as \n \n objective\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n configured_status,\n effective_status,\n funding_instrument_id,\n id as campaign_id,\n is_processing,\n name as campaign_name,\n objective\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group_report", "resource_type": "model", "package_name": "reddit_ads_source", "path": "stg_reddit_ads__ad_group_report.sql", "original_file_path": "models/stg_reddit_ads__ad_group_report.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report", "fqn": ["reddit_ads_source", "stg_reddit_ads__ad_group_report"], "alias": "stg_reddit_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "9363e88ead8c691d2ee0ea510faebafacab7f3b0de9f64c7d4dbe47c416c8892"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a summary of events for each given date and ad group.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Spend converted out of microcurrency (so Spend/1,000,000)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "reddit_ads_source://models/stg_reddit_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592109.79212, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_reddit_ads__ad_group_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_reddit_ads__ad_group_report_tmp')),\n staging_columns=get_ad_group_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n ad_group_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n {{ fivetran_utils.fill_pass_through_columns('reddit_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report_tmp"], ["stg_reddit_ads__ad_group_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.reddit_ads_source.get_ad_group_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n region\n \n as \n \n region\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n \n \n `date`\n \n \n \n as date_day \n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n ad_group_id,\n clicks,\n date as date_day,\n impressions,\n region,\n (spend/1000000) as spend\n \n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__campaign_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__campaign_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__campaign_tmp"], "alias": "stg_reddit_ads__campaign_tmp", "checksum": {"name": "sha256", "checksum": "0797be3f32b6adff9e9fbfcc337e2ea0fa96e8cc4baabc5f6e9b27262edee104"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592101.881662, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "campaign"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.campaign"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__campaign_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_campaign_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_group_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_group_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_group_report_tmp"], "alias": "stg_reddit_ads__ad_group_report_tmp", "checksum": {"name": "sha256", "checksum": "77f2b18ceaeb886a91db6f8daac187879d58d24c5a8110b8b2861e1ad40ee760"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592101.894727, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_group_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad_group_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_group_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_group_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__campaign_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__campaign_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__campaign_report_tmp"], "alias": "stg_reddit_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "f5151ddbf3e6df66937d9cc64dbb1c476e82267dacec1a3938970f1ea2b94d54"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592101.926346, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.campaign_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_campaign_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__account_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__account_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__account_report_tmp"], "alias": "stg_reddit_ads__account_report_tmp", "checksum": {"name": "sha256", "checksum": "f96a62a995587628f9aba4a5d4bc135833159befcbadc8c27f263599da8f9d2c"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592101.94473, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "account_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.account_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__account_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_account_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__account_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__account_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__account_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__account_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__account_tmp"], "alias": "stg_reddit_ads__account_tmp", "checksum": {"name": "sha256", "checksum": "e0d473a0a0e0547b39d78f16b21b8f29259cefa6585603a4951f2802e832c315"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592101.974538, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "account"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.account"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__account_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_account_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_group_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_group_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_group_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_group_tmp"], "alias": "stg_reddit_ads__ad_group_tmp", "checksum": {"name": "sha256", "checksum": "7958db08db00edbec36447313920cc678c4b7b46f920dc414416590f40c307be"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592102.056086, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_group') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad_group"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad_group"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_group_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_group_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_report_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_report_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_report_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_report_tmp"], "alias": "stg_reddit_ads__ad_report_tmp", "checksum": {"name": "sha256", "checksum": "35ce3e1cdf726c5397007d18a628931beb6afd08ae50605e277e715ee477c238"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592102.087025, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_report') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.reddit_ads_source.stg_reddit_ads__ad_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_reddit_ads_source", "name": "stg_reddit_ads__ad_tmp", "resource_type": "model", "package_name": "reddit_ads_source", "path": "tmp/stg_reddit_ads__ad_tmp.sql", "original_file_path": "models/tmp/stg_reddit_ads__ad_tmp.sql", "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_tmp", "fqn": ["reddit_ads_source", "tmp", "stg_reddit_ads__ad_tmp"], "alias": "stg_reddit_ads__ad_tmp", "checksum": {"name": "sha256", "checksum": "83a7646528de6e96567b5072213a39dc1df0c06a002ee43479a08ee6fd62cdf2"}, "config": {"enabled": true, "alias": null, "schema": "reddit_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "reddit_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592102.2309408, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__reddit_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad') }}", "language": "sql", "refs": [], "sources": [["reddit_ads", "ad"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.reddit_ads_source.reddit_ads.ad"]}, "compiled_path": "target/compiled/reddit_ads_source/models/tmp/stg_reddit_ads__ad_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__keyword_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__keyword_report.sql", "original_file_path": "models/google_ads__keyword_report.sql", "unique_id": "model.google_ads.google_ads__keyword_report", "fqn": ["google_ads", "google_ads__keyword_report"], "alias": "google_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "8afc77ec6f8a7e4348762f06892b32e48f7066973ff0344fa4e23ceae20cd77f"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad group level for keywords.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "criterion_id": {"name": "criterion_id", "description": "The unique identifier of the criterion being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of keyword ad being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the keyword ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The match type criteria used for the keyword ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The specific keyword text that is used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.93999, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('keyword_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncriterions as (\n\n select *\n from {{ var('ad_group_criterion_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n stats.account_id,\n campaigns.campaign_name,\n stats.campaign_id,\n ad_groups.ad_group_name,\n stats.ad_group_id,\n criterions.criterion_id,\n criterions.type,\n criterions.status,\n criterions.keyword_match_type,\n criterions.keyword_text,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__keyword_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join criterions\n on stats.criterion_id = criterions.criterion_id\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on stats.account_id = accounts.account_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__keyword_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"], ["stg_google_ads__ad_group_criterion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncriterions as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_criterion_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n stats.account_id,\n campaigns.campaign_name,\n stats.campaign_id,\n ad_groups.ad_group_name,\n stats.ad_group_id,\n criterions.criterion_id,\n criterions.type,\n criterions.status,\n criterions.keyword_match_type,\n criterions.keyword_text,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join criterions\n on stats.criterion_id = criterions.criterion_id\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on stats.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__campaign_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__campaign_report.sql", "original_file_path": "models/google_ads__campaign_report.sql", "unique_id": "model.google_ads.google_ads__campaign_report", "fqn": ["google_ads", "google_ads__campaign_report"], "alias": "google_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "b0bd1cd3691181888cba6ff2c8247dade9fad09a62b433ccb75f3b8854a7275c"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of a campaign at the campaign/advertising_channel/advertising_channel_subtype level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_type": {"name": "advertising_channel_type", "description": "The channel type of the ads being served within the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_subtype": {"name": "advertising_channel_subtype", "description": "The channel subtype of the ads being served within the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.9296908, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('campaign_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n campaigns.advertising_channel_type,\n campaigns.advertising_channel_subtype,\n campaigns.status,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__campaign_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n {{ dbt_utils.group_by(8) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__campaign_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n campaigns.advertising_channel_type,\n campaigns.advertising_channel_subtype,\n campaigns.status,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join campaigns\n on stats.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__url_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__url_report.sql", "original_file_path": "models/google_ads__url_report.sql", "unique_id": "model.google_ads.google_ads__url_report", "fqn": ["google_ads", "google_ads__url_report"], "alias": "google_ads__url_report", "checksum": {"name": "sha256", "checksum": "c0cd7ac20f5d6e744a3ab249e75f5a0facce6a833c9fe6bbb9efce90e78bd328"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of URLs at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The unique identifier of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.8998241, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('ad_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ads.ad_id,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n\n {% if var('google_auto_tagging_enabled', false) %}\n\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_source') }} , 'google') as utm_source,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_medium') }} , 'cpc') as utm_medium,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_campaign') }} , campaigns.campaign_name) as utm_campaign,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_content') }} , ad_groups.ad_group_name) as utm_content,\n\n {% else %}\n\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n \n {% endif %}\n\n ads.utm_term,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__ad_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where ads.source_final_urls is not null\n {% endif %}\n\n {{ dbt_utils.group_by(16) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__ad_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"], ["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ads.ad_id,\n ads.base_url,\n ads.url_host,\n ads.url_path,\n\n \n\n ads.utm_source,\n ads.utm_medium,\n ads.utm_campaign,\n ads.utm_content,\n \n \n\n ads.utm_term,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n\n \n where ads.source_final_urls is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__ad_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__ad_report.sql", "original_file_path": "models/google_ads__ad_report.sql", "unique_id": "model.google_ads.google_ads__ad_report", "fqn": ["google_ads", "google_ads__ad_report"], "alias": "google_ads__ad_report", "checksum": {"name": "sha256", "checksum": "d37cc295aa04e6ad61dfac2a9a77267009ac200771988ed13937fe62f847301b"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The unique identifier of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The url which is displayed with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "source_final_urls": {"name": "source_final_urls", "description": "The final urls that are used within the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "The status of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_type": {"name": "ad_type", "description": "The type of the ad that is being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.922442, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('ad_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n stats.ad_id,\n ads.ad_name,\n ads.ad_status,\n ads.ad_type,\n ads.display_url,\n ads.source_final_urls,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__ad_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n {{ dbt_utils.group_by(13) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__ad_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"], ["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n stats.ad_id,\n ads.ad_name,\n ads.ad_status,\n ads.ad_type,\n ads.display_url,\n ads.source_final_urls,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join ads\n on stats.ad_id = ads.ad_id\n and stats.ad_group_id = ads.ad_group_id\n left join ad_groups\n on ads.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__ad_group_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__ad_group_report.sql", "original_file_path": "models/google_ads__ad_group_report.sql", "unique_id": "model.google_ads.google_ads__ad_group_report", "fqn": ["google_ads", "google_ads__ad_group_report"], "alias": "google_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "7f608fbc1b314740591eb4acc64fb45bc8303cefd50c850a31caecc33a8fad23"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad group level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "The status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_type": {"name": "ad_group_type", "description": "The type of ad group which is serving ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.913357, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('ad_group_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_status,\n ad_groups.ad_group_type,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__ad_group_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n {{ dbt_utils.group_by(9) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"], ["stg_google_ads__account_history"], ["stg_google_ads__campaign_history"], ["stg_google_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats", "model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__ad_group_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n ad_groups.ad_group_id,\n ad_groups.ad_group_status,\n ad_groups.ad_group_type,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join ad_groups\n on stats.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on ad_groups.campaign_id = campaigns.campaign_id\n left join accounts\n on campaigns.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads.google_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads", "name": "google_ads__account_report", "resource_type": "model", "package_name": "google_ads", "path": "google_ads__account_report.sql", "original_file_path": "models/google_ads__account_report.sql", "unique_id": "model.google_ads.google_ads__account_report", "fqn": ["google_ads", "google_ads__account_report"], "alias": "google_ads__account_report", "checksum": {"name": "sha256", "checksum": "e16fa20ded7cc2a36a0a1eabe5ad1b0bdb16503068002078b640704ec7cc8bef"}, "config": {"enabled": true, "alias": null, "schema": "google_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the account level.", "columns": {"date_day": {"name": "date_day", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone which the account is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency which the account uses.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "auto_tagging_enabled": {"name": "auto_tagging_enabled", "description": "Boolean indicating if the account uses auto tagging within ad urls.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads://models/google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads", "materialized": "table", "enabled": true}, "created_at": 1679592109.9058418, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith stats as (\n\n select *\n from {{ var('account_stats') }}\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n accounts.currency_code,\n accounts.auto_tagging_enabled,\n accounts.time_zone,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='google_ads__account_stats_passthrough_metrics', transform = 'sum') }}\n\n from stats\n left join accounts\n on stats.account_id = accounts.account_id\n {{ dbt_utils.group_by(6) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_google_ads__account_stats"], ["stg_google_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats", "model.google_ads_source.stg_google_ads__account_history"]}, "compiled_path": "target/compiled/google_ads/models/google_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith stats as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats`\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n where is_most_recent_record = True\n), \n\nfields as (\n\n select\n stats.date_day,\n accounts.account_name,\n accounts.account_id,\n accounts.currency_code,\n accounts.auto_tagging_enabled,\n accounts.time_zone,\n sum(stats.spend) as spend,\n sum(stats.clicks) as clicks,\n sum(stats.impressions) as impressions\n\n \n\n\n\n\n\n from stats\n left join accounts\n on stats.account_id = accounts.account_id\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_level_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__campaign_level_report.sql", "original_file_path": "models/stg_amazon_ads__campaign_level_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__campaign_level_report"], "alias": "stg_amazon_ads__campaign_level_report", "checksum": {"name": "sha256", "checksum": "5ce672eafd208b1e9b7aa8bf32b50629a584366ac793d1d8efc1b4c22b754a93"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Campaign reports contain performance data broken down at the campaign level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_applicable_budget_rule_id": {"name": "campaign_applicable_budget_rule_id", "description": "The ID associated to the active budget rule for a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_applicable_budget_rule_name": {"name": "campaign_applicable_budget_rule_name", "description": "The name associated to the active budget rule for a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_rule_based_budget_amount": {"name": "campaign_rule_based_budget_amount", "description": "The value of the rule-based budget for a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.063479, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__campaign_level_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__campaign_level_report_tmp')),\n staging_columns=get_campaign_level_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n campaign_applicable_budget_rule_id,\n campaign_applicable_budget_rule_name,\n campaign_bidding_strategy,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n campaign_rule_based_budget_amount,\n clicks,\n cost,\n date as date_day,\n impressions\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report_tmp"], ["stg_amazon_ads__campaign_level_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_campaign_level_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__campaign_level_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n campaign_applicable_budget_rule_id\n \n as \n \n campaign_applicable_budget_rule_id\n \n, \n \n \n campaign_applicable_budget_rule_name\n \n as \n \n campaign_applicable_budget_rule_name\n \n, \n \n \n campaign_bidding_strategy\n \n as \n \n campaign_bidding_strategy\n \n, \n \n \n campaign_budget_amount\n \n as \n \n campaign_budget_amount\n \n, \n \n \n campaign_budget_currency_code\n \n as \n \n campaign_budget_currency_code\n \n, \n \n \n campaign_budget_type\n \n as \n \n campaign_budget_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n cast(null as FLOAT64) as \n \n campaign_rule_based_budget_amount\n \n , \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost\n \n as \n \n cost\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n campaign_applicable_budget_rule_id,\n campaign_applicable_budget_rule_name,\n campaign_bidding_strategy,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n campaign_rule_based_budget_amount,\n clicks,\n cost,\n date as date_day,\n impressions\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_level_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__ad_group_level_report.sql", "original_file_path": "models/stg_amazon_ads__ad_group_level_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__ad_group_level_report"], "alias": "stg_amazon_ads__ad_group_level_report", "checksum": {"name": "sha256", "checksum": "35b1ce707ad6d7b38edddcd87412acfe91e8c4d5f6977c76f2a99b2ea60ebfa3"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance by Amazon ad group.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.037642, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__ad_group_level_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__ad_group_level_report_tmp')),\n staging_columns=get_ad_group_level_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n campaign_bidding_strategy,\n clicks,\n cost,\n date as date_day,\n impressions\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report_tmp"], ["stg_amazon_ads__ad_group_level_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_ad_group_level_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__ad_group_level_report.sql", "compiled": true, "compiled_code": "\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n campaign_bidding_strategy\n \n as \n \n campaign_bidding_strategy\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost\n \n as \n \n cost\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n campaign_bidding_strategy,\n clicks,\n cost,\n date as date_day,\n impressions\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__advertised_product_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__advertised_product_report.sql", "original_file_path": "models/stg_amazon_ads__advertised_product_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__advertised_product_report"], "alias": "stg_amazon_ads__advertised_product_report", "checksum": {"name": "sha256", "checksum": "2baf384e65bf9a5c433907885435b20bc372447c8c569dbad8d3eb6b817658da"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Advertised product reports contain performance data for products that are advertised as part of your campaigns.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_asin": {"name": "advertised_asin", "description": "The ASIN associated to an advertised product.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_sku": {"name": "advertised_sku", "description": "The SKU being advertised.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.045438, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__advertised_product_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__advertised_product_report_tmp')),\n staging_columns=get_advertised_product_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_id,\n advertised_asin,\n advertised_sku,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__advertised_product_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report_tmp"], ["stg_amazon_ads__advertised_product_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_advertised_product_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__advertised_product_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__advertised_product_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n cast(null as STRING) as \n \n advertised_asin\n \n , \n cast(null as STRING) as \n \n advertised_sku\n \n , \n \n \n campaign_budget_amount\n \n as \n \n campaign_budget_amount\n \n, \n \n \n campaign_budget_currency_code\n \n as \n \n campaign_budget_currency_code\n \n, \n \n \n campaign_budget_type\n \n as \n \n campaign_budget_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost\n \n as \n \n cost\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_id,\n advertised_asin,\n advertised_sku,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__portfolio_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__portfolio_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__portfolio_history.sql", "original_file_path": "models/stg_amazon_ads__portfolio_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__portfolio_history"], "alias": "stg_amazon_ads__portfolio_history", "checksum": {"name": "sha256", "checksum": "dbb5664f227d1f730798be0a23d37be10111a421a76a6cf2e6bc18336fef266a"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a portfolio in Amazon Ads.", "columns": {"portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_amount": {"name": "budget_amount", "description": "The budget amount associated with the portfolio. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_currency_code": {"name": "budget_currency_code", "description": "The currency used for all monetary values for entities under this profile. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_end_date": {"name": "budget_end_date", "description": "The end date after which the budget is no longer applied. Optional if policy is set to dateRange or monthlyRecurring.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_start_date": {"name": "budget_start_date", "description": "The starting date in YYYYMMDD format to which the budget is applied. Required if policy is set to dateRange. Not specified if policy is set to monthlyRecurring. Note that the starting date for monthlyRecurring is the date when the policy is set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_policy": {"name": "budget_policy", "description": "The budget policy. Set to dateRange to specify a budget for a specific period of time. Set to monthlyRecurring to specify a budget that is automatically renewed at the beginning of each month. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "in_budget": {"name": "in_budget", "description": "Indicates the current budget status of the portfolio. Set to true if the portfolio is in budget, set to false if the portfolio is out of budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.079236, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__amazon_ads_enabled','amazon_ads__portfolio_history_enabled'])) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__portfolio_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__portfolio_history_tmp')),\n staging_columns=get_portfolio_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n budget_amount,\n budget_currency_code,\n budget_end_date,\n budget_policy,\n budget_start_date,\n creation_date,\n id as portfolio_id,\n in_budget,\n last_updated_date,\n name as portfolio_name,\n profile_id,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history_tmp"], ["stg_amazon_ads__portfolio_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.amazon_ads_source.get_portfolio_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp", "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__portfolio_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n budget_amount\n \n as \n \n budget_amount\n \n, \n \n \n budget_currency_code\n \n as \n \n budget_currency_code\n \n, \n \n \n budget_end_date\n \n as \n \n budget_end_date\n \n, \n \n \n budget_policy\n \n as \n \n budget_policy\n \n, \n \n \n budget_start_date\n \n as \n \n budget_start_date\n \n, \n \n \n creation_date\n \n as \n \n creation_date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n in_budget\n \n as \n \n in_budget\n \n, \n \n \n last_updated_date\n \n as \n \n last_updated_date\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n profile_id\n \n as \n \n profile_id\n \n, \n \n \n serving_status\n \n as \n \n serving_status\n \n, \n \n \n state\n \n as \n \n state\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n budget_amount,\n budget_currency_code,\n budget_end_date,\n budget_policy,\n budget_start_date,\n creation_date,\n id as portfolio_id,\n in_budget,\n last_updated_date,\n name as portfolio_name,\n profile_id,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__campaign_history.sql", "original_file_path": "models/stg_amazon_ads__campaign_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__campaign_history"], "alias": "stg_amazon_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "17353e4bb7480533cb8c24a7a24e992c737998607f7515ac648cc92053653257"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a campaign in Amazon Ads.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bidding_strategy": {"name": "bidding_strategy", "description": "The bidding strategy associated with a campaign (legacyForSales, autoForSales, or manual.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "The ad type related to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "The daily budget for the campaign as set by the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"name": "placement", "description": "The placement location where bid controls are used (placementTop or placementProductPage.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "premium_bid_adjustment": {"name": "premium_bid_adjustment", "description": "A boolean representing whether premium bid adjustment is turned on for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting_type": {"name": "targeting_type", "description": "The type of targeting used for the campaign, either manual or auto.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.055586, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n bidding_strategy,\n campaign_type,\n creation_date,\n daily_budget,\n end_date,\n id as campaign_id,\n last_updated_date,\n name as campaign_name,\n placement,\n portfolio_id,\n premium_bid_adjustment,\n profile_id,\n serving_status,\n start_date,\n state,\n targeting_type,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__campaign_history_tmp"], ["stg_amazon_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n bidding_strategy\n \n as \n \n bidding_strategy\n \n, \n \n \n campaign_type\n \n as \n \n campaign_type\n \n, \n \n \n creation_date\n \n as \n \n creation_date\n \n, \n \n \n daily_budget\n \n as \n \n daily_budget\n \n, \n \n \n end_date\n \n as \n \n end_date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_updated_date\n \n as \n \n last_updated_date\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n placement\n \n as \n \n placement\n \n, \n \n \n portfolio_id\n \n as \n \n portfolio_id\n \n, \n \n \n premium_bid_adjustment\n \n as \n \n premium_bid_adjustment\n \n, \n \n \n profile_id\n \n as \n \n profile_id\n \n, \n \n \n serving_status\n \n as \n \n serving_status\n \n, \n \n \n start_date\n \n as \n \n start_date\n \n, \n \n \n state\n \n as \n \n state\n \n, \n \n \n targeting_type\n \n as \n \n targeting_type\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n bidding_strategy,\n campaign_type,\n creation_date,\n daily_budget,\n end_date,\n id as campaign_id,\n last_updated_date,\n name as campaign_name,\n placement,\n portfolio_id,\n premium_bid_adjustment,\n profile_id,\n serving_status,\n start_date,\n state,\n targeting_type,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__product_ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__product_ad_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__product_ad_history.sql", "original_file_path": "models/stg_amazon_ads__product_ad_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__product_ad_history"], "alias": "stg_amazon_ads__product_ad_history", "checksum": {"name": "sha256", "checksum": "c37feb8ade64671464ffca13e9b884b218d0e8a20cd67464d17ff98922da87fd"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a product in Amazon Ads.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asin": {"name": "asin", "description": "The ASIN associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "sku": {"name": "sku", "description": "The product SKU associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.0857768, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__product_ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__product_ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__product_ad_history_tmp')),\n staging_columns=get_product_ad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n asin,\n campaign_id,\n creation_date,\n id as ad_id,\n last_updated_date,\n serving_status,\n sku,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__product_ad_history_tmp"], ["stg_amazon_ads__product_ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_product_ad_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp", "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__product_ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__product_ad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n asin\n \n as \n \n asin\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n creation_date\n \n as \n \n creation_date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_updated_date\n \n as \n \n last_updated_date\n \n, \n \n \n serving_status\n \n as \n \n serving_status\n \n, \n \n \n sku\n \n as \n \n sku\n \n, \n \n \n state\n \n as \n \n state\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n asin,\n campaign_id,\n creation_date,\n id as ad_id,\n last_updated_date,\n serving_status,\n sku,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__targeting_keyword_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__targeting_keyword_report.sql", "original_file_path": "models/stg_amazon_ads__targeting_keyword_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__targeting_keyword_report"], "alias": "stg_amazon_ads__targeting_keyword_report", "checksum": {"name": "sha256", "checksum": "0b676271538c47839aaa7a6acae657599564b83c3017faed34dabf71db3f1a7a"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Targeting reports contain performance metrics broken down by both targeting expressions and keywords.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_keyword_status": {"name": "ad_keyword_status", "description": "Current status of a keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_bid": {"name": "keyword_bid", "description": "Bid associated with a keyword or targeting expression.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_type": {"name": "keyword_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting": {"name": "targeting", "description": "A string representation of the expression object used in the targeting clause.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.1037052, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__targeting_keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__targeting_keyword_report_tmp')),\n staging_columns=get_targeting_keyword_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n keyword_type,\n match_type,\n targeting\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__targeting_keyword_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report_tmp"], ["stg_amazon_ads__targeting_keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_targeting_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__targeting_keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_keyword_status\n \n as \n \n ad_keyword_status\n \n, \n \n \n campaign_budget_amount\n \n as \n \n campaign_budget_amount\n \n, \n \n \n campaign_budget_currency_code\n \n as \n \n campaign_budget_currency_code\n \n, \n \n \n campaign_budget_type\n \n as \n \n campaign_budget_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost\n \n as \n \n cost\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n keyword_bid\n \n as \n \n keyword_bid\n \n, \n \n \n keyword_id\n \n as \n \n keyword_id\n \n, \n \n \n keyword_type\n \n as \n \n keyword_type\n \n, \n \n \n match_type\n \n as \n \n match_type\n \n, \n \n \n targeting\n \n as \n \n targeting\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n keyword_type,\n match_type,\n targeting\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__profile": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__profile", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__profile.sql", "original_file_path": "models/stg_amazon_ads__profile.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile", "fqn": ["amazon_ads_source", "stg_amazon_ads__profile"], "alias": "stg_amazon_ads__profile", "checksum": {"name": "sha256", "checksum": "77978f552619be228968f6c3fae4e2c6222783f8fa99885e4481a6d3e230f3ca"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a profile. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "columns": {"_fivetran_deleted": {"name": "_fivetran_deleted", "description": "Boolean created by Fivetran to indicate whether the record has been deleted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_marketplace_string_id": {"name": "account_marketplace_string_id", "description": "The identifier of the marketplace to which the account is associated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_sub_type": {"name": "account_sub_type", "description": "The account subtype.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_type": {"name": "account_type", "description": "One of seller, vendor, or agency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_valid_payment_method": {"name": "account_valid_payment_method", "description": "For Vendors, this returns if the Advertiser has set up a valid payment method.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency used for all monetary values for entities under this profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget for Sponsored Product campaigns for seller type accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The time zone used for all date-based campaign management and reporting.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.09355, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__profile_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__profile_tmp')),\n staging_columns=get_profile_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as profile_id,\n account_id,\n account_marketplace_string_id,\n account_name,\n account_sub_type,\n account_type,\n account_valid_payment_method,\n country_code,\n currency_code,\n daily_budget,\n timezone,\n _fivetran_deleted\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__profile_tmp"], ["stg_amazon_ads__profile_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_profile_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__profile_tmp", "model.amazon_ads_source.stg_amazon_ads__profile_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__profile.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n account_marketplace_string_id\n \n as \n \n account_marketplace_string_id\n \n, \n \n \n account_name\n \n as \n \n account_name\n \n, \n \n \n account_sub_type\n \n as \n \n account_sub_type\n \n, \n \n \n account_type\n \n as \n \n account_type\n \n, \n \n \n account_valid_payment_method\n \n as \n \n account_valid_payment_method\n \n, \n \n \n country_code\n \n as \n \n country_code\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n daily_budget\n \n as \n \n daily_budget\n \n, \n \n \n timezone\n \n as \n \n timezone\n \n, \n \n \n _fivetran_deleted\n \n as \n \n _fivetran_deleted\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n id as profile_id,\n account_id,\n account_marketplace_string_id,\n account_name,\n account_sub_type,\n account_type,\n account_valid_payment_method,\n country_code,\n currency_code,\n daily_budget,\n timezone,\n _fivetran_deleted\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__keyword_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__keyword_history.sql", "original_file_path": "models/stg_amazon_ads__keyword_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__keyword_history"], "alias": "stg_amazon_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "bad9aeabb9eaba513e15d17f016799815ff7c0a4c2fe5b7970d29beaec9a02f5"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a keyword in Amazon Ads.", "columns": {"keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid associated with this keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "One of (broad, exact, or phrase.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "native_language_keyword": {"name": "native_language_keyword", "description": "The unlocalized keyword text in the preferred locale of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.070712, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n bid,\n campaign_id,\n creation_date,\n id as keyword_id,\n keyword_text,\n last_updated_date,\n match_type,\n native_language_keyword,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__keyword_history_tmp"], ["stg_amazon_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp", "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n bid\n \n as \n \n bid\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n creation_date\n \n as \n \n creation_date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n keyword_text\n \n as \n \n keyword_text\n \n, \n \n \n last_updated_date\n \n as \n \n last_updated_date\n \n, \n \n \n match_type\n \n as \n \n match_type\n \n, \n \n \n native_language_keyword\n \n as \n \n native_language_keyword\n \n, \n \n \n serving_status\n \n as \n \n serving_status\n \n, \n \n \n state\n \n as \n \n state\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n bid,\n campaign_id,\n creation_date,\n id as keyword_id,\n keyword_text,\n last_updated_date,\n match_type,\n native_language_keyword,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_history", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__ad_group_history.sql", "original_file_path": "models/stg_amazon_ads__ad_group_history.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "fqn": ["amazon_ads_source", "stg_amazon_ads__ad_group_history"], "alias": "stg_amazon_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "89a99f9f72fd70bfbc51eca3088513648b319c478477f4f974b65bc7cb24e880"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents an ad group in Amazon Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "default_bid": {"name": "default_bid", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.033275, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__ad_group_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n creation_date,\n default_bid,\n id as ad_group_id,\n last_updated_date,\n name as ad_group_name,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__ad_group_history_tmp"], ["stg_amazon_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n creation_date\n \n as \n \n creation_date\n \n, \n \n \n default_bid\n \n as \n \n default_bid\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_updated_date\n \n as \n \n last_updated_date\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n serving_status\n \n as \n \n serving_status\n \n, \n \n \n state\n \n as \n \n state\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n creation_date,\n default_bid,\n id as ad_group_id,\n last_updated_date,\n name as ad_group_name,\n serving_status,\n state,\n row_number() over (partition by id order by last_updated_date desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__search_term_ad_keyword_report", "resource_type": "model", "package_name": "amazon_ads_source", "path": "stg_amazon_ads__search_term_ad_keyword_report.sql", "original_file_path": "models/stg_amazon_ads__search_term_ad_keyword_report.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report", "fqn": ["amazon_ads_source", "stg_amazon_ads__search_term_ad_keyword_report"], "alias": "stg_amazon_ads__search_term_ad_keyword_report", "checksum": {"name": "sha256", "checksum": "64c6289e258a9cad91edad9b189ca8f4c0259d49723aa0d4e9bfcaf6a3074281"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Search term reports contain search term performance metrics broken down by targeting expressions and keywords.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_keyword_status": {"name": "ad_keyword_status", "description": "Current status of a keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_bid": {"name": "keyword_bid", "description": "Bid associated with a keyword or targeting expression.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term": {"name": "search_term", "description": "The search term used by the customer.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting": {"name": "targeting", "description": "A string representation of the expression object used in the targeting clause.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads_source://models/stg_amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592110.1124082, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_amazon_ads__search_term_ad_keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_amazon_ads__search_term_ad_keyword_report_tmp')),\n staging_columns=get_search_term_ad_keyword_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n search_term,\n targeting\n\n {{ fivetran_utils.fill_pass_through_columns('amazon_ads__search_term_ad_keyword_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report_tmp"], ["stg_amazon_ads__search_term_ad_keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.amazon_ads_source.get_search_term_ad_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads__search_term_ad_keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n cast(null as STRING) as \n \n ad_keyword_status\n \n , \n \n \n campaign_budget_amount\n \n as \n \n campaign_budget_amount\n \n, \n \n \n campaign_budget_currency_code\n \n as \n \n campaign_budget_currency_code\n \n, \n \n \n campaign_budget_type\n \n as \n \n campaign_budget_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost\n \n as \n \n cost\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n keyword_bid\n \n as \n \n keyword_bid\n \n, \n \n \n keyword_id\n \n as \n \n keyword_id\n \n, \n \n \n search_term\n \n as \n \n search_term\n \n, \n \n \n targeting\n \n as \n \n targeting\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n ad_group_id,\n ad_keyword_status,\n campaign_budget_amount,\n campaign_budget_currency_code,\n campaign_budget_type,\n campaign_id,\n clicks,\n cost,\n date as date_day,\n impressions,\n keyword_bid,\n keyword_id,\n search_term,\n targeting\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__keyword_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__keyword_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__keyword_history_tmp"], "alias": "stg_amazon_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "7ba2cd1f2f0abf685c4d5ceb2b0e753cc1aad50f6a722db0152a8d4c477f612a"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.719452, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.keyword_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_keyword_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__profile_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__profile_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__profile_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__profile_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__profile_tmp"], "alias": "stg_amazon_ads__profile_tmp", "checksum": {"name": "sha256", "checksum": "b7c0823e89ac3513c15ea916f4fa4c1a05a9ef8b5e08446c3812797c733870a3"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.732353, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('profile') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "profile"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.profile"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__profile_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_profile_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__search_term_ad_keyword_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__search_term_ad_keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__search_term_ad_keyword_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__search_term_ad_keyword_report_tmp"], "alias": "stg_amazon_ads__search_term_ad_keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "73d9f3ed1f49d3695cfb2266e7ad8ef6dd60f794bd767ae0dc7458eb4705a350"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.7434309, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('search_term_ad_keyword_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "search_term_ad_keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__search_term_ad_keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_search_term_ad_keyword_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__product_ad_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__product_ad_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__product_ad_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__product_ad_history_tmp"], "alias": "stg_amazon_ads__product_ad_history_tmp", "checksum": {"name": "sha256", "checksum": "58aa82e3cba0533f9ea4bd0b8213b88f7596934bebb0939159b34955e7cf7016"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.7546282, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__product_ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('product_ad_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "product_ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__product_ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_product_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__ad_group_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__ad_group_history_tmp"], "alias": "stg_amazon_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "0a0799551d10a2e0c0b5ea747e66aad1a55bf0091d318e902938f906ef53a5ef"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.766142, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_ad_group_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_level_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__campaign_level_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__campaign_level_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__campaign_level_report_tmp"], "alias": "stg_amazon_ads__campaign_level_report_tmp", "checksum": {"name": "sha256", "checksum": "f767f297f6f15fce324971641eca1f2c7c2b0a0d13f2aed1ac3c80425a816e4f"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.7791512, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_level_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "campaign_level_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.campaign_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__campaign_level_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_campaign_level_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__targeting_keyword_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__targeting_keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__targeting_keyword_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__targeting_keyword_report_tmp"], "alias": "stg_amazon_ads__targeting_keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "1411fae1c9263de0790201a68288f49218e686bd8888b5405923b4548fa40aef"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.791332, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('targeting_keyword_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "targeting_keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.targeting_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__targeting_keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_targeting_keyword_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__portfolio_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__portfolio_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__portfolio_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__portfolio_history_tmp"], "alias": "stg_amazon_ads__portfolio_history_tmp", "checksum": {"name": "sha256", "checksum": "652c00944c6643c4077189683c73cf52042ec68c3ffc50085d288c6d7c11fe48"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.802637, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history_tmp`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__amazon_ads_enabled','amazon_ads__portfolio_history_enabled'])) }}\n\nselect * \nfrom {{ var('portfolio_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "portfolio_history"]], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars"], "nodes": ["source.amazon_ads_source.amazon_ads.portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__portfolio_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_portfolio_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__campaign_history_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__campaign_history_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__campaign_history_tmp"], "alias": "stg_amazon_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "e3099ab2e93224097e46899d6f07b3db453c1fcfc65e1b0f2be7e5264b044e99"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.813896, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.campaign_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__ad_group_level_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__ad_group_level_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__ad_group_level_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__ad_group_level_report_tmp"], "alias": "stg_amazon_ads__ad_group_level_report_tmp", "checksum": {"name": "sha256", "checksum": "3adb9bbf019585b634b92ac775cd16e72b395be0691cbb2325da59ced157db6f"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.826935, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_level_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "ad_group_level_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.ad_group_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__ad_group_level_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_ad_group_level_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads_source", "name": "stg_amazon_ads__advertised_product_report_tmp", "resource_type": "model", "package_name": "amazon_ads_source", "path": "tmp/stg_amazon_ads__advertised_product_report_tmp.sql", "original_file_path": "models/tmp/stg_amazon_ads__advertised_product_report_tmp.sql", "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp", "fqn": ["amazon_ads_source", "tmp", "stg_amazon_ads__advertised_product_report_tmp"], "alias": "stg_amazon_ads__advertised_product_report_tmp", "checksum": {"name": "sha256", "checksum": "4a026b403c68336b435e4ae3c2169dfd1174085ed660f27b2ad5d2e3fbf8b0a7"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "amazon_ads_source", "enabled": true}, "created_at": 1679592102.838372, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__advertised_product_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('advertised_product_report') }}", "language": "sql", "refs": [], "sources": [["amazon_ads", "advertised_product_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.amazon_ads_source.amazon_ads.advertised_product_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/tmp/stg_amazon_ads__advertised_product_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_advertised_product_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__creative_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__creative_history.sql", "original_file_path": "models/stg_linkedin_ads__creative_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history", "fqn": ["linkedin_source", "stg_linkedin_ads__creative_history"], "alias": "stg_linkedin_ads__creative_history", "checksum": {"name": "sha256", "checksum": "1f23e363e31a9259e1bb008a403c7ec85dc7cfc14e4d509fd519be60d3b253ec"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of a creative.", "columns": {"creative_id": {"name": "creative_id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the creative was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign the creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Creative creation is complete and creative is available for review and serve.\nPAUSED - Creative creation is complete and creative is current, but should temporarily not be served. This status is not valid upon creation.\nDRAFT - Creative creation is incomplete and may still be edited.\nARCHIVED - Creative creation is complete, but creative should not be served and should be separated from non-archived creatives in any UI.\nCANCELED - Creative is permanently canceled.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the cretive.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592110.351948, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__creative_history_tmp') }}\n\n), macro as (\n\n select \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__creative_history_tmp')),\n staging_columns=get_creative_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select\n id as creative_id,\n campaign_id,\n coalesce(intended_status, status) as status,\n click_uri,\n cast(coalesce(last_modified_at, last_modified_time) as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(coalesce(created_at, created_time) as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by coalesce(last_modified_at, last_modified_time) desc) = 1 as is_latest_version\n\n from macro\n\n), url_fields as (\n\n select \n *,\n {{ dbt.split_part('click_uri', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('click_uri') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('click_uri') }} as url_path,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('click_uri', 'utm_term') }} as utm_term\n \n from fields\n)\n\nselect *\nfrom url_fields", "language": "sql", "refs": [["stg_linkedin_ads__creative_history_tmp"], ["stg_linkedin_ads__creative_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_creative_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history_tmp", "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__creative_history_tmp`\n\n), macro as (\n\n select \n \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n click_uri\n \n as \n \n click_uri\n \n, \n \n \n created_time\n \n as \n \n created_time\n \n, \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_modified_time\n \n as \n \n last_modified_time\n \n, \n cast(null as TIMESTAMP) as \n \n last_modified_at\n \n , \n cast(null as STRING) as \n \n intended_status\n \n , \n \n \n status\n \n as \n \n status\n \n\n\n\n from base\n\n), fields as (\n\n select\n id as creative_id,\n campaign_id,\n coalesce(intended_status, status) as status,\n click_uri,\n cast(coalesce(last_modified_at, last_modified_time) as TIMESTAMP) as last_modified_at,\n cast(coalesce(created_at, created_time) as TIMESTAMP) as created_at,\n row_number() over (partition by id order by coalesce(last_modified_at, last_modified_time) desc) = 1 as is_latest_version\n\n from macro\n\n), url_fields as (\n\n select \n *,\n \n\n \n split(\n click_uri,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n click_uri,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n click_uri,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term\n \n from fields\n)\n\nselect *\nfrom url_fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__campaign_history.sql", "original_file_path": "models/stg_linkedin_ads__campaign_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history", "fqn": ["linkedin_source", "stg_linkedin_ads__campaign_history"], "alias": "stg_linkedin_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "12f98866db796269913da635f3597191300af87f91d3e018768b16c927e8f77f"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of a campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "The ID of the campaign group the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_audience_expansion_enabled": {"name": "is_audience_expansion_enabled", "description": "Boolean (default=false) representing whether Audience Expansion is enabled for the campaign provides query expansion for certain targeting criteria.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_type": {"name": "cost_type", "description": "CPM - Cost per thousand advertising impressions. If type=SPONSORED_INMAILS; cost per send(CPS) is measured as CPM x 1000.\nCPC- Cost per individual click on the associated link.\nCPV- Cost per view for video ads.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_selection": {"name": "creative_selection", "description": "ROUND_ROBIN - Rotate through available creatives to serve them as evenly as possible.\nOPTIMIZED (default) - Bias selection taking into account such as expected performance. Not available for Message and Conversation Ads (type=SPONSORED_INMAILS).\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "Maximum amount to spend per day UTC. The amount of money as a real number string.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_currency_code": {"name": "daily_budget_currency_code", "description": "ISO currency code. The currency must match that of the parent account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "format": {"name": "format", "description": "The ad format on the campaign level. See https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/campaign-formats?view=li-lms-2022-07", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_country": {"name": "locale_country", "description": "Locale of the campaign. An uppercase two-letter country code as defined by ISO-3166.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_language": {"name": "locale_language", "description": "Locale of the campaign. A lowercase two-letter language code as defined by ISO-639.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Campaign Objective type values. Click [here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ad-budget-pricing-type-combinations?view=li-lms-2022-07) for Campaign Objective descriptions. One of: - BRAND_AWARENESS - ENGAGEMENT - JOB_APPLICANTS - LEAD_GENERATION - WEBSITE_CONVERSIONS - WEBSITE_VISITS - VIDEO_VIEWS\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_offsite_delivery_enabled": {"name": "is_offsite_delivery_enabled", "description": "Boolean indicating if this campaign to allowed to be served on the LinkedIn Audience Network to extend the reach of your campaign by delivering ads beyond the LinkedIn feed to members on third-party apps and sites.\t(default will be \"True\" from June 30, 2022)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_target_type": {"name": "optimization_target_type", "description": "Determines how this campaign is optimized for spending. If this is not set, there is no optimization. Refer to the documentation here. Default = 'NONE'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the inclusive (greater than or equal to) value in which to start the range.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the exclusive (strictly less than) value in which to end the range, if provided.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text-based ads that show up in the right column or top of the page on LinkedIn.\nSPONSORED_UPDATES - Native ads that promote a company's content updates in the LinkedIn feed.\nSPONSORED_INMAILS - Personalized messages with a call-to-action button delivered to a LinkedIn's member inbox.\nDYNAMIC - Ads that are dynamically personalized.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_amount": {"name": "unit_cost_amount", "description": "This value is used as one of the following: amount to bid (for manual bidding), amount which is the target cost (for target cost bidding) per click, impression, or other event depending on the pricing model, or cost cap (for cost cap bidding). The amount of money as a real number string. The amount should be non-negative if the bidding strategy is manual, target cost, or cost cap bidding. The default is 0 with the currency code set to match that of the associated account.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_currency_code": {"name": "unit_cost_currency_code", "description": "Amount to bid per click, impression, or other event depending on the pricing model. The default is 0 with the currency code set to match that of the associated account. ISO currency code.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592110.36673, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__campaign_history_tmp') }}\n\n), macro as (\n\n select \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select \n id as campaign_id,\n name as campaign_name,\n cast(version_tag as numeric) as version_tag,\n campaign_group_id,\n account_id,\n status,\n type,\n cost_type,\n creative_selection,\n daily_budget_amount,\n daily_budget_currency_code,\n unit_cost_amount,\n unit_cost_currency_code,\n format,\n locale_country,\n locale_language,\n objective_type,\n optimization_target_type,\n audience_expansion_enabled as is_audience_expansion_enabled,\n offsite_delivery_enabled as is_offsite_delivery_enabled,\n cast(run_schedule_start as {{ dbt.type_timestamp() }}) as run_schedule_start_at,\n cast(run_schedule_end as {{ dbt.type_timestamp() }}) as run_schedule_end_at,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history_tmp"], ["stg_linkedin_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history_tmp`\n\n), macro as (\n\n select \n \n \n \n account_id\n \n as \n \n account_id\n \n, \n cast(null as boolean) as \n \n audience_expansion_enabled\n \n , \n \n \n campaign_group_id\n \n as \n \n campaign_group_id\n \n, \n cast(null as STRING) as \n \n cost_type\n \n , \n \n \n created_time\n \n as \n \n created_time\n \n, \n cast(null as STRING) as \n \n creative_selection\n \n , \n cast(null as FLOAT64) as \n \n daily_budget_amount\n \n , \n cast(null as STRING) as \n \n daily_budget_currency_code\n \n , \n cast(null as STRING) as \n \n format\n \n , \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_modified_time\n \n as \n \n last_modified_time\n \n, \n cast(null as STRING) as \n \n locale_country\n \n , \n cast(null as STRING) as \n \n locale_language\n \n , \n \n \n name\n \n as \n \n name\n \n, \n cast(null as STRING) as \n \n objective_type\n \n , \n cast(null as boolean) as \n \n offsite_delivery_enabled\n \n , \n cast(null as STRING) as \n \n optimization_target_type\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_end\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_start\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as FLOAT64) as \n \n unit_cost_amount\n \n , \n cast(null as STRING) as \n \n unit_cost_currency_code\n \n , \n \n \n version_tag\n \n as \n \n version_tag\n \n\n\n\n from base\n\n), fields as (\n\n select \n id as campaign_id,\n name as campaign_name,\n cast(version_tag as numeric) as version_tag,\n campaign_group_id,\n account_id,\n status,\n type,\n cost_type,\n creative_selection,\n daily_budget_amount,\n daily_budget_currency_code,\n unit_cost_amount,\n unit_cost_currency_code,\n format,\n locale_country,\n locale_language,\n objective_type,\n optimization_target_type,\n audience_expansion_enabled as is_audience_expansion_enabled,\n offsite_delivery_enabled as is_offsite_delivery_enabled,\n cast(run_schedule_start as TIMESTAMP) as run_schedule_start_at,\n cast(run_schedule_end as TIMESTAMP) as run_schedule_end_at,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_campaign", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__ad_analytics_by_campaign.sql", "original_file_path": "models/stg_linkedin_ads__ad_analytics_by_campaign.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "fqn": ["linkedin_source", "stg_linkedin_ads__ad_analytics_by_campaign"], "alias": "stg_linkedin_ads__ad_analytics_by_campaign", "checksum": {"name": "sha256", "checksum": "b0bf02e1776326897d77e8060a8f30689fa628b67e826fa86198aef533c31569"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign level.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592110.3428538, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_linkedin_ads__ad_analytics_by_campaign_tmp') }}\n),\n\nmacro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__ad_analytics_by_campaign_tmp')),\n staging_columns=get_ad_analytics_by_campaign_columns()\n )\n }}\n from base\n),\n\nfields as (\n \n select \n {{ dbt.date_trunc('day', 'day') }} as date_day,\n campaign_id,\n clicks,\n impressions,\n {% if var('linkedin_ads__use_local_currency', false) %}\n cost_in_local_currency as cost\n {% else %}\n cost_in_usd as cost\n {% endif %}\n\n {{ fivetran_utils.fill_pass_through_columns('linkedin_ads__campaign_passthrough_metrics') }}\n\n from macro\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign_tmp"], ["stg_linkedin_ads__ad_analytics_by_campaign_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_ad_analytics_by_campaign_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__ad_analytics_by_campaign.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign_tmp`\n),\n\nmacro as (\n\n select\n \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_in_local_currency\n \n as \n \n cost_in_local_currency\n \n, \n \n \n cost_in_usd\n \n as \n \n cost_in_usd\n \n, \n \n \n day\n \n as \n \n day\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfields as (\n \n select \n timestamp_trunc(\n cast(day as timestamp),\n day\n ) as date_day,\n campaign_id,\n clicks,\n impressions,\n \n cost_in_usd as cost\n \n\n \n\n\n\n\n\n from macro\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_group_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__campaign_group_history.sql", "original_file_path": "models/stg_linkedin_ads__campaign_group_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "fqn": ["linkedin_source", "stg_linkedin_ads__campaign_group_history"], "alias": "stg_linkedin_ads__campaign_group_history", "checksum": {"name": "sha256", "checksum": "9e4b57accd4f0a428f53d1b953c3c9dc25d6b5fbf4255f3a224f071f35474b66"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of a campaign group.", "columns": {"campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign group belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign group was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_backfilled": {"name": "is_backfilled", "description": "Flag that denotes whether the campaign group was created organically or to backfill existing campaigns. This is a read-only field set by the system. Default = false.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Represents the inclusive (greater than or equal to) date when to start running the associated campaigns under this campaign group. This field is required.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Represents the exclusive (strictly less than) date when to stop running the associated campaigns under this campaign group. If this field is unset, it indicates an open range with no end date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592110.3735812, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__campaign_group_history_tmp') }}\n\n), macro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__campaign_group_history_tmp')),\n staging_columns=get_campaign_group_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select \n id as campaign_group_id,\n name as campaign_group_name,\n account_id,\n status,\n backfilled as is_backfilled,\n cast(run_schedule_start as {{ dbt.type_timestamp() }}) as run_schedule_start_at,\n cast(run_schedule_end as {{ dbt.type_timestamp() }}) as run_schedule_end_at,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history_tmp"], ["stg_linkedin_ads__campaign_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_campaign_group_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__campaign_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history_tmp`\n\n), macro as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n cast(null as boolean) as \n \n backfilled\n \n , \n \n \n created_time\n \n as \n \n created_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_modified_time\n \n as \n \n last_modified_time\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as TIMESTAMP) as \n \n run_schedule_end\n \n , \n cast(null as TIMESTAMP) as \n \n run_schedule_start\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n from base\n\n), fields as (\n\n select \n id as campaign_group_id,\n name as campaign_group_name,\n account_id,\n status,\n backfilled as is_backfilled,\n cast(run_schedule_start as TIMESTAMP) as run_schedule_start_at,\n cast(run_schedule_end as TIMESTAMP) as run_schedule_end_at,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__account_history", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__account_history.sql", "original_file_path": "models/stg_linkedin_ads__account_history.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history", "fqn": ["linkedin_source", "stg_linkedin_ads__account_history"], "alias": "stg_linkedin_ads__account_history", "checksum": {"name": "sha256", "checksum": "60047b6cc68c2bee2b8c25f07872167514305c30028cb0a589f55d82721f8593"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a 'version' of an account.", "columns": {"account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Account is active; this is the default state\nCANCELLED - Account has been permanently cancelled\nDRAFT - Account is in draft status, meaning it's not yet fully set up and it is not serving\nPENDING_DELETION - Denotes that the account has been requested to be deleted that is currently pending\nREMOVED - Denotes that the account was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "BUSINESS - This is the only value allowed when creating accounts through the API.\nENTERPRISE - This value cannot be used to create accounts through the API and is reserved for accounts created by LinkedIn's internal ad operations systems.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Boolean of whether the record is the latest version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592110.3799071, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__account_history_tmp') }}\n\n), macro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n from base\n\n), fields as (\n\n select \n id as account_id,\n name as account_name,\n currency,\n cast(version_tag as numeric) as version_tag,\n status,\n type,\n cast(last_modified_time as {{ dbt.type_timestamp() }}) as last_modified_at,\n cast(created_time as {{ dbt.type_timestamp() }}) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__account_history_tmp"], ["stg_linkedin_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history_tmp", "model.linkedin_source.stg_linkedin_ads__account_history_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history_tmp`\n\n), macro as (\n\n select\n \n \n \n created_time\n \n as \n \n created_time\n \n, \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n last_modified_time\n \n as \n \n last_modified_time\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as STRING) as \n \n status\n \n , \n cast(null as STRING) as \n \n type\n \n , \n \n \n version_tag\n \n as \n \n version_tag\n \n\n\n\n from base\n\n), fields as (\n\n select \n id as account_id,\n name as account_name,\n currency,\n cast(version_tag as numeric) as version_tag,\n status,\n type,\n cast(last_modified_time as TIMESTAMP) as last_modified_at,\n cast(created_time as TIMESTAMP) as created_at,\n row_number() over (partition by id order by last_modified_time desc) = 1 as is_latest_version\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_creative", "resource_type": "model", "package_name": "linkedin_source", "path": "stg_linkedin_ads__ad_analytics_by_creative.sql", "original_file_path": "models/stg_linkedin_ads__ad_analytics_by_creative.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "fqn": ["linkedin_source", "stg_linkedin_ads__ad_analytics_by_creative"], "alias": "stg_linkedin_ads__ad_analytics_by_creative", "checksum": {"name": "sha256", "checksum": "b5f5b1df9cc38a98aa8438602b219af4468b1493711e5b3ee01fb8836c61d2de"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the creative level.", "columns": {"creative_id": {"name": "creative_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin_source://models/stg_linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592110.3389702, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_linkedin_ads__ad_analytics_by_creative_tmp') }}\n\n), macro as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_linkedin_ads__ad_analytics_by_creative_tmp')),\n staging_columns=get_ad_analytics_by_creative_columns()\n )\n }}\n from base\n\n), fields as (\n\n select\n {{ dbt.date_trunc('day', 'day') }} as date_day,\n creative_id,\n clicks, \n impressions,\n {% if var('linkedin_ads__use_local_currency', false) %}\n cost_in_local_currency as cost\n {% else %}\n cost_in_usd as cost\n {% endif %}\n\n {{ fivetran_utils.fill_pass_through_columns('linkedin_ads__creative_passthrough_metrics') }}\n\n from macro\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative_tmp"], ["stg_linkedin_ads__ad_analytics_by_creative_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.linkedin_source.get_ad_analytics_by_creative_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin_ads__ad_analytics_by_creative.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative_tmp`\n\n), macro as (\n\n select\n \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_in_local_currency\n \n as \n \n cost_in_local_currency\n \n, \n \n \n cost_in_usd\n \n as \n \n cost_in_usd\n \n, \n \n \n creative_id\n \n as \n \n creative_id\n \n, \n \n \n day\n \n as \n \n day\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n\n), fields as (\n\n select\n timestamp_trunc(\n cast(day as timestamp),\n day\n ) as date_day,\n creative_id,\n clicks, \n impressions,\n \n cost_in_usd as cost\n \n\n \n\n\n\n\n\n from macro\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_creative_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__ad_analytics_by_creative_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__ad_analytics_by_creative_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__ad_analytics_by_creative_tmp"], "alias": "stg_linkedin_ads__ad_analytics_by_creative_tmp", "checksum": {"name": "sha256", "checksum": "b1140ca3ef37dcf51382d1d423a866f8e99ab568e995419aaa0d6cc46ba9e2c2"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592103.078419, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_analytics_by_creative') }}", "language": "sql", "refs": [], "sources": [["linkedin", "ad_analytics_by_creative"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__ad_analytics_by_creative_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_analytics_by_creative_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__campaign_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__campaign_history_tmp"], "alias": "stg_linkedin_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "cebe89ef38c2b2a3e4c78f3a30350598b00910af0597c348f07c9e2d29591441"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592103.090284, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__account_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__account_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__account_history_tmp"], "alias": "stg_linkedin_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "d7ffa4b7ad250c8643b99abf7d1ee1099a1b01e847424247f469fb8b49bac5b9"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592103.1013372, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_account_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__campaign_group_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__campaign_group_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__campaign_group_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__campaign_group_history_tmp"], "alias": "stg_linkedin_ads__campaign_group_history_tmp", "checksum": {"name": "sha256", "checksum": "704cfe15aec2c0f1de75b8c78a082b45ae6fa6a03198dc210d8eeacb8bd643b8"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592103.11317, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_group_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "campaign_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__campaign_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_campaign_group_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__creative_history_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__creative_history_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__creative_history_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__creative_history_tmp"], "alias": "stg_linkedin_ads__creative_history_tmp", "checksum": {"name": "sha256", "checksum": "0b886b1ffe53a073e6123a79cc2dd4b0576178d82e38be84fddc1f70e8b3d0fc"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592103.126528, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__creative_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('creative_history') }}", "language": "sql", "refs": [], "sources": [["linkedin", "creative_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.creative_history"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__creative_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_creative_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads_source", "name": "stg_linkedin_ads__ad_analytics_by_campaign_tmp", "resource_type": "model", "package_name": "linkedin_source", "path": "tmp/stg_linkedin_ads__ad_analytics_by_campaign_tmp.sql", "original_file_path": "models/tmp/stg_linkedin_ads__ad_analytics_by_campaign_tmp.sql", "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp", "fqn": ["linkedin_source", "tmp", "stg_linkedin_ads__ad_analytics_by_campaign_tmp"], "alias": "stg_linkedin_ads__ad_analytics_by_campaign_tmp", "checksum": {"name": "sha256", "checksum": "03a126189ee0a2fe1d514ff02883403a1c9e8d8f9fe928262c338b61246cd7ef"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "linkedin_ads_source", "enabled": true}, "created_at": 1679592103.1383271, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_analytics_by_campaign') }}", "language": "sql", "refs": [], "sources": [["linkedin", "ad_analytics_by_campaign"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.linkedin_source.linkedin.ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/tmp/stg_linkedin_ads__ad_analytics_by_campaign_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_analytics_by_campaign_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__portfolio_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__portfolio_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__portfolio_report.sql", "original_file_path": "models/amazon_ads__portfolio_report.sql", "unique_id": "model.amazon_ads.amazon_ads__portfolio_report", "fqn": ["amazon_ads", "amazon_ads__portfolio_report"], "alias": "amazon_ads__portfolio_report", "checksum": {"name": "sha256", "checksum": "cabdd1c6fd859f1ccd8a40429234ba4b38c71fb303fcb298ffd44e8e35367712"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the portfolio level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_amount": {"name": "budget_amount", "description": "The budget amount associated with the portfolio. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_currency_code": {"name": "budget_currency_code", "description": "The currency used for all monetary values for entities under this profile. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_end_date": {"name": "budget_end_date", "description": "The end date after which the budget is no longer applied. Optional if policy is set to dateRange or monthlyRecurring.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_start_date": {"name": "budget_start_date", "description": "The starting date in YYYYMMDD format to which the budget is applied. Required if policy is set to dateRange. Not specified if policy is set to monthlyRecurring. Note that the starting date for monthlyRecurring is the date when the policy is set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_policy": {"name": "budget_policy", "description": "The budget policy. Set to dateRange to specify a budget for a specific period of time. Set to monthlyRecurring to specify a budget that is automatically renewed at the beginning of each month. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "in_budget": {"name": "in_budget", "description": "Indicates the current budget status of the portfolio. Set to true if the portfolio is in budget, set to false if the portfolio is out of budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.5810509, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__portfolio_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__amazon_ads_enabled','amazon_ads__portfolio_history_enabled'])) }}\n\nwith report as (\n select *\n --use campaign report since portfolio report not provided\n from {{ var('campaign_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ var('portfolio_history') }}\n where is_most_recent_record = True\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n portfolios.budget_amount,\n portfolios.budget_currency_code,\n portfolios.budget_start_date,\n portfolios.budget_end_date,\n portfolios.budget_policy,\n portfolios.in_budget,\n portfolios.serving_status,\n portfolios.state,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__campaign_passthrough_metrics', transform='sum') }}\n\n from portfolios\n\n left join campaigns\n on campaigns.portfolio_id = portfolios.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n left join report\n on report.campaign_id = campaigns.campaign_id\n\n {{ dbt_utils.group_by(15) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"], ["stg_amazon_ads__profile"], ["stg_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__portfolio_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n --use campaign report since portfolio report not provided\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\n where is_most_recent_record = True\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n portfolios.budget_amount,\n portfolios.budget_currency_code,\n portfolios.budget_start_date,\n portfolios.budget_end_date,\n portfolios.budget_policy,\n portfolios.in_budget,\n portfolios.serving_status,\n portfolios.state,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n \n\n\n\n\n\n from portfolios\n\n left join campaigns\n on campaigns.portfolio_id = portfolios.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n left join report\n on report.campaign_id = campaigns.campaign_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__search_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__search_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__search_report.sql", "original_file_path": "models/amazon_ads__search_report.sql", "unique_id": "model.amazon_ads.amazon_ads__search_report", "fqn": ["amazon_ads", "amazon_ads__search_report"], "alias": "amazon_ads__search_report", "checksum": {"name": "sha256", "checksum": "d9ad83ecb9dd1081b6220d8ab0fdd3e192eeefe5bee5acb98af91c07e6bd04fd"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the search term level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term": {"name": "search_term", "description": "The search term used by the customer.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting": {"name": "targeting", "description": "A string representation of the expression object used in the targeting clause.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.6080189, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__search_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('search_term_ad_keyword_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.match_type,\n keywords.serving_status,\n keywords.state,\n report.search_term,\n report.targeting,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__search_term_ad_keyword_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(18) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"], ["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__search_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.match_type,\n keywords.serving_status,\n keywords.state,\n report.search_term,\n report.targeting,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__ad_group_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__ad_group_report.sql", "original_file_path": "models/amazon_ads__ad_group_report.sql", "unique_id": "model.amazon_ads.amazon_ads__ad_group_report", "fqn": ["amazon_ads", "amazon_ads__ad_group_report"], "alias": "amazon_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "e30ef8e1875095bb2f60e56a16c993c5578e51e3819ccbae8d577380c5e9e55f"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad group level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "default_bid": {"name": "default_bid", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.546614, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('ad_group_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.serving_status,\n ad_groups.state,\n ad_groups.default_bid,\n report.campaign_bidding_strategy,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__ad_group_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = ad_groups.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(15) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n campaigns.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ad_groups.serving_status,\n ad_groups.state,\n ad_groups.default_bid,\n report.campaign_bidding_strategy,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = ad_groups.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__keyword_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__keyword_report.sql", "original_file_path": "models/amazon_ads__keyword_report.sql", "unique_id": "model.amazon_ads.amazon_ads__keyword_report", "fqn": ["amazon_ads", "amazon_ads__keyword_report"], "alias": "amazon_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "853d0f5a2efe33b0098beb4728854589e3e57387a1993c289277e0263624e32e"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the keyword level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_bid": {"name": "keyword_bid", "description": "Bid associated with a keyword or targeting expression.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_type": {"name": "keyword_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.5954409, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('targeting_keyword_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.serving_status,\n keywords.state,\n report.keyword_bid,\n report.keyword_type,\n report.match_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__targeting_keyword_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(18) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"], ["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nkeywords as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.keyword_id,\n keywords.keyword_text,\n keywords.serving_status,\n keywords.state,\n report.keyword_bid,\n report.keyword_type,\n report.match_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join keywords\n on keywords.keyword_id = report.keyword_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__campaign_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__campaign_report.sql", "original_file_path": "models/amazon_ads__campaign_report.sql", "unique_id": "model.amazon_ads.amazon_ads__campaign_report", "fqn": ["amazon_ads", "amazon_ads__campaign_report"], "alias": "amazon_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "58fad347379a7dce3b65a0032928042be589773051054f9a842e5b2794613b0e"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the campaign level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "description": "The bidding strategy associated with a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.569948, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('campaign_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n report.campaign_bidding_strategy,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__campaign_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(13) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n report.campaign_bidding_strategy,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__account_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__account_report.sql", "original_file_path": "models/amazon_ads__account_report.sql", "unique_id": "model.amazon_ads.amazon_ads__account_report", "fqn": ["amazon_ads", "amazon_ads__account_report"], "alias": "amazon_ads__account_report", "checksum": {"name": "sha256", "checksum": "0301d1001503ea32f7bff3358c9c625e14d371ff1a9a229caee3e5432a61a316"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the account level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.535709, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n --use campaign report since account report not provided\n from {{ var('campaign_level_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__campaign_passthrough_metrics', transform='sum') }}\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n \n\n {{ dbt_utils.group_by(5) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"], ["stg_amazon_ads__profile"], ["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n --use campaign report since account report not provided\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n --use campaign report since portfolio report not provided\n \n\n\n\n\n\n from report\n\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n \n\n group by 1,2,3,4,5\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.amazon_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "amazon_ads__ad_report", "resource_type": "model", "package_name": "amazon_ads", "path": "amazon_ads__ad_report.sql", "original_file_path": "models/amazon_ads__ad_report.sql", "unique_id": "model.amazon_ads.amazon_ads__ad_report", "fqn": ["amazon_ads", "amazon_ads__ad_report"], "alias": "amazon_ads__ad_report", "checksum": {"name": "sha256", "checksum": "6e290fb18f0fd7e67d23f5f3421d14d468f89d31088e8245c2505b702b6e552d"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance at the ad level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_name": {"name": "portfolio_name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_asin": {"name": "advertised_asin", "description": "The ASIN associated to an advertised product.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertised_sku": {"name": "advertised_sku", "description": "The SKU being advertised.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_amount": {"name": "campaign_budget_amount", "description": "Total budget allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "description": "The currency code associated with the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_budget_type": {"name": "campaign_budget_type", "description": "One of: daily or lifetime.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "amazon_ads://models/amazon_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.5601091, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\nwith report as (\n select *\n from {{ var('advertised_product_report') }}\n), \n\naccount_info as (\n select *\n from {{ var('profile') }}\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from {{ ref('int_amazon_ads__portfolio_history') }}\n), \n\ncampaigns as (\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\nads as (\n select *\n from {{ var('product_ad_history') }}\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.ad_id,\n ads.serving_status,\n ads.state,\n report.advertised_asin,\n report.advertised_sku,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='amazon_ads__advertised_product_passthrough_metrics', transform='sum') }}\n\n from report\n \n left join ads\n on ads.ad_id = report.ad_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n {{ dbt_utils.group_by(19) }}\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report"], ["stg_amazon_ads__profile"], ["int_amazon_ads__portfolio_history"], ["stg_amazon_ads__campaign_history"], ["stg_amazon_ads__ad_group_history"], ["stg_amazon_ads__product_ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`\n), \n\naccount_info as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\n where _fivetran_deleted = False\n),\n\nportfolios as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`int_amazon_ads__portfolio_history`\n), \n\ncampaigns as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n where is_most_recent_record = True\n),\n\nad_groups as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\nads as (\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__product_ad_history`\n where is_most_recent_record = True\n),\n\nfields as (\n select\n report.date_day,\n account_info.account_name,\n account_info.account_id,\n account_info.country_code,\n account_info.profile_id,\n portfolios.portfolio_name,\n portfolios.portfolio_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.ad_id,\n ads.serving_status,\n ads.state,\n report.advertised_asin,\n report.advertised_sku,\n report.campaign_budget_amount,\n report.campaign_budget_currency_code,\n report.campaign_budget_type,\n sum(report.cost) as cost,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions \n\n \n\n\n\n\n\n from report\n \n left join ads\n on ads.ad_id = report.ad_id\n left join ad_groups\n on ad_groups.ad_group_id = report.ad_group_id\n left join campaigns\n on campaigns.campaign_id = report.campaign_id\n left join portfolios\n on portfolios.portfolio_id = campaigns.portfolio_id\n left join account_info\n on account_info.profile_id = campaigns.profile_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.amazon_ads.int_amazon_ads__portfolio_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_amazon_ads", "name": "int_amazon_ads__portfolio_history", "resource_type": "model", "package_name": "amazon_ads", "path": "intermediate/int_amazon_ads__portfolio_history.sql", "original_file_path": "models/intermediate/int_amazon_ads__portfolio_history.sql", "unique_id": "model.amazon_ads.int_amazon_ads__portfolio_history", "fqn": ["amazon_ads", "intermediate", "int_amazon_ads__portfolio_history"], "alias": "int_amazon_ads__portfolio_history", "checksum": {"name": "sha256", "checksum": "f16073f69f2861ff80a5f7ebf6c93e4ad665ec5f091717de9b52f1a985028bae"}, "config": {"enabled": true, "alias": null, "schema": "amazon_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "amazon_ads", "materialized": "view", "enabled": true}, "created_at": 1679592103.409122, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`int_amazon_ads__portfolio_history`", "raw_code": "{{ config(enabled=var('ad_reporting__amazon_ads_enabled', True)) }}\n\n{# This intermediate model creates a dummy portfolio table if the user does not use portfolios. \nIf they are using them, the normal portfolio_history will be used. #}\n\nwith portfolios as (\n select\n {% if var('amazon_ads__portfolio_history_enabled', True) %}\n *\n from {{ var('portfolio_history') }}\n where is_most_recent_record = True\n {% else %}\n {# uses the columns macro from the source package to populate column names #}\n {%- set columns = amazon_ads_source.get_portfolio_history_columns() -%}\n {% for column in columns %}\n {# set null for each column #}\n {%- if column['name'] == 'id' -%}\n cast(null as {{ dbt.type_bigint() }}) as portfolio_id\n {%- elif column['name'] == 'name' -%}\n null as portfolio_name\n {%- else -%}\n null as {{column['name']}}\n {%- endif -%}\n {# add comma if not the last column #}\n {%- if not loop.last -%} , {% endif -%}\n {% endfor %}\n {% endif %}\n)\n\nselect * \nfrom portfolios", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history"]], "sources": [], "metrics": [], "depends_on": {"macros": [], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads/models/intermediate/int_amazon_ads__portfolio_history.sql", "compiled": true, "compiled_code": "\n\n\n\nwith portfolios as (\n select\n \n *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\n where is_most_recent_record = True\n \n)\n\nselect * \nfrom portfolios", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__url_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__url_report.sql", "original_file_path": "models/facebook_ads__url_report.sql", "unique_id": "model.facebook_ads.facebook_ads__url_report", "fqn": ["facebook_ads", "facebook_ads__url_report"], "alias": "facebook_ads__url_report", "checksum": {"name": "sha256", "checksum": "f70f450f715f519a00124348bc02f28ba3c9512aeb5f3ce0d57f01421e7a7f18"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook ad at the URL level.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "The ID of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_name": {"name": "creative_name", "description": "The name of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the page_link and template_page_link.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.724588, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\ncreatives as (\n\n select *\n from {{ ref('int_facebook_ads__creative_history') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), \n\nad_sets as (\n\n select *\n from {{ var('ad_set_history') }}\n where is_most_recent_record = true\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n creatives.creative_id,\n creatives.creative_name,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads \n on report.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id \n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where creatives.url is not null\n {% endif %}\n \n {{ dbt_utils.group_by(19) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["int_facebook_ads__creative_history"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__ad_history"], ["stg_facebook_ads__ad_set_history"], ["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads.int_facebook_ads__creative_history", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\ncreatives as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`int_facebook_ads__creative_history`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n), \n\nad_sets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n where is_most_recent_record = true\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n creatives.creative_id,\n creatives.creative_name,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads \n on report.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id \n\n \n where creatives.url is not null\n \n \n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__url_tags": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__url_tags", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__url_tags.sql", "original_file_path": "models/facebook_ads__url_tags.sql", "unique_id": "model.facebook_ads.facebook_ads__url_tags", "fqn": ["facebook_ads", "facebook_ads__url_tags"], "alias": "facebook_ads__url_tags", "checksum": {"name": "sha256", "checksum": "94dcb7faf1441b289fcec62f3e81794a05a34cf10bf2955e8a8f8c18555f8ad2"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record is a unique combination of creative_id and corresponding key, value, type contained in the url_tags field", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "The unique fivetran ID for this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The associated creative_id for this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "key": {"name": "key", "description": "The url tag object name e.g. utm_source associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "value": {"name": "value", "description": "The value assigned to the url tag object associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type assigned to the url tag object e.g. 'AD_VIDEO'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.752343, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_tags`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ var('creative_history') }}\n where is_most_recent_record = true\n), \n\nrequired_fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags\n from base\n where url_tags is not null\n), \n\n{{ get_url_tags_query() }} \n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads.get_url_tags_query"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__url_tags.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history`\n where is_most_recent_record = true\n), \n\nrequired_fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags\n from base\n where url_tags is not null\n), \n\n\n\n cleaned_json as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_array(replace(trim(url_tags, '\"'),'\\\\','')) as cleaned_url_tags\n from required_fields\n ), \n\n unnested as (\n\n select \n _fivetran_id, \n creative_id, \n url_tag_element\n from cleaned_json\n left join unnest(cleaned_url_tags) as url_tag_element\n where cleaned_url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_scalar(url_tag_element, '$.key') as key,\n json_extract_scalar(url_tag_element, '$.value') as value,\n json_extract_scalar(url_tag_element, '$.type') as type\n from unnested\n )\n\n \n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__campaign_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__campaign_report.sql", "original_file_path": "models/facebook_ads__campaign_report.sql", "unique_id": "model.facebook_ads.facebook_ads__campaign_report", "fqn": ["facebook_ads", "facebook_ads__campaign_report"], "alias": "facebook_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "4bec447c9d29e7a26180ce14a68d0a1217d60f0d24bed7c89716b3520c053a75"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook campaign.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.7444658, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n campaigns.start_at,\n campaigns.end_at,\n campaigns.status,\n campaigns.daily_budget,\n campaigns.lifetime_budget,\n campaigns.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__campaign_history"], ["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n campaigns.start_at,\n campaigns.end_at,\n campaigns.status,\n campaigns.daily_budget,\n campaigns.lifetime_budget,\n campaigns.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__account_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__account_report.sql", "original_file_path": "models/facebook_ads__account_report.sql", "unique_id": "model.facebook_ads.facebook_ads__account_report", "fqn": ["facebook_ads", "facebook_ads__account_report"], "alias": "facebook_ads__account_report", "checksum": {"name": "sha256", "checksum": "845cdb5118e536d66d515c2e11eee71d380e406ba4f443bae4828ec70362841e"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.748818, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n accounts.account_status,\n accounts.business_country_code,\n accounts.created_at,\n accounts.currency,\n accounts.timezone_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(8) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n accounts.account_status,\n accounts.business_country_code,\n accounts.created_at,\n accounts.currency,\n accounts.timezone_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__ad_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__ad_report.sql", "original_file_path": "models/facebook_ads__ad_report.sql", "unique_id": "model.facebook_ads.facebook_ads__ad_report", "fqn": ["facebook_ads", "facebook_ads__ad_report"], "alias": "facebook_ads__ad_report", "checksum": {"name": "sha256", "checksum": "36088a9abc521347aacc7d9bf0f56fd712441e94a2bc66ef334f85ff8f4761ea"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook ad.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "The ID of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the related ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.732467, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from {{ var('ad_set_history') }}\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n {{ dbt_utils.group_by(9) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__campaign_history"], ["stg_facebook_ads__ad_set_history"], ["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ads.ad_id,\n ads.ad_name,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n group by 1,2,3,4,5,6,7,8,9\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.facebook_ads__ad_set_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "facebook_ads__ad_set_report", "resource_type": "model", "package_name": "facebook_ads", "path": "facebook_ads__ad_set_report.sql", "original_file_path": "models/facebook_ads__ad_set_report.sql", "unique_id": "model.facebook_ads.facebook_ads__ad_set_report", "fqn": ["facebook_ads", "facebook_ads__ad_set_report"], "alias": "facebook_ads__ad_set_report", "checksum": {"name": "sha256", "checksum": "d1b0e28fe240e405fe8f746c38d4fad26a8d43e10dcd6f375617b78095f87e01"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Facebook ad set.", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "The ID of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the related ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads://models/facebook.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.7391171, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_set_report`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('basic_ad') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from {{ var('ad_set_history') }}\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ad_sets.start_at,\n ad_sets.end_at,\n ad_sets.bid_strategy,\n ad_sets.daily_budget,\n ad_sets.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='facebook_ads__basic_ad_passthrough_metrics', transform = 'sum') }}\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"], ["stg_facebook_ads__account_history"], ["stg_facebook_ads__campaign_history"], ["stg_facebook_ads__ad_set_history"], ["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook_ads__ad_set_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\n where is_most_recent_record = true\n\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n where is_most_recent_record = true\n\n),\n\nad_sets as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n where is_most_recent_record = true\n\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\n where is_most_recent_record = true\n\n),\n\njoined as (\n\n select \n report.date_day,\n accounts.account_id,\n accounts.account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_sets.ad_set_id,\n ad_sets.ad_set_name,\n ad_sets.start_at,\n ad_sets.end_at,\n ad_sets.bid_strategy,\n ad_sets.daily_budget,\n ad_sets.budget_remaining,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report \n left join accounts\n on report.account_id = accounts.account_id\n left join ads \n on report.ad_id = ads.ad_id\n left join campaigns\n on ads.campaign_id = campaigns.campaign_id\n left join ad_sets\n on ads.ad_set_id = ad_sets.ad_set_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads.int_facebook_ads__creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads", "name": "int_facebook_ads__creative_history", "resource_type": "model", "package_name": "facebook_ads", "path": "intermediate/int_facebook_ads__creative_history.sql", "original_file_path": "models/intermediate/int_facebook_ads__creative_history.sql", "unique_id": "model.facebook_ads.int_facebook_ads__creative_history", "fqn": ["facebook_ads", "intermediate", "int_facebook_ads__creative_history"], "alias": "int_facebook_ads__creative_history", "checksum": {"name": "sha256", "checksum": "58070e7fbe67471ca464a7f8fdb011e4e8582d1651e7b42b966218bdaf1b4235"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads", "materialized": "view", "enabled": true}, "created_at": 1679592103.5607092, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`int_facebook_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\n{% set url_field = \"coalesce(page_link,template_page_link)\" %}\n\nwith base as (\n\n select *\n from {{ var('creative_history') }}\n where is_most_recent_record = true\n\n), \n\nurl_tags as (\n\n select *\n from {{ ref('facebook_ads__url_tags') }}\n), \n\nurl_tags_pivoted as (\n\n select \n _fivetran_id,\n creative_id,\n min(case when key = 'utm_source' then value end) as utm_source,\n min(case when key = 'utm_medium' then value end) as utm_medium,\n min(case when key = 'utm_campaign' then value end) as utm_campaign,\n min(case when key = 'utm_content' then value end) as utm_content,\n min(case when key = 'utm_term' then value end) as utm_term\n from url_tags\n group by 1,2\n\n), \n\nfields as (\n\n select\n base._fivetran_id,\n base.creative_id,\n base.account_id,\n base.creative_name,\n {{ url_field }} as url,\n {{ dbt.split_part(url_field, \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host(url_field) }} as url_host,\n '/' || {{ dbt_utils.get_url_path(url_field) }} as url_path,\n coalesce(url_tags_pivoted.utm_source, {{ dbt_utils.get_url_parameter(url_field, 'utm_source') }}) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, {{ dbt_utils.get_url_parameter(url_field, 'utm_medium') }}) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, {{ dbt_utils.get_url_parameter(url_field, 'utm_campaign') }}) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, {{ dbt_utils.get_url_parameter(url_field, 'utm_content') }}) as utm_content,\n coalesce(url_tags_pivoted.utm_term, {{ dbt_utils.get_url_parameter(url_field, 'utm_term') }}) as utm_term\n from base\n left join url_tags_pivoted\n on base._fivetran_id = url_tags_pivoted._fivetran_id\n and base.creative_id = url_tags_pivoted.creative_id\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_facebook_ads__creative_history"], ["facebook_ads__url_tags"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history", "model.facebook_ads.facebook_ads__url_tags"]}, "compiled_path": "target/compiled/facebook_ads/models/intermediate/int_facebook_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\n\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history`\n where is_most_recent_record = true\n\n), \n\nurl_tags as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_tags`\n), \n\nurl_tags_pivoted as (\n\n select \n _fivetran_id,\n creative_id,\n min(case when key = 'utm_source' then value end) as utm_source,\n min(case when key = 'utm_medium' then value end) as utm_medium,\n min(case when key = 'utm_campaign' then value end) as utm_campaign,\n min(case when key = 'utm_content' then value end) as utm_content,\n min(case when key = 'utm_term' then value end) as utm_term\n from url_tags\n group by 1,2\n\n), \n\nfields as (\n\n select\n base._fivetran_id,\n base.creative_id,\n base.account_id,\n base.creative_name,\n coalesce(page_link,template_page_link) as url,\n \n\n \n split(\n coalesce(page_link,template_page_link),\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n coalesce(page_link,template_page_link),\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n coalesce(page_link,template_page_link),\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base._fivetran_id = url_tags_pivoted._fivetran_id\n and base.creative_id = url_tags_pivoted.creative_id\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__ad_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__ad_report.sql", "original_file_path": "models/snapchat_ads__ad_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__ad_report", "fqn": ["snapchat_ads", "snapchat_ads__ad_report"], "alias": "snapchat_ads__ad_report", "checksum": {"name": "sha256", "checksum": "883a24dba7248457561b24e845d2e8beec4fd361a2a8aef051b5cb01305f48fe"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat ad account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.8574772, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_hourly as (\n\n select *\n from {{ var('ad_hourly_report') }}\n\n), creatives as (\n\n select *\n from {{ ref('snapchat_ads__creative_history_prep') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n \n {{ dbt_utils.group_by(6) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"], ["snapchat_ads__creative_history_prep"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n),ad_hourly as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n\n), creatives as (\n\n select *\n from __dbt__cte__snapchat_ads__creative_history_prep\n\n), account as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n where is_most_recent_record = true\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n \n group by 1,2,3,4,5,6\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.snapchat_ads.snapchat_ads__creative_history_prep", "sql": " __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n)"}]}, "model.snapchat_ads.snapchat_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__url_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__url_report.sql", "original_file_path": "models/snapchat_ads__url_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__url_report", "fqn": ["snapchat_ads", "snapchat_ads__url_report"], "alias": "snapchat_ads__url_report", "checksum": {"name": "sha256", "checksum": "5ef679cec36298aa943c64d752fd4f730f71b1ab20127e5bbbd5d1ad952131f4"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of Snapchat ads that leverage urls.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_name": {"name": "ad_squad_name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the web_view_url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.88275, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_hourly as (\n\n select *\n from {{ var('ad_hourly_report') }}\n\n), creatives as (\n\n select *\n from {{ ref('snapchat_ads__creative_history_prep') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from {{ var('ad_squad_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n ad_squads.ad_squad_id,\n ad_squads.ad_squad_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n account.currency,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n -- We only want utm ads to populate this report. Therefore, we filter where url ads are populated.\n where creatives.url is not null\n {% endif %}\n\n {{ dbt_utils.group_by(18) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"], ["snapchat_ads__creative_history_prep"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_history"], ["stg_snapchat_ads__ad_squad_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n),ad_hourly as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n\n), creatives as (\n\n select *\n from __dbt__cte__snapchat_ads__creative_history_prep\n\n), account as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n ad_hourly.ad_id,\n ads.ad_name,\n ad_squads.ad_squad_id,\n ad_squads.ad_squad_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n account.currency,\n creatives.base_url,\n creatives.url_host,\n creatives.url_path,\n creatives.utm_source,\n creatives.utm_medium,\n creatives.utm_campaign,\n creatives.utm_content,\n creatives.utm_term,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join creatives\n on ads.creative_id = creatives.creative_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on creatives.ad_account_id = account.ad_account_id\n\n \n -- We only want utm ads to populate this report. Therefore, we filter where url ads are populated.\n where creatives.url is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.snapchat_ads.snapchat_ads__creative_history_prep", "sql": " __dbt__cte__snapchat_ads__creative_history_prep as (\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields\n)"}]}, "model.snapchat_ads.snapchat_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__account_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__account_report.sql", "original_file_path": "models/snapchat_ads__account_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__account_report", "fqn": ["snapchat_ads", "snapchat_ads__account_report"], "alias": "snapchat_ads__account_report", "checksum": {"name": "sha256", "checksum": "712da861e6b20cf879f1f5c936329cbfaf3a0e98728c707d692405b5629df197"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat ad account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.851316, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_hourly as (\n\n select *\n from {{ var('ad_hourly_report') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from {{ var('ad_squad_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n\n {{ dbt_utils.group_by(4) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_history"], ["stg_snapchat_ads__ad_squad_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith ad_hourly as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n\n), account as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n account.currency,\n sum(ad_hourly.swipes) as swipes,\n sum(ad_hourly.impressions) as impressions,\n round(sum(ad_hourly.spend),2) as spend\n\n \n\n\n\n\n \n from ad_hourly\n left join ads \n on ad_hourly.ad_id = ads.ad_id\n left join ad_squads\n on ads.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n\n group by 1,2,3,4\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__ad_squad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__ad_squad_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__ad_squad_report.sql", "original_file_path": "models/snapchat_ads__ad_squad_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__ad_squad_report", "fqn": ["snapchat_ads", "snapchat_ads__ad_squad_report"], "alias": "snapchat_ads__ad_squad_report", "checksum": {"name": "sha256", "checksum": "6d33fd85d1fc074fd8ba3f52b028d3b6f97d8e33c77bcd1fa5795527170a065a"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat ad squad.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_name": {"name": "ad_squad_name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.870199, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith ad_squad_hourly as (\n\n select *\n from {{ var('ad_squad_hourly_report') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from {{ var('ad_squad_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_squad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_squad_hourly.ad_squad_id,\n ad_squads.ad_squad_name,\n account.currency,\n sum(ad_squad_hourly.swipes) as swipes,\n sum(ad_squad_hourly.impressions) as impressions,\n round(sum(ad_squad_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__ad_squad_hourly_passthrough_metrics', transform = 'sum') }}\n \n from ad_squad_hourly\n left join ad_squads\n on ad_squad_hourly.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n {{ dbt_utils.group_by(8) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__ad_squad_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__ad_squad_report.sql", "compiled": true, "compiled_code": "\n\nwith ad_squad_hourly as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\n\n), account as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), ad_squads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(ad_squad_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaigns.campaign_id,\n campaigns.campaign_name,\n ad_squad_hourly.ad_squad_id,\n ad_squads.ad_squad_name,\n account.currency,\n sum(ad_squad_hourly.swipes) as swipes,\n sum(ad_squad_hourly.impressions) as impressions,\n round(sum(ad_squad_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from ad_squad_hourly\n left join ad_squads\n on ad_squad_hourly.ad_squad_id = ad_squads.ad_squad_id\n left join campaigns\n on ad_squads.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n group by 1,2,3,4,5,6,7,8\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__campaign_report", "resource_type": "model", "package_name": "snapchat_ads", "path": "snapchat_ads__campaign_report.sql", "original_file_path": "models/snapchat_ads__campaign_report.sql", "unique_id": "model.snapchat_ads.snapchat_ads__campaign_report", "fqn": ["snapchat_ads", "snapchat_ads__campaign_report"], "alias": "snapchat_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "37a0ae79a3b9a6455f3c7f6d5c83ca1ab54ae0fc2b2c103c981a43e0744fdc88"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Snapchat campaign.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The current used by the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads://models/snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "table", "enabled": true}, "created_at": 1679592110.863255, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith campaign_hourly as (\n\n select *\n from {{ var('campaign_hourly_report') }}\n\n), account as (\n\n select *\n from {{ var('ad_account_history') }}\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(campaign_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaign_hourly.campaign_id,\n campaigns.campaign_name,\n account.currency,\n sum(campaign_hourly.swipes) as swipes,\n sum(campaign_hourly.impressions) as impressions,\n round(sum(campaign_hourly.spend),2) as spend\n \n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='snapchat_ads__campaign_hourly_report_passthrough_metrics', transform = 'sum') }}\n \n from campaign_hourly\n left join campaigns\n on campaign_hourly.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n {{ dbt_utils.group_by(6) }}\n\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"], ["stg_snapchat_ads__ad_account_history"], ["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith campaign_hourly as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\n\n), account as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n where is_most_recent_record = true\n\n), campaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n where is_most_recent_record = true\n\n\n), aggregated as (\n\n select\n cast(campaign_hourly.date_hour as date) as date_day,\n account.ad_account_id,\n account.ad_account_name,\n campaign_hourly.campaign_id,\n campaigns.campaign_name,\n account.currency,\n sum(campaign_hourly.swipes) as swipes,\n sum(campaign_hourly.impressions) as impressions,\n round(sum(campaign_hourly.spend),2) as spend\n \n \n\n\n\n\n \n from campaign_hourly\n left join campaigns\n on campaign_hourly.campaign_id = campaigns.campaign_id\n left join account\n on campaigns.ad_account_id = account.ad_account_id\n \n group by 1,2,3,4,5,6\n\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads.snapchat_ads__creative_history_prep": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads", "name": "snapchat_ads__creative_history_prep", "resource_type": "model", "package_name": "snapchat_ads", "path": "intermediate/snapchat_ads__creative_history_prep.sql", "original_file_path": "models/intermediate/snapchat_ads__creative_history_prep.sql", "unique_id": "model.snapchat_ads.snapchat_ads__creative_history_prep", "fqn": ["snapchat_ads", "intermediate", "snapchat_ads__creative_history_prep"], "alias": "snapchat_ads__creative_history_prep", "checksum": {"name": "sha256", "checksum": "96937fe8400a512c70ff7cf59a4f215276169b68df7c5bdd67b9a0c1234d86e8"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads", "materialized": "ephemeral", "enabled": true}, "created_at": 1679592103.699568, "relation_name": null, "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\nwith base as (\n\n select *\n from {{ var('creative_history') }}\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from {{ var('creative_url_tag_history') }}\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n {{ dbt.split_part('base.url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('base.url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('base.url') }} as url_path,\n coalesce(url_tags_pivoted.utm_source, {{ dbt_utils.get_url_parameter('base.url', 'utm_source') }}) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, {{ dbt_utils.get_url_parameter('base.url', 'utm_medium') }}) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, {{ dbt_utils.get_url_parameter('base.url', 'utm_campaign') }}) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, {{ dbt_utils.get_url_parameter('base.url', 'utm_content') }}) as utm_content,\n coalesce(url_tags_pivoted.utm_term, {{ dbt_utils.get_url_parameter('base.url', 'utm_term') }}) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"], ["stg_snapchat_ads__creative_url_tag_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads/models/intermediate/snapchat_ads__creative_history_prep.sql", "compiled": true, "compiled_code": "\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n where is_most_recent_record = true\n\n), url_tags as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n where is_most_recent_record = true\n\n), url_tags_pivoted as (\n\n select \n creative_id,\n min(case when param_key = 'utm_source' then param_value end) as utm_source,\n min(case when param_key = 'utm_medium' then param_value end) as utm_medium,\n min(case when param_key = 'utm_campaign' then param_value end) as utm_campaign,\n min(case when param_key = 'utm_content' then param_value end) as utm_content,\n min(case when param_key = 'utm_term' then param_value end) as utm_term\n from url_tags\n group by 1\n\n), fields as (\n\n select\n base.creative_id,\n base.ad_account_id,\n base.creative_name,\n base.url,\n \n\n \n split(\n base.url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n base.url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n base.url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n coalesce(url_tags_pivoted.utm_source, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_source,\n coalesce(url_tags_pivoted.utm_medium, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_medium,\n coalesce(url_tags_pivoted.utm_campaign, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_campaign,\n coalesce(url_tags_pivoted.utm_content, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_content,\n coalesce(url_tags_pivoted.utm_term, nullif(\n\n \n split(\n \n\n \n split(\n base.url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'')) as utm_term\n from base\n left join url_tags_pivoted\n on base.creative_id = url_tags_pivoted.creative_id\n\n)\n\nselect *\nfrom fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_group_stats.sql", "original_file_path": "models/stg_google_ads__ad_group_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats", "fqn": ["google_ads_source", "stg_google_ads__ad_group_stats"], "alias": "stg_google_ads__ad_group_stats", "checksum": {"name": "sha256", "checksum": "50112c5d48ed15989072dc56b8e1fc598778564b5fef97bcc538ca6927117713"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad group in Google Ads broken down to the ad network and device type.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.025522, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_group_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_group_stats_tmp')),\n staging_columns=get_ad_group_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n customer_id as account_id, \n date as date_day, \n cast(id as {{ dbt.type_string() }}) as ad_group_id, \n campaign_id, \n device,\n ad_network_type,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__ad_group_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__ad_group_stats_tmp"], ["stg_google_ads__ad_group_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_group_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats_tmp", "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_group_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_network_type\n \n as \n \n ad_network_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_micros\n \n as \n \n cost_micros\n \n, \n \n \n customer_id\n \n as \n \n customer_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n device\n \n as \n \n device\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select\n customer_id as account_id, \n date as date_day, \n cast(id as STRING) as ad_group_id, \n campaign_id, \n device,\n ad_network_type,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__account_stats.sql", "original_file_path": "models/stg_google_ads__account_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_stats", "fqn": ["google_ads_source", "stg_google_ads__account_stats"], "alias": "stg_google_ads__account_stats", "checksum": {"name": "sha256", "checksum": "ab5bb273d256a42be530160f2c20aa597ff974ad43e5fdbd20046f6f0699ef7f"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an account in Google Ads broken down to the ad network and device type.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.0417962, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__account_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__account_stats_tmp')),\n staging_columns=get_account_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day,\n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__account_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__account_stats_tmp"], ["stg_google_ads__account_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_account_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats_tmp", "model.google_ads_source.stg_google_ads__account_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__account_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_network_type\n \n as \n \n ad_network_type\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_micros\n \n as \n \n cost_micros\n \n, \n \n \n customer_id\n \n as \n \n customer_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n device\n \n as \n \n device\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day,\n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_group_history.sql", "original_file_path": "models/stg_google_ads__ad_group_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history", "fqn": ["google_ads_source", "stg_google_ads__ad_group_history"], "alias": "stg_google_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "a74962ca2bca2e4507e3c647d9dd4ff276be310258c25d99c1228024b6e7e03c"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad group in Google Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_type": {"name": "ad_group_type", "description": "The type of the ad group in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592110.987523, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_group_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as {{ dbt.type_string() }}) as ad_group_id,\n updated_at,\n type as ad_group_type, \n campaign_id, \n campaign_name, \n name as ad_group_name, \n status as ad_group_status,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_google_ads__ad_group_history_tmp"], ["stg_google_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n campaign_name\n \n as \n \n campaign_name\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n type\n \n as \n \n type\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as STRING) as ad_group_id,\n updated_at,\n type as ad_group_type, \n campaign_id, \n campaign_name, \n name as ad_group_name, \n status as ad_group_status,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_history.sql", "original_file_path": "models/stg_google_ads__ad_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_history", "fqn": ["google_ads_source", "stg_google_ads__ad_history"], "alias": "stg_google_ads__ad_history", "checksum": {"name": "sha256", "checksum": "e0ff6b7aea218822442000bf423b307647e99e54c9bf48ed4bf411bcc6f00edb"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad in Google Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The display url of the ad that is being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_type": {"name": "ad_type", "description": "The type of the ad in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "Status of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "source_final_urls": {"name": "source_final_urls", "description": "The original list of final urls expressed as an array. Please be aware the test used on this field is intended to warn you if you have fields with multiple urls. If you do, the `final_url` field will filter down the urls within the array to just the first. Therefore, this package will only leverage one of possibly many urls within this field array.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_url": {"name": "final_url", "description": "The first url in the list of the urls within the `final_urls` source field.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `final_urls`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592110.9979389, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_group_id as {{ dbt.type_string() }}) as ad_group_id, \n id as ad_id,\n name as ad_name,\n updated_at,\n type as ad_type,\n status as ad_status,\n display_url,\n final_urls as source_final_urls,\n replace(replace(final_urls, '[', ''),']','') as final_urls,\n row_number() over (partition by id, ad_group_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n),\n\nfinal_urls as (\n\n select \n *,\n --Extract the first url within the list of urls provided within the final_urls field\n {{ dbt.split_part(string_text='final_urls', delimiter_text=\"','\", part_number=1) }} as final_url\n\n from final\n\n),\n\nurl_fields as (\n select \n *,\n {{ dbt.split_part('final_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('final_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('final_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('final_url', 'utm_term') }} as utm_term\n from final_urls\n)\n\nselect * \nfrom url_fields", "language": "sql", "refs": [["stg_google_ads__ad_history_tmp"], ["stg_google_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history_tmp", "model.google_ads_source.stg_google_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n display_url\n \n as \n \n display_url\n \n, \n \n \n final_urls\n \n as \n \n final_urls\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n type\n \n as \n \n type\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_group_id as STRING) as ad_group_id, \n id as ad_id,\n name as ad_name,\n updated_at,\n type as ad_type,\n status as ad_status,\n display_url,\n final_urls as source_final_urls,\n replace(replace(final_urls, '[', ''),']','') as final_urls,\n row_number() over (partition by id, ad_group_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n),\n\nfinal_urls as (\n\n select \n *,\n --Extract the first url within the list of urls provided within the final_urls field\n \n\n \n split(\n final_urls,\n ','\n )[safe_offset(0)]\n \n\n as final_url\n\n from final\n\n),\n\nurl_fields as (\n select \n *,\n \n\n \n split(\n final_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n final_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n final_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term\n from final_urls\n)\n\nselect * \nfrom url_fields", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__keyword_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__keyword_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__keyword_stats.sql", "original_file_path": "models/stg_google_ads__keyword_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats", "fqn": ["google_ads_source", "stg_google_ads__keyword_stats"], "alias": "stg_google_ads__keyword_stats", "checksum": {"name": "sha256", "checksum": "ffc5f45c98b6b7a2824807980d55ad185258b67c2e8b3066844722616cdf4074"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a keyword in Google Ads.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The unique ID of the keyword record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "criterion_id": {"name": "criterion_id", "description": "Reference to the ad group criterion used for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.0368052, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__keyword_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__keyword_stats_tmp')),\n staging_columns=get_keyword_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n _fivetran_id as keyword_id,\n customer_id as account_id, \n date as date_day, \n cast(ad_group_id as {{ dbt.type_string() }}) as ad_group_id,\n ad_group_criterion_criterion_id as criterion_id,\n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__keyword_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__keyword_stats_tmp"], ["stg_google_ads__keyword_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_keyword_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats_tmp", "model.google_ads_source.stg_google_ads__keyword_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__keyword_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_group_criterion_criterion_id\n \n as \n \n ad_group_criterion_criterion_id\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_network_type\n \n as \n \n ad_network_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_micros\n \n as \n \n cost_micros\n \n, \n \n \n customer_id\n \n as \n \n customer_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n device\n \n as \n \n device\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n _fivetran_id as keyword_id,\n customer_id as account_id, \n date as date_day, \n cast(ad_group_id as STRING) as ad_group_id,\n ad_group_criterion_criterion_id as criterion_id,\n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_stats.sql", "original_file_path": "models/stg_google_ads__ad_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_stats", "fqn": ["google_ads_source", "stg_google_ads__ad_stats"], "alias": "stg_google_ads__ad_stats", "checksum": {"name": "sha256", "checksum": "be21b75b017ffad3f142c3d90ab9be8f9d99e9f16ea682acdf00217e6817fea2"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad in Google Ads broken down to the ad network, device type, and ad_group_id.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_ad_group_criterion": {"name": "keyword_ad_group_criterion", "description": "The ad group which the keyword criterion resides.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.005069, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_stats_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_stats_tmp')),\n staging_columns=get_ad_stats_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n {% if target.type in ('spark','databricks') %}\n coalesce(cast(ad_group_id as {{ dbt.type_string() }}), split(ad_group,'adGroups/')[1]) as ad_group_id,\n {% else %}\n coalesce(cast(ad_group_id as {{ dbt.type_string() }}), {{ dbt.split_part(string_text='ad_group', delimiter_text=\"'adGroups/'\", part_number=2) }}) as ad_group_id,\n {% endif %}\n keyword_ad_group_criterion,\n ad_network_type,\n device,\n ad_id, \n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__ad_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect * from final", "language": "sql", "refs": [["stg_google_ads__ad_stats_tmp"], ["stg_google_ads__ad_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string", "macro.dbt.split_part", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats_tmp", "model.google_ads_source.stg_google_ads__ad_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n ad_group\n \n as \n \n ad_group\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n ad_network_type\n \n as \n \n ad_network_type\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_micros\n \n as \n \n cost_micros\n \n, \n \n \n customer_id\n \n as \n \n customer_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n device\n \n as \n \n device\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n keyword_ad_group_criterion\n \n as \n \n keyword_ad_group_criterion\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n \n coalesce(cast(ad_group_id as STRING), \n\n \n split(\n ad_group,\n 'adGroups/'\n )[safe_offset(1)]\n \n\n) as ad_group_id,\n \n keyword_ad_group_criterion,\n ad_network_type,\n device,\n ad_id, \n campaign_id, \n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_criterion_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_criterion_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__ad_group_criterion_history.sql", "original_file_path": "models/stg_google_ads__ad_group_criterion_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history", "fqn": ["google_ads_source", "stg_google_ads__ad_group_criterion_history"], "alias": "stg_google_ads__ad_group_criterion_history", "checksum": {"name": "sha256", "checksum": "0f6a6882c94309772926b30b0b1d0ddf5f38fa9cdc8133ad6d771ead57c0a6a3"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a historical version of an ad group criterion in Google Ads.", "columns": {"criterion_id": {"name": "criterion_id", "description": "Unique identifier of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_campaign_id": {"name": "base_campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The match type which dictate how closely the keyword needs to match with the user\u2019s search query so that the ad can be considered for the auction.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The text used within the keyword criterion that is being matched against.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.019327, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_criterion_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__ad_group_criterion_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__ad_group_criterion_history_tmp')),\n staging_columns=get_ad_group_criterion_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as criterion_id,\n cast(ad_group_id as {{ dbt.type_string() }}) as ad_group_id,\n base_campaign_id,\n updated_at,\n type,\n status,\n keyword_match_type,\n keyword_text,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__ad_group_criterion_history_tmp"], ["stg_google_ads__ad_group_criterion_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_ad_group_criterion_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_string"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__ad_group_criterion_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_criterion_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n base_campaign_id\n \n as \n \n base_campaign_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n, \n \n \n type\n \n as \n \n type\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n keyword_match_type\n \n as \n \n keyword_match_type\n \n, \n \n \n keyword_text\n \n as \n \n keyword_text\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n id as criterion_id,\n cast(ad_group_id as STRING) as ad_group_id,\n base_campaign_id,\n updated_at,\n type,\n status,\n keyword_match_type,\n keyword_text,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_stats", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__campaign_stats.sql", "original_file_path": "models/stg_google_ads__campaign_stats.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats", "fqn": ["google_ads_source", "stg_google_ads__campaign_stats"], "alias": "stg_google_ads__campaign_stats", "checksum": {"name": "sha256", "checksum": "4d8f1522db5e641f065131caf87cc3d4bb2895837d1da1adb9373e6f6e3187a3"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a campaign in Google Ads broken down to the ad network and device type.", "columns": {"account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.0310342, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__campaign_stats_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__campaign_stats_tmp')),\n staging_columns=get_campaign_stats_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n id as campaign_id, \n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n {{ fivetran_utils.fill_pass_through_columns('google_ads__campaign_stats_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_google_ads__campaign_stats_tmp"], ["stg_google_ads__campaign_stats_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_campaign_stats_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats_tmp", "model.google_ads_source.stg_google_ads__campaign_stats_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__campaign_stats.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_network_type\n \n as \n \n ad_network_type\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n cost_micros\n \n as \n \n cost_micros\n \n, \n \n \n customer_id\n \n as \n \n customer_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n device\n \n as \n \n device\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n customer_id as account_id, \n date as date_day, \n id as campaign_id, \n ad_network_type,\n device,\n clicks, \n cost_micros / 1000000.0 as spend, \n impressions\n \n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__campaign_history.sql", "original_file_path": "models/stg_google_ads__campaign_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_history", "fqn": ["google_ads_source", "stg_google_ads__campaign_history"], "alias": "stg_google_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "48aacc738e5cbe391f544a5e16f40107b193fb5e84e3b7f1a3673cfe51e42bed"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a campaign in Google Ads.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_type": {"name": "advertising_channel_type", "description": "The type of advertising channel being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_subtype": {"name": "advertising_channel_subtype", "description": "The advertising channel subtype that is being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "Status of the ads and how they are currently being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "General status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tracking_url_template": {"name": "tracking_url_template", "description": "The tracking url template being used throughout the campaign ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.013603, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__campaign_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id, \n updated_at,\n name as campaign_name,\n customer_id as account_id,\n advertising_channel_type,\n advertising_channel_subtype,\n start_date,\n end_date,\n serving_status,\n status,\n tracking_url_template,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_google_ads__campaign_history_tmp"], ["stg_google_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_history_tmp", "model.google_ads_source.stg_google_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n advertising_channel_subtype\n \n as \n \n advertising_channel_subtype\n \n, \n \n \n advertising_channel_type\n \n as \n \n advertising_channel_type\n \n, \n \n \n customer_id\n \n as \n \n customer_id\n \n, \n \n \n end_date\n \n as \n \n end_date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n serving_status\n \n as \n \n serving_status\n \n, \n \n \n start_date\n \n as \n \n start_date\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n tracking_url_template\n \n as \n \n tracking_url_template\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as campaign_id, \n updated_at,\n name as campaign_name,\n customer_id as account_id,\n advertising_channel_type,\n advertising_channel_subtype,\n start_date,\n end_date,\n serving_status,\n status,\n tracking_url_template,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_history", "resource_type": "model", "package_name": "google_ads_source", "path": "stg_google_ads__account_history.sql", "original_file_path": "models/stg_google_ads__account_history.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_history", "fqn": ["google_ads_source", "stg_google_ads__account_history"], "alias": "stg_google_ads__account_history", "checksum": {"name": "sha256", "checksum": "343005eab065e14bf0ee42e8efc615b9397add7d783d1e2e77158d2781f253bb"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an account in Google Ads.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the Account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency of the spend reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "auto_tagging_enabled": {"name": "auto_tagging_enabled", "description": "Boolean indicating if auto tagging is enabled on the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone of the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "google_ads_source://models/stg_google_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592110.981997, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_google_ads__account_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_google_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n updated_at,\n currency_code,\n auto_tagging_enabled,\n time_zone,\n descriptive_name as account_name,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_google_ads__account_history_tmp"], ["stg_google_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.google_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.google_ads_source.stg_google_ads__account_history_tmp", "model.google_ads_source.stg_google_ads__account_history_tmp"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n auto_tagging_enabled\n \n as \n \n auto_tagging_enabled\n \n, \n \n \n currency_code\n \n as \n \n currency_code\n \n, \n \n \n descriptive_name\n \n as \n \n descriptive_name\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n time_zone\n \n as \n \n time_zone\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as account_id,\n updated_at,\n currency_code,\n auto_tagging_enabled,\n time_zone,\n descriptive_name as account_name,\n row_number() over (partition by id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_stats_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__account_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__account_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__account_stats_tmp"], "alias": "stg_google_ads__account_stats_tmp", "checksum": {"name": "sha256", "checksum": "64986ed4826b8e88bc9cbc3bde6840448bc855e6084bc3d12da016addb34dafa"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.035112, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "account_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__account_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_account_stats_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_group_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_group_history_tmp"], "alias": "stg_google_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "663aad714cdf84b0a06475835364f36ffca4392b342ce434ea9ac3b38b96e548"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.047752, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_group_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_stats_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__campaign_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__campaign_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__campaign_stats_tmp"], "alias": "stg_google_ads__campaign_stats_tmp", "checksum": {"name": "sha256", "checksum": "ac4bf76095a969b6cc66bdfc6bf1e53e555be2fee1eb08c867e0489a910ab491"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.059118, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "campaign_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__campaign_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_campaign_stats_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_stats_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_stats_tmp"], "alias": "stg_google_ads__ad_stats_tmp", "checksum": {"name": "sha256", "checksum": "69fac90225ad40ce593bc7a83bea96739e0018b2d4b90c4dd7be0555b980c316"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.0708349, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_stats_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__campaign_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__campaign_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__campaign_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__campaign_history_tmp"], "alias": "stg_google_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "1ca8c796342ffe6e1c664697a81bbe0787b3999df6e155e114aabb3f85df6ac6"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.082607, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.campaign_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_criterion_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_group_criterion_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_group_criterion_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_group_criterion_history_tmp"], "alias": "stg_google_ads__ad_group_criterion_history_tmp", "checksum": {"name": "sha256", "checksum": "82cd3b85a00f84d6433d30fb5a2c6b6882381c4200bdad44fd5a761219418b48"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.096267, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_criterion_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_criterion_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_group_criterion_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_group_criterion_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_criterion_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_group_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_group_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_group_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_group_stats_tmp"], "alias": "stg_google_ads__ad_group_stats_tmp", "checksum": {"name": "sha256", "checksum": "df5f65c5bda3d22cada3c02ded54c4eb2a7e13ef2f1bc6169fed1f0c03fe761e"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.107643, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_group_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_group_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_stats_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__keyword_stats_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__keyword_stats_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__keyword_stats_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__keyword_stats_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__keyword_stats_tmp"], "alias": "stg_google_ads__keyword_stats_tmp", "checksum": {"name": "sha256", "checksum": "4568538a6402c68eb5e94f0e9f17373b8473723218597ad8990553524dc31691"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.118724, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_stats') }}", "language": "sql", "refs": [], "sources": [["google_ads", "keyword_stats"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__keyword_stats_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_keyword_stats_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__ad_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__ad_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__ad_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__ad_history_tmp"], "alias": "stg_google_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "237e4cca801b026f9d0aaeff2130bf3d2f3c9050e364406b5b59ba18db547166"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.1307788, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.google_ads_source.stg_google_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_google_ads_source", "name": "stg_google_ads__account_history_tmp", "resource_type": "model", "package_name": "google_ads_source", "path": "tmp/stg_google_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_google_ads__account_history_tmp.sql", "unique_id": "model.google_ads_source.stg_google_ads__account_history_tmp", "fqn": ["google_ads_source", "tmp", "stg_google_ads__account_history_tmp"], "alias": "stg_google_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "b5f8dd1b72ffdcf3bd32a1c0ab81a33aed0f43b042998b6d9cf57605a4226386"}, "config": {"enabled": true, "alias": null, "schema": "google_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "google_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592104.1444118, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__google_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["google_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.google_ads_source.google_ads.account_history"]}, "compiled_path": "target/compiled/google_ads_source/models/tmp/stg_google_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_account_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__ad_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__ad_report.sql", "original_file_path": "models/apple_search_ads__ad_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__ad_report", "fqn": ["apple_search_ads", "apple_search_ads__ad_report"], "alias": "apple_search_ads__ad_report", "checksum": {"name": "sha256", "checksum": "9be99b8581d2c85b4b11327ae3eef34d26121ed866e5762ff7f627b2c24b63a9"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each ad.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "The status of the ad associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on ad group on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on ad group in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679592111.325355, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_report') }}\n), \n\nad as (\n\n select * \n from {{ var('ad_history') }}\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select * \n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n ad.ad_id,\n ad.ad_name,\n report.currency,\n ad.ad_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__ad_passthrough_metrics', transform = 'sum') }}\n from report\n join ad \n on report.ad_id = ad.ad_id\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on ad.organization_id = organization.organization_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"], ["stg_apple_search_ads__ad_history"], ["stg_apple_search_ads__ad_group_history"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\n), \n\nad as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n ad.ad_id,\n ad.ad_name,\n report.currency,\n ad.ad_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join ad \n on report.ad_id = ad.ad_id\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on ad.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__ad_group_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__ad_group_report.sql", "original_file_path": "models/apple_search_ads__ad_group_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__ad_group_report", "fqn": ["apple_search_ads", "apple_search_ads__ad_group_report"], "alias": "apple_search_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "a1edd5d4e81de3dadca268c67fc1bee311cab1edc7efe48a494c7017c7acdc80"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each ad group.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "The status of the ad group associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The start timestamp for this ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The end timestamp for this ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on ad group on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of ad group in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on ad group in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679592111.3142242, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_report') }}\n), \n\nad_group as (\n\n select * \n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n report.currency,\n ad_group.ad_group_status,\n ad_group.start_at, \n ad_group.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__ad_group_passthrough_metrics', transform = 'sum') }}\n from report\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n {{ dbt_utils.group_by(11) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"], ["stg_apple_search_ads__ad_group_history"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\n), \n\nad_group as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n report.currency,\n ad_group.ad_group_status,\n ad_group.start_at, \n ad_group.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join ad_group \n on report.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__keyword_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__keyword_report.sql", "original_file_path": "models/apple_search_ads__keyword_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__keyword_report", "fqn": ["apple_search_ads", "apple_search_ads__keyword_report"], "alias": "apple_search_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "91250ca8167dc8fee98582ff093d56a498b854e5c66a51325076191016bfb0e7"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each creative set.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Creative set name associatd with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "Creative set ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_status": {"name": "keyword_status", "description": "The status of the keyword associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on keyword on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of keyword in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of keyword in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of keyword in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on keyword in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679592111.45908, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('keyword_report') }}\n), \n\nkeyword as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n keyword.keyword_id,\n keyword.keyword_text,\n keyword.match_type,\n report.currency,\n keyword.keyword_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__keyword_passthrough_metrics', transform = 'sum') }}\n from report\n join keyword \n on report.keyword_id = keyword.keyword_id\n join ad_group \n on keyword.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n {{ dbt_utils.group_by(12) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"], ["stg_apple_search_ads__keyword_history"], ["stg_apple_search_ads__ad_group_history"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\n), \n\nkeyword as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\n where is_most_recent_record = True\n), \n\nad_group as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n where is_most_recent_record = True\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n ad_group.ad_group_id,\n ad_group.ad_group_name,\n keyword.keyword_id,\n keyword.keyword_text,\n keyword.match_type,\n report.currency,\n keyword.keyword_status,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join keyword \n on report.keyword_id = keyword.keyword_id\n join ad_group \n on keyword.ad_group_id = ad_group.ad_group_id\n join campaign \n on ad_group.campaign_id = campaign.campaign_id\n join organization \n on ad_group.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__search_term_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__search_term_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__search_term_report.sql", "original_file_path": "models/apple_search_ads__search_term_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__search_term_report", "fqn": ["apple_search_ads", "apple_search_ads__search_term_report"], "alias": "apple_search_ads__search_term_report", "checksum": {"name": "sha256", "checksum": "4827d710dac6b2e632dcf3ba421a8166d719d1ae59e98128736b8689cf4039a1"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each search term, only includes records with search term values.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_text": {"name": "search_term_text", "description": "Search term text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on organization on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on organization in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679592111.475275, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__apple_search_ads_enabled','apple_search_ads__using_search_terms'])) }}\n\nwith report as (\n\n select *\n from {{ var('search_term_report') }}\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.ad_group_id,\n report.ad_group_name,\n report.keyword_id,\n report.keyword_text,\n report.search_term_text,\n report.match_type,\n report.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__search_term_passthrough_metrics', transform = 'sum') }}\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n where report.search_term_text is not null\n {{ dbt_utils.group_by(12) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__search_term_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.ad_group_id,\n report.ad_group_name,\n report.keyword_id,\n report.keyword_text,\n report.search_term_text,\n report.match_type,\n report.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n where report.search_term_text is not null\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__campaign_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__campaign_report.sql", "original_file_path": "models/apple_search_ads__campaign_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__campaign_report", "fqn": ["apple_search_ads", "apple_search_ads__campaign_report"], "alias": "apple_search_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "d555ffbfe1f914afd50ba592ab961f1ebdb40a4d4315c0696f1c80738930080f"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each campaign.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the campaign associted with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The start timestamp of this campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The end timestamp of this campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on campaign on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of campaign in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of campaign in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of campaign in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on campaign in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679592111.336013, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n \n select *\n from {{ var('campaign_report') }}\n\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n\n), \n\njoined as (\n\n select \n report.date_day,\n campaign.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.currency,\n campaign.campaign_status,\n campaign.start_at,\n campaign.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__campaign_passthrough_metrics', transform = 'sum') }}\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n {{ dbt_utils.group_by(9) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\n\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n\n), \n\njoined as (\n\n select \n report.date_day,\n campaign.organization_id,\n organization.organization_name,\n campaign.campaign_id, \n campaign.campaign_name, \n report.currency,\n campaign.campaign_status,\n campaign.start_at,\n campaign.end_at,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n group by 1,2,3,4,5,6,7,8,9\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads.apple_search_ads__organization_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads", "name": "apple_search_ads__organization_report", "resource_type": "model", "package_name": "apple_search_ads", "path": "apple_search_ads__organization_report.sql", "original_file_path": "models/apple_search_ads__organization_report.sql", "unique_id": "model.apple_search_ads.apple_search_ads__organization_report", "fqn": ["apple_search_ads", "apple_search_ads__organization_report"], "alias": "apple_search_ads__organization_report", "checksum": {"name": "sha256", "checksum": "47084fe8809edaeeda722e20590b19c6488687d05ad654b8fef4a0021088e0a2"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily ad performance of each organization.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Organization name associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "Number of taps on organization on given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed app of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Number of user downloads where user deletes app and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_downloads": {"name": "total_downloads", "description": "The sum of new_downloads and redownloads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions of organization in a given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on organization in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads://models/apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads", "materialized": "table", "enabled": true}, "created_at": 1679592111.465579, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith report as (\n \n select *\n from {{ var('campaign_report') }}\n), \n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from {{ var('organization') }}\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n organization.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='apple_search_ads__campaign_passthrough_metrics', transform = 'sum') }}\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n {{ dbt_utils.group_by(4) }}\n)\n\nselect * \nfrom joined", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"], ["stg_apple_search_ads__campaign_history"], ["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads__organization_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n \n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\n), \n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n where is_most_recent_record = True\n), \n\norganization as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n), \n\njoined as (\n\n select \n report.date_day,\n organization.organization_id,\n organization.organization_name,\n organization.currency,\n sum(report.taps) as taps,\n sum(report.new_downloads) as new_downloads,\n sum(report.redownloads) as redownloads,\n sum(report.new_downloads + report.redownloads) as total_downloads,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n join campaign \n on report.campaign_id = campaign.campaign_id\n join organization \n on campaign.organization_id = organization.organization_id\n group by 1,2,3,4\n)\n\nselect * \nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.ad_reporting__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__campaign_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__campaign_report.sql", "original_file_path": "models/ad_reporting__campaign_report.sql", "unique_id": "model.ad_reporting.ad_reporting__campaign_report", "fqn": ["ad_reporting", "ad_reporting__campaign_report"], "alias": "ad_reporting__campaign_report", "checksum": {"name": "sha256", "checksum": "2483fb7d8542d9dea58ad86c4e2821501bf104c2f6802e7c4f74baea277ce39c"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.705387, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__campaign_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__campaign_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(6) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__campaign_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__campaign_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__campaign_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__campaign_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__campaign_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__campaign_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__campaign_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__campaign_report", "sql": " __dbt__cte__int_ad_reporting__campaign_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__campaign_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__campaign_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__campaign_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__campaign_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__account_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__account_report.sql", "original_file_path": "models/ad_reporting__account_report.sql", "unique_id": "model.ad_reporting.ad_reporting__account_report", "fqn": ["ad_reporting", "ad_reporting__account_report"], "alias": "ad_reporting__account_report", "checksum": {"name": "sha256", "checksum": "7a5c7e7a4d03a8a074b5e23154de600f7dfa06931055665906e407e2eaad8a8a"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.684096, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__account_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__account_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(4) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__account_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__account_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__account_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__account_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__account_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__account_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__account_report", "sql": " __dbt__cte__int_ad_reporting__account_report as (\n\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__account_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__account_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__account_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__ad_group_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__ad_group_report.sql", "original_file_path": "models/ad_reporting__ad_group_report.sql", "unique_id": "model.ad_reporting.ad_reporting__ad_group_report", "fqn": ["ad_reporting", "ad_reporting__ad_group_report"], "alias": "ad_reporting__ad_group_report", "checksum": {"name": "sha256", "checksum": "fe93b1aa6e8cc66827b9b6ed209113e7af61fa090c025adc18a657278c4fc15b"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.691254, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__ad_group_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__ad_group_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(8) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__ad_group_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__ad_group_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_group_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_group_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_set_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_group_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__ad_group_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__ad_group_report", "sql": " __dbt__cte__int_ad_reporting__ad_group_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_group_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_group_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_set_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_group_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__search_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__search_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__search_report.sql", "original_file_path": "models/ad_reporting__search_report.sql", "unique_id": "model.ad_reporting.ad_reporting__search_report", "fqn": ["ad_reporting", "ad_reporting__search_report"], "alias": "ad_reporting__search_report", "checksum": {"name": "sha256", "checksum": "6bc6ff01c66a8e32bcedc6a6f3f8429bc445c65f6bd18ed2ee4813ddb065fb2b"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by search query, ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID representing the keyword, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The keyword text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The search query text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_match_type": {"name": "search_match_type", "description": "The search match type associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.723091, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__search_report`", "raw_code": "{% if var('apple_search_ads__using_search_terms', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'microsoft_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'microsoft_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__search_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n search_query,\n search_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(12) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__search_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith __dbt__cte__int_ad_reporting__search_report as (\n\n \n\n\n\n\n\nwith \n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_query as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__search_report`\n\n), \n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term_text as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term as STRING) as search_query \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__search_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from microsoft_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__search_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n search_query,\n search_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__search_report", "sql": " __dbt__cte__int_ad_reporting__search_report as (\n\n \n\n\n\n\n\nwith \n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_query as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__search_report`\n\n), \n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term_text as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term as STRING) as search_query \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__search_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from microsoft_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__ad_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__ad_report.sql", "original_file_path": "models/ad_reporting__ad_report.sql", "unique_id": "model.ad_reporting.ad_reporting__ad_report", "fqn": ["ad_reporting", "ad_reporting__ad_report"], "alias": "ad_reporting__ad_report", "checksum": {"name": "sha256", "checksum": "87a1850a3d333ed329ac0fe5fe08fe66b351da3b7eac0ed33af0b0737af6b057"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by ad, ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID representing the ad, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.699569, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__ad_report`", "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__ad_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n ad_id,\n ad_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(10) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__ad_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__ad_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(creative_id as STRING) as ad_id \n ,cast(null as STRING) as ad_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(pin_promotion_id as STRING) as ad_id \n ,cast(pin_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(null as STRING) as ad_group_id \n ,cast(null as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(null as STRING) as campaign_id \n ,cast(null as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(promoted_tweet_id as STRING) as ad_id \n ,cast(tweet_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(advertised_asin as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__ad_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n ad_id,\n ad_name,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__ad_report", "sql": " __dbt__cte__int_ad_reporting__ad_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(creative_id as STRING) as ad_id \n ,cast(null as STRING) as ad_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(pin_promotion_id as STRING) as ad_id \n ,cast(pin_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(null as STRING) as ad_group_id \n ,cast(null as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(null as STRING) as campaign_id \n ,cast(null as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(promoted_tweet_id as STRING) as ad_id \n ,cast(tweet_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(advertised_asin as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__url_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__url_report.sql", "original_file_path": "models/ad_reporting__url_report.sql", "unique_id": "model.ad_reporting.ad_reporting__url_report", "fqn": ["ad_reporting", "ad_reporting__url_report"], "alias": "ad_reporting__url_report", "checksum": {"name": "sha256", "checksum": "0df96babf636b0d123d5368bd60ec0f6447614786299fdc3705d5fabb6fb8686"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by URL (and if applicable, URL UTM parameters), ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base url of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.734654, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__url_report`", "raw_code": "{% set enabled_packages = get_enabled_packages(exclude=['amazon_ads', 'apple_search_ads']) %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__url_report') }}\n),\n\naggregated as (\n \n select \n date_day, \n platform,\n account_id, \n account_name, \n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n base_url,\n url_host,\n url_path,\n utm_source,\n utm_medium,\n utm_campaign,\n utm_content,\n utm_term,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(16) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__url_report.sql", "compiled": true, "compiled_code": "\n\n\nwith __dbt__cte__int_ad_reporting__url_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__url_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__url_report`\n\n),\n\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__url_report\n),\n\naggregated as (\n \n select \n date_day, \n platform,\n account_id, \n account_name, \n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n base_url,\n url_host,\n url_path,\n utm_source,\n utm_medium,\n utm_campaign,\n utm_content,\n utm_term,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__url_report", "sql": " __dbt__cte__int_ad_reporting__url_report as (\n\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__url_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__url_report`\n\n),\n\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.ad_reporting__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_ad_reporting", "name": "ad_reporting__keyword_report", "resource_type": "model", "package_name": "ad_reporting", "path": "ad_reporting__keyword_report.sql", "original_file_path": "models/ad_reporting__keyword_report.sql", "unique_id": "model.ad_reporting.ad_reporting__keyword_report", "fqn": ["ad_reporting", "ad_reporting__keyword_report"], "alias": "ad_reporting__keyword_report", "checksum": {"name": "sha256", "checksum": "19712b5731c1c125a6a6940b48c1b72255d30ad165ceb8be94d17e0af110c044"}, "config": {"enabled": true, "alias": null, "schema": "ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents daily metrics by keyword, ad group, campaign and account.", "columns": {"date_day": {"name": "date_day", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "platform": {"name": "platform", "description": "The ad platform associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID representing the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID representing the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the ad group, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID representing the keyword, if present in the source data.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The keyword text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The keyword match type associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The count of impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The cost of the ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://models/ad_reporting_models.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "ad_reporting", "enabled": true}, "created_at": 1679592111.713896, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__keyword_report`", "raw_code": "{% if var('twitter_ads__using_keywords', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads', 'twitter_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith base as (\n\n select *\n from {{ ref('int_ad_reporting__keyword_report') }}\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n keyword_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n {{ dbt_utils.group_by(11) }}\n)\n\nselect *\nfrom aggregated", "language": "sql", "refs": [["int_ad_reporting__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.dbt_utils.group_by"], "nodes": ["model.ad_reporting.int_ad_reporting__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting__keyword_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith __dbt__cte__int_ad_reporting__keyword_report as (\n\n \n\n\n\n\n\nwith\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`\n\n),\n\n\n\ngoogle_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(criterion_id as STRING) as keyword_id \n ,cast(keyword_match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__keyword_report`\n\n),\n\n\n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__keyword_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_value as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`\n\n),\n\n\n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__keyword_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n),base as (\n\n select *\n from __dbt__cte__int_ad_reporting__keyword_report\n),\n\naggregated as (\n \n select \n date_day,\n platform,\n account_id,\n account_name,\n campaign_id,\n campaign_name,\n ad_group_id,\n ad_group_name,\n keyword_id,\n keyword_text,\n keyword_match_type,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n from base\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom aggregated", "extra_ctes_injected": true, "extra_ctes": [{"id": "model.ad_reporting.int_ad_reporting__keyword_report", "sql": " __dbt__cte__int_ad_reporting__keyword_report as (\n\n \n\n\n\n\n\nwith\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`\n\n),\n\n\n\ngoogle_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(criterion_id as STRING) as keyword_id \n ,cast(keyword_match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__keyword_report`\n\n),\n\n\n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__keyword_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_value as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`\n\n),\n\n\n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__keyword_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\n\n\n\n)\n\nselect *\nfrom unioned\n)"}]}, "model.ad_reporting.int_ad_reporting__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__campaign_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__campaign_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__campaign_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__campaign_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__campaign_report"], "alias": "int_ad_reporting__campaign_report", "checksum": {"name": "sha256", "checksum": "fa96bcb55ec7c848acb1ee90f5026164682349b38262b9fa4b3b0f56803c0851"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592104.5204952, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['twitter_ads', 'facebook_ads', 'google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='campaign',\n relation=ref(package ~ '__campaign_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='campaign', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__campaign_group_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__campaign_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='campaign', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__campaign_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='campaign', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('amazon_ads__campaign_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='campaign', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["twitter_ads__campaign_report"], ["facebook_ads__campaign_report"], ["google_ads__campaign_report"], ["microsoft_ads__campaign_report"], ["apple_search_ads__campaign_report"], ["linkedin_ads__campaign_group_report"], ["pinterest_ads__campaign_report"], ["snapchat_ads__campaign_report"], ["tiktok_ads__campaign_report"], ["amazon_ads__campaign_report"], ["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report", "model.facebook_ads.facebook_ads__campaign_report", "model.google_ads.google_ads__campaign_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.pinterest.pinterest_ads__campaign_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.amazon_ads.amazon_ads__campaign_report", "model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__campaign_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__campaign_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__campaign_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__campaign_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__campaign_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__keyword_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__keyword_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__keyword_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__keyword_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__keyword_report"], "alias": "int_ad_reporting__keyword_report", "checksum": {"name": "sha256", "checksum": "29b788469d109e4a6a03f5c5ed31ad693712c1f0e4bae524c9ed3271924f133d"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592104.6263838, "relation_name": null, "raw_code": "{% if var('twitter_ads__using_keywords', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads', 'twitter_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'google_ads', 'microsoft_ads', 'pinterest_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='keyword', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'keyword_match_type': 'match_type',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'google_ads' in enabled_packages %}\ngoogle_ads as (\n\n {{ get_query(\n platform='google_ads', \n report_type='keyword', \n field_mapping={\n 'keyword_id': 'criterion_id',\n },\n relation=ref('google_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'microsoft_ads' in enabled_packages %}\nmicrosoft_ads as (\n\n {{ get_query(\n platform='microsoft_ads', \n report_type='keyword', \n field_mapping={\n 'keyword_text': 'keyword_name',\n 'keyword_match_type': 'match_type'\n },\n relation=ref('microsoft_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='keyword', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name',\n 'keyword_text': 'keyword_value',\n 'keyword_match_type': 'match_type'\n },\n relation=ref('pinterest_ads__keyword_report')\n ) }}\n),\n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages and var('twitter_ads__using_keywords', True) %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='keyword', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name',\n 'keyword_id': 'keyword_id',\n 'keyword_text': 'keyword',\n 'keyword_match_type': 'null'\n },\n relation=ref('twitter_ads__keyword_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='keyword', \n field_mapping={\n 'spend': 'cost',\n 'keyword_match_type': 'match_type'\n },\n relation=ref('amazon_ads__keyword_report')\n ) }}\n), \n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["apple_search_ads__keyword_report"], ["google_ads__keyword_report"], ["microsoft_ads__keyword_report"], ["pinterest_ads__keyword_report"], ["amazon_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report", "model.google_ads.google_ads__keyword_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.pinterest.pinterest_ads__keyword_report", "model.amazon_ads.amazon_ads__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__keyword_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`\n\n),\n\n\n\ngoogle_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(criterion_id as STRING) as keyword_id \n ,cast(keyword_match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__keyword_report`\n\n),\n\n\n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__keyword_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_value as STRING) as keyword_text \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`\n\n),\n\n\n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(match_type as STRING) as keyword_match_type \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__keyword_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__ad_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__ad_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__ad_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__ad_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__ad_report"], "alias": "int_ad_reporting__ad_report", "checksum": {"name": "sha256", "checksum": "540cec6af930e2a24dbf60c4d4114bf17e543797bc7fd909329e4be917d869a4"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592104.686551, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='ad',\n relation=ref(package ~ '__ad_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__ad_report')\n ) }}\n),\n{% endif %}\n\n{% if 'facebook_ads' in enabled_packages %}\nfacebook_ads as (\n\n {{ get_query(\n platform='facebook_ads', \n report_type='ad', \n field_mapping={\n 'ad_group_id': 'ad_set_id',\n 'ad_group_name': 'ad_set_name'\n },\n relation=ref('facebook_ads__ad_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='ad', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'ad_group_id': 'campaign_id',\n 'ad_group_name': 'campaign_name',\n 'ad_id': 'creative_id',\n 'ad_name': 'null',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__creative_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name',\n 'ad_id': 'pin_promotion_id',\n 'ad_name': 'pin_name'\n },\n relation=ref('pinterest_ads__pin_promotion_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'campaign_id': 'null',\n 'campaign_name': 'null',\n 'ad_group_id': 'null',\n 'ad_group_name': 'null',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__ad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='ad', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__ad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='ad', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name',\n 'ad_id': 'promoted_tweet_id',\n 'ad_name': 'tweet_name'\n },\n relation=ref('twitter_ads__promoted_tweet_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='ad', \n field_mapping={\n 'spend': 'cost',\n 'ad_name': 'advertised_asin'\n },\n relation=ref('amazon_ads__ad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='ad', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__ad_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["google_ads__ad_report"], ["microsoft_ads__ad_report"], ["apple_search_ads__ad_report"], ["facebook_ads__ad_report"], ["linkedin_ads__creative_report"], ["pinterest_ads__pin_promotion_report"], ["snapchat_ads__ad_report"], ["tiktok_ads__ad_report"], ["twitter_ads__promoted_tweet_report"], ["amazon_ads__ad_report"], ["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.google_ads.google_ads__ad_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.facebook_ads.facebook_ads__ad_report", "model.linkedin.linkedin_ads__creative_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.amazon_ads.amazon_ads__ad_report", "model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__ad_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(creative_id as STRING) as ad_id \n ,cast(null as STRING) as ad_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(pin_promotion_id as STRING) as ad_id \n ,cast(pin_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(null as STRING) as ad_group_id \n ,cast(null as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(null as STRING) as campaign_id \n ,cast(null as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(promoted_tweet_id as STRING) as ad_id \n ,cast(tweet_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(advertised_asin as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(ad_id as STRING) as ad_id \n ,cast(ad_name as STRING) as ad_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__account_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__account_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__account_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__account_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__account_report"], "alias": "int_ad_reporting__account_report", "checksum": {"name": "sha256", "checksum": "7c78606eeac98c9cb1f523e081c71330ef2d067c6c3d4ec8a9619bf6f1bb696c"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592104.7885828, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['twitter_ads', 'facebook_ads', 'google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='account',\n relation=ref(package ~ '__account_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__organization_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='account', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__account_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__advertiser_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__account_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='account', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__advertiser_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='account', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('amazon_ads__account_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='account', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__account_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["twitter_ads__account_report"], ["facebook_ads__account_report"], ["google_ads__account_report"], ["microsoft_ads__account_report"], ["apple_search_ads__organization_report"], ["linkedin_ads__account_report"], ["pinterest_ads__advertiser_report"], ["snapchat_ads__account_report"], ["tiktok_ads__advertiser_report"], ["amazon_ads__account_report"], ["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.twitter_ads.twitter_ads__account_report", "model.facebook_ads.facebook_ads__account_report", "model.google_ads.google_ads__account_report", "model.microsoft_ads.microsoft_ads__account_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.linkedin.linkedin_ads__account_report", "model.pinterest.pinterest_ads__advertiser_report", "model.snapchat_ads.snapchat_ads__account_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.amazon_ads.amazon_ads__account_report", "model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__account_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ntwitter_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\n\n),\n\n\n\nfacebook_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__account_report`\n\n),\n\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__account_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__account_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__url_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__url_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__url_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__url_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__url_report"], "alias": "int_ad_reporting__url_report", "checksum": {"name": "sha256", "checksum": "e174558a546f62bc92e0c9395b4c1d6c99185a3192f4978110e47338674af6c0"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592104.8538702, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages(exclude=['amazon_ads', 'apple_search_ads']) %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='url',\n relation=ref(package ~ '__url_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'facebook_ads' in enabled_packages %}\nfacebook_ads as (\n\n {{ get_query(\n platform='facebook_ads', \n report_type='url', \n field_mapping={\n 'ad_group_id': 'ad_set_id',\n 'ad_group_name': 'ad_set_name'\n },\n relation=ref('facebook_ads__url_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='url', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'ad_group_id': 'campaign_id',\n 'ad_group_name': 'campaign_name',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__url_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='url', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__url_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='url', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'ad_group_id': 'ad_squad_id',\n 'ad_group_name': 'ad_squad_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__url_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='url', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__url_report')\n ) }}\n), \n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='url', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name'\n },\n relation=ref('twitter_ads__url_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='url', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__url_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["google_ads__url_report"], ["microsoft_ads__url_report"], ["facebook_ads__url_report"], ["linkedin_ads__url_report"], ["pinterest_ads__url_report"], ["snapchat_ads__url_report"], ["tiktok_ads__url_report"], ["twitter_ads__url_report"], ["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.google_ads.google_ads__url_report", "model.microsoft_ads.microsoft_ads__url_report", "model.facebook_ads.facebook_ads__url_report", "model.linkedin.linkedin_ads__url_report", "model.pinterest.pinterest_ads__url_report", "model.snapchat_ads.snapchat_ads__url_report", "model.tiktok_ads.tiktok_ads__url_report", "model.twitter_ads.twitter_ads__url_report", "model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__url_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__url_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__url_report`\n\n),\n\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(base_url as STRING) as base_url \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n ,cast(url_host as STRING) as url_host \n ,cast(url_path as STRING) as url_path \n ,cast(utm_campaign as STRING) as utm_campaign \n ,cast(utm_content as STRING) as utm_content \n ,cast(utm_medium as STRING) as utm_medium \n ,cast(utm_source as STRING) as utm_source \n ,cast(utm_term as STRING) as utm_term \n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__search_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__search_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__search_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__search_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__search_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__search_report"], "alias": "int_ad_reporting__search_report", "checksum": {"name": "sha256", "checksum": "c54a943cafae9d0d7576cb97fdd93653f099b36133aa3a2ff454c1f0039d279c"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592104.967134, "relation_name": null, "raw_code": "{% if var('apple_search_ads__using_search_terms', True) %}\n {% set include_list = ['amazon_ads', 'apple_search_ads', 'microsoft_ads'] %}\n{% else %}\n {% set include_list = ['amazon_ads', 'microsoft_ads'] %}\n{% endif %}\n\n{% set enabled_packages = get_enabled_packages(include=include_list)%}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith \n{% if 'microsoft_ads' in enabled_packages %}\nmicrosoft_ads as (\n\n {{ get_query(\n platform='microsoft_ads', \n report_type='search', \n field_mapping={\n 'keyword_text': 'keyword_name',\n 'search_match_type': 'match_type'\n },\n relation=ref('microsoft_ads__search_report')\n ) }}\n), \n{% endif %}\n\n{% if 'apple_search_ads' in enabled_packages and var('apple_search_ads__using_search_terms', True) %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='search', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'search_match_type': 'match_type',\n 'search_query': 'search_term_text',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__search_term_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='search', \n field_mapping={\n 'spend': 'cost',\n 'search_match_type': 'match_type',\n 'search_query': 'search_term'\n },\n relation=ref('amazon_ads__search_report')\n ) }}\n), \n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["microsoft_ads__search_report"], ["apple_search_ads__search_term_report"], ["amazon_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.microsoft_ads.microsoft_ads__search_report", "model.apple_search_ads.apple_search_ads__search_term_report", "model.amazon_ads.amazon_ads__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__search_report.sql", "compiled": true, "compiled_code": "\n \n\n\n\n\n\nwith \n\nmicrosoft_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_name as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_query as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__search_report`\n\n), \n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term_text as STRING) as search_query \n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(keyword_id as STRING) as keyword_id \n ,cast(keyword_text as STRING) as keyword_text \n ,cast(match_type as STRING) as search_match_type \n ,cast(search_term as STRING) as search_query \n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__search_report`\n\n), \n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from microsoft_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.ad_reporting.int_ad_reporting__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_int_ad_reporting", "name": "int_ad_reporting__ad_group_report", "resource_type": "model", "package_name": "ad_reporting", "path": "intermediate/int_ad_reporting__ad_group_report.sql", "original_file_path": "models/intermediate/int_ad_reporting__ad_group_report.sql", "unique_id": "model.ad_reporting.int_ad_reporting__ad_group_report", "fqn": ["ad_reporting", "intermediate", "int_ad_reporting__ad_group_report"], "alias": "int_ad_reporting__ad_group_report", "checksum": {"name": "sha256", "checksum": "8020b2e69bd0f228a2f3c63c5e9aaa01116863ac9c1c1c89ef33f0a4df48606c"}, "config": {"enabled": true, "alias": null, "schema": "int_ad_reporting", "database": null, "tags": [], "meta": {}, "materialized": "ephemeral", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "ephemeral", "schema": "int_ad_reporting", "enabled": true}, "created_at": 1679592105.0091698, "relation_name": null, "raw_code": "{% set enabled_packages = get_enabled_packages() %}\n{{ config(enabled=is_enabled(enabled_packages)) }}\n\nwith\n{% for package in ['google_ads', 'microsoft_ads'] %}\n{% if package in enabled_packages %}\n{{ package }} as (\n {{ get_query(\n platform=package,\n report_type='ad_group',\n relation=ref(package ~ '__ad_group_report')\n ) }}\n),\n{% endif %}\n{% endfor %}\n\n{% if 'apple_search_ads' in enabled_packages %}\napple_search_ads as (\n\n {{ get_query(\n platform='apple_search_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'organization_id',\n 'account_name': 'organization_name',\n 'clicks': 'taps'\n },\n relation=ref('apple_search_ads__ad_group_report')\n ) }}\n),\n{% endif %}\n\n{% if 'linkedin_ads' in enabled_packages %}\nlinkedin_ads as (\n\n {{ get_query(\n platform='linkedin_ads', \n report_type='ad_group', \n field_mapping={\n 'campaign_id': 'campaign_group_id',\n 'campaign_name': 'campaign_group_name',\n 'ad_group_id': 'campaign_id',\n 'ad_group_name': 'campaign_name',\n 'spend': 'cost'\n },\n relation=ref('linkedin_ads__campaign_report')\n ) }}\n),\n{% endif %}\n\n{% if 'facebook_ads' in enabled_packages %}\nfacebook_ads as (\n\n {{ get_query(\n platform='facebook_ads', \n report_type='ad_group', \n field_mapping={\n 'ad_group_id': 'ad_set_id',\n 'ad_group_name': 'ad_set_name'\n },\n relation=ref('facebook_ads__ad_set_report')\n ) }}\n),\n{% endif %}\n\n{% if 'pinterest_ads' in enabled_packages %}\npinterest_ads as (\n\n {{ get_query(\n platform='pinterest_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('pinterest_ads__ad_group_report')\n ) }}\n),\n{% endif %}\n\n{% if 'snapchat_ads' in enabled_packages %}\nsnapchat_ads as (\n\n {{ get_query(\n platform='snapchat_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'ad_account_id',\n 'account_name': 'ad_account_name',\n 'ad_group_id': 'ad_squad_id',\n 'ad_group_name': 'ad_squad_name',\n 'clicks':'swipes'\n },\n relation=ref('snapchat_ads__ad_squad_report')\n ) }}\n), \n{% endif %}\n\n{% if 'tiktok_ads' in enabled_packages %}\ntiktok_ads as (\n\n {{ get_query(\n platform='tiktok_ads', \n report_type='ad_group', \n field_mapping={\n 'account_id': 'advertiser_id',\n 'account_name': 'advertiser_name'\n },\n relation=ref('tiktok_ads__ad_group_report')\n ) }}\n), \n{% endif %}\n\n{% if 'twitter_ads' in enabled_packages %}\ntwitter_ads as (\n\n {{ get_query(\n platform='twitter_ads', \n report_type='ad_group', \n field_mapping={\n 'ad_group_id': 'line_item_id',\n 'ad_group_name': 'line_item_name'\n },\n relation=ref('twitter_ads__line_item_report')\n ) }}\n), \n{% endif %}\n\n{% if 'amazon_ads' in enabled_packages %}\namazon_ads as (\n\n {{ get_query(\n platform='amazon_ads', \n report_type='ad_group', \n field_mapping={\n 'spend': 'cost'\n },\n relation=ref('amazon_ads__ad_group_report')\n ) }}\n), \n{% endif %}\n\n{% if 'reddit_ads' in enabled_packages %}\nreddit_ads as (\n\n {{ get_query(\n platform='reddit_ads', \n report_type='ad_group', \n field_mapping={\n 'account_name': 'null'\n },\n relation=ref('reddit_ads__ad_group_report')\n ) }}\n),\n{% endif %}\n\nunioned as (\n\n {{ union_ctes(ctes=enabled_packages)}}\n)\n\nselect *\nfrom unioned", "language": "sql", "refs": [["google_ads__ad_group_report"], ["microsoft_ads__ad_group_report"], ["apple_search_ads__ad_group_report"], ["linkedin_ads__campaign_report"], ["facebook_ads__ad_set_report"], ["pinterest_ads__ad_group_report"], ["snapchat_ads__ad_squad_report"], ["tiktok_ads__ad_group_report"], ["twitter_ads__line_item_report"], ["amazon_ads__ad_group_report"], ["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.ad_reporting.get_enabled_packages", "macro.ad_reporting.is_enabled", "macro.ad_reporting.get_query", "macro.ad_reporting.union_ctes"], "nodes": ["model.google_ads.google_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.pinterest.pinterest_ads__ad_group_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.tiktok_ads.tiktok_ads__ad_group_report", "model.twitter_ads.twitter_ads__line_item_report", "model.amazon_ads.amazon_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/intermediate/int_ad_reporting__ad_group_report.sql", "compiled": true, "compiled_code": "\n\n\nwith\n\n\ngoogle_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'google_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_group_report`\n\n),\n\n\n\nmicrosoft_ads as (\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'microsoft_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_group_report`\n\n),\n\n\n\n\napple_search_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'apple_search_ads' as STRING) as platform,\n\n cast(organization_id as STRING) as account_id \n ,cast(organization_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(taps as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`\n\n),\n\n\n\nlinkedin_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'linkedin_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(campaign_id as STRING) as ad_group_id \n ,cast(campaign_name as STRING) as ad_group_name \n ,cast(campaign_group_id as STRING) as campaign_id \n ,cast(campaign_group_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`\n\n),\n\n\n\nfacebook_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'facebook_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_set_id as STRING) as ad_group_id \n ,cast(ad_set_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_set_report`\n\n),\n\n\n\npinterest_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'pinterest_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`\n\n),\n\n\n\nsnapchat_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'snapchat_ads' as STRING) as platform,\n\n cast(ad_account_id as STRING) as account_id \n ,cast(ad_account_name as STRING) as account_name \n ,cast(ad_squad_id as STRING) as ad_group_id \n ,cast(ad_squad_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(swipes as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`\n\n), \n\n\n\ntiktok_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'tiktok_ads' as STRING) as platform,\n\n cast(advertiser_id as STRING) as account_id \n ,cast(advertiser_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`\n\n), \n\n\n\ntwitter_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'twitter_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(line_item_id as STRING) as ad_group_id \n ,cast(line_item_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\n\n), \n\n\n\namazon_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'amazon_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(account_name as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(cost as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_group_report`\n\n), \n\n\n\nreddit_ads as (\n\n select \n \n\n cast(date_day as date)\n\n as date_day,\n cast( 'reddit_ads' as STRING) as platform,\n\n cast(account_id as STRING) as account_id \n ,cast(null as STRING) as account_name \n ,cast(ad_group_id as STRING) as ad_group_id \n ,cast(ad_group_name as STRING) as ad_group_name \n ,cast(campaign_id as STRING) as campaign_id \n ,cast(campaign_name as STRING) as campaign_name \n ,cast(clicks as INT64) as clicks\n\n ,cast(impressions as INT64) as impressions\n\n ,cast(spend as FLOAT64) as spend\n\n \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`\n\n),\n\n\nunioned as (\n\n \n\n\nselect * from amazon_ads\n\nunion all\n\nselect * from apple_search_ads\n\nunion all\n\nselect * from facebook_ads\n\nunion all\n\nselect * from google_ads\n\nunion all\n\nselect * from linkedin_ads\n\nunion all\n\nselect * from microsoft_ads\n\nunion all\n\nselect * from pinterest_ads\n\nunion all\n\nselect * from snapchat_ads\n\nunion all\n\nselect * from tiktok_ads\n\nunion all\n\nselect * from twitter_ads\n\nunion all\n\nselect * from reddit_ads\n\n\n\n\n)\n\nselect *\nfrom unioned", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__campaign_history.sql", "original_file_path": "models/stg_apple_search_ads__campaign_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__campaign_history"], "alias": "stg_apple_search_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "294e54bc10f47e44786be1c445e764b49464643d75c0bf7a4fc3a38f3868e0de"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a campaign in Apple Search Ads.", "columns": {"modified_at": {"name": "modified_at", "description": "Timestamp of when the campaign object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The designated ad group start time (ad group with the earliest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The designated campaign end time (ad group with the latest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name for the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the campaign, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.9685519, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select\n modification_time as modified_at,\n organization_id,\n name as campaign_name,\n id as campaign_id,\n status as campaign_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history_tmp"], ["stg_apple_search_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n end_time\n \n as \n \n end_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n modification_time\n \n as \n \n modification_time\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as INT64) as \n \n organization_id\n \n , \n \n \n start_time\n \n as \n \n start_time\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select\n modification_time as modified_at,\n organization_id,\n name as campaign_name,\n id as campaign_id,\n status as campaign_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_report.sql", "original_file_path": "models/stg_apple_search_ads__ad_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_report"], "alias": "stg_apple_search_ads__ad_report", "checksum": {"name": "sha256", "checksum": "45019dc2d949eecadbbd9d4a052049a60dca00c32f726da678972fa8bdadd1f6"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad in Apple Search Ads.", "columns": {"date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.9633422, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_report_tmp')),\n staging_columns=get_ad_level_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n campaign_id,\n ad_group_id,\n ad_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__ad_passthrough_metrics') }}\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_report_tmp"], ["stg_apple_search_ads__ad_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_level_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n local_spend_amount\n \n as \n \n local_spend_amount\n \n, \n \n \n local_spend_currency\n \n as \n \n local_spend_currency\n \n, \n \n \n new_downloads\n \n as \n \n new_downloads\n \n, \n \n \n redownloads\n \n as \n \n redownloads\n \n, \n \n \n taps\n \n as \n \n taps\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n campaign_id,\n ad_group_id,\n ad_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__campaign_report.sql", "original_file_path": "models/stg_apple_search_ads__campaign_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__campaign_report"], "alias": "stg_apple_search_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "c4681d203c58d68501b9d2d3a84fc28598e9705eb4cc7f4496be52e3209768d3"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a campaign in Apple Search Ads.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.974277, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as campaign_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__campaign_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report_tmp"], ["stg_apple_search_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n date\n \n as \n \n date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n local_spend_amount\n \n as \n \n local_spend_amount\n \n, \n \n \n local_spend_currency\n \n as \n \n local_spend_currency\n \n, \n \n \n new_downloads\n \n as \n \n new_downloads\n \n, \n \n \n redownloads\n \n as \n \n redownloads\n \n, \n \n \n taps\n \n as \n \n taps\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as campaign_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__organization": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__organization", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__organization.sql", "original_file_path": "models/stg_apple_search_ads__organization.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__organization"], "alias": "stg_apple_search_ads__organization", "checksum": {"name": "sha256", "checksum": "24d3ee4e2d050e8ade0b3222ea535ed1837d2ea4265f00cf3f3b7b67a7a30dab"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents an organization in Apple Search Ads.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Specified currency for respective organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "payment_model": {"name": "payment_model", "description": "Values include 'LOC', 'PAYG' or (payment method hasn't been set).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Name of organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "Organization default timezone; values can be ORTZ or UTC.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.989652, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__organization_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__organization_tmp')),\n staging_columns=get_organization_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n id as organization_id,\n currency,\n payment_model,\n name as organization_name,\n time_zone\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__organization_tmp"], ["stg_apple_search_ads__organization_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_organization_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__organization_tmp", "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__organization.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization_tmp`\n),\n\nfields as (\n\n select\n \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n payment_model\n \n as \n \n payment_model\n \n, \n \n \n time_zone\n \n as \n \n time_zone\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n id as organization_id,\n currency,\n payment_model,\n name as organization_name,\n time_zone\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__keyword_report.sql", "original_file_path": "models/stg_apple_search_ads__keyword_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__keyword_report"], "alias": "stg_apple_search_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "087cf73b201edc946f1b30c28096f4d513aca817fc3e510cac05f28dc781c665"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a keyword in Apple Search Ads.", "columns": {"keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.985822, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__keyword_report_tmp')),\n staging_columns=get_keyword_report_columns()\n )\n }} \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as keyword_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__keyword_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report_tmp"], ["stg_apple_search_ads__keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n date\n \n as \n \n date\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n local_spend_amount\n \n as \n \n local_spend_amount\n \n, \n \n \n local_spend_currency\n \n as \n \n local_spend_currency\n \n, \n \n \n new_downloads\n \n as \n \n new_downloads\n \n, \n \n \n redownloads\n \n as \n \n redownloads\n \n, \n \n \n taps\n \n as \n \n taps\n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n id as keyword_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__keyword_history.sql", "original_file_path": "models/stg_apple_search_ads__keyword_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__keyword_history"], "alias": "stg_apple_search_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "5ee576e97a5fffaf97916376ca747fcb9389b6733d268f9b42308a8f244ade8e"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a keyword in Apple Search Ads.", "columns": {"modified_at": {"name": "modified_at", "description": "Timestamp of when the keyword object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_currency": {"name": "bid_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the keyword, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.9807072, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n modification_time as modified_at,\n campaign_id,\n ad_group_id,\n id as keyword_id,\n bid_amount, \n bid_currency,\n match_type,\n status as keyword_status,\n text as keyword_text,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history_tmp"], ["stg_apple_search_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n bid_amount\n \n as \n \n bid_amount\n \n, \n \n \n bid_currency\n \n as \n \n bid_currency\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n match_type\n \n as \n \n match_type\n \n, \n \n \n modification_time\n \n as \n \n modification_time\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n text\n \n as \n \n text\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n modification_time as modified_at,\n campaign_id,\n ad_group_id,\n id as keyword_id,\n bid_amount, \n bid_currency,\n match_type,\n status as keyword_status,\n text as keyword_text,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__search_term_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__search_term_report.sql", "original_file_path": "models/stg_apple_search_ads__search_term_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__search_term_report"], "alias": "stg_apple_search_ads__search_term_report", "checksum": {"name": "sha256", "checksum": "6345a092b669f3283eb8b09b8590cdcf4e89da7ac486c18bb626315fac6db0e0"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a search term in Apple Search Ads.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "A Fivetran internal unique id that helps us avoid duplicate rows in primary keyless tables.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_format": {"name": "ad_format", "description": "Format of creative set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_currency": {"name": "bid_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_display_status": {"name": "keyword_display_status", "description": "The keyword display status can either be ACTIVE or PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; values include EXACT, BROAD or AUTO.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_source": {"name": "search_term_source", "description": "The search term source can either be TARGETED or AUTO; if this value is AUTO so will match_type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_text": {"name": "search_term_text", "description": "The word or phrase to match of user searches.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.0019798, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__apple_search_ads_enabled','apple_search_ads__using_search_terms'])) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__search_term_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__search_term_report_tmp')),\n staging_columns=get_search_term_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n _fivetran_id,\n campaign_id,\n ad_group_id,\n ad_group_name,\n bid_amount_amount as bid_amount,\n bid_amount_currency as bid_currency,\n keyword as keyword_text,\n keyword_display_status,\n keyword_id,\n local_spend_amount as spend,\n local_spend_currency as currency,\n match_type,\n search_term_source,\n search_term_text,\n impressions,\n taps,\n new_downloads,\n redownloads\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__search_term_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report_tmp"], ["stg_apple_search_ads__search_term_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.apple_search_ads_source.get_search_term_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__search_term_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n ad_group_deleted\n \n as \n \n ad_group_deleted\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_group_name\n \n as \n \n ad_group_name\n \n, \n \n \n bid_amount_amount\n \n as \n \n bid_amount_amount\n \n, \n \n \n bid_amount_currency\n \n as \n \n bid_amount_currency\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n deleted\n \n as \n \n deleted\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n keyword\n \n as \n \n keyword\n \n, \n \n \n keyword_display_status\n \n as \n \n keyword_display_status\n \n, \n \n \n keyword_id\n \n as \n \n keyword_id\n \n, \n \n \n local_spend_amount\n \n as \n \n local_spend_amount\n \n, \n \n \n local_spend_currency\n \n as \n \n local_spend_currency\n \n, \n \n \n match_type\n \n as \n \n match_type\n \n, \n \n \n new_downloads\n \n as \n \n new_downloads\n \n, \n \n \n redownloads\n \n as \n \n redownloads\n \n, \n \n \n search_term_source\n \n as \n \n search_term_source\n \n, \n \n \n search_term_text\n \n as \n \n search_term_text\n \n, \n \n \n taps\n \n as \n \n taps\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n date as date_day,\n _fivetran_id,\n campaign_id,\n ad_group_id,\n ad_group_name,\n bid_amount_amount as bid_amount,\n bid_amount_currency as bid_currency,\n keyword as keyword_text,\n keyword_display_status,\n keyword_id,\n local_spend_amount as spend,\n local_spend_currency as currency,\n match_type,\n search_term_source,\n search_term_text,\n impressions,\n taps,\n new_downloads,\n redownloads\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_group_history.sql", "original_file_path": "models/stg_apple_search_ads__ad_group_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_group_history"], "alias": "stg_apple_search_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "b2081179706957545ca7818fd65e298a3948051372426039e2ecffd091fef371"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad group in Apple Search Ads.", "columns": {"modified_at": {"name": "modified_at", "description": "Timestamp of when the ad group object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean indicating whether record was the most recent instance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "The designated ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "The designated ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.945528, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_group_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n select \n modification_time as modified_at,\n organization_id,\n campaign_id,\n name as ad_group_name,\n id as ad_group_id,\n status as ad_group_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history_tmp"], ["stg_apple_search_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n end_time\n \n as \n \n end_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n modification_time\n \n as \n \n modification_time\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n organization_id\n \n as \n \n organization_id\n \n, \n \n \n start_time\n \n as \n \n start_time\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n \n from base\n),\n\nfinal as (\n select \n modification_time as modified_at,\n organization_id,\n campaign_id,\n name as ad_group_name,\n id as ad_group_id,\n status as ad_group_status,\n start_time as start_at,\n end_time as end_at,\n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_history", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_history.sql", "original_file_path": "models/stg_apple_search_ads__ad_history.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_history"], "alias": "stg_apple_search_ads__ad_history", "checksum": {"name": "sha256", "checksum": "4abb76f80d87af32ba976747bb0accf3b1641854a41a3e9d8ebec94533405d23"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an ad in Apple Search Ads.", "columns": {"created_at": {"name": "created_at", "description": "Timestamp of when ad was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_at": {"name": "modified_at", "description": "Timestamp of when the ad object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad name associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_status": {"name": "ad_status", "description": "The current status of the ad, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.956394, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n creation_time as created_at,\n modification_time as modified_at,\n org_id as organization_id,\n campaign_id,\n ad_group_id,\n name as ad_name,\n id as ad_id,\n status as ad_status, \n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_history_tmp"], ["stg_apple_search_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n creation_time\n \n as \n \n creation_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n modification_time\n \n as \n \n modification_time\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n org_id\n \n as \n \n org_id\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n creation_time as created_at,\n modification_time as modified_at,\n org_id as organization_id,\n campaign_id,\n ad_group_id,\n name as ad_name,\n id as ad_id,\n status as ad_status, \n row_number() over (partition by id order by modification_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_report", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "stg_apple_search_ads__ad_group_report.sql", "original_file_path": "models/stg_apple_search_ads__ad_group_report.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "fqn": ["apple_search_ads_source", "stg_apple_search_ads__ad_group_report"], "alias": "stg_apple_search_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "a6f8f1e79e88e2512acd90e2768436ef73939e82acd46b79c0775ba19865147d"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad group in Apple Search Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The sum of costs associated with the number of impressions served. Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "apple_search_ads_source://models/stg_apple_search_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592111.9509919, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_apple_search_ads__ad_group_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_apple_search_ads__ad_group_report_tmp')),\n staging_columns=get_ad_group_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n date as date_day, \n ad_group_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n {{ fivetran_utils.fill_pass_through_columns('apple_search_ads__ad_group_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report_tmp"], ["stg_apple_search_ads__ad_group_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.apple_search_ads_source.get_ad_group_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n local_spend_amount\n \n as \n \n local_spend_amount\n \n, \n \n \n local_spend_currency\n \n as \n \n local_spend_currency\n \n, \n \n \n new_downloads\n \n as \n \n new_downloads\n \n, \n \n \n redownloads\n \n as \n \n redownloads\n \n, \n \n \n taps\n \n as \n \n taps\n \n\n\n\n from base\n),\n\nfinal as (\n \n select\n date as date_day, \n ad_group_id,\n impressions,\n local_spend_amount as spend,\n local_spend_currency as currency,\n new_downloads,\n redownloads,\n taps\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__search_term_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__search_term_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__search_term_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__search_term_report_tmp"], "alias": "stg_apple_search_ads__search_term_report_tmp", "checksum": {"name": "sha256", "checksum": "86f6e99ff5c0373cf5ec106d4011966278601cb5350d588466564e2dca2fa951"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.368026, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report_tmp`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__apple_search_ads_enabled','apple_search_ads__using_search_terms'])) }}\n\nselect * \nfrom {{ var('search_term_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "search_term_report"]], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars"], "nodes": ["source.apple_search_ads_source.apple_search_ads.search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__search_term_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_search_term_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__campaign_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__campaign_history_tmp"], "alias": "stg_apple_search_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "e23c062d3d75b890a717ab4047e5a0dccf7c098b3927935df02f76c17acb3ea7"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.380351, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__keyword_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__keyword_history_tmp"], "alias": "stg_apple_search_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "852fa9ece91c72dd36f654ce0d71f2af4a1707385c0fa00e3d68e206e4ac456b"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.3918688, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_keyword_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_group_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_group_history_tmp"], "alias": "stg_apple_search_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "69317b26b7a3c109c0e5e61d7fdad053cb0549479a0dfdacd0d67ff0757cc97e"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.4052029, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_group_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_group_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_group_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_group_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_group_report_tmp"], "alias": "stg_apple_search_ads__ad_group_report_tmp", "checksum": {"name": "sha256", "checksum": "91089253c95dee7d0aea3f9b8cc49cf343c2d06acf0de36641ebaef03e1d2b1b"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.4168708, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_group_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_group_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_group_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_history_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_history_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_history_tmp"], "alias": "stg_apple_search_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "7b184af2299b7d42defa4606467cf9bf379e10cec768bf1e5825c040dbdfacb8"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.429006, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__campaign_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__campaign_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__campaign_report_tmp"], "alias": "stg_apple_search_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "ae8d95be0097305356d0ba251d324d35bbe367edcf342c958f69fea9f89625f2"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.441622, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_campaign_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__organization_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__organization_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__organization_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__organization_tmp"], "alias": "stg_apple_search_ads__organization_tmp", "checksum": {"name": "sha256", "checksum": "4a62af784e819ec6034aa89fe16019f027c9994b192426e70bcf18bda3d117a9"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.4555469, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('organization') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "organization"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.organization"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__organization_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_organization_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__keyword_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__keyword_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__keyword_report_tmp"], "alias": "stg_apple_search_ads__keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "5009b770850f4f2648d5498a78b1491e6a44250d9ac2d7c08c249e8624f517f2"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.467328, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_keyword_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_apple_search_ads_source", "name": "stg_apple_search_ads__ad_report_tmp", "resource_type": "model", "package_name": "apple_search_ads_source", "path": "tmp/stg_apple_search_ads__ad_report_tmp.sql", "original_file_path": "models/tmp/stg_apple_search_ads__ad_report_tmp.sql", "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp", "fqn": ["apple_search_ads_source", "tmp", "stg_apple_search_ads__ad_report_tmp"], "alias": "stg_apple_search_ads__ad_report_tmp", "checksum": {"name": "sha256", "checksum": "1744a47e20045a53726079456f5aba358e0292dd8a14d670e6ab7b2c30ece7ee"}, "config": {"enabled": true, "alias": null, "schema": "apple_search_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "apple_search_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.479685, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__apple_search_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_report') }}", "language": "sql", "refs": [], "sources": [["apple_search_ads", "ad_level_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.apple_search_ads_source.apple_search_ads.ad_level_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/tmp/stg_apple_search_ads__ad_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__pin_promotion_history.sql", "original_file_path": "models/stg_pinterest_ads__pin_promotion_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "fqn": ["pinterest_source", "stg_pinterest_ads__pin_promotion_history"], "alias": "stg_pinterest_ads__pin_promotion_history", "checksum": {"name": "sha256", "checksum": "e24e7b799bab5b8e676d2cd221c948f13063c4ac00fe3a6bdfe459413bb1a404"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a Pinterest Pin promotion.", "columns": {"pin_promotion_id": {"name": "pin_promotion_id", "description": "Pin promotion ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Pin promotion ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Pin creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_name": {"name": "pin_name", "description": "Pin promotion name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_id": {"name": "pin_id", "description": "Original pin ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_status": {"name": "pin_status", "description": "The status of the Pin promotion. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `destination_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.196204, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__pin_promotion_history_tmp') }}\n), \n\nfields as (\n\n select\n\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__pin_promotion_history_tmp')),\n staging_columns=get_pin_promotion_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select\n id as pin_promotion_id,\n ad_group_id,\n created_time as created_at,\n destination_url,\n {{ dbt.split_part('destination_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('destination_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('destination_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('destination_url', 'utm_term') }} as utm_term,\n name as pin_name,\n pin_id,\n status as pin_status,\n creative_type,\n _fivetran_synced,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_history_tmp"], ["stg_pinterest_ads__pin_promotion_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_pin_promotion_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__pin_promotion_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history_tmp`\n), \n\nfields as (\n\n select\n\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n cast(null as STRING) as \n \n android_deep_link\n \n , \n cast(null as STRING) as \n \n click_tracking_url\n \n , \n \n \n created_time\n \n as \n \n created_time\n \n, \n \n \n creative_type\n \n as \n \n creative_type\n \n, \n \n \n destination_url\n \n as \n \n destination_url\n \n, \n \n \n id\n \n as \n \n id\n \n, \n cast(null as STRING) as \n \n ios_deep_link\n \n , \n cast(null as boolean) as \n \n is_pin_deleted\n \n , \n cast(null as boolean) as \n \n is_removable\n \n , \n \n \n name\n \n as \n \n name\n \n, \n \n \n pin_id\n \n as \n \n pin_id\n \n, \n cast(null as STRING) as \n \n review_status\n \n , \n \n \n status\n \n as \n \n status\n \n, \n cast(null as TIMESTAMP) as \n \n updated_time\n \n , \n cast(null as STRING) as \n \n view_tracking_url\n \n \n\n\n from base\n), \n\nfinal as (\n\n select\n id as pin_promotion_id,\n ad_group_id,\n created_time as created_at,\n destination_url,\n \n\n \n split(\n destination_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n destination_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n destination_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n name as pin_name,\n pin_id,\n status as pin_status,\n creative_type,\n _fivetran_synced,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__keyword_report.sql", "original_file_path": "models/stg_pinterest_ads__keyword_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report", "fqn": ["pinterest_source", "stg_pinterest_ads__keyword_report"], "alias": "stg_pinterest_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "041972aec2c8e0b6e3655d0c2c13ff2d06dd8569a75a835ea881824a3c07dcca"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of Keywords by ad group, campaign, and advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.240754, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__keyword_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__keyword_report_tmp')),\n staging_columns=get_keyword_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n {{ dbt.date_trunc('day', 'date') }} as date_day,\n keyword_id,\n pin_promotion_id,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__keyword_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report_tmp"], ["stg_pinterest_ads__keyword_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_keyword_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_group_name\n \n as \n \n ad_group_name\n \n, \n \n \n ad_group_status\n \n as \n \n ad_group_status\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clickthrough_1\n \n as \n \n clickthrough_1\n \n, \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n \n \n date\n \n as \n \n date\n \n, \n \n \n impression_1\n \n as \n \n impression_1\n \n, \n cast(null as INT64) as \n \n impression_2\n \n , \n \n \n keyword_id\n \n as \n \n keyword_id\n \n, \n \n \n pin_promotion_id\n \n as \n \n pin_promotion_id\n \n, \n \n \n spend_in_micro_dollar\n \n as \n \n spend_in_micro_dollar\n \n\n\n\n from base\n),\n\nfinal as (\n \n select\n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n keyword_id,\n pin_promotion_id,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__ad_group_report.sql", "original_file_path": "models/stg_pinterest_ads__ad_group_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report", "fqn": ["pinterest_source", "stg_pinterest_ads__ad_group_report"], "alias": "stg_pinterest_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "9617b510c122f03795bf8c8e2978d343fd8ea7a3bc11d4d687c91869e309143f"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Pinterest Ad Groups by campaign and advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.2077188, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__ad_group_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__ad_group_report_tmp')),\n staging_columns=get_ad_group_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__ad_group_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report_tmp"], ["stg_pinterest_ads__ad_group_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_ad_group_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n ad_group_name\n \n as \n \n ad_group_name\n \n, \n \n \n ad_group_status\n \n as \n \n ad_group_status\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clickthrough_1\n \n as \n \n clickthrough_1\n \n, \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n \n \n date\n \n as \n \n date\n \n, \n \n \n impression_1\n \n as \n \n impression_1\n \n, \n cast(null as INT64) as \n \n impression_2\n \n , \n \n \n spend_in_micro_dollar\n \n as \n \n spend_in_micro_dollar\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n ad_group_id,\n ad_group_name,\n ad_group_status,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__campaign_history.sql", "original_file_path": "models/stg_pinterest_ads__campaign_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history", "fqn": ["pinterest_source", "stg_pinterest_ads__campaign_history"], "alias": "stg_pinterest_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "945f535a560d134e94225647469d1cfbe295ed547b84be7af6575b9d86d4baa0"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a Pinterest Campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Campaign creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of the Campaign. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.1850162, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__campaign_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n id as campaign_id,\n name as campaign_name,\n advertiser_id,\n status as campaign_status,\n _fivetran_synced,\n created_time as created_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__campaign_history_tmp"], ["stg_pinterest_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_history_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history_tmp`\n), \n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n created_time\n \n as \n \n created_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n id as campaign_id,\n name as campaign_name,\n advertiser_id,\n status as campaign_status,\n _fivetran_synced,\n created_time as created_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__advertiser_report.sql", "original_file_path": "models/stg_pinterest_ads__advertiser_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report", "fqn": ["pinterest_source", "stg_pinterest_ads__advertiser_report"], "alias": "stg_pinterest_ads__advertiser_report", "checksum": {"name": "sha256", "checksum": "870b2eac0c7dc5686b5b7cc39c6d07f31f8d6f9d6cbc84ae0ee4cf6c2f5b20b8"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an Advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.2195892, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__advertiser_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__advertiser_report_tmp')),\n staging_columns=get_advertiser_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__advertiser_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report_tmp"], ["stg_pinterest_ads__advertiser_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_advertiser_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__advertiser_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n clickthrough_1\n \n as \n \n clickthrough_1\n \n, \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n \n \n date\n \n as \n \n date\n \n, \n \n \n impression_1\n \n as \n \n impression_1\n \n, \n cast(null as INT64) as \n \n impression_2\n \n , \n \n \n spend_in_micro_dollar\n \n as \n \n spend_in_micro_dollar\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__advertiser_history.sql", "original_file_path": "models/stg_pinterest_ads__advertiser_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history", "fqn": ["pinterest_source", "stg_pinterest_ads__advertiser_history"], "alias": "stg_pinterest_ads__advertiser_history", "checksum": {"name": "sha256", "checksum": "c373922dcac412d7b7290ec100cdf341ca19176968c29f240be32e7acd0ca7d9"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of an advertiser.", "columns": {"advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_status": {"name": "advertiser_status", "description": "Status of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_profile_status": {"name": "billing_profile_status", "description": "Status of the billing profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_type": {"name": "billing_type", "description": "The billing type of the advertiser. Will typically be CREDIT_CARD or INVOICE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The country code where the advertiser is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Timestamp of when a record was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code which the advertiser is set up using.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "merchant_id": {"name": "merchant_id", "description": "Unique ID of the merchant associated with the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "owner_user_id": {"name": "owner_user_id", "description": "Unique identifier of the owner user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when a record was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.2156181, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__advertiser_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__advertiser_history_tmp')),\n staging_columns=get_advertiser_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as advertiser_id,\n name as advertiser_name,\n status as advertiser_status,\n billing_profile_status,\n billing_type,\n country,\n created_time as created_at,\n currency as currency_code,\n merchant_id,\n owner_user_id,\n updated_time as updated_at,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_history_tmp"], ["stg_pinterest_ads__advertiser_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_advertiser_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__advertiser_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n billing_profile_status\n \n as \n \n billing_profile_status\n \n, \n \n \n billing_type\n \n as \n \n billing_type\n \n, \n \n \n country\n \n as \n \n country\n \n, \n \n \n created_time\n \n as \n \n created_time\n \n, \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n merchant_id\n \n as \n \n merchant_id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n owner_user_id\n \n as \n \n owner_user_id\n \n, \n \n \n status\n \n as \n \n status\n \n, \n \n \n updated_time\n \n as \n \n updated_time\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n id as advertiser_id,\n name as advertiser_name,\n status as advertiser_status,\n billing_profile_status,\n billing_type,\n country,\n created_time as created_at,\n currency as currency_code,\n merchant_id,\n owner_user_id,\n updated_time as updated_at,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__campaign_report.sql", "original_file_path": "models/stg_pinterest_ads__campaign_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report", "fqn": ["pinterest_source", "stg_pinterest_ads__campaign_report"], "alias": "stg_pinterest_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "d329a85922efac69ec814a21b6650f97f0c4658550fb9d345d38c7ba5bfa69bc"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of Campaigns by advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.2250938, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n campaign_id,\n campaign_name,\n campaign_status,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__campaign_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report_tmp"], ["stg_pinterest_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n campaign_name\n \n as \n \n campaign_name\n \n, \n \n \n campaign_status\n \n as \n \n campaign_status\n \n, \n \n \n clickthrough_1\n \n as \n \n clickthrough_1\n \n, \n cast(null as INT64) as \n \n clickthrough_2\n \n , \n \n \n date\n \n as \n \n date\n \n, \n \n \n impression_1\n \n as \n \n impression_1\n \n, \n cast(null as INT64) as \n \n impression_2\n \n , \n \n \n spend_in_micro_dollar\n \n as \n \n spend_in_micro_dollar\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n campaign_id,\n campaign_name,\n campaign_status,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__keyword_history.sql", "original_file_path": "models/stg_pinterest_ads__keyword_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history", "fqn": ["pinterest_source", "stg_pinterest_ads__keyword_history"], "alias": "stg_pinterest_ads__keyword_history", "checksum": {"name": "sha256", "checksum": "8b3313f6551f5e5a8929436411869bcd40e86fdcf8093d1158ac4ccbb75a063d"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Keyword.", "columns": {"keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_value": {"name": "keyword_value", "description": "The text value that makes upd the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_id": {"name": "_fivetran_id", "description": "The unique identifier of the record within the Fivetran synced table.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "archived": {"name": "archived", "description": "Boolean indicating if the keyword is archived.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid amount set for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of match the keyword is tied to. Either Exact or Broad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "parent_type": {"name": "parent_type", "description": "Identifier of what grain the parent type is. Ad group or campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.232641, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_pinterest_ads__keyword_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__keyword_history_tmp')),\n staging_columns=get_keyword_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n id as keyword_id,\n value as keyword_value,\n _fivetran_id,\n _fivetran_synced,\n ad_group_id,\n advertiser_id,\n archived,\n bid,\n campaign_id,\n match_type,\n parent_type,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__keyword_history_tmp"], ["stg_pinterest_ads__keyword_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_keyword_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_history_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__keyword_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n archived\n \n as \n \n archived\n \n, \n \n \n bid\n \n as \n \n bid\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n match_type\n \n as \n \n match_type\n \n, \n \n \n parent_type\n \n as \n \n parent_type\n \n, \n \n \n value\n \n as \n \n value\n \n\n\n\n from base\n),\n\nfinal as (\n \n select\n id as keyword_id,\n value as keyword_value,\n _fivetran_id,\n _fivetran_synced,\n ad_group_id,\n advertiser_id,\n archived,\n bid,\n campaign_id,\n match_type,\n parent_type,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_report", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__pin_promotion_report.sql", "original_file_path": "models/stg_pinterest_ads__pin_promotion_report.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "fqn": ["pinterest_source", "stg_pinterest_ads__pin_promotion_report"], "alias": "stg_pinterest_ads__pin_promotion_report", "checksum": {"name": "sha256", "checksum": "8399848dccc00c25a8bc40f817330fe92ac295b3afdb9742d663200a25a0fdc0"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of a Pinterest Pin promotion by ad group, campaign, and advertiser.", "columns": {"date_day": {"name": "date_day", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of paid and earned impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of paid and earned clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.201737, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__pin_promotion_report_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__pin_promotion_report_tmp')),\n staging_columns=get_pin_promotion_report_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n pin_promotion_id,\n ad_group_id,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n {{ fivetran_utils.fill_pass_through_columns('pinterest__pin_promotion_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report_tmp"], ["stg_pinterest_ads__pin_promotion_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_pin_promotion_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__pin_promotion_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report_tmp`\n), \n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_group_id\n \n as \n \n ad_group_id\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clickthrough_1\n \n as \n \n clickthrough_1\n \n, \n \n \n clickthrough_2\n \n as \n \n clickthrough_2\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impression_1\n \n as \n \n impression_1\n \n, \n \n \n impression_2\n \n as \n \n impression_2\n \n, \n \n \n pin_promotion_id\n \n as \n \n pin_promotion_id\n \n, \n \n \n spend_in_micro_dollar\n \n as \n \n spend_in_micro_dollar\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n pin_promotion_id,\n ad_group_id,\n campaign_id,\n advertiser_id,\n coalesce(impression_1,0) + coalesce(impression_2,0) as impressions,\n coalesce(clickthrough_1,0) + coalesce(clickthrough_2,0) as clicks,\n spend_in_micro_dollar / 1000000.0 as spend\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_history", "resource_type": "model", "package_name": "pinterest_source", "path": "stg_pinterest_ads__ad_group_history.sql", "original_file_path": "models/stg_pinterest_ads__ad_group_history.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history", "fqn": ["pinterest_source", "stg_pinterest_ads__ad_group_history"], "alias": "stg_pinterest_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "3fc611eb025a550beebacb144b8fd5b95070cc7d212cdc73029b5e2132272902"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of a Pinterest Ad Group.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Parent Campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Ad group creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "The status of the Ad group. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether the record is the most recent version of the object.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "pinterest_source://models/stg_pinterest_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.179896, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_pinterest_ads__ad_group_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_pinterest_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n id as ad_group_id,\n name as ad_group_name,\n status as ad_group_status,\n _fivetran_synced,\n campaign_id,\n created_time as created_at,\n end_time,\n start_time,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_history_tmp"], ["stg_pinterest_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.pinterest_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history_tmp`\n), \n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n created_time\n \n as \n \n created_time\n \n, \n \n \n end_time\n \n as \n \n end_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n start_time\n \n as \n \n start_time\n \n, \n \n \n status\n \n as \n \n status\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n id as ad_group_id,\n name as ad_group_name,\n status as ad_group_status,\n _fivetran_synced,\n campaign_id,\n created_time as created_at,\n end_time,\n start_time,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__advertiser_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__advertiser_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__advertiser_history_tmp"], "alias": "stg_pinterest_ads__advertiser_history_tmp", "checksum": {"name": "sha256", "checksum": "30228e737c74f3502de539edf195e6ac0f1bc20d81b4625f2a7d38b7b444e025"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.805108, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('advertiser_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "advertiser_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.advertiser_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__advertiser_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_advertiser_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__pin_promotion_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__pin_promotion_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__pin_promotion_report_tmp"], "alias": "stg_pinterest_ads__pin_promotion_report_tmp", "checksum": {"name": "sha256", "checksum": "055e6b22a0ebf3ae5ebc592a2d59fde23e9c4aa97307e7bc9d07fdd564d29318"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.818727, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('pin_promotion_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "pin_promotion_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__pin_promotion_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_pin_promotion_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__campaign_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__campaign_report_tmp"], "alias": "stg_pinterest_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "297b62832ce1e1cf4ec432c98f64696ae82b6d5461ba9a6991f9143d8680600e"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.8307788, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_campaign_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__advertiser_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__advertiser_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__advertiser_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__advertiser_report_tmp"], "alias": "stg_pinterest_ads__advertiser_report_tmp", "checksum": {"name": "sha256", "checksum": "51f6279568da2b328c230e1141b82a8d4cf23f0db1d71797da244ba0f850f80c"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.842866, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('advertiser_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "advertiser_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__advertiser_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_advertiser_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__keyword_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__keyword_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__keyword_report_tmp"], "alias": "stg_pinterest_ads__keyword_report_tmp", "checksum": {"name": "sha256", "checksum": "8d5de2659df4d8c7f106988e098aad658de1e0df637686bc39641dbfd58528ab"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.854701, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "keyword_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__keyword_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_keyword_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_report_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__ad_group_report_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__ad_group_report_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__ad_group_report_tmp"], "alias": "stg_pinterest_ads__ad_group_report_tmp", "checksum": {"name": "sha256", "checksum": "416b2ba76c7422ae9d0cc9027cfda76b1461ead0158a8cc3d7bcec5765fa7fa4"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.8678179, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_group_report') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "ad_group_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__ad_group_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_ad_group_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__keyword_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__keyword_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__keyword_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__keyword_history_tmp"], "alias": "stg_pinterest_ads__keyword_history_tmp", "checksum": {"name": "sha256", "checksum": "7fbf43157af6c11490590879cc6abd74a981291eaa179873d44ee6517d058272"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.897316, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('keyword_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "keyword_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.keyword_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__keyword_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_keyword_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__campaign_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__campaign_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__campaign_history_tmp"], "alias": "stg_pinterest_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "6b6e9567363f5912e8f6c2f8547e79e160a7e998dbfb2ac6fe193c73949b9163"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.909188, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.campaign_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__ad_group_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__ad_group_history_tmp"], "alias": "stg_pinterest_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "781c3dac60c7fc9e9f08f8ad4fce2e5fec42b09036486e24814e717cec4b4ce3"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.92128, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "ad_group_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.ad_group_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_ad_group_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_pinterest_source", "name": "stg_pinterest_ads__pin_promotion_history_tmp", "resource_type": "model", "package_name": "pinterest_source", "path": "tmp/stg_pinterest_ads__pin_promotion_history_tmp.sql", "original_file_path": "models/tmp/stg_pinterest_ads__pin_promotion_history_tmp.sql", "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp", "fqn": ["pinterest_source", "tmp", "stg_pinterest_ads__pin_promotion_history_tmp"], "alias": "stg_pinterest_ads__pin_promotion_history_tmp", "checksum": {"name": "sha256", "checksum": "268ac897534336c397f3c313861c98d0a47f3022d3fc2aefcc201fb3d1db81b9"}, "config": {"enabled": true, "alias": null, "schema": "pinterest_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "pinterest_source", "materialized": "view", "enabled": true}, "created_at": 1679592105.935136, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__pinterest_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('pin_promotion_history') }}", "language": "sql", "refs": [], "sources": [["pinterest_ads", "pin_promotion_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.pinterest_source.pinterest_ads.pin_promotion_history"]}, "compiled_path": "target/compiled/pinterest_source/models/tmp/stg_pinterest_ads__pin_promotion_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_pin_promotion_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_report_hourly", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__campaign_report_hourly.sql", "original_file_path": "models/stg_tiktok_ads__campaign_report_hourly.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__campaign_report_hourly"], "alias": "stg_tiktok_ads__campaign_report_hourly", "checksum": {"name": "sha256", "checksum": "4a1fb091732e5edc0b035accbe4bf8d5485868129b8e52e6573cc9b06bca582e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represent data for each campaign for each hour.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time per user your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.724809, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__campaign_report_hourly_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__campaign_report_hourly_tmp')),\n staging_columns=get_campaign_report_hourly_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(stat_time_hour as {{ dbt.type_timestamp() }}) as stat_time_hour,\n cpc, \n cpm,\n ctr,\n impressions,\n clicks,\n spend,\n reach,\n conversion,\n cost_per_conversion,\n conversion_rate,\n likes,\n comments,\n shares,\n profile_visits,\n follows,\n video_play_actions,\n video_watched_2_s,\n video_watched_6_s,\n video_views_p_25,\n video_views_p_50,\n video_views_p_75,\n average_video_play,\n average_video_play_per_user\n\n {{ fivetran_utils.fill_pass_through_columns('tiktok_ads__campaign_hourly_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly_tmp"], ["stg_tiktok_ads__campaign_report_hourly_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_campaign_report_hourly_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__campaign_report_hourly.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly_tmp`\n), \n\nfields as (\n\n select\n \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n average_video_play\n \n as \n \n average_video_play\n \n, \n \n \n average_video_play_per_user\n \n as \n \n average_video_play_per_user\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n comments\n \n as \n \n comments\n \n, \n \n \n conversion\n \n as \n \n conversion\n \n, \n \n \n conversion_rate\n \n as \n \n conversion_rate\n \n, \n \n \n cost_per_conversion\n \n as \n \n cost_per_conversion\n \n, \n \n \n cpc\n \n as \n \n cpc\n \n, \n \n \n cpm\n \n as \n \n cpm\n \n, \n \n \n ctr\n \n as \n \n ctr\n \n, \n \n \n follows\n \n as \n \n follows\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n likes\n \n as \n \n likes\n \n, \n \n \n profile_visits\n \n as \n \n profile_visits\n \n, \n \n \n reach\n \n as \n \n reach\n \n, \n \n \n shares\n \n as \n \n shares\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n stat_time_hour\n \n as \n \n stat_time_hour\n \n, \n \n \n video_play_actions\n \n as \n \n video_play_actions\n \n, \n \n \n video_views_p_25\n \n as \n \n video_views_p_25\n \n, \n \n \n video_views_p_50\n \n as \n \n video_views_p_50\n \n, \n \n \n video_views_p_75\n \n as \n \n video_views_p_75\n \n, \n \n \n video_watched_2_s\n \n as \n \n video_watched_2_s\n \n, \n \n \n video_watched_6_s\n \n as \n \n video_watched_6_s\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(stat_time_hour as TIMESTAMP) as stat_time_hour,\n cpc, \n cpm,\n ctr,\n impressions,\n clicks,\n spend,\n reach,\n conversion,\n cost_per_conversion,\n conversion_rate,\n likes,\n comments,\n shares,\n profile_visits,\n follows,\n video_play_actions,\n video_watched_2_s,\n video_watched_6_s,\n video_views_p_25,\n video_views_p_50,\n video_views_p_75,\n average_video_play,\n average_video_play_per_user\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_report_hourly", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_group_report_hourly.sql", "original_file_path": "models/stg_tiktok_ads__ad_group_report_hourly.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_group_report_hourly"], "alias": "stg_tiktok_ads__ad_group_report_hourly", "checksum": {"name": "sha256", "checksum": "e6aa8625ed40497e25ec5f7f5dd5a02febf003e50002aad7d5fa11bc5cd353b8"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad group for each hour.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time per user your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.709152, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_group_report_hourly_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_group_report_hourly_tmp')),\n staging_columns=get_ad_group_report_hourly_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n adgroup_id as ad_group_id,\n cast(stat_time_hour as {{ dbt.type_timestamp() }}) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n {{ fivetran_utils.fill_pass_through_columns('tiktok_ads__ad_group_hourly_passthrough_metrics') }}\n\n from fields\n) \n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly_tmp"], ["stg_tiktok_ads__ad_group_report_hourly_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_group_report_hourly_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_group_report_hourly.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly_tmp`\n), \n\nfields as (\n\n select\n \n \n \n adgroup_id\n \n as \n \n adgroup_id\n \n, \n \n \n average_video_play\n \n as \n \n average_video_play\n \n, \n \n \n average_video_play_per_user\n \n as \n \n average_video_play_per_user\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n comments\n \n as \n \n comments\n \n, \n \n \n conversion\n \n as \n \n conversion\n \n, \n \n \n conversion_rate\n \n as \n \n conversion_rate\n \n, \n \n \n cost_per_conversion\n \n as \n \n cost_per_conversion\n \n, \n \n \n cpc\n \n as \n \n cpc\n \n, \n \n \n cpm\n \n as \n \n cpm\n \n, \n \n \n ctr\n \n as \n \n ctr\n \n, \n \n \n follows\n \n as \n \n follows\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n likes\n \n as \n \n likes\n \n, \n \n \n profile_visits\n \n as \n \n profile_visits\n \n, \n \n \n reach\n \n as \n \n reach\n \n, \n \n \n shares\n \n as \n \n shares\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n stat_time_hour\n \n as \n \n stat_time_hour\n \n, \n \n \n video_play_actions\n \n as \n \n video_play_actions\n \n, \n \n \n video_views_p_25\n \n as \n \n video_views_p_25\n \n, \n \n \n video_views_p_50\n \n as \n \n video_views_p_50\n \n, \n \n \n video_views_p_75\n \n as \n \n video_views_p_75\n \n, \n \n \n video_watched_2_s\n \n as \n \n video_watched_2_s\n \n, \n \n \n video_watched_6_s\n \n as \n \n video_watched_6_s\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n adgroup_id as ad_group_id,\n cast(stat_time_hour as TIMESTAMP) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n \n\n\n\n\n\n from fields\n) \n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_history", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_group_history.sql", "original_file_path": "models/stg_tiktok_ads__ad_group_history.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_group_history"], "alias": "stg_tiktok_ads__ad_group_history", "checksum": {"name": "sha256", "checksum": "293ad5bd25638965207578b5a55376e173cb199e24c62f0e3fd643c9db913a5a"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad group.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The Ad group's campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_days": {"name": "action_days", "description": "Action days", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name. Character limit is 512 and cannot contain emoji.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_name": {"name": "display_name", "description": "Display name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category": {"name": "interest_category", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "frequency, together with frequency_schedule, controls how often people see your ad (only available for REACH ads). For example, frequency = 2 frequency_schedule = 3 means \"show ads no more than twice every 3 day\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_schedule": {"name": "frequency_schedule", "description": "frequency, together with frequency, controls how often people see your ad (only available for REACH ads).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Whether record is the most recent one for this particular grain.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.66039, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_group_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_group_history_tmp')),\n staging_columns=get_ad_group_history_columns()\n )\n }}\n\n from base\n), \n\nfinal as (\n\n select\n adgroup_id as ad_group_id,\n cast(updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n advertiser_id,\n campaign_id,\n action_days,\n action_categories,\n adgroup_name as ad_group_name,\n age,\n audience_type,\n budget,\n category,\n display_name,\n interest_category_v_2 as interest_category,\n frequency,\n frequency_schedule,\n gender,\n languages, \n landing_page_url,\n row_number() over (partition by adgroup_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_history_tmp"], ["stg_tiktok_ads__ad_group_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_group_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_group_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history_tmp`\n), \n\nfields as (\n\n select\n \n \n \n action_days\n \n as \n \n action_days\n \n, \n \n \n adgroup_id\n \n as \n \n adgroup_id\n \n, \n \n \n adgroup_name\n \n as \n \n adgroup_name\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n audience_type\n \n as \n \n audience_type\n \n, \n \n \n budget\n \n as \n \n budget\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n category\n \n as \n \n category\n \n, \n \n \n display_name\n \n as \n \n display_name\n \n, \n \n \n frequency\n \n as \n \n frequency\n \n, \n \n \n frequency_schedule\n \n as \n \n frequency_schedule\n \n, \n \n \n gender\n \n as \n \n gender\n \n, \n \n \n landing_page_url\n \n as \n \n landing_page_url\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n, \n \n \n interest_category_v_2\n \n as \n \n interest_category_v_2\n \n, \n \n \n action_categories\n \n as \n \n action_categories\n \n, \n \n \n age\n \n as \n \n age\n \n, \n \n \n languages\n \n as \n \n languages\n \n\n\n\n\n from base\n), \n\nfinal as (\n\n select\n adgroup_id as ad_group_id,\n cast(updated_at as TIMESTAMP) as updated_at,\n advertiser_id,\n campaign_id,\n action_days,\n action_categories,\n adgroup_name as ad_group_name,\n age,\n audience_type,\n budget,\n category,\n display_name,\n interest_category_v_2 as interest_category,\n frequency,\n frequency_schedule,\n gender,\n languages, \n landing_page_url,\n row_number() over (partition by adgroup_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_report_hourly", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_report_hourly.sql", "original_file_path": "models/stg_tiktok_ads__ad_report_hourly.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_report_hourly"], "alias": "stg_tiktok_ads__ad_report_hourly", "checksum": {"name": "sha256", "checksum": "6da656ea12d8f458960301cdc683b06b0556eb112a4d553491d9b9267ff78776"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad for each hour.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time per user your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.693378, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_report_hourly_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_report_hourly_tmp')),\n staging_columns=get_ad_report_hourly_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n ad_id, \n cast(stat_time_hour as {{ dbt.type_timestamp() }}) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n {{ fivetran_utils.fill_pass_through_columns('tiktok_ads__ad_hourly_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly_tmp"], ["stg_tiktok_ads__ad_report_hourly_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_report_hourly_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_report_hourly.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly_tmp`\n), \n\nfields as (\n\n select\n \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n average_video_play\n \n as \n \n average_video_play\n \n, \n \n \n average_video_play_per_user\n \n as \n \n average_video_play_per_user\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n comments\n \n as \n \n comments\n \n, \n \n \n conversion\n \n as \n \n conversion\n \n, \n \n \n conversion_rate\n \n as \n \n conversion_rate\n \n, \n \n \n cost_per_conversion\n \n as \n \n cost_per_conversion\n \n, \n \n \n cpc\n \n as \n \n cpc\n \n, \n \n \n cpm\n \n as \n \n cpm\n \n, \n \n \n ctr\n \n as \n \n ctr\n \n, \n \n \n follows\n \n as \n \n follows\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n likes\n \n as \n \n likes\n \n, \n \n \n profile_visits\n \n as \n \n profile_visits\n \n, \n \n \n reach\n \n as \n \n reach\n \n, \n \n \n shares\n \n as \n \n shares\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n stat_time_hour\n \n as \n \n stat_time_hour\n \n, \n \n \n video_play_actions\n \n as \n \n video_play_actions\n \n, \n \n \n video_views_p_25\n \n as \n \n video_views_p_25\n \n, \n \n \n video_views_p_50\n \n as \n \n video_views_p_50\n \n, \n \n \n video_views_p_75\n \n as \n \n video_views_p_75\n \n, \n \n \n video_watched_2_s\n \n as \n \n video_watched_2_s\n \n, \n \n \n video_watched_6_s\n \n as \n \n video_watched_6_s\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n ad_id, \n cast(stat_time_hour as TIMESTAMP) as stat_time_hour, \n cpc, \n cpm, \n ctr, \n impressions, \n clicks, \n spend, \n reach, \n conversion, \n cost_per_conversion, \n conversion_rate, \n likes, \n comments, \n shares, \n profile_visits,\n follows, \n video_play_actions, \n video_watched_2_s, \n video_watched_6_s, \n video_views_p_25, \n video_views_p_50,\n video_views_p_75, \n average_video_play, \n average_video_play_per_user\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__advertiser": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__advertiser", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__advertiser.sql", "original_file_path": "models/stg_tiktok_ads__advertiser.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__advertiser"], "alias": "stg_tiktok_ads__advertiser", "checksum": {"name": "sha256", "checksum": "759a97a786242ecdb350f1852e0861bbeae8218dc19a4047fee98c96ea0ba8be"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each advertiser.", "columns": {"advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "address": {"name": "address", "description": "Advertiser address information", "meta": {}, "data_type": null, "quote": null, "tags": []}, "balance": {"name": "balance", "description": "Account available balance", "meta": {}, "data_type": null, "quote": null, "tags": []}, "company": {"name": "company", "description": "Advertiser's company name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "contacter": {"name": "contacter", "description": "Contact Person", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The advertiser's country", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Advertiser's create time", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Type of currency used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "description": {"name": "description", "description": "Brand description, i.e. promotional content", "meta": {}, "data_type": null, "quote": null, "tags": []}, "email": {"name": "email", "description": "Advertiser contact email, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry": {"name": "industry", "description": "Advertiser industry category", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Language used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_no": {"name": "license_no", "description": "License number", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_url": {"name": "license_url", "description": "License preview address, the link is valid for an hour by default.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_name": {"name": "advertiser_name", "description": "Advertiser name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "phone_number": {"name": "phone_number", "description": "Contact mobile number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "telephone": {"name": "telephone", "description": "Fixed phone number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Ad account time zone including GMT offset", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.648992, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__advertiser_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__advertiser_tmp')),\n staging_columns=get_advertiser_columns()\n )\n }}\n\n from base\n),\n\nfinal as (\n\n select \n id as advertiser_id, \n address, \n balance, \n company, \n contacter, \n country, \n currency, \n description, \n email, \n industry, \n language,\n name as advertiser_name, \n phone_number, \n telephone, \n timezone\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__advertiser_tmp"], ["stg_tiktok_ads__advertiser_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_advertiser_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp", "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__advertiser.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser_tmp`\n), \n\nfields as (\n\n select\n \n \n \n address\n \n as \n \n address\n \n, \n \n \n balance\n \n as \n \n balance\n \n, \n \n \n company\n \n as \n \n company\n \n, \n \n \n contacter\n \n as \n \n contacter\n \n, \n \n \n country\n \n as \n \n country\n \n, \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n description\n \n as \n \n description\n \n, \n \n \n email\n \n as \n \n email\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n industry\n \n as \n \n industry\n \n, \n \n \n language\n \n as \n \n language\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n phone_number\n \n as \n \n phone_number\n \n, \n \n \n telephone\n \n as \n \n telephone\n \n, \n \n \n timezone\n \n as \n \n timezone\n \n\n\n\n\n from base\n),\n\nfinal as (\n\n select \n id as advertiser_id, \n address, \n balance, \n company, \n contacter, \n country, \n currency, \n description, \n email, \n industry, \n language,\n name as advertiser_name, \n phone_number, \n telephone, \n timezone\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_history", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__ad_history.sql", "original_file_path": "models/stg_tiktok_ads__ad_history.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__ad_history"], "alias": "stg_tiktok_ads__ad_history", "checksum": {"name": "sha256", "checksum": "04ee4bd6f5c670fa46d8c3d6846d21da350c898d5287ee8cca7a8db9518f5b5e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each ad.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `landing page url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad Name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action": {"name": "call_to_action", "description": "Call to action values.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_tracking_url": {"name": "click_tracking_url", "description": "Click monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_tracking_url": {"name": "impression_tracking_url", "description": "Display monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `landing_page_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Whether record is the most recent one for this particular grain.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.672045, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__ad_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n\n from base\n), \n\nfinal as (\n\n select \n ad_id,\n cast(updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n adgroup_id as ad_group_id,\n advertiser_id,\n campaign_id,\n ad_name,\n call_to_action,\n click_tracking_url,\n impression_tracking_url,\n {{ dbt.split_part('landing_page_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('landing_page_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('landing_page_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('landing_page_url', 'utm_term') }} as utm_term,\n landing_page_url,\n row_number() over (partition by ad_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__ad_history_tmp"], ["stg_tiktok_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history_tmp`\n), \n\nfields as (\n\n select\n \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n \n \n ad_name\n \n as \n \n ad_name\n \n, \n \n \n adgroup_id\n \n as \n \n adgroup_id\n \n, \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n call_to_action\n \n as \n \n call_to_action\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n click_tracking_url\n \n as \n \n click_tracking_url\n \n, \n \n \n impression_tracking_url\n \n as \n \n impression_tracking_url\n \n, \n \n \n landing_page_url\n \n as \n \n landing_page_url\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n\n from base\n), \n\nfinal as (\n\n select \n ad_id,\n cast(updated_at as TIMESTAMP) as updated_at,\n adgroup_id as ad_group_id,\n advertiser_id,\n campaign_id,\n ad_name,\n call_to_action,\n click_tracking_url,\n impression_tracking_url,\n \n\n \n split(\n landing_page_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n landing_page_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n landing_page_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n landing_page_url,\n row_number() over (partition by ad_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_history", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "stg_tiktok_ads__campaign_history.sql", "original_file_path": "models/stg_tiktok_ads__campaign_history.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "fqn": ["tiktok_ads_source", "stg_tiktok_ads__campaign_history"], "alias": "stg_tiktok_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "cee0a9b6849129be52b0512780a02bfc3ced5461a128c9a7006cfaf5230673c9"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents data for each campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "Campaign Type, indicates the campaign is a regular campaign or iOS 14 campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "split_test_variable": {"name": "split_test_variable", "description": "Split Test variables. Optional values; TARGETING, BIDDING_OPTIMIZATION , CREATIVE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Whether record is the most recent one for this particular grain.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "tiktok_ads_source://models/stg_tiktok_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592112.677092, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nwith base as (\n\n select *\n from {{ ref('stg_tiktok_ads__campaign_history_tmp') }}\n), \n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_tiktok_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n advertiser_id,\n campaign_name,\n campaign_type,\n split_test_variable,\n row_number() over (partition by campaign_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_tiktok_ads__campaign_history_tmp"], ["stg_tiktok_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.tiktok_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history_tmp`\n), \n\nfields as (\n\n select\n \n \n \n advertiser_id\n \n as \n \n advertiser_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n campaign_name\n \n as \n \n campaign_name\n \n, \n \n \n campaign_type\n \n as \n \n campaign_type\n \n, \n \n \n split_test_variable\n \n as \n \n split_test_variable\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n from base\n), \n\nfinal as (\n\n select \n campaign_id,\n cast(updated_at as TIMESTAMP) as updated_at,\n advertiser_id,\n campaign_name,\n campaign_type,\n split_test_variable,\n row_number() over (partition by campaign_id order by updated_at desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_report_hourly_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_report_hourly_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_report_hourly_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_report_hourly_tmp"], "alias": "stg_tiktok_ads__ad_report_hourly_tmp", "checksum": {"name": "sha256", "checksum": "30949b79355e85af66a3df6de9ef124c666c0bf8ecc911ad673eb56cf3124b7e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.3718421, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_report_hourly') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "ad_report_hourly"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_report_hourly_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_ad_report_hourly_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_history_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_history_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_history_tmp"], "alias": "stg_tiktok_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "70d0e01a26a5250c141b3a67fd3b1ffcfceea35645e82096257852badea2b9d2"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.3856719, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.ad_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_history_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_group_history_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_group_history_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_group_history_tmp"], "alias": "stg_tiktok_ads__ad_group_history_tmp", "checksum": {"name": "sha256", "checksum": "656a88662bd5fe65b7e782c1d24ecfc5459e7541ec41b4418f4472f3633aa347"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.399518, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_group_history') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "adgroup_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.adgroup_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_group_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_adgroup_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_report_hourly_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__campaign_report_hourly_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__campaign_report_hourly_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__campaign_report_hourly_tmp"], "alias": "stg_tiktok_ads__campaign_report_hourly_tmp", "checksum": {"name": "sha256", "checksum": "3a734b2b71b67ce84e5c0fadfff18429e2aa52abcae9f16aa3832a7c5e94c25e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.411917, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_report_hourly') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "campaign_report_hourly"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__campaign_report_hourly_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_campaign_report_hourly_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__ad_group_report_hourly_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__ad_group_report_hourly_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__ad_group_report_hourly_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__ad_group_report_hourly_tmp"], "alias": "stg_tiktok_ads__ad_group_report_hourly_tmp", "checksum": {"name": "sha256", "checksum": "5e607a6ea02a4f66c2d50b092e2d37d6b07d0de03b0490dddde773197364937e"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.4242702, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_group_hourly') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "adgroup_report_hourly"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__ad_group_report_hourly_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_adgroup_report_hourly_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__campaign_history_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__campaign_history_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__campaign_history_tmp"], "alias": "stg_tiktok_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "1c8e0405cc5ddf7b7748f613590108b0b3f786b44a35ac4382079c19072febe5"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.4381912, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_stg_tiktok_ads", "name": "stg_tiktok_ads__advertiser_tmp", "resource_type": "model", "package_name": "tiktok_ads_source", "path": "tmp/stg_tiktok_ads__advertiser_tmp.sql", "original_file_path": "models/tmp/stg_tiktok_ads__advertiser_tmp.sql", "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp", "fqn": ["tiktok_ads_source", "tmp", "stg_tiktok_ads__advertiser_tmp"], "alias": "stg_tiktok_ads__advertiser_tmp", "checksum": {"name": "sha256", "checksum": "43da3da14719af2f23e901aa756fc51b3bd807b1172a7776a811541ee26e8688"}, "config": {"enabled": true, "alias": null, "schema": "stg_tiktok_ads", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "stg_tiktok_ads", "enabled": true}, "created_at": 1679592106.45079, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__tiktok_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('advertiser') }}", "language": "sql", "refs": [], "sources": [["tiktok_ads", "advertiser"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.tiktok_ads_source.tiktok_ads.advertiser"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/tmp/stg_tiktok_ads__advertiser_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_advertiser_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__basic_ad": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__basic_ad", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__basic_ad.sql", "original_file_path": "models/stg_facebook_ads__basic_ad.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad", "fqn": ["facebook_ads_source", "stg_facebook_ads__basic_ad"], "alias": "stg_facebook_ads__basic_ad", "checksum": {"name": "sha256", "checksum": "2034249ba6885eae9434fc88a91b108e34b667b7e29c83711b29498b85da644a"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the daily performance of an ad in Facebook.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "Name of the ad set the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the reported performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of people who saw any content from your Page or about your Page. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "The average number of times each person saw your ad; it is calculated as impressions divided by reach.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.875034, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__basic_ad_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__basic_ad_tmp')),\n staging_columns=get_basic_ad_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_id as {{ dbt.type_bigint() }}) as ad_id,\n ad_name,\n adset_name as ad_set_name,\n date as date_day,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n impressions,\n coalesce(inline_link_clicks,0) as clicks,\n spend,\n reach,\n frequency\n\n {{ fivetran_utils.fill_pass_through_columns('facebook_ads__basic_ad_passthrough_metrics') }}\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__basic_ad_tmp"], ["stg_facebook_ads__basic_ad_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_basic_ad_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp", "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__basic_ad.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n cast(null as STRING) as \n \n ad_name\n \n , \n cast(null as STRING) as \n \n adset_name\n \n , \n \n \n date\n \n as \n \n date\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n inline_link_clicks\n \n as \n \n inline_link_clicks\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n cast(null as INT64) as \n \n reach\n \n , \n cast(null as FLOAT64) as \n \n frequency\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(ad_id as bigint) as ad_id,\n ad_name,\n adset_name as ad_set_name,\n date as date_day,\n cast(account_id as bigint) as account_id,\n impressions,\n coalesce(inline_link_clicks,0) as clicks,\n spend,\n reach,\n frequency\n\n \n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__creative_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__creative_history.sql", "original_file_path": "models/stg_facebook_ads__creative_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__creative_history"], "alias": "stg_facebook_ads__creative_history", "checksum": {"name": "sha256", "checksum": "b881fe7a6d7f0ec06355c9073495a4e1f89529eceffc1771ca48044e6f401309"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook creative.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "Unique record identifier", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "Unique ID for an ad creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Ad account ID for the account this ad creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_name": {"name": "creative_name", "description": "Name of this ad creative as seen in the ad account's library.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_tags": {"name": "url_tags", "description": "A set of query string parameters which will replace or be appended to urls clicked from page post ads, message of the post, and canvas app install creatives only.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Indicates whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "page_link": {"name": "page_link", "description": "Link for the page.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_page_link": {"name": "template_page_link", "description": "URL destination of Facebook dynamic ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asset_feed_spec_link_urls": {"name": "asset_feed_spec_link_urls", "description": "Link to the asset feed spec", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_child_attachments": {"name": "object_story_link_data_child_attachments", "description": "Link of the object story child attachments", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_caption": {"name": "object_story_link_data_caption", "description": "Link of the object story caption", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_description": {"name": "object_story_link_data_description", "description": "Link of the object story description", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_link": {"name": "object_story_link_data_link", "description": "Link of the object story link", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_message": {"name": "object_story_link_data_message", "description": "Link of the object story message", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ios": {"name": "template_app_link_spec_ios", "description": "Link of the object story spec for ios", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ipad": {"name": "template_app_link_spec_ipad", "description": "Link of the template app spec for ipad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_android": {"name": "template_app_link_spec_android", "description": "Link of the template app for android", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_iphone": {"name": "template_app_link_spec_iphone", "description": "Link of the template app for iphone", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.867966, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__creative_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__creative_history_tmp')),\n staging_columns=get_creative_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n _fivetran_id,\n _fivetran_synced,\n cast(id as {{ dbt.type_bigint() }}) as creative_id,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n name as creative_name,\n page_link,\n template_page_link,\n url_tags,\n asset_feed_spec_link_urls,\n object_story_link_data_child_attachments,\n object_story_link_data_caption, \n object_story_link_data_description, \n object_story_link_data_link, \n object_story_link_data_message,\n template_app_link_spec_ios,\n template_app_link_spec_ipad,\n template_app_link_spec_android,\n template_app_link_spec_iphone,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__creative_history_tmp"], ["stg_facebook_ads__creative_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_creative_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history_tmp", "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_id\n \n as \n \n _fivetran_id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n page_link\n \n as \n \n page_link\n \n, \n \n \n template_page_link\n \n as \n \n template_page_link\n \n, \n \n \n url_tags\n \n as \n \n url_tags\n \n, \n \n \n asset_feed_spec_link_urls\n \n as \n \n asset_feed_spec_link_urls\n \n, \n \n \n object_story_link_data_child_attachments\n \n as \n \n object_story_link_data_child_attachments\n \n, \n \n \n object_story_link_data_caption\n \n as \n \n object_story_link_data_caption\n \n, \n \n \n object_story_link_data_description\n \n as \n \n object_story_link_data_description\n \n, \n \n \n object_story_link_data_link\n \n as \n \n object_story_link_data_link\n \n, \n \n \n object_story_link_data_message\n \n as \n \n object_story_link_data_message\n \n, \n cast(null as STRING) as \n \n template_app_link_spec_android\n \n , \n \n \n template_app_link_spec_ios\n \n as \n \n template_app_link_spec_ios\n \n, \n cast(null as STRING) as \n \n template_app_link_spec_ipad\n \n , \n cast(null as STRING) as \n \n template_app_link_spec_iphone\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n _fivetran_id,\n _fivetran_synced,\n cast(id as bigint) as creative_id,\n cast(account_id as bigint) as account_id,\n name as creative_name,\n page_link,\n template_page_link,\n url_tags,\n asset_feed_spec_link_urls,\n object_story_link_data_child_attachments,\n object_story_link_data_caption, \n object_story_link_data_description, \n object_story_link_data_link, \n object_story_link_data_message,\n template_app_link_spec_ios,\n template_app_link_spec_ipad,\n template_app_link_spec_android,\n template_app_link_spec_iphone,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__campaign_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__campaign_history.sql", "original_file_path": "models/stg_facebook_ads__campaign_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__campaign_history"], "alias": "stg_facebook_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "d536771ac164bc64d15f6a8f03f6c06626d76f344c02de8d04bf97b978ed60d7"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The time the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "Timestamp of designated campaign start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "Timestamp of designated campaign end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "lifetime_budget": {"name": "lifetime_budget", "description": "Lifetime budget of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.855872, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n created_time as created_at,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n cast(id as {{ dbt.type_bigint() }}) as campaign_id,\n name as campaign_name,\n start_time as start_at,\n stop_time as end_at,\n status,\n daily_budget,\n lifetime_budget,\n budget_remaining,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__campaign_history_tmp"], ["stg_facebook_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp", "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n updated_time\n \n as \n \n updated_time\n \n, \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as TIMESTAMP) as \n \n stop_time\n \n , \n cast(null as STRING) as \n \n status\n \n , \n cast(null as INT64) as \n \n daily_budget\n \n , \n cast(null as INT64) as \n \n lifetime_budget\n \n , \n cast(null as FLOAT64) as \n \n budget_remaining\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n created_time as created_at,\n cast(account_id as bigint) as account_id,\n cast(id as bigint) as campaign_id,\n name as campaign_name,\n start_time as start_at,\n stop_time as end_at,\n status,\n daily_budget,\n lifetime_budget,\n budget_remaining,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__account_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__account_history.sql", "original_file_path": "models/stg_facebook_ads__account_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__account_history"], "alias": "stg_facebook_ads__account_history", "checksum": {"name": "sha256", "checksum": "db38aeeedb4c0b457605036f2452543a77d1e65f0d7d13287fac1b705c1d1407"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook ad account.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the ad account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_status": {"name": "account_status", "description": "Current status of account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_country_code": {"name": "business_country_code", "description": "Country code of business associated to account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The time account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_name": {"name": "timezone_name", "description": "Timezone associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.833153, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__account_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as {{ dbt.type_bigint() }}) as account_id,\n _fivetran_synced,\n name as account_name,\n account_status,\n business_country_code,\n created_time as created_at,\n currency,\n timezone_name,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__account_history_tmp"], ["stg_facebook_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history_tmp", "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n id\n \n as \n \n id\n \n, \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as STRING) as \n \n account_status\n \n , \n cast(null as STRING) as \n \n business_country_code\n \n , \n cast(null as TIMESTAMP) as \n \n created_time\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n cast(null as STRING) as \n \n timezone_name\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n cast(id as bigint) as account_id,\n _fivetran_synced,\n name as account_name,\n account_status,\n business_country_code,\n created_time as created_at,\n currency,\n timezone_name,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__ad_history.sql", "original_file_path": "models/stg_facebook_ads__ad_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__ad_history"], "alias": "stg_facebook_ads__ad_history", "checksum": {"name": "sha256", "checksum": "19719ef45773ae189aeec4da0c5467b45bc6a253bbaf2a13ee271d63723e64da"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook ad.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "ID of the ad set that contains the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the ad creative to be used by this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.838702, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as {{ dbt.type_bigint() }}) as ad_id,\n name as ad_name,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n cast(ad_set_id as {{ dbt.type_bigint() }}) as ad_set_id, \n cast(campaign_id as {{ dbt.type_bigint() }}) as campaign_id,\n cast(creative_id as {{ dbt.type_bigint() }}) as creative_id,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__ad_history_tmp"], ["stg_facebook_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n updated_time\n \n as \n \n updated_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n ad_set_id\n \n as \n \n ad_set_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n creative_id\n \n as \n \n creative_id\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as bigint) as ad_id,\n name as ad_name,\n cast(account_id as bigint) as account_id,\n cast(ad_set_id as bigint) as ad_set_id, \n cast(campaign_id as bigint) as campaign_id,\n cast(creative_id as bigint) as creative_id,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_set_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_set_history", "resource_type": "model", "package_name": "facebook_ads_source", "path": "stg_facebook_ads__ad_set_history.sql", "original_file_path": "models/stg_facebook_ads__ad_set_history.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "fqn": ["facebook_ads_source", "stg_facebook_ads__ad_set_history"], "alias": "stg_facebook_ads__ad_set_history", "checksum": {"name": "sha256", "checksum": "32c6ae0ef94b4f88261a0dd4dda62e6e92de99a56ffbe8ae1360c6469052e212"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table reflects a Facebook ad set.", "columns": {"ad_set_id": {"name": "ad_set_id", "description": "The ID of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad set belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_name": {"name": "ad_set_name", "description": "The name of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_at": {"name": "start_at", "description": "Timestamp of designated ad set start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_at": {"name": "end_at", "description": "Timestamp of designated ad set end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "Bid strategy values are - 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "facebook_ads_source://models/stg_facebook_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592112.847882, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_facebook_ads__ad_set_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_facebook_ads__ad_set_history_tmp')),\n staging_columns=get_ad_set_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as {{ dbt.type_bigint() }}) as ad_set_id,\n name as ad_set_name,\n cast(account_id as {{ dbt.type_bigint() }}) as account_id,\n cast(campaign_id as {{ dbt.type_bigint() }}) as campaign_id,\n start_time as start_at,\n end_time as end_at,\n bid_strategy,\n daily_budget,\n budget_remaining,\n status,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history_tmp"], ["stg_facebook_ads__ad_set_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.facebook_ads_source.get_ad_set_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_bigint"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads__ad_set_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n updated_time\n \n as \n \n updated_time\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n cast(null as TIMESTAMP) as \n \n start_time\n \n , \n cast(null as TIMESTAMP) as \n \n end_time\n \n , \n cast(null as STRING) as \n \n bid_strategy\n \n , \n cast(null as INT64) as \n \n daily_budget\n \n , \n cast(null as INT64) as \n \n budget_remaining\n \n , \n cast(null as STRING) as \n \n status\n \n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n updated_time as updated_at,\n cast(id as bigint) as ad_set_id,\n name as ad_set_name,\n cast(account_id as bigint) as account_id,\n cast(campaign_id as bigint) as campaign_id,\n start_time as start_at,\n end_time as end_at,\n bid_strategy,\n daily_budget,\n budget_remaining,\n status,\n row_number() over (partition by id order by updated_time desc) = 1 as is_most_recent_record\n from fields\n\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_set_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__ad_set_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__ad_set_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__ad_set_history_tmp"], "alias": "stg_facebook_ads__ad_set_history_tmp", "checksum": {"name": "sha256", "checksum": "dad1782db9e8232b2613b5b9959963ad0d0ff99b7462524fc223610cd3e14442"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592106.6642182, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_set_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "ad_set_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__ad_set_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_ad_set_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__basic_ad_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__basic_ad_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__basic_ad_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__basic_ad_tmp"], "alias": "stg_facebook_ads__basic_ad_tmp", "checksum": {"name": "sha256", "checksum": "46e4ec682f4ed2b33b3123c24ae2b20d9d9bce50ed7ef83b547dd83b57339f89"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592106.676147, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('basic_ad') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "basic_ad"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__basic_ad_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_basic_ad_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__ad_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__ad_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__ad_history_tmp"], "alias": "stg_facebook_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "438f57c6bd1ce2a8c4a73600c1e12878efc0a091f42b3a43ed0334067779eace"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592106.688343, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__campaign_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__campaign_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__campaign_history_tmp"], "alias": "stg_facebook_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "617b7e683421a5712cc129d02e07eeb0f5876b7fdeb680429b4d6069b4dcdfc1"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592106.70093, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__creative_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__creative_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__creative_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__creative_history_tmp"], "alias": "stg_facebook_ads__creative_history_tmp", "checksum": {"name": "sha256", "checksum": "9cf5ffb0bc31c525388d169c90fb8b6150e5141777b14337c0fee0730faeecd9"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592106.715595, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('creative_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "creative_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__creative_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_creative_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_facebook_ads_source", "name": "stg_facebook_ads__account_history_tmp", "resource_type": "model", "package_name": "facebook_ads_source", "path": "tmp/stg_facebook_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_facebook_ads__account_history_tmp.sql", "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history_tmp", "fqn": ["facebook_ads_source", "tmp", "stg_facebook_ads__account_history_tmp"], "alias": "stg_facebook_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "caa1f4a119ca187458bff00bd8682eabffdba914962ff8ae7d4cfe55f25833ff"}, "config": {"enabled": true, "alias": null, "schema": "facebook_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "facebook_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592106.7283351, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__facebook_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["facebook_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.facebook_ads_source.facebook_ads.account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/tmp/stg_facebook_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_account_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_hourly_report", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_squad_hourly_report.sql", "original_file_path": "models/stg_snapchat_ads__ad_squad_hourly_report.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_squad_hourly_report"], "alias": "stg_snapchat_ads__ad_squad_hourly_report", "checksum": {"name": "sha256", "checksum": "aad7890ff2546a5611d55ff7393a3580ffae73d4f1036f158589bd8c20dd36e7"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"ad_squad_id": {"name": "ad_squad_id", "description": "ID of the ad squad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_hour": {"name": "date_hour", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time": {"name": "attachment_total_view_time", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time": {"name": "screen_time", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time": {"name": "view_time", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.145783, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_squad_hourly_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_squad_hourly_report_tmp')),\n staging_columns=get_ad_squad_hourly_report_columns()\n )\n }} \n from base\n),\n\nfinal as (\n \n select \n ad_squad_id,\n cast (date as {{ dbt.type_timestamp() }}) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n {{ fivetran_utils.fill_pass_through_columns('snapchat_ads__ad_squad_hourly_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report_tmp"], ["stg_snapchat_ads__ad_squad_hourly_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_squad_hourly_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_squad_hourly_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_squad_id\n \n as \n \n ad_squad_id\n \n, \n \n \n attachment_quartile_1\n \n as \n \n attachment_quartile_1\n \n, \n \n \n attachment_quartile_2\n \n as \n \n attachment_quartile_2\n \n, \n \n \n attachment_quartile_3\n \n as \n \n attachment_quartile_3\n \n, \n \n \n attachment_total_view_time_millis\n \n as \n \n attachment_total_view_time_millis\n \n, \n \n \n attachment_view_completion\n \n as \n \n attachment_view_completion\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n quartile_1\n \n as \n \n quartile_1\n \n, \n \n \n quartile_2\n \n as \n \n quartile_2\n \n, \n \n \n quartile_3\n \n as \n \n quartile_3\n \n, \n \n \n saves\n \n as \n \n saves\n \n, \n \n \n screen_time_millis\n \n as \n \n screen_time_millis\n \n, \n \n \n shares\n \n as \n \n shares\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n swipes\n \n as \n \n swipes\n \n, \n \n \n video_views\n \n as \n \n video_views\n \n, \n \n \n view_completion\n \n as \n \n view_completion\n \n, \n \n \n view_time_millis\n \n as \n \n view_time_millis\n \n\n\n \n from base\n),\n\nfinal as (\n \n select \n ad_squad_id,\n cast (date as TIMESTAMP) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_history.sql", "original_file_path": "models/stg_snapchat_ads__ad_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_history"], "alias": "stg_snapchat_ads__ad_history", "checksum": {"name": "sha256", "checksum": "b9f87bec0fe3fe17b30ccd2de99f8cb85d764a3867d0c7d1876f60a91b717445"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the related ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.117547, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_history_tmp')),\n staging_columns=get_ad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n name as ad_name,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n ad_squad_id,\n creative_id,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_history_tmp"], ["stg_snapchat_ads__ad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_squad_id\n \n as \n \n ad_squad_id\n \n, \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n \n \n creative_id\n \n as \n \n creative_id\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as ad_id,\n name as ad_name,\n cast (created_at as TIMESTAMP) as created_at,\n ad_squad_id,\n creative_id,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_squad_history.sql", "original_file_path": "models/stg_snapchat_ads__ad_squad_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_squad_history"], "alias": "stg_snapchat_ads__ad_squad_history", "checksum": {"name": "sha256", "checksum": "b78ca2d715716a88b33e55219ef00243ae62fa062be779ccbd0e4ace8351e903"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad squad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_name": {"name": "ad_squad_name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.1342149, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_squad_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_squad_history_tmp')),\n staging_columns=get_ad_squad_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n\n select \n id as ad_squad_id,\n name as ad_squad_name,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n campaign_id,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history_tmp"], ["stg_snapchat_ads__ad_squad_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_squad_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_squad_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n\n select \n id as ad_squad_id,\n name as ad_squad_name,\n cast (created_at as TIMESTAMP) as created_at,\n campaign_id,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_hourly_report", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_hourly_report.sql", "original_file_path": "models/stg_snapchat_ads__ad_hourly_report.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_hourly_report"], "alias": "stg_snapchat_ads__ad_hourly_report", "checksum": {"name": "sha256", "checksum": "ce7ad13fe4751d9607130fc2995b208171cfd944ac7fbd8a499209ae6a75aba2"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents an hourly performance summary for an ad in Snapchat.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad that the report relates to in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_hour": {"name": "date_hour", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time": {"name": "attachment_total_view_time", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time": {"name": "screen_time", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time": {"name": "view_time", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend for an ad in the hour of the record converted from micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.129341, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_hourly_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_hourly_report_tmp')),\n staging_columns=get_ad_hourly_report_columns()\n )\n }} \n from base\n),\n\nfinal as (\n \n select \n ad_id,\n cast (date as {{ dbt.type_timestamp() }}) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n {{ fivetran_utils.fill_pass_through_columns('snapchat_ads__ad_hourly_passthrough_metrics') }}\n\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report_tmp"], ["stg_snapchat_ads__ad_hourly_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_hourly_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_hourly_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n ad_id\n \n as \n \n ad_id\n \n, \n cast(null as numeric) as \n \n attachment_quartile_1\n \n , \n cast(null as numeric) as \n \n attachment_quartile_2\n \n , \n cast(null as numeric) as \n \n attachment_quartile_3\n \n , \n cast(null as numeric) as \n \n attachment_total_view_time_millis\n \n , \n cast(null as numeric) as \n \n attachment_view_completion\n \n , \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n cast(null as numeric) as \n \n quartile_1\n \n , \n cast(null as numeric) as \n \n quartile_2\n \n , \n cast(null as numeric) as \n \n quartile_3\n \n , \n cast(null as numeric) as \n \n saves\n \n , \n cast(null as numeric) as \n \n screen_time_millis\n \n , \n cast(null as numeric) as \n \n shares\n \n , \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n swipes\n \n as \n \n swipes\n \n, \n cast(null as numeric) as \n \n video_views\n \n , \n cast(null as numeric) as \n \n view_completion\n \n , \n cast(null as numeric) as \n \n view_time_millis\n \n \n\n \n from base\n),\n\nfinal as (\n \n select \n ad_id,\n cast (date as TIMESTAMP) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n \n\n\n\n\n\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__creative_history.sql", "original_file_path": "models/stg_snapchat_ads__creative_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__creative_history"], "alias": "stg_snapchat_ads__creative_history", "checksum": {"name": "sha256", "checksum": "52f2479f057f755f7fca3153351bb4bbda4767ca96ed9379a2fa1ec30df6fb52"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of a creative in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_name": {"name": "creative_name", "description": "The name of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url": {"name": "url", "description": "The URL of the creative if the creative is of type 'web view'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.1685572, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__creative_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__creative_history_tmp')),\n staging_columns=get_creative_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as creative_id,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n ad_account_id,\n name as creative_name,\n web_view_url as url,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__creative_history_tmp"], ["stg_snapchat_ads__creative_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_creative_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__creative_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_account_id\n \n as \n \n ad_account_id\n \n, \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as TIMESTAMP) as \n \n updated_at\n \n , \n \n \n web_view_url\n \n as \n \n web_view_url\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n id as creative_id,\n cast (created_at as TIMESTAMP) as created_at,\n ad_account_id,\n name as creative_name,\n web_view_url as url,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_url_tag_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__creative_url_tag_history.sql", "original_file_path": "models/stg_snapchat_ads__creative_url_tag_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__creative_url_tag_history"], "alias": "stg_snapchat_ads__creative_url_tag_history", "checksum": {"name": "sha256", "checksum": "ed5cc64860273e4d9198143e337401240d61e563e41e587369e82184ee3254f5"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a URL paramter key-value pair for a creative in Snapchat.", "columns": {"creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "param_key": {"name": "param_key", "description": "The URL parameter key, i.e. UTM_SOURCE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "param_value": {"name": "param_value", "description": "The URL parameter value, i.e. Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.1722088, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__creative_url_tag_history_tmp') }}\n\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__creative_url_tag_history_tmp')),\n staging_columns=get_creative_url_tag_history_columns()\n )\n }}\n \n from base\n),\n\nfinal as (\n \n select \n creative_id,\n key as param_key,\n value as param_value,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by creative_id, key order by updated_at desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__creative_url_tag_history_tmp"], ["stg_snapchat_ads__creative_url_tag_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_creative_url_tag_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__creative_url_tag_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n creative_id\n \n as \n \n creative_id\n \n, \n \n \n key\n \n as \n \n key\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n, \n \n \n value\n \n as \n \n value\n \n\n\n\n \n from base\n),\n\nfinal as (\n \n select \n creative_id,\n key as param_key,\n value as param_value,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by creative_id, key order by updated_at desc) =1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_account_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__ad_account_history.sql", "original_file_path": "models/stg_snapchat_ads__ad_account_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__ad_account_history"], "alias": "stg_snapchat_ads__ad_account_history", "checksum": {"name": "sha256", "checksum": "b3c1ecb6e139e06bd3242b0ae35973de841a51fc916e32db5ee62a61c69da760"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad account in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_name": {"name": "ad_account_name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser": {"name": "advertiser", "description": "Name of advertiser", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency used by account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Account timezone", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.112096, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__ad_account_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__ad_account_history_tmp')),\n staging_columns=get_ad_account_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n id as ad_account_id,\n name as ad_account_name,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n advertiser, \n currency,\n timezone,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history_tmp"], ["stg_snapchat_ads__ad_account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_ad_account_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__ad_account_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n cast(null as STRING) as \n \n advertiser\n \n , \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n cast(null as STRING) as \n \n currency\n \n , \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as STRING) as \n \n timezone\n \n , \n cast(null as STRING) as \n \n type\n \n , \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n \n select \n id as ad_account_id,\n name as ad_account_name,\n cast (created_at as TIMESTAMP) as created_at,\n advertiser, \n currency,\n timezone,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_hourly_report", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__campaign_hourly_report.sql", "original_file_path": "models/stg_snapchat_ads__campaign_hourly_report.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__campaign_hourly_report"], "alias": "stg_snapchat_ads__campaign_hourly_report", "checksum": {"name": "sha256", "checksum": "b8abf4f1e0b0aa8d163a63e275f064d72d58b1f1ccb72b6c0a28d90dca2ecf38"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"campaign_id": {"name": "campaign_id", "description": "ID of campaign", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_hour": {"name": "date_hour", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time": {"name": "attachment_total_view_time", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time": {"name": "screen_time", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time": {"name": "view_time", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.1630561, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__campaign_hourly_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__campaign_hourly_report_tmp')),\n staging_columns=get_campaign_hourly_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n cast (date as {{ dbt.type_timestamp() }}) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n {{ fivetran_utils.fill_pass_through_columns('snapchat_ads__campaign_hourly_report_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report_tmp"], ["stg_snapchat_ads__campaign_hourly_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_campaign_hourly_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__campaign_hourly_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n attachment_quartile_1\n \n as \n \n attachment_quartile_1\n \n, \n \n \n attachment_quartile_2\n \n as \n \n attachment_quartile_2\n \n, \n \n \n attachment_quartile_3\n \n as \n \n attachment_quartile_3\n \n, \n \n \n attachment_total_view_time_millis\n \n as \n \n attachment_total_view_time_millis\n \n, \n \n \n attachment_view_completion\n \n as \n \n attachment_view_completion\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n quartile_1\n \n as \n \n quartile_1\n \n, \n \n \n quartile_2\n \n as \n \n quartile_2\n \n, \n \n \n quartile_3\n \n as \n \n quartile_3\n \n, \n \n \n saves\n \n as \n \n saves\n \n, \n \n \n screen_time_millis\n \n as \n \n screen_time_millis\n \n, \n \n \n shares\n \n as \n \n shares\n \n, \n \n \n spend\n \n as \n \n spend\n \n, \n \n \n swipes\n \n as \n \n swipes\n \n, \n \n \n video_views\n \n as \n \n video_views\n \n, \n \n \n view_completion\n \n as \n \n view_completion\n \n, \n \n \n view_time_millis\n \n as \n \n view_time_millis\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n campaign_id,\n cast (date as TIMESTAMP) as date_hour,\n attachment_quartile_1,\n attachment_quartile_2,\n attachment_quartile_3,\n (attachment_total_view_time_millis / 1000000.0) as attachment_total_view_time,\n attachment_view_completion,\n quartile_1,\n quartile_2,\n quartile_3,\n saves,\n shares,\n (screen_time_millis / 1000000.0) as screen_time,\n video_views,\n view_completion,\n (view_time_millis / 1000000.0) as view_time,\n impressions,\n (spend / 1000000.0) as spend,\n swipes\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_history", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "stg_snapchat_ads__campaign_history.sql", "original_file_path": "models/stg_snapchat_ads__campaign_history.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history", "fqn": ["snapchat_ads_source", "stg_snapchat_ads__campaign_history"], "alias": "stg_snapchat_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "a8a584b7e724b5a0d6b89278795b3d2a9cfc45aa83be000333e2acb288da179d"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents a historic version of a campaign in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The id of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_most_recent_record": {"name": "is_most_recent_record", "description": "Boolean representing whether a record is the most recent version of that record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "snapchat_ads_source://models/stg_snapchat.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "table", "enabled": true}, "created_at": 1679592113.151467, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_snapchat_ads__campaign_history_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_snapchat_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select\n id as campaign_id,\n ad_account_id,\n cast (created_at as {{ dbt.type_timestamp() }}) as created_at,\n name as campaign_name,\n cast (_fivetran_synced as {{ dbt.type_timestamp() }}) as _fivetran_synced,\n cast (updated_at as {{ dbt.type_timestamp() }}) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history_tmp"], ["stg_snapchat_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.snapchat_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.type_timestamp"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history_tmp`\n),\n\nfields as (\n\n select\n \n \n \n _fivetran_synced\n \n as \n \n _fivetran_synced\n \n, \n \n \n ad_account_id\n \n as \n \n ad_account_id\n \n, \n cast(null as TIMESTAMP) as \n \n created_at\n \n , \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n cast(null as TIMESTAMP) as \n \n updated_at\n \n \n\n\n from base\n),\n\nfinal as (\n \n select\n id as campaign_id,\n ad_account_id,\n cast (created_at as TIMESTAMP) as created_at,\n name as campaign_name,\n cast (_fivetran_synced as TIMESTAMP) as _fivetran_synced,\n cast (updated_at as TIMESTAMP) as updated_at,\n row_number() over (partition by id order by _fivetran_synced desc) = 1 as is_most_recent_record\n from fields\n)\n\nselect * \nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__creative_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__creative_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__creative_history_tmp"], "alias": "stg_snapchat_ads__creative_history_tmp", "checksum": {"name": "sha256", "checksum": "97f2460634e450cdce998385dac55f4754305b6c9ea9c8756b1d8cd6ef961e4d"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.072892, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('creative_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "creative_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__creative_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_creative_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_account_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_account_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_account_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_account_history_tmp"], "alias": "stg_snapchat_ads__ad_account_history_tmp", "checksum": {"name": "sha256", "checksum": "92091ce537ab3d626fde67bcce6f168cb41ab6ee9975afa0551603e42cc5d78a"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.085713, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_account_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_account_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_hourly_report_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_hourly_report_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_hourly_report_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_hourly_report_tmp"], "alias": "stg_snapchat_ads__ad_hourly_report_tmp", "checksum": {"name": "sha256", "checksum": "c1fd36fe859740eae7e8c35022731b4090dd0e6a0cc598f8ce7275134e500fe0"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.098071, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_hourly_report') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_hourly_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_hourly_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_hourly_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__creative_url_tag_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__creative_url_tag_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__creative_url_tag_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__creative_url_tag_history_tmp"], "alias": "stg_snapchat_ads__creative_url_tag_history_tmp", "checksum": {"name": "sha256", "checksum": "65d5edd0f0e93654debad17d56afa3f77abd57601fa4e296320dec000d272056"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.1103208, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('creative_url_tag_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "creative_url_tag_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__creative_url_tag_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_creative_url_tag_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_hourly_report_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_squad_hourly_report_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_squad_hourly_report_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_squad_hourly_report_tmp"], "alias": "stg_snapchat_ads__ad_squad_hourly_report_tmp", "checksum": {"name": "sha256", "checksum": "aa1aa691bef011ccfd98f91b4b82a8838fab485131f0e17f53799f7c21bb09f3"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.125026, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_squad_hourly_report') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_squad_hourly_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_squad_hourly_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_squad_hourly_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__campaign_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__campaign_history_tmp"], "alias": "stg_snapchat_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "8ba400ddeeb2cf5c0cb71d6361ee8455d1a5272936dce07eaade1606a596cfdb"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.137727, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_history_tmp"], "alias": "stg_snapchat_ads__ad_history_tmp", "checksum": {"name": "sha256", "checksum": "3cbc363ef9fe699bcc42261d8eda6184c55f2574efa083ca7091aa5ddedd42e9"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.1506948, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__ad_squad_history_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__ad_squad_history_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__ad_squad_history_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__ad_squad_history_tmp"], "alias": "stg_snapchat_ads__ad_squad_history_tmp", "checksum": {"name": "sha256", "checksum": "20be450378d3826688fd5d75226187b30b17782d6ea922076111a4d6440598f9"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.1636, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('ad_squad_history') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "ad_squad_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__ad_squad_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_squad_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_snapchat_ads_source", "name": "stg_snapchat_ads__campaign_hourly_report_tmp", "resource_type": "model", "package_name": "snapchat_ads_source", "path": "tmp/stg_snapchat_ads__campaign_hourly_report_tmp.sql", "original_file_path": "models/tmp/stg_snapchat_ads__campaign_hourly_report_tmp.sql", "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp", "fqn": ["snapchat_ads_source", "tmp", "stg_snapchat_ads__campaign_hourly_report_tmp"], "alias": "stg_snapchat_ads__campaign_hourly_report_tmp", "checksum": {"name": "sha256", "checksum": "b18dc4fa023f874afa53107adf3b50bf02fa4ac757d01f176279822b37a3c1ee"}, "config": {"enabled": true, "alias": null, "schema": "snapchat_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"schema": "snapchat_ads_source", "materialized": "view", "enabled": true}, "created_at": 1679592107.177671, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__snapchat_ads_enabled', true)) }}\n\nselect *\nfrom {{ var('campaign_hourly_report') }}", "language": "sql", "refs": [], "sources": [["snapchat_ads", "campaign_hourly_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.snapchat_ads_source.snapchat_ads.campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/tmp/stg_snapchat_ads__campaign_hourly_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_campaign_hourly_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__ad_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__ad_report.sql", "original_file_path": "models/microsoft_ads__ad_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__ad_report", "fqn": ["microsoft_ads", "microsoft_ads__ad_report"], "alias": "microsoft_ads__ad_report", "checksum": {"name": "sha256", "checksum": "934fc75d0e83e5d37bb42d7e6d12bcbabd93de634135fcdd7d865735d2d3393a"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by ad, ad group, campaign, account, ad type, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_type": {"name": "ad_type", "description": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.349175, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_performance_daily_report') }}\n\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n ads.type as ad_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__ad_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(14) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__ad_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\n\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n ads.type as ad_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__ad_group_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__ad_group_report.sql", "original_file_path": "models/microsoft_ads__ad_group_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__ad_group_report", "fqn": ["microsoft_ads", "microsoft_ads__ad_group_report"], "alias": "microsoft_ads__ad_group_report", "checksum": {"name": "sha256", "checksum": "82d1cfaf1da6109ebe37a96d610aef7b6618cf1b3aa14978ec1466c290db1a39"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by ad group, campaign, account, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.3379478, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_group_performance_daily_report') }}\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__ad_group_passthrough_metrics', transform = 'sum') }}\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n {{ dbt_utils.group_by(11)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__ad_group_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n),\n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n \n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n group by 1,2,3,4,5,6,7,8,9,10,11\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__keyword_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__keyword_report.sql", "original_file_path": "models/microsoft_ads__keyword_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__keyword_report", "fqn": ["microsoft_ads", "microsoft_ads__keyword_report"], "alias": "microsoft_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "d68019c66e2ec76c9e4b63d44639606aaefdb559b7e82220549a206332762798"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by keyword, ad, ad group, campaign, account, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_name": {"name": "keyword_name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.370711, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__keyword_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('keyword_performance_daily_report') }}\n\n), \n\nkeywords as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n keywords.keyword_name,\n report.keyword_id,\n keywords.match_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__keyword_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n {{ dbt_utils.group_by(16) }}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report"], ["stg_microsoft_ads__keyword_history"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__keyword_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`\n\n), \n\nkeywords as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n keywords.keyword_name,\n report.keyword_id,\n keywords.match_type,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__url_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__url_report.sql", "original_file_path": "models/microsoft_ads__url_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__url_report", "fqn": ["microsoft_ads", "microsoft_ads__url_report"], "alias": "microsoft_ads__url_report", "checksum": {"name": "sha256", "checksum": "568188d83446e2332ec4fc7053bb17ed95bf0cd1a878ab8fec2835f82035a2cb"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by ad, ad group, campaign, account, ad type, device os, device type, network, currency code, url and utm parameters.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The site that sent traffic to your page. Microsoft Advertising sets this to Bing; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "Which channel was used. Microsoft Advertising sets this to cp; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "Which campaign the keyword came from; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "Which ad group the keyword came from; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "Which keyword brought people to your website; extracted from the `final_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.396653, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('ad_performance_daily_report') }}\n\n), \n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n {{ dbt.split_part('ads.final_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('ads.final_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('ads.final_url') }} as url_path,\n\n {% if var('microsoft_ads_auto_tagging_enabled', false) %}\n\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_source') }} , 'Bing') as utm_source,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_medium') }}, 'cpc') as utm_medium,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_campaign') }}, campaigns.campaign_name) as utm_campaign,\n coalesce( {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_content') }}, ad_groups.ad_group_name) as utm_content,\n {% else %}\n\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_content') }} as utm_content,\n {% endif %}\n\n {{ dbt_utils.get_url_parameter('ads.final_url', 'utm_term') }} as utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__ad_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(21) }}\n), \n\nfiltered as (\n\n select * \n from joined\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where base_url is not null\n {% endif %}\n)\n\nselect *\nfrom filtered", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\n\n), \n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n \n\n \n split(\n ads.final_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n ads.final_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n\n \n\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n \n\n nullif(\n\n \n split(\n \n\n \n split(\n ads.final_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21\n), \n\nfiltered as (\n\n select * \n from joined\n\n \n where base_url is not null\n \n)\n\nselect *\nfrom filtered", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__account_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__account_report.sql", "original_file_path": "models/microsoft_ads__account_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__account_report", "fqn": ["microsoft_ads", "microsoft_ads__account_report"], "alias": "microsoft_ads__account_report", "checksum": {"name": "sha256", "checksum": "33fcae2d635e30598310a5da35782efce11b976c89c69da690ff50160271cc8f"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by account, account timezone, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_timezone": {"name": "account_timezone", "description": "The time zone associated with this account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.32958, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('account_performance_daily_report') }}\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n)\n\n, joined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n accounts.time_zone as account_timezone,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__account_passthrough_metrics', transform = 'sum') }}\n from report\n left join accounts\n on report.account_id = accounts.account_id\n {{ dbt_utils.group_by(8)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n)\n\n, joined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n accounts.time_zone as account_timezone,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n \n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n group by 1,2,3,4,5,6,7,8\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__search_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__search_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__search_report.sql", "original_file_path": "models/microsoft_ads__search_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__search_report", "fqn": ["microsoft_ads", "microsoft_ads__search_report"], "alias": "microsoft_ads__search_report", "checksum": {"name": "sha256", "checksum": "6eebba936b78f5793b3d0dc2cd72916637af31cbd2a94ee628b7b1561019511d"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by search query, keyword, ad, ad group, campaign, account, device os, device type and network.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_name": {"name": "keyword_name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The search query string associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.382325, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__search_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('search_performance_daily_report') }}\n\n), \n\nkeywords as (\n\n select *\n from {{ var('keyword_history') }}\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from {{ var('ad_history') }}\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from {{ var('ad_group_history') }}\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.keyword_id,\n keywords.keyword_name,\n coalesce(report.delivered_match_type, report.bid_match_type) as match_type,\n report.search_query,\n report.device_os,\n report.device_type,\n report.network,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__search_passthrough_metrics', transform = 'sum') }}\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n {{ dbt_utils.group_by(16) }}\n\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report"], ["stg_microsoft_ads__keyword_history"], ["stg_microsoft_ads__ad_history"], ["stg_microsoft_ads__ad_group_history"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__search_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`\n\n), \n\nkeywords as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\n where is_most_recent_record = True\n),\n\nads as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n where is_most_recent_record = True\n\n), \n\nad_groups as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n where is_most_recent_record = True\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n\n), \n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n\n), \n\njoined as (\n\n select\n report.date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n ad_groups.ad_group_name,\n report.ad_group_id,\n ads.ad_name,\n report.ad_id,\n report.keyword_id,\n keywords.keyword_name,\n coalesce(report.delivered_match_type, report.bid_match_type) as match_type,\n report.search_query,\n report.device_os,\n report.device_type,\n report.network,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.spend) as spend\n\n \n\n\n\n\n from report\n left join ads\n on report.ad_id = ads.ad_id\n left join ad_groups\n on report.ad_group_id = ad_groups.ad_group_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n left join keywords\n on report.keyword_id = keywords.keyword_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16\n\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.microsoft_ads.microsoft_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_microsoft_ads", "name": "microsoft_ads__campaign_report", "resource_type": "model", "package_name": "microsoft_ads", "path": "microsoft_ads__campaign_report.sql", "original_file_path": "models/microsoft_ads__campaign_report.sql", "unique_id": "model.microsoft_ads.microsoft_ads__campaign_report", "fqn": ["microsoft_ads", "microsoft_ads__campaign_report"], "alias": "microsoft_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "67405deb1cc6d60f53c6743998081fa4ea77b67191d8a84a423ac68f2051396e"}, "config": {"enabled": true, "alias": null, "schema": "microsoft_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily clicks, impressions, spend (and if applicable other passthrough metrics) of ads by campaign, account, campaign type, campaign timezone, campaign status, device os, device type, network and currency code.\n", "columns": {"date_day": {"name": "date_day", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_timezone": {"name": "campaign_timezone", "description": "The time zone associated with this campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "microsoft_ads://models/microsoft_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "microsoft_ads", "materialized": "table", "enabled": true}, "created_at": 1679592113.3588889, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__microsoft_ads_enabled', True)) }}\n\nwith report as (\n\n select *\n from {{ var('campaign_performance_daily_report') }}\n\n), \n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.type as campaign_type,\n campaigns.time_zone as campaign_timezone,\n campaigns.status as campaign_status,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n {{ fivetran_utils.persist_pass_through_columns(pass_through_variable='microsoft_ads__campaign_passthrough_metrics', transform = 'sum') }}\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n {{ dbt_utils.group_by(12)}}\n)\n\nselect *\nfrom joined", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report"], ["stg_microsoft_ads__campaign_history"], ["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith report as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`\n\n), \n\ncampaigns as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n where is_most_recent_record = True\n),\n\naccounts as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n where is_most_recent_record = True\n),\n\njoined as (\n\n select\n date_day,\n accounts.account_name,\n report.account_id,\n campaigns.campaign_name,\n report.campaign_id,\n campaigns.type as campaign_type,\n campaigns.time_zone as campaign_timezone,\n campaigns.status as campaign_status,\n report.device_os,\n report.device_type,\n report.network,\n report.currency_code,\n sum(clicks) as clicks,\n sum(impressions) as impressions,\n sum(spend) as spend\n\n \n\n\n\n\n from report\n left join accounts\n on report.account_id = accounts.account_id\n left join campaigns\n on report.campaign_id = campaigns.campaign_id\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n)\n\nselect *\nfrom joined", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__campaign_report.sql", "original_file_path": "models/stg_twitter_ads__campaign_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__campaign_report"], "alias": "stg_twitter_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "f81071b6cdbc860c2ae2316870f010fe0f0fc2c8166fc3b2d5eeea729f6defcd"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of an ad campaign on a given day, for its placement in Twitter.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the campaign on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the campaign on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the campaign on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the campaign on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the campaign on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.679065, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__campaign_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__campaign_report_tmp')),\n staging_columns=get_campaign_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n account_id,\n campaign_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__campaign_report_passthrough_metrics') }}\n \n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__campaign_report_tmp"], ["stg_twitter_ads__campaign_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_campaign_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n billed_charge_local_micro\n \n as \n \n billed_charge_local_micro\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n placement\n \n as \n \n placement\n \n, \n \n \n url_clicks\n \n as \n \n url_clicks\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n account_id,\n campaign_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n \n\n\n\n\n \n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__line_item_history.sql", "original_file_path": "models/stg_twitter_ads__line_item_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__line_item_history"], "alias": "stg_twitter_ads__line_item_history", "checksum": {"name": "sha256", "checksum": "46a8268335b747ca45d70e2b6f3c9a426b26a655d751cdc0843b4a3d41af8598"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each line item. The versions can be differentiated by the updated_at timestamp.", "columns": {"advertiser_domain": {"name": "advertiser_domain", "description": "The website domain for this advertiser, without the protocol specification.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_user_id": {"name": "advertiser_user_id", "description": "The Twitter user identifier for the handle promoting the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "automatically_select_bid": {"name": "automatically_select_bid", "description": "Whether automatically optimize bidding is enabled based on daily budget and campaign flight dates.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_local_micro": {"name": "bid_amount_local_micro", "description": "The bid amount to be associated with this line item, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "The bidding mechanism.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_unit": {"name": "bid_unit", "description": "The bid unit for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "charge_by": {"name": "charge_by", "description": "The unit to charge this line item by.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_source": {"name": "creative_source", "description": "The source of the creatives for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency in which metrics will be reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The timestamp at which the line item will stop being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The campaign objective for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization": {"name": "optimization", "description": "The optimization setting to use with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "primary_web_event_tag": {"name": "primary_web_event_tag", "description": "The identifier of the primary web event tag. Allows more accurate tracking of engagements for the campaign pertaining to this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "product_type": {"name": "product_type", "description": "The type of promoted product that this line item will contain.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The timestamp at which the line item will start being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa_local_micro": {"name": "target_cpa_local_micro", "description": "The target cost per acquisition for the line item, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the line item, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to be associated with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa": {"name": "target_cpa", "description": "The target cost per acquisition for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.6501608, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__line_item_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__line_item_history_tmp')),\n staging_columns=get_line_item_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n advertiser_domain,\n advertiser_user_id,\n automatically_select_bid,\n bid_amount_local_micro,\n bid_type,\n bid_unit,\n campaign_id,\n charge_by,\n created_at as created_timestamp,\n creative_source,\n currency,\n deleted as is_deleted,\n end_time as end_timestamp,\n entity_status,\n id as line_item_id,\n name,\n objective,\n optimization,\n primary_web_event_tag,\n product_type,\n start_time as start_timestamp,\n target_cpa_local_micro,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(bid_amount_local_micro / 1000000.0,2) as bid_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n round(target_cpa_local_micro / 1000000.0,2) as target_cpa,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__line_item_history_tmp"], ["stg_twitter_ads__line_item_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_line_item_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__line_item_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n \n advertiser_domain\n \n as \n \n advertiser_domain\n \n, \n \n \n advertiser_user_id\n \n as \n \n advertiser_user_id\n \n, \n \n \n automatically_select_bid\n \n as \n \n automatically_select_bid\n \n, \n \n \n bid_amount_local_micro\n \n as \n \n bid_amount_local_micro\n \n, \n \n \n bid_type\n \n as \n \n bid_type\n \n, \n \n \n bid_unit\n \n as \n \n bid_unit\n \n, \n \n \n campaign_id\n \n as \n \n campaign_id\n \n, \n \n \n charge_by\n \n as \n \n charge_by\n \n, \n \n \n created_at\n \n as \n \n created_at\n \n, \n \n \n creative_source\n \n as \n \n creative_source\n \n, \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n deleted\n \n as \n \n deleted\n \n, \n \n \n end_time\n \n as \n \n end_time\n \n, \n \n \n entity_status\n \n as \n \n entity_status\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n objective\n \n as \n \n objective\n \n, \n \n \n optimization\n \n as \n \n optimization\n \n, \n \n \n primary_web_event_tag\n \n as \n \n primary_web_event_tag\n \n, \n \n \n product_type\n \n as \n \n product_type\n \n, \n \n \n start_time\n \n as \n \n start_time\n \n, \n \n \n target_cpa_local_micro\n \n as \n \n target_cpa_local_micro\n \n, \n \n \n total_budget_amount_local_micro\n \n as \n \n total_budget_amount_local_micro\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n advertiser_domain,\n advertiser_user_id,\n automatically_select_bid,\n bid_amount_local_micro,\n bid_type,\n bid_unit,\n campaign_id,\n charge_by,\n created_at as created_timestamp,\n creative_source,\n currency,\n deleted as is_deleted,\n end_time as end_timestamp,\n entity_status,\n id as line_item_id,\n name,\n objective,\n optimization,\n primary_web_event_tag,\n product_type,\n start_time as start_timestamp,\n target_cpa_local_micro,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(bid_amount_local_micro / 1000000.0,2) as bid_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n round(target_cpa_local_micro / 1000000.0,2) as target_cpa,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__line_item_report.sql", "original_file_path": "models/stg_twitter_ads__line_item_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__line_item_report"], "alias": "stg_twitter_ads__line_item_report", "checksum": {"name": "sha256", "checksum": "3e4a99488dfe650a4fbdcd7a60b982d2044c2c2b3ad1be7479fc35c4b929d343"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of a line item (ad group) on a given day, for its placement in Twitter.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the line item on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the line item on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the line item on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.6861591, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__line_item_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__line_item_report_tmp')),\n staging_columns=get_line_item_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n account_id,\n line_item_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__line_item_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_report_tmp"], ["stg_twitter_ads__line_item_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_line_item_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__line_item_report.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n billed_charge_local_micro\n \n as \n \n billed_charge_local_micro\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n line_item_id\n \n as \n \n line_item_id\n \n, \n \n \n placement\n \n as \n \n placement\n \n, \n \n \n url_clicks\n \n as \n \n url_clicks\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n account_id,\n line_item_id,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n \n\n\n\n\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__campaign_history.sql", "original_file_path": "models/stg_twitter_ads__campaign_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__campaign_history"], "alias": "stg_twitter_ads__campaign_history", "checksum": {"name": "sha256", "checksum": "774d386e9ad64cc31bc4067ef71444c35b0dd5b24e7635905ca4f774d6996934"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each campaign. The versions can be differentiated by the updated_at timestamp.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount_local_micro": {"name": "daily_budget_amount_local_micro", "description": "The daily budget amount to be allocated to the campaign, in micros. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "duration_in_days": {"name": "duration_in_days", "description": "The time period within which the frequency_cap is achieved.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_timestamp": {"name": "end_timestamp", "description": "The time the campaign will end", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_cap": {"name": "frequency_cap", "description": "The maximum number of times an ad could be delivered to a user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_servable": {"name": "is_servable", "description": "Whether the campaign is in a state to be actively served to users.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_standard_delivery": {"name": "is_standard_delivery", "description": "Whether standard delivery is enabled (vs accelerated delivery).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_timestamp": {"name": "start_timestamp", "description": "The time the campaign will start.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the campaign, in micros.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the campaign", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Reference to the funding instrument.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "The daily budget amount to be allocated to the campaign. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount": {"name": "total_budget_amount", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.631426, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__campaign_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__campaign_history_tmp')),\n staging_columns=get_campaign_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n account_id,\n created_at as created_timestamp,\n currency,\n daily_budget_amount_local_micro,\n deleted as is_deleted,\n duration_in_days,\n end_time as end_timestamp,\n entity_status,\n frequency_cap,\n funding_instrument_id,\n id as campaign_id,\n name as campaign_name,\n servable as is_servable,\n standard_delivery as is_standard_delivery,\n start_time as start_timestamp,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(daily_budget_amount_local_micro / 1000000.0,2) as daily_budget_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__campaign_history_tmp"], ["stg_twitter_ads__campaign_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_campaign_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__campaign_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n created_at\n \n as \n \n created_at\n \n, \n \n \n currency\n \n as \n \n currency\n \n, \n \n \n daily_budget_amount_local_micro\n \n as \n \n daily_budget_amount_local_micro\n \n, \n \n \n deleted\n \n as \n \n deleted\n \n, \n \n \n duration_in_days\n \n as \n \n duration_in_days\n \n, \n \n \n end_time\n \n as \n \n end_time\n \n, \n \n \n entity_status\n \n as \n \n entity_status\n \n, \n \n \n frequency_cap\n \n as \n \n frequency_cap\n \n, \n \n \n funding_instrument_id\n \n as \n \n funding_instrument_id\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n servable\n \n as \n \n servable\n \n, \n \n \n standard_delivery\n \n as \n \n standard_delivery\n \n, \n \n \n start_time\n \n as \n \n start_time\n \n, \n \n \n total_budget_amount_local_micro\n \n as \n \n total_budget_amount_local_micro\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n account_id,\n created_at as created_timestamp,\n currency,\n daily_budget_amount_local_micro,\n deleted as is_deleted,\n duration_in_days,\n end_time as end_timestamp,\n entity_status,\n frequency_cap,\n funding_instrument_id,\n id as campaign_id,\n name as campaign_name,\n servable as is_servable,\n standard_delivery as is_standard_delivery,\n start_time as start_timestamp,\n total_budget_amount_local_micro,\n updated_at as updated_timestamp,\n round(daily_budget_amount_local_micro / 1000000.0,2) as daily_budget_amount,\n round(total_budget_amount_local_micro / 1000000.0,2) as total_budget_amount,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__promoted_tweet_report.sql", "original_file_path": "models/stg_twitter_ads__promoted_tweet_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__promoted_tweet_report"], "alias": "stg_twitter_ads__promoted_tweet_report", "checksum": {"name": "sha256", "checksum": "90aa40996baaf0ab4455ec96ddd1bb6e9fabee419da4496f9b534e0d866ac36d"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of a promoted tweet on a given day, in the tweet's defined placement.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend (in micros) for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the related promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.662316, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__promoted_tweet_report_tmp') }}\n\n),\n\nrenamed as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__promoted_tweet_report_tmp')),\n staging_columns=get_promoted_tweet_report_columns()\n )\n }}\n\n from source\n\n), spend_calc as (\n\n select\n {{ dbt.date_trunc('day', 'date') }} as date_day,\n account_id,\n promoted_tweet_id,\n placement,\n clicks as clicks,\n impressions as impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks as url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__promoted_tweet_report_passthrough_metrics') }}\n \n from renamed\n\n)\n\nselect * from spend_calc", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report_tmp"], ["stg_twitter_ads__promoted_tweet_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_promoted_tweet_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__promoted_tweet_report.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report_tmp`\n\n),\n\nrenamed as (\n\n select\n \n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n billed_charge_local_micro\n \n as \n \n billed_charge_local_micro\n \n, \n \n \n clicks\n \n as \n \n clicks\n \n, \n \n \n date\n \n as \n \n date\n \n, \n \n \n impressions\n \n as \n \n impressions\n \n, \n \n \n placement\n \n as \n \n placement\n \n, \n \n \n promoted_tweet_id\n \n as \n \n promoted_tweet_id\n \n, \n \n \n url_clicks\n \n as \n \n url_clicks\n \n\n\n\n\n from source\n\n), spend_calc as (\n\n select\n timestamp_trunc(\n cast(date as timestamp),\n day\n ) as date_day,\n account_id,\n promoted_tweet_id,\n placement,\n clicks as clicks,\n impressions as impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks as url_clicks\n\n \n\n\n\n\n \n from renamed\n\n)\n\nselect * from spend_calc", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__tweet.sql", "original_file_path": "models/stg_twitter_ads__tweet.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet", "fqn": ["twitter_ads_source", "stg_twitter_ads__tweet"], "alias": "stg_twitter_ads__tweet", "checksum": {"name": "sha256", "checksum": "495071fcb565d9bcb5f607119259a6a0db5f562833a4c5b4e6b415947b763e21"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a tweet, promoted or not.", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "Unique identifier of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "If provided, the non-public title of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "full_text": {"name": "full_text", "description": "Full text of the tweet's content.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Two-letter language code of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.698601, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__tweet_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__tweet_tmp')),\n staging_columns=get_tweet_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n account_id,\n id as tweet_id,\n name,\n full_text,\n lang as language\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__tweet_tmp"], ["stg_twitter_ads__tweet_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_tweet_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__tweet.sql", "compiled": true, "compiled_code": "\n\nwith base as (\n\n select * \n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_tmp`\n),\n\nfields as (\n\n select\n \n \n \n account_id\n \n as \n \n account_id\n \n, \n \n \n full_text\n \n as \n \n full_text\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n lang\n \n as \n \n lang\n \n, \n \n \n name\n \n as \n \n name\n \n\n\n\n from base\n),\n\nfinal as (\n \n select \n account_id,\n id as tweet_id,\n name,\n full_text,\n lang as language\n\n from fields\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__account_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__account_history.sql", "original_file_path": "models/stg_twitter_ads__account_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__account_history"], "alias": "stg_twitter_ads__account_history", "checksum": {"name": "sha256", "checksum": "9ac9bf89b2163524505de7f16c38d7103b3af267458bf5190428238b25b87bd4"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each account. The versions can be differentiated by the updated_at timestamp.", "columns": {"approval_status": {"name": "approval_status", "description": "The approval status of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_id": {"name": "business_id", "description": "The ID of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_name": {"name": "business_name", "description": "The name of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry_type": {"name": "industry_type", "description": "The industry of the accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The timezone the account is set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_switched_timestamp": {"name": "timezone_switched_timestamp", "description": "The timestamp the account's timezone was last changed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "salt": {"name": "salt", "description": "The random encryption key used to hash data.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.61867, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__account_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__account_history_tmp')),\n staging_columns=get_account_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n business_id,\n business_name,\n created_at as created_timestamp,\n deleted as is_deleted,\n id as account_id,\n industry_type,\n name,\n salt,\n timezone,\n timezone_switch_at as timezone_switched_timestamp,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__account_history_tmp"], ["stg_twitter_ads__account_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_account_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history_tmp", "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__account_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n \n approval_status\n \n as \n \n approval_status\n \n, \n \n \n business_id\n \n as \n \n business_id\n \n, \n \n \n business_name\n \n as \n \n business_name\n \n, \n \n \n created_at\n \n as \n \n created_at\n \n, \n \n \n deleted\n \n as \n \n deleted\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n industry_type\n \n as \n \n industry_type\n \n, \n \n \n name\n \n as \n \n name\n \n, \n \n \n salt\n \n as \n \n salt\n \n, \n \n \n timezone\n \n as \n \n timezone\n \n, \n \n \n timezone_switch_at\n \n as \n \n timezone_switch_at\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n business_id,\n business_name,\n created_at as created_timestamp,\n deleted as is_deleted,\n id as account_id,\n industry_type,\n name,\n salt,\n timezone,\n timezone_switch_at as timezone_switched_timestamp,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n \n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet_url": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet_url", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__tweet_url.sql", "original_file_path": "models/stg_twitter_ads__tweet_url.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url", "fqn": ["twitter_ads_source", "stg_twitter_ads__tweet_url"], "alias": "stg_twitter_ads__tweet_url", "checksum": {"name": "sha256", "checksum": "96ff5a0344a66484694df8a7eff61312f4b5e5dd177f81470447d7a4698ee2d1"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a URL used in a tweet.", "columns": {"display_url": {"name": "display_url", "description": "The URL as it will be displayed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expanded_url": {"name": "expanded_url", "description": "The fully expanded URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "index": {"name": "index", "description": "The index of the URL within the tweet (ie if there are multiple URLs)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "indices": {"name": "indices", "description": "The start and end point of where the URL is placed in the tweet text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url": {"name": "url", "description": "The 't.co' shortened URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `expanded_url`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.6719282, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__tweet_url_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__tweet_url_tmp')),\n staging_columns=get_tweet_url_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n display_url,\n expanded_url,\n index,\n indices,\n tweet_id,\n url,\n {{ dbt.split_part('expanded_url', \"'?'\", 1) }} as base_url,\n {{ dbt_utils.get_url_host('expanded_url') }} as url_host,\n '/' || {{ dbt_utils.get_url_path('expanded_url') }} as url_path,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_source') }} as utm_source,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_medium') }} as utm_medium,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_campaign') }} as utm_campaign,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_content') }} as utm_content,\n {{ dbt_utils.get_url_parameter('expanded_url', 'utm_term') }} as utm_term\n \n from fields\n\n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__tweet_url_tmp"], ["stg_twitter_ads__tweet_url_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_tweet_url_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.split_part", "macro.dbt_utils.get_url_host", "macro.dbt_utils.get_url_path", "macro.dbt_utils.get_url_parameter"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__tweet_url.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n \n display_url\n \n as \n \n display_url\n \n, \n \n \n expanded_url\n \n as \n \n expanded_url\n \n, \n \n \n index\n \n as \n \n index\n \n, \n \n \n indices\n \n as \n \n indices\n \n, \n \n \n tweet_id\n \n as \n \n tweet_id\n \n, \n \n \n url\n \n as \n \n url\n \n\n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n display_url,\n expanded_url,\n index,\n indices,\n tweet_id,\n url,\n \n\n \n split(\n expanded_url,\n '?'\n )[safe_offset(0)]\n \n\n as base_url,\n \n safe_cast(\n\n \n split(\n \n\n \n split(\n \n\n replace(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'android-app://',\n ''\n )\n\n\n,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n )[safe_offset(0)]\n \n\n,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_host,\n '/' || \n safe_cast(\n\n \n split(\n \n\n case when \n\n length(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ) = 0\n then ''\n else\n substr(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n -1 * (\n\n length(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n\n )-coalesce(\n nullif(\n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '/'\n\n ), 0),\n \n\n strpos(\n \n\n replace(\n \n\n replace(\n expanded_url,\n 'http://',\n ''\n )\n\n\n,\n 'https://',\n ''\n )\n\n\n,\n '?'\n\n ) - 1\n ))\n )\n end,\n '?'\n )[safe_offset(0)]\n \n\n as STRING)\n as url_path,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_source='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_source,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_medium='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_medium,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_campaign='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_campaign,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_content='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_content,\n nullif(\n\n \n split(\n \n\n \n split(\n expanded_url,\n 'utm_term='\n )[safe_offset(1)]\n \n\n,\n '&'\n )[safe_offset(0)]\n \n\n,'') as utm_term\n \n from fields\n\n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_history", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__promoted_tweet_history.sql", "original_file_path": "models/stg_twitter_ads__promoted_tweet_history.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "fqn": ["twitter_ads_source", "stg_twitter_ads__promoted_tweet_history"], "alias": "stg_twitter_ads__promoted_tweet_history", "checksum": {"name": "sha256", "checksum": "c80a0cb29ef10133607a7a85d12f01b4a3dfe4100939746893a2ac56d17dd03b"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents a version of each promoted tweet. The versions can be differentiated by the updated_at timestamp.", "columns": {"approval_status": {"name": "approval_status", "description": "The approval status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_timestamp": {"name": "created_timestamp", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_deleted": {"name": "is_deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_timestamp": {"name": "updated_timestamp", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_latest_version": {"name": "is_latest_version", "description": "Whether the record is the most latest version for the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592113.656385, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nwith source as (\n\n select *\n from {{ ref('stg_twitter_ads__promoted_tweet_history_tmp') }}\n\n),\n\nfields as (\n\n select\n \n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__promoted_tweet_history_tmp')),\n staging_columns=get_promoted_tweet_history_columns()\n )\n }}\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n created_at as created_timestamp,\n deleted as is_deleted,\n entity_status,\n id as promoted_tweet_id,\n line_item_id,\n tweet_id,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n from fields \n)\n\nselect * from final", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_history_tmp"], ["stg_twitter_ads__promoted_tweet_history_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.twitter_ads_source.get_promoted_tweet_history_columns", "macro.fivetran_utils.fill_staging_columns"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads__promoted_tweet_history.sql", "compiled": true, "compiled_code": "\n\nwith source as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history_tmp`\n\n),\n\nfields as (\n\n select\n \n \n \n \n approval_status\n \n as \n \n approval_status\n \n, \n \n \n created_at\n \n as \n \n created_at\n \n, \n \n \n deleted\n \n as \n \n deleted\n \n, \n \n \n entity_status\n \n as \n \n entity_status\n \n, \n \n \n id\n \n as \n \n id\n \n, \n \n \n line_item_id\n \n as \n \n line_item_id\n \n, \n \n \n tweet_id\n \n as \n \n tweet_id\n \n, \n \n \n updated_at\n \n as \n \n updated_at\n \n\n\n\n\n from source\n\n), \n\nfinal as (\n\n select\n approval_status,\n created_at as created_timestamp,\n deleted as is_deleted,\n entity_status,\n id as promoted_tweet_id,\n line_item_id,\n tweet_id,\n updated_at as updated_timestamp,\n row_number() over (partition by id order by updated_at desc) = 1 as is_latest_version\n from fields \n)\n\nselect * from final", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet_url_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__tweet_url_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__tweet_url_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__tweet_url_tmp"], "alias": "stg_twitter_ads__tweet_url_tmp", "checksum": {"name": "sha256", "checksum": "9a7338e00449b6c913d5f3c059679ed5be9c64d82f22bb155f6b807124089552"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.850446, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('tweet_url') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "tweet_url"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__tweet_url_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_tweet_url_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__tweet_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__tweet_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__tweet_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__tweet_tmp"], "alias": "stg_twitter_ads__tweet_tmp", "checksum": {"name": "sha256", "checksum": "ed6397b8a2245ad4f4e79b75ed4ed8de08fdc4049d651c49e3849db6c073cafd"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.8640761, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('tweet') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "tweet"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.tweet"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__tweet_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_tweet_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__promoted_tweet_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__promoted_tweet_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__promoted_tweet_report_tmp"], "alias": "stg_twitter_ads__promoted_tweet_report_tmp", "checksum": {"name": "sha256", "checksum": "6bf2743294837bc2b2316127f2df7a40126f942a226653c2f7668e78d972856a"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.8760378, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('promoted_tweet_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "promoted_tweet_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__promoted_tweet_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_promoted_tweet_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__line_item_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__line_item_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__line_item_history_tmp"], "alias": "stg_twitter_ads__line_item_history_tmp", "checksum": {"name": "sha256", "checksum": "d796be56366271bfcc2f2d4d23b50372472b0e47a1ba5d62f09ea7218d842b07"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.8880372, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('line_item_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "line_item_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.line_item_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__line_item_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__campaign_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__campaign_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__campaign_report_tmp"], "alias": "stg_twitter_ads__campaign_report_tmp", "checksum": {"name": "sha256", "checksum": "cde4096c85a4069b4865fe37600bed81c625f2ec5e1cb91863d50888a217f562"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.899769, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('campaign_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "campaign_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__campaign_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_campaign_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__campaign_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__campaign_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__campaign_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__campaign_history_tmp"], "alias": "stg_twitter_ads__campaign_history_tmp", "checksum": {"name": "sha256", "checksum": "343754878288e6e847d9af5524d0dd1b09edffac90a7e83f0f8dbd610c028837"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.914646, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('campaign_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "campaign_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.campaign_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__campaign_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_campaign_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__line_item_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__line_item_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__line_item_report_tmp"], "alias": "stg_twitter_ads__line_item_report_tmp", "checksum": {"name": "sha256", "checksum": "9e053b03293d2511468496eb5fafd60ca8a3883594d2b2a24bb61862fb53c552"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.940578, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect * \nfrom {{ var('line_item_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "line_item_report"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__line_item_report_tmp.sql", "compiled": true, "compiled_code": "\n\nselect * \nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_report_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__account_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__account_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__account_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__account_history_tmp"], "alias": "stg_twitter_ads__account_history_tmp", "checksum": {"name": "sha256", "checksum": "76ca411a663d62ed96988cf38c0ea000cb691006c8a9f4a6c326f357d874a7fc"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.9536781, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('account_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "account_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.account_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__account_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_account_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__promoted_tweet_history_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__promoted_tweet_history_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__promoted_tweet_history_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__promoted_tweet_history_tmp"], "alias": "stg_twitter_ads__promoted_tweet_history_tmp", "checksum": {"name": "sha256", "checksum": "b528c88b68e5a01988e4fb4467e2298ac2be47cfe74ba3ac840044fd214f59da"}, "config": {"enabled": true, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": true}, "created_at": 1679592107.968933, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history_tmp`", "raw_code": "{{ config(enabled=var('ad_reporting__twitter_ads_enabled', True)) }}\n\nselect *\nfrom {{ var('promoted_tweet_history') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "promoted_tweet_history"]], "metrics": [], "depends_on": {"macros": [], "nodes": ["source.twitter_ads_source.twitter_ads.promoted_tweet_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/tmp/stg_twitter_ads__promoted_tweet_history_tmp.sql", "compiled": true, "compiled_code": "\n\nselect *\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_promoted_tweet_history_data`", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__campaign_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__campaign_group_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__campaign_group_report.sql", "original_file_path": "models/linkedin_ads__campaign_group_report.sql", "unique_id": "model.linkedin.linkedin_ads__campaign_group_report", "fqn": ["linkedin", "linkedin_ads__campaign_group_report"], "alias": "linkedin_ads__campaign_group_report", "checksum": {"name": "sha256", "checksum": "bc4b9b9b612d1fbbecffc8059005e832e333df998e1b9aad50a3a2dc71125885"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign group level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign group was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_backfilled": {"name": "is_backfilled", "description": "Flag that denotes whether the campaign group was created organically or to backfill existing campaigns. This is a read-only field set by the system. Default = false.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Represents the inclusive (greater than or equal to) date when to start running the associated campaigns under this campaign group. This field is required.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Represents the exclusive (strictly less than) date when to stop running the associated campaigns under this campaign group. If this field is unset, it indicates an open range with no end date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679592113.90656, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith campaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_campaign') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign_group.status,\n account.currency,\n campaign_group.is_backfilled,\n campaign_group.run_schedule_start_at,\n campaign_group.run_schedule_end_at,\n campaign_group.last_modified_at,\n campaign_group.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__campaign_passthrough_metrics', transform='sum') }}\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=12) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__campaign_group_report.sql", "compiled": true, "compiled_code": "\n\nwith campaign_group as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n),\n\nfinal as (\n\n select \n report.date_day,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign_group.status,\n account.currency,\n campaign_group.is_backfilled,\n campaign_group.run_schedule_start_at,\n campaign_group.run_schedule_end_at,\n campaign_group.last_modified_at,\n campaign_group.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__creative_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__creative_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__creative_report.sql", "original_file_path": "models/linkedin_ads__creative_report.sql", "unique_id": "model.linkedin.linkedin_ads__creative_report", "fqn": ["linkedin", "linkedin_ads__creative_report"], "alias": "linkedin_ads__creative_report", "checksum": {"name": "sha256", "checksum": "b26a8cdc9a22aa02669ce679a04866936c6507f7fe690dc9d63548f716b90546"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the creative level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the creative was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_status": {"name": "creative_status", "description": "ACTIVE - Creative creation is complete and creative is available for review and serve.\nPAUSED - Creative creation is complete and creative is current, but should temporarily not be served. This status is not valid upon creation.\nDRAFT - Creative creation is incomplete and may still be edited.\nARCHIVED - Creative creation is complete, but creative should not be served and should be separated from non-archived creatives in any UI.\nCANCELED - Creative is permanently canceled.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_status": {"name": "campaign_group_status", "description": "Status of campaign's campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679592113.917974, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith creative as (\n\n select *\n from {{ var('creative_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_creative') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n report.creative_id,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n creative.click_uri,\n creative.status as creative_status,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n account.currency,\n creative.last_modified_at,\n creative.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__creative_passthrough_metrics', transform='sum') }}\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=15) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__creative_report.sql", "compiled": true, "compiled_code": "\n\nwith creative as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\n),\n\nfinal as (\n\n select \n report.date_day,\n report.creative_id,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n creative.click_uri,\n creative.status as creative_status,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n account.currency,\n creative.last_modified_at,\n creative.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__campaign_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__campaign_report.sql", "original_file_path": "models/linkedin_ads__campaign_report.sql", "unique_id": "model.linkedin.linkedin_ads__campaign_report", "fqn": ["linkedin", "linkedin_ads__campaign_report"], "alias": "linkedin_ads__campaign_report", "checksum": {"name": "sha256", "checksum": "15ad6570f58a75635d27ffe051c6d6c5cca74ef7b42d5a9ddc69929f1bc0dc03"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the campaign level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_status": {"name": "campaign_group_status", "description": "Status of campaign's campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_audience_expansion_enabled": {"name": "is_audience_expansion_enabled", "description": "Boolean (default=false) representing whether Audience Expansion is enabled for the campaign provides query expansion for certain targeting criteria.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_type": {"name": "cost_type", "description": "CPM - Cost per thousand advertising impressions. If type=SPONSORED_INMAILS; cost per send(CPS) is measured as CPM x 1000.\nCPC- Cost per individual click on the associated link.\nCPV- Cost per view for video ads.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_selection": {"name": "creative_selection", "description": "ROUND_ROBIN - Rotate through available creatives to serve them as evenly as possible.\nOPTIMIZED (default) - Bias selection taking into account such as expected performance. Not available for Message and Conversation Ads (type=SPONSORED_INMAILS).\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "Maximum amount to spend per day UTC. The amount of money as a real number string.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_currency_code": {"name": "daily_budget_currency_code", "description": "ISO currency code. The currency must match that of the parent account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "format": {"name": "format", "description": "The ad format on the campaign level. See https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/campaign-formats?view=li-lms-2022-07", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_country": {"name": "locale_country", "description": "Locale of the campaign. An uppercase two-letter country code as defined by ISO-3166.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_language": {"name": "locale_language", "description": "Locale of the campaign. A lowercase two-letter language code as defined by ISO-639.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Campaign Objective type values. Click [here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ad-budget-pricing-type-combinations?view=li-lms-2022-07) for Campaign Objective descriptions. One of: - BRAND_AWARENESS - ENGAGEMENT - JOB_APPLICANTS - LEAD_GENERATION - WEBSITE_CONVERSIONS - WEBSITE_VISITS - VIDEO_VIEWS\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_offsite_delivery_enabled": {"name": "is_offsite_delivery_enabled", "description": "Boolean indicating if this campaign to allowed to be served on the LinkedIn Audience Network to extend the reach of your campaign by delivering ads beyond the LinkedIn feed to members on third-party apps and sites.\t(default will be \"True\" from June 30, 2022)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_target_type": {"name": "optimization_target_type", "description": "Determines how this campaign is optimized for spending. If this is not set, there is no optimization. Refer to the documentation here. Default = 'NONE'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start_at": {"name": "run_schedule_start_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the inclusive (greater than or equal to) value in which to start the range.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end_at": {"name": "run_schedule_end_at", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the exclusive (strictly less than) value in which to end the range, if provided.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text-based ads that show up in the right column or top of the page on LinkedIn.\nSPONSORED_UPDATES - Native ads that promote a company's content updates in the LinkedIn feed.\nSPONSORED_INMAILS - Personalized messages with a call-to-action button delivered to a LinkedIn's member inbox.\nDYNAMIC - Ads that are dynamically personalized.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_amount": {"name": "unit_cost_amount", "description": "This value is used as one of the following: amount to bid (for manual bidding), amount which is the target cost (for target cost bidding) per click, impression, or other event depending on the pricing model, or cost cap (for cost cap bidding). The amount of money as a real number string. The amount should be non-negative if the bidding strategy is manual, target cost, or cost cap bidding. The default is 0 with the currency code set to match that of the associated account.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_currency_code": {"name": "unit_cost_currency_code", "description": "Amount to bid per click, impression, or other event depending on the pricing model. The default is 0 with the currency code set to match that of the associated account. ISO currency code.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679592113.897322, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith campaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_campaign') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n report.campaign_id,\n campaign.campaign_name,\n campaign.version_tag,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n campaign.type,\n campaign.cost_type,\n campaign.creative_selection,\n campaign.daily_budget_amount,\n campaign.daily_budget_currency_code,\n campaign.unit_cost_amount,\n campaign.unit_cost_currency_code,\n account.currency,\n campaign.format,\n campaign.locale_country,\n campaign.locale_language,\n campaign.objective_type,\n campaign.optimization_target_type,\n campaign.is_audience_expansion_enabled,\n campaign.is_offsite_delivery_enabled,\n campaign.run_schedule_start_at,\n campaign.run_schedule_end_at,\n campaign.last_modified_at,\n campaign.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__campaign_passthrough_metrics', transform='sum') }}\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=29) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__campaign_report.sql", "compiled": true, "compiled_code": "\n\nwith campaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n),\n\nfinal as (\n\n select \n report.date_day,\n report.campaign_id,\n campaign.campaign_name,\n campaign.version_tag,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n campaign.status as campaign_status,\n campaign_group.status as campaign_group_status,\n campaign.type,\n campaign.cost_type,\n campaign.creative_selection,\n campaign.daily_budget_amount,\n campaign.daily_budget_currency_code,\n campaign.unit_cost_amount,\n campaign.unit_cost_currency_code,\n account.currency,\n campaign.format,\n campaign.locale_country,\n campaign.locale_language,\n campaign.objective_type,\n campaign.optimization_target_type,\n campaign.is_audience_expansion_enabled,\n campaign.is_offsite_delivery_enabled,\n campaign.run_schedule_start_at,\n campaign.run_schedule_end_at,\n campaign.last_modified_at,\n campaign.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__account_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__account_report.sql", "original_file_path": "models/linkedin_ads__account_report.sql", "unique_id": "model.linkedin.linkedin_ads__account_report", "fqn": ["linkedin", "linkedin_ads__account_report"], "alias": "linkedin_ads__account_report", "checksum": {"name": "sha256", "checksum": "081d8687fbed2359f5893891308f9b3a0f25a7982a8b206f416f1a60d5c1aa6f"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Account is active; this is the default state\nCANCELLED - Account has been permanently cancelled\nDRAFT - Account is in draft status, meaning it's not yet fully set up and it is not serving\nPENDING_DELETION - Denotes that the account has been requested to be deleted that is currently pending\nREMOVED - Denotes that the account was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "BUSINESS - This is the only value allowed when creating accounts through the API.\nENTERPRISE - This value cannot be used to create accounts through the API and is reserved for accounts created by LinkedIn's internal ad operations systems.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679592113.878293, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith account as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_campaign') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n account.account_id,\n account.account_name,\n account.version_tag,\n account.currency,\n account.status,\n account.type,\n account.last_modified_at,\n account.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__campaign_passthrough_metrics', transform='sum') }}\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join account \n on campaign.account_id = account.account_id\n\n {{ dbt_utils.group_by(n=9) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__account_report.sql", "compiled": true, "compiled_code": "\n\nwith account as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n),\n\nfinal as (\n\n select \n report.date_day,\n account.account_id,\n account.account_name,\n account.version_tag,\n account.currency,\n account.status,\n account.type,\n account.last_modified_at,\n account.created_at,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join campaign \n on report.campaign_id = campaign.campaign_id\n left join account \n on campaign.account_id = account.account_id\n\n group by 1,2,3,4,5,6,7,8,9\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "model.linkedin.linkedin_ads__url_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_linkedin_ads", "name": "linkedin_ads__url_report", "resource_type": "model", "package_name": "linkedin", "path": "linkedin_ads__url_report.sql", "original_file_path": "models/linkedin_ads__url_report.sql", "unique_id": "model.linkedin.linkedin_ads__url_report", "fqn": ["linkedin", "linkedin_ads__url_report"], "alias": "linkedin_ads__url_report", "checksum": {"name": "sha256", "checksum": "5d1a214e518e069a00ff59afdcf160a87798e6042b2b43291ebe284d2de6383e"}, "config": {"enabled": true, "alias": null, "schema": "linkedin_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the url level.", "columns": {"account_name": {"name": "account_name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "The cost of the ads in the local currency or USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_name": {"name": "campaign_group_name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_url": {"name": "base_url", "description": "The base URL of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_host": {"name": "url_host", "description": "The URL host of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_path": {"name": "url_path", "description": "The URL path of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_source": {"name": "utm_source", "description": "The utm_source parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_medium": {"name": "utm_medium", "description": "The utm_medium parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_campaign": {"name": "utm_campaign", "description": "The utm_campaign parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_content": {"name": "utm_content", "description": "The utm_content parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "utm_term": {"name": "utm_term", "description": "The utm_term parameter of the ad, extracted from the `click_uri`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "A label for the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Unique internal ID representing the creative's campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "linkedin://models/linkedin.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "linkedin_ads", "enabled": true}, "created_at": 1679592113.93149, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`", "raw_code": "{{ config(enabled=var('ad_reporting__linkedin_ads_enabled', True)) }}\n\nwith creative as (\n\n select *\n from {{ var('creative_history') }}\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from {{ var('campaign_group_history') }}\n where is_latest_version\n),\n\naccount as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nreport as (\n\n select *\n from {{ var('ad_analytics_by_creative') }}\n),\n\nfinal as (\n\n select \n report.date_day,\n creative.click_uri,\n creative.base_url,\n creative.url_host,\n creative.url_path,\n creative.utm_source,\n creative.utm_medium,\n creative.utm_campaign,\n creative.utm_content,\n creative.utm_term,\n report.creative_id,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n account.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n {{ fivetran_utils.persist_pass_through_columns('linkedin_ads__creative_passthrough_metrics', transform='sum') }}\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n {% if var('ad_reporting__url_report__using_null_filter', True) %}\n where creative.click_uri is not null\n {% endif %}\n\n {{ dbt_utils.group_by(n=18) }}\n\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"], ["stg_linkedin_ads__campaign_history"], ["stg_linkedin_ads__campaign_group_history"], ["stg_linkedin_ads__account_history"], ["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin/models/linkedin_ads__url_report.sql", "compiled": true, "compiled_code": "\n\nwith creative as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\n where is_latest_version\n),\n\ncampaign as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n where is_latest_version\n),\n\ncampaign_group as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n where is_latest_version\n),\n\naccount as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n where is_latest_version\n),\n\nreport as (\n\n select *\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\n),\n\nfinal as (\n\n select \n report.date_day,\n creative.click_uri,\n creative.base_url,\n creative.url_host,\n creative.url_path,\n creative.utm_source,\n creative.utm_medium,\n creative.utm_campaign,\n creative.utm_content,\n creative.utm_term,\n report.creative_id,\n campaign.campaign_id,\n campaign.campaign_name,\n campaign_group.campaign_group_id,\n campaign_group.campaign_group_name,\n account.account_id,\n account.account_name,\n account.currency,\n sum(report.clicks) as clicks,\n sum(report.impressions) as impressions,\n sum(report.cost) as cost\n\n \n\n\n\n\n \n from report \n left join creative \n on report.creative_id = creative.creative_id\n left join campaign \n on creative.campaign_id = campaign.campaign_id\n left join campaign_group\n on campaign.campaign_group_id = campaign_group.campaign_group_id\n left join account \n on campaign.account_id = account.account_id\n\n \n where creative.click_uri is not null\n \n\n group by 1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18\n\n)\n\nselect *\nfrom final", "extra_ctes_injected": true, "extra_ctes": []}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__account_history_account_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__account_history_account_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__account_history_account_id"], "alias": "not_null_stg_microsoft_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.356489, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_microsoft_ads__account_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at"], "alias": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7"}, "created_at": 1679592108.3604019, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7\") }}", "language": "sql", "refs": [["stg_microsoft_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_11cb28b23f58e7c1362184b4fa6c2fe7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_history`\n group by account_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__account_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__account_daily_report_account_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__account_daily_report_account_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__account_daily_report_account_id"], "alias": "not_null_stg_microsoft_ads__account_daily_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.3817558, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__account_daily_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_microsoft_ads__account_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "device_os", "device_type", "network", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__account_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3"}, "created_at": 1679592108.3856242, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3\") }}", "language": "sql", "refs": [["stg_microsoft_ads__account_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_cc3a3d15707b6220c07fd845626d47d3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__account_daily_report`\n group by date_day, account_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__account_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_microsoft_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.3982348, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_microsoft_ads__ad_group_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at"], "alias": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb"}, "created_at": 1679592108.4014752, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_29c954196a0dc02a0d6371d1a73027bb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_history`\n group by ad_group_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_group_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id"], "alias": "not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.4102578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_microsoft_ads__ad_group_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "device_os", "device_type", "network", "language", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_group_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016"}, "created_at": 1679592108.413652, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_group_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_3da4052d148940c4b772fa07b9cd0016.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_group_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_group_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_history_ad_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_history_ad_id"], "alias": "not_null_stg_microsoft_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.428279, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_microsoft_ads__ad_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at"], "alias": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb"}, "created_at": 1679592108.431573, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_dccf83ffe0fa59cf437b9dc8e3b754cb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_history`\n group by ad_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__ad_daily_report_ad_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__ad_daily_report_ad_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__ad_daily_report_ad_id"], "alias": "not_null_stg_microsoft_ads__ad_daily_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.439977, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__ad_daily_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_microsoft_ads__ad_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "device_os", "device_type", "network", "language", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__ad_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269"}, "created_at": 1679592108.443657, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269\") }}", "language": "sql", "refs": [["stg_microsoft_ads__ad_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_29e31bfeb4535a5db2d2c94e28201269.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__ad_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__ad_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__campaign_history_campaign_id"], "alias": "not_null_stg_microsoft_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.4595149, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_microsoft_ads__campaign_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at"], "alias": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0"}, "created_at": 1679592108.462813, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0\") }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_9884c7b093c29b10bef342a8424fc7e0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_history`\n group by campaign_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__campaign_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id"], "alias": "not_null_stg_microsoft_ads__campaign_daily_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.471339, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_microsoft_ads__campaign_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "device_os", "device_type", "network", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other", "budget_association_status"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__campaign_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status"], "alias": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27"}, "created_at": 1679592108.4748049, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27\") }}", "language": "sql", "refs": [["stg_microsoft_ads__campaign_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_3d58d273ca86ec068f90d76d9e472d27.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other, budget_association_status\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__campaign_daily_report`\n group by date_day, account_id, campaign_id, device_os, device_type, network, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other, budget_association_status\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__campaign_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__keyword_history_keyword_id"], "alias": "not_null_stg_microsoft_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.490447, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_microsoft_ads__keyword_history"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at"], "alias": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67"}, "created_at": 1679592108.4938931, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67\") }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_92d3a0a582798627a8df5ec246b5ec67.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_history`\n group by keyword_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__keyword_history"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id"], "alias": "not_null_stg_microsoft_ads__keyword_daily_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.50219, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_microsoft_ads__keyword_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "device_os", "device_type", "network", "language", "currency_code", "ad_distribution", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__keyword_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7"}, "created_at": 1679592108.505812, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7\") }}", "language": "sql", "refs": [["stg_microsoft_ads__keyword_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_9a7282cfedb49cdf2e4d14422bce0ed7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__keyword_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, language, currency_code, ad_distribution, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__keyword_daily_report"}, "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_query", "model": "{{ get_where_subquery(ref('stg_microsoft_ads__search_daily_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_microsoft_ads__search_daily_report_search_query", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "not_null_stg_microsoft_ads__search_daily_report_search_query.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc", "fqn": ["microsoft_ads_source", "not_null_stg_microsoft_ads__search_daily_report_search_query"], "alias": "not_null_stg_microsoft_ads__search_daily_report_search_query", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.521802, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/not_null_stg_microsoft_ads__search_daily_report_search_query.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_query\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`\nwhere search_query is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_query", "file_key_name": "models.stg_microsoft_ads__search_daily_report"}, "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "search_query", "device_os", "device_type", "network", "language", "bid_match_type", "delivered_match_type", "top_vs_other"], "model": "{{ get_where_subquery(ref('stg_microsoft_ads__search_daily_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other", "resource_type": "test", "package_name": "microsoft_ads_source", "path": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379.sql", "original_file_path": "models/stg_microsoft_ads.yml", "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c", "fqn": ["microsoft_ads_source", "dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other"], "alias": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379"}, "created_at": 1679592108.5259929, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379\") }}", "language": "sql", "refs": [["stg_microsoft_ads__search_daily_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"]}, "compiled_path": "target/compiled/microsoft_ads_source/models/stg_microsoft_ads.yml/dbt_utils_unique_combination_o_b05df3e2693998bbea08961dfab31379.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, language, bid_match_type, delivered_match_type, top_vs_other\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads_source`.`stg_microsoft_ads__search_daily_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, language, bid_match_type, delivered_match_type, top_vs_other\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_microsoft_ads__search_daily_report"}, "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__advertiser_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__advertiser_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99", "fqn": ["tiktok_ads", "not_null_tiktok_ads__advertiser_report_date_day"], "alias": "not_null_tiktok_ads__advertiser_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.774512, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__advertiser_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__advertiser_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__advertiser_report"}, "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('tiktok_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__advertiser_report_advertiser_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__advertiser_report_advertiser_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce", "fqn": ["tiktok_ads", "not_null_tiktok_ads__advertiser_report_advertiser_id"], "alias": "not_null_tiktok_ads__advertiser_report_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.777946, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__advertiser_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__advertiser_report_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.tiktok_ads__advertiser_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__advertiser_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89"}, "created_at": 1679592108.7813041, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89\") }}", "language": "sql", "refs": [["tiktok_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__advertiser_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_64e56e18897a7d7395bde426b0634f89.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__advertiser_report`\n group by advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__advertiser_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__ad_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_report_date_day"], "alias": "not_null_tiktok_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.7903519, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__ad_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__ad_report_ad_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_report_ad_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_report_ad_id"], "alias": "not_null_tiktok_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.794334, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.tiktok_ads__ad_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85"}, "created_at": 1679592108.797821, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85\") }}", "language": "sql", "refs": [["tiktok_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_ef4585527dd6080f5f2e4d7aa8408c85.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_report`\n group by ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__ad_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_group_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_group_report_date_day"], "alias": "not_null_tiktok_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.808854, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_group_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__ad_group_report"}, "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('tiktok_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4", "fqn": ["tiktok_ads", "not_null_tiktok_ads__ad_group_report_ad_group_id"], "alias": "not_null_tiktok_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.812286, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_group_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.tiktok_ads__ad_group_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0"}, "created_at": 1679592108.8157141, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0\") }}", "language": "sql", "refs": [["tiktok_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__ad_group_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_61fb67766378fce3f732a5c7a2a8cec0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__ad_group_report`\n group by ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__ad_group_report"}, "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__campaign_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__campaign_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836", "fqn": ["tiktok_ads", "not_null_tiktok_ads__campaign_report_date_day"], "alias": "not_null_tiktok_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.825664, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__campaign_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__campaign_report"}, "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('tiktok_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__campaign_report_campaign_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8", "fqn": ["tiktok_ads", "not_null_tiktok_ads__campaign_report_campaign_id"], "alias": "not_null_tiktok_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.8294551, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__campaign_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.tiktok_ads__campaign_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645"}, "created_at": 1679592108.8329222, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645\") }}", "language": "sql", "refs": [["tiktok_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__campaign_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_65ff4fe3d3440b03aa9c35fc3e4bc645.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__campaign_report`\n group by campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__campaign_report"}, "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__url_report_date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__url_report_date_day.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff", "fqn": ["tiktok_ads", "not_null_tiktok_ads__url_report_date_day"], "alias": "not_null_tiktok_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.842166, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.tiktok_ads__url_report"}, "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__url_report_ad_id", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__url_report_ad_id.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0", "fqn": ["tiktok_ads", "not_null_tiktok_ads__url_report_ad_id"], "alias": "not_null_tiktok_ads__url_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.845899, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__url_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.tiktok_ads__url_report"}, "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_tiktok_ads__url_report_base_url", "resource_type": "test", "package_name": "tiktok_ads", "path": "not_null_tiktok_ads__url_report_base_url.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b", "fqn": ["tiktok_ads", "not_null_tiktok_ads__url_report_base_url"], "alias": "not_null_tiktok_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592108.850233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/not_null_tiktok_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.tiktok_ads__url_report"}, "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('tiktok_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "tiktok_ads", "path": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50.sql", "original_file_path": "models/tiktok_ads.yml", "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47", "fqn": ["tiktok_ads", "dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50"}, "created_at": 1679592108.85536, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50\") }}", "language": "sql", "refs": [["tiktok_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads.tiktok_ads__url_report"]}, "compiled_path": "target/compiled/tiktok_ads/models/tiktok_ads.yml/dbt_utils_unique_combination_o_1cddc99c1bc045b4142e991924c5fa50.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_tiktok_ads`.`tiktok_ads__url_report`\n group by ad_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.tiktok_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__campaign_report_campaign_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8", "fqn": ["twitter_ads", "not_null_twitter_ads__campaign_report_campaign_id"], "alias": "not_null_twitter_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.9684322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__campaign_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__campaign_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0", "fqn": ["twitter_ads", "not_null_twitter_ads__campaign_report_date_day"], "alias": "not_null_twitter_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.97246, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__campaign_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__campaign_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82", "fqn": ["twitter_ads", "not_null_twitter_ads__campaign_report_placement"], "alias": "not_null_twitter_ads__campaign_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.975819, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__campaign_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "placement", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id"], "alias": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63"}, "created_at": 1679592108.979103, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63\") }}", "language": "sql", "refs": [["twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_f0c2d7aacdea4290554fab175e962a63.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, placement, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__campaign_report`\n group by date_day, campaign_id, placement, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__campaign_report"}, "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__line_item_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__line_item_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce", "fqn": ["twitter_ads", "not_null_twitter_ads__line_item_report_date_day"], "alias": "not_null_twitter_ads__line_item_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.988829, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__line_item_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "line_item_id", "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__line_item_report_line_item_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__line_item_report_line_item_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211", "fqn": ["twitter_ads", "not_null_twitter_ads__line_item_report_line_item_id"], "alias": "not_null_twitter_ads__line_item_report_line_item_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.9922822, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__line_item_report_line_item_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect line_item_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\nwhere line_item_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "line_item_id", "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__line_item_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__line_item_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312", "fqn": ["twitter_ads", "not_null_twitter_ads__line_item_report_placement"], "alias": "not_null_twitter_ads__line_item_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592108.996025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__line_item_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "line_item_id", "placement", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__line_item_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168"}, "created_at": 1679592108.999298, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168\") }}", "language": "sql", "refs": [["twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_fe15946b61e393e614a50ba3e361c168.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, line_item_id, placement, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__line_item_report`\n group by date_day, line_item_id, placement, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__line_item_report"}, "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__account_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__account_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846", "fqn": ["twitter_ads", "not_null_twitter_ads__account_report_date_day"], "alias": "not_null_twitter_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.0099041, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__account_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__account_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194", "fqn": ["twitter_ads", "not_null_twitter_ads__account_report_placement"], "alias": "not_null_twitter_ads__account_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.013779, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__account_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__account_report_account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__account_report_account_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908", "fqn": ["twitter_ads", "not_null_twitter_ads__account_report_account_id"], "alias": "not_null_twitter_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.017216, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "placement"], "model": "{{ get_where_subquery(ref('twitter_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement"], "alias": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f"}, "created_at": 1679592109.022034, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f\") }}", "language": "sql", "refs": [["twitter_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__account_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_75283810b353bfd3176c68c506c1da2f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, placement\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__account_report`\n group by date_day, account_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__account_report"}, "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__keyword_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__keyword_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec", "fqn": ["twitter_ads", "not_null_twitter_ads__keyword_report_date_day"], "alias": "not_null_twitter_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.0331788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "column_name": "date_day", "file_key_name": "models.twitter_ads__keyword_report"}, "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('twitter_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__keyword_report_keyword_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538", "fqn": ["twitter_ads", "not_null_twitter_ads__keyword_report_keyword_id"], "alias": "not_null_twitter_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.036702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "column_name": "keyword_id", "file_key_name": "models.twitter_ads__keyword_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id", "campaign_id"], "model": "{{ get_where_subquery(ref('twitter_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id"], "alias": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1"}, "created_at": 1679592109.040612, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5dd02ea4aea03fbc902c8987427642b1\") }}", "language": "sql", "refs": [["twitter_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": []}, "compiled_path": null, "column_name": null, "file_key_name": "models.twitter_ads__keyword_report"}, "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__promoted_tweet_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__promoted_tweet_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5", "fqn": ["twitter_ads", "not_null_twitter_ads__promoted_tweet_report_placement"], "alias": "not_null_twitter_ads__promoted_tweet_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.0506198, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__promoted_tweet_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__promoted_tweet_report"}, "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e", "fqn": ["twitter_ads", "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id"], "alias": "not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.054369, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.twitter_ads__promoted_tweet_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "promoted_tweet_id", "placement", "line_item_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__promoted_tweet_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1"}, "created_at": 1679592109.058811, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1\") }}", "language": "sql", "refs": [["twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_b6b8c6a3d568e7fb95f74b1851950fe1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__promoted_tweet_report`\n group by date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__promoted_tweet_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__url_report_date_day", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_date_day.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_date_day"], "alias": "not_null_twitter_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.0694132, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__url_report_placement", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_placement.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_placement"], "alias": "not_null_twitter_ads__url_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.0728471, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__url_report_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_promoted_tweet_id.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_promoted_tweet_id"], "alias": "not_null_twitter_ads__url_report_promoted_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.0761359, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_promoted_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_twitter_ads__url_report_base_url", "resource_type": "test", "package_name": "twitter_ads", "path": "not_null_twitter_ads__url_report_base_url.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e", "fqn": ["twitter_ads", "not_null_twitter_ads__url_report_base_url"], "alias": "not_null_twitter_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592109.0807538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/not_null_twitter_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.twitter_ads__url_report"}, "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "promoted_tweet_id", "placement", "line_item_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('twitter_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id", "resource_type": "test", "package_name": "twitter_ads", "path": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7.sql", "original_file_path": "models/twitter.yml", "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff", "fqn": ["twitter_ads", "dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7"}, "created_at": 1679592109.084946, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7\") }}", "language": "sql", "refs": [["twitter_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads.twitter_ads__url_report"]}, "compiled_path": "target/compiled/twitter_ads/models/twitter.yml/dbt_utils_unique_combination_o_1e39c518397cb3ec9468966307298ff7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__url_report`\n group by date_day, promoted_tweet_id, placement, line_item_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.twitter_ads__url_report"}, "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__account_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__account_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90", "fqn": ["reddit_ads", "not_null_reddit_ads__account_report_date_day"], "alias": "not_null_reddit_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.148404, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__account_report"}, "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('reddit_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__account_report_account_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__account_report_account_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5", "fqn": ["reddit_ads", "not_null_reddit_ads__account_report_account_id"], "alias": "not_null_reddit_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.151743, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.reddit_ads__account_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "attribution_type", "currency", "status", "time_zone_id"], "model": "{{ get_where_subquery(ref('reddit_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id"], "alias": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c"}, "created_at": 1679592109.156563, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c\") }}", "language": "sql", "refs": [["reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_3d8bb3cd9b494e634cbe651b87c95c5c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, attribution_type, currency, status, time_zone_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__account_report`\n group by date_day, account_id, attribution_type, currency, status, time_zone_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__account_report"}, "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_group_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_group_report_date_day"], "alias": "not_null_reddit_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.371555, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__ad_group_report"}, "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('reddit_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_group_report_ad_group_id"], "alias": "not_null_reddit_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.378025, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.reddit_ads__ad_group_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "ad_group_id", "campaign_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency"], "alias": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85"}, "created_at": 1679592109.393762, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85\") }}", "language": "sql", "refs": [["reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_26ca3532f8a33d2fce6b4615a82a8a85.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, ad_group_id, campaign_id, currency\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_group_report`\n group by date_day, account_id, ad_group_id, campaign_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__ad_group_report"}, "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__ad_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_report_date_day"], "alias": "not_null_reddit_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.40502, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__ad_report"}, "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('reddit_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__ad_report_ad_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__ad_report_ad_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e", "fqn": ["reddit_ads", "not_null_reddit_ads__ad_report_ad_id"], "alias": "not_null_reddit_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.409006, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.reddit_ads__ad_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_id", "post_id", "account_id", "ad_group_id", "campaign_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency"], "alias": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff"}, "created_at": 1679592109.415147, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff\") }}", "language": "sql", "refs": [["reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_4eab5cc4f2139517296d6ffd11d624ff.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_id, post_id, account_id, ad_group_id, campaign_id, currency\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__ad_report`\n group by date_day, ad_id, post_id, account_id, ad_group_id, campaign_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__ad_report"}, "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__campaign_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__campaign_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131", "fqn": ["reddit_ads", "not_null_reddit_ads__campaign_report_date_day"], "alias": "not_null_reddit_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.431898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__campaign_report"}, "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('reddit_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__campaign_report_campaign_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49", "fqn": ["reddit_ads", "not_null_reddit_ads__campaign_report_campaign_id"], "alias": "not_null_reddit_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.435668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.reddit_ads__campaign_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency"], "alias": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e"}, "created_at": 1679592109.439011, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e\") }}", "language": "sql", "refs": [["reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_0738174addeafd145c0eef0d3f4e9f8e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, currency\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__campaign_report`\n group by date_day, account_id, campaign_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__campaign_report"}, "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__url_report_date_day", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__url_report_date_day.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da", "fqn": ["reddit_ads", "not_null_reddit_ads__url_report_date_day"], "alias": "not_null_reddit_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.450233, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.reddit_ads__url_report"}, "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__url_report_ad_id", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__url_report_ad_id.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0", "fqn": ["reddit_ads", "not_null_reddit_ads__url_report_ad_id"], "alias": "not_null_reddit_ads__url_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.454428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__url_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.reddit_ads__url_report"}, "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_reddit_ads__url_report_base_url", "resource_type": "test", "package_name": "reddit_ads", "path": "not_null_reddit_ads__url_report_base_url.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb", "fqn": ["reddit_ads", "not_null_reddit_ads__url_report_base_url"], "alias": "not_null_reddit_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592109.4603531, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/not_null_reddit_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.reddit_ads__url_report"}, "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "click_url", "ad_id", "account_id", "ad_group_id", "campaign_id", "post_id", "currency"], "model": "{{ get_where_subquery(ref('reddit_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency", "resource_type": "test", "package_name": "reddit_ads", "path": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f.sql", "original_file_path": "models/reddit_ads.yml", "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958", "fqn": ["reddit_ads", "dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency"], "alias": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f"}, "created_at": 1679592109.4642901, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f\") }}", "language": "sql", "refs": [["reddit_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads.reddit_ads__url_report"]}, "compiled_path": "target/compiled/reddit_ads/models/reddit_ads.yml/dbt_utils_unique_combination_o_7c37e73689ac90ae73618b69a9503d2f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, click_url, ad_id, account_id, ad_group_id, campaign_id, post_id, currency\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads`.`reddit_ads__url_report`\n group by date_day, click_url, ad_id, account_id, ad_group_id, campaign_id, post_id, currency\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.reddit_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__url_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__url_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e", "fqn": ["pinterest", "not_null_pinterest_ads__url_report_date_day"], "alias": "not_null_pinterest_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.54546, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "destination_url", "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__url_report_destination_url", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__url_report_destination_url.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502", "fqn": ["pinterest", "not_null_pinterest_ads__url_report_destination_url"], "alias": "not_null_pinterest_ads__url_report_destination_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592109.5498428, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__url_report_destination_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect destination_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\nwhere destination_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "destination_url", "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__url_report_pin_promotion_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__url_report_pin_promotion_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a", "fqn": ["pinterest", "not_null_pinterest_ads__url_report_pin_promotion_id"], "alias": "not_null_pinterest_ads__url_report_pin_promotion_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.553653, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__url_report_pin_promotion_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4"}, "created_at": 1679592109.55912, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4\") }}", "language": "sql", "refs": [["pinterest_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__url_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_21473120856be0adc6b82e83f018c3a4.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__url_report`\n group by pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__url_report"}, "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__ad_group_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7", "fqn": ["pinterest", "not_null_pinterest_ads__ad_group_report_date_day"], "alias": "not_null_pinterest_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.569759, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__ad_group_report"}, "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2", "fqn": ["pinterest", "not_null_pinterest_ads__ad_group_report_ad_group_id"], "alias": "not_null_pinterest_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.573097, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.pinterest_ads__ad_group_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "advertiser_id", "campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506"}, "created_at": 1679592109.576549, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506\") }}", "language": "sql", "refs": [["pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_54d3e3ee8528adecb1b6bc6aef476506.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, advertiser_id, campaign_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__ad_group_report`\n group by ad_group_id, advertiser_id, campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__ad_group_report"}, "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__campaign_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__campaign_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf", "fqn": ["pinterest", "not_null_pinterest_ads__campaign_report_date_day"], "alias": "not_null_pinterest_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.58707, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__campaign_report"}, "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__campaign_report_campaign_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2", "fqn": ["pinterest", "not_null_pinterest_ads__campaign_report_campaign_id"], "alias": "not_null_pinterest_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.591163, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.pinterest_ads__campaign_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334"}, "created_at": 1679592109.594728, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334\") }}", "language": "sql", "refs": [["pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_87addc13a4108165c61e6604961b7334.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__campaign_report`\n group by campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__campaign_report"}, "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__advertiser_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__advertiser_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca", "fqn": ["pinterest", "not_null_pinterest_ads__advertiser_report_date_day"], "alias": "not_null_pinterest_ads__advertiser_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.604504, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__advertiser_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__advertiser_report"}, "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__advertiser_report_advertiser_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__advertiser_report_advertiser_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672", "fqn": ["pinterest", "not_null_pinterest_ads__advertiser_report_advertiser_id"], "alias": "not_null_pinterest_ads__advertiser_report_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.608021, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__advertiser_report_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.pinterest_ads__advertiser_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__advertiser_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f"}, "created_at": 1679592109.6112761, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f\") }}", "language": "sql", "refs": [["pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_262423074d5ab98a7cfbb922eecfa81f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__advertiser_report`\n group by advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__advertiser_report"}, "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__keyword_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__keyword_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba", "fqn": ["pinterest", "not_null_pinterest_ads__keyword_report_date_day"], "alias": "not_null_pinterest_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.619657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__keyword_report"}, "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__keyword_report_keyword_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198", "fqn": ["pinterest", "not_null_pinterest_ads__keyword_report_keyword_id"], "alias": "not_null_pinterest_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.623015, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.pinterest_ads__keyword_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f"}, "created_at": 1679592109.626991, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f\") }}", "language": "sql", "refs": [["pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_5ffb6b9c10d3e5615e425ea53e66643f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__keyword_report`\n group by keyword_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__keyword_report"}, "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__pin_promotion_report_date_day", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__pin_promotion_report_date_day.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd", "fqn": ["pinterest", "not_null_pinterest_ads__pin_promotion_report_date_day"], "alias": "not_null_pinterest_ads__pin_promotion_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.636755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__pin_promotion_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.pinterest_ads__pin_promotion_report"}, "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id", "resource_type": "test", "package_name": "pinterest", "path": "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561", "fqn": ["pinterest", "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id"], "alias": "not_null_pinterest_ads__pin_promotion_report_pin_promotion_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.639989, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.pinterest_ads__pin_promotion_report"}, "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id", "date_day"], "model": "{{ get_where_subquery(ref('pinterest_ads__pin_promotion_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day", "resource_type": "test", "package_name": "pinterest", "path": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c.sql", "original_file_path": "models/pinterest.yml", "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3", "fqn": ["pinterest", "dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day"], "alias": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c"}, "created_at": 1679592109.643483, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c\") }}", "language": "sql", "refs": [["pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest.pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest/models/pinterest.yml/dbt_utils_unique_combination_o_2f4efa18af7508110970522dca80a52c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest`.`pinterest_ads__pin_promotion_report`\n group by pin_promotion_id, ad_group_id, campaign_id, advertiser_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.pinterest_ads__pin_promotion_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__account')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "unique_stg_reddit_ads__account_account_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__account_account_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__account_account_id"], "alias": "unique_stg_reddit_ads__account_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.803448, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__account_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select account_id as unique_field\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\n where account_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_reddit_ads__account"}, "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__account')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__account_account_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__account_account_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__account_account_id"], "alias": "not_null_stg_reddit_ads__account_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.8068008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__account"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__account_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_reddit_ads__account"}, "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__account_report_account_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__account_report_account_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__account_report_account_id"], "alias": "not_null_stg_reddit_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.810535, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_reddit_ads__account_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day"], "alias": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8"}, "created_at": 1679592109.813893, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8\") }}", "language": "sql", "refs": [["stg_reddit_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__account_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_ce15e0a86725614888661e5d48ff93d8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__account_report`\n group by account_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__account_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "unique_stg_reddit_ads__ad_ad_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__ad_ad_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__ad_ad_id"], "alias": "unique_stg_reddit_ads__ad_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.82222, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__ad_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select ad_id as unique_field\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad`\n where ad_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_reddit_ads__ad"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_ad_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_ad_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_ad_id"], "alias": "not_null_stg_reddit_ads__ad_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.8257139, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_reddit_ads__ad"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_report_ad_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_report_ad_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_report_ad_id"], "alias": "not_null_stg_reddit_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.828981, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_reddit_ads__ad_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff"}, "created_at": 1679592109.832782, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff\") }}", "language": "sql", "refs": [["stg_reddit_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_d08f30f7cadd776325492b45b5ac30ff.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__ad_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "unique_stg_reddit_ads__ad_group_ad_group_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__ad_group_ad_group_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__ad_group_ad_group_id"], "alias": "unique_stg_reddit_ads__ad_group_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.8412852, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__ad_group_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select ad_group_id as unique_field\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group`\n where ad_group_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_reddit_ads__ad_group"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_group_ad_group_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_group_ad_group_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_group_ad_group_id"], "alias": "not_null_stg_reddit_ads__ad_group_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.845044, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_group_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_reddit_ads__ad_group"}, "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__ad_group_report_ad_group_id"], "alias": "not_null_stg_reddit_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.848263, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_reddit_ads__ad_group_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac"}, "created_at": 1679592109.851455, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac\") }}", "language": "sql", "refs": [["stg_reddit_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_e81a8a636bdf4c2d4a757b798e0b86ac.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__ad_group_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__ad_group_report"}, "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "unique_stg_reddit_ads__campaign_campaign_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "unique_stg_reddit_ads__campaign_campaign_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4", "fqn": ["reddit_ads_source", "unique_stg_reddit_ads__campaign_campaign_id"], "alias": "unique_stg_reddit_ads__campaign_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.8598819, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/unique_stg_reddit_ads__campaign_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select campaign_id as unique_field\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`\n where campaign_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_reddit_ads__campaign"}, "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__campaign_campaign_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__campaign_campaign_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__campaign_campaign_id"], "alias": "not_null_stg_reddit_ads__campaign_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.8631139, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__campaign_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_reddit_ads__campaign"}, "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_reddit_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "reddit_ads_source", "path": "not_null_stg_reddit_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f", "fqn": ["reddit_ads_source", "not_null_stg_reddit_ads__campaign_report_campaign_id"], "alias": "not_null_stg_reddit_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.866803, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/not_null_stg_reddit_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_reddit_ads__campaign_report"}, "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_reddit_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day", "resource_type": "test", "package_name": "reddit_ads_source", "path": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1.sql", "original_file_path": "models/stg_reddit_ads.yml", "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d", "fqn": ["reddit_ads_source", "dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1"}, "created_at": 1679592109.8700302, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1\") }}", "language": "sql", "refs": [["stg_reddit_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"]}, "compiled_path": "target/compiled/reddit_ads_source/models/stg_reddit_ads.yml/dbt_utils_unique_combination_o_8cc4902d24c7376a8ef501eb589e12a1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_reddit_ads_source`.`stg_reddit_ads__campaign_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_reddit_ads__campaign_report"}, "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('google_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_google_ads__url_report_base_url", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__url_report_base_url.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72", "fqn": ["google_ads", "not_null_google_ads__url_report_base_url"], "alias": "not_null_google_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592109.942572, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["google_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__url_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.google_ads__url_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b"}, "created_at": 1679592109.9474921, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b\") }}", "language": "sql", "refs": [["google_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__url_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_bea7bc66213b1115e2bf15aef06eda4b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__url_report`\n group by ad_id, ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__url_report"}, "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('google_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_google_ads__account_report_account_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__account_report_account_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422", "fqn": ["google_ads", "not_null_google_ads__account_report_account_id"], "alias": "not_null_google_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.956699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__account_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.google_ads__account_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day"], "alias": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9"}, "created_at": 1679592109.960066, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9\") }}", "language": "sql", "refs": [["google_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__account_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_b50e4c9123068ddc911854925927d1f9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__account_report`\n group by account_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__account_report"}, "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('google_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_google_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c", "fqn": ["google_ads", "not_null_google_ads__ad_group_report_ad_group_id"], "alias": "not_null_google_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.9684422, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_group_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.google_ads__ad_group_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f"}, "created_at": 1679592109.971752, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f\") }}", "language": "sql", "refs": [["google_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_group_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_3b4d505407b6ec52ee5fac7c553b0e4f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_group_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__ad_group_report"}, "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('google_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_google_ads__ad_report_ad_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__ad_report_ad_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad", "fqn": ["google_ads", "not_null_google_ads__ad_report_ad_id"], "alias": "not_null_google_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.980368, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.google_ads__ad_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a"}, "created_at": 1679592109.9837708, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a\") }}", "language": "sql", "refs": [["google_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__ad_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_0e386e471201820d82331746820c6c2a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__ad_report`\n group by ad_id, ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__ad_report"}, "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('google_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_google_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__campaign_report_campaign_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e", "fqn": ["google_ads", "not_null_google_ads__campaign_report_campaign_id"], "alias": "not_null_google_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592109.992773, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__campaign_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.google_ads__campaign_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "advertising_channel_type", "advertising_channel_subtype", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day"], "alias": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a"}, "created_at": 1679592109.99598, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a\") }}", "language": "sql", "refs": [["google_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__campaign_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_ec8528411c073564947c460da491432a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, advertising_channel_type, advertising_channel_subtype, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__campaign_report`\n group by campaign_id, advertising_channel_type, advertising_channel_subtype, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__campaign_report"}, "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "criterion_id", "model": "{{ get_where_subquery(ref('google_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_google_ads__keyword_report_criterion_id", "resource_type": "test", "package_name": "google_ads", "path": "not_null_google_ads__keyword_report_criterion_id.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055", "fqn": ["google_ads", "not_null_google_ads__keyword_report_criterion_id"], "alias": "not_null_google_ads__keyword_report_criterion_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.005176, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["google_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__keyword_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/not_null_google_ads__keyword_report_criterion_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect criterion_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__keyword_report`\nwhere criterion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "criterion_id", "file_key_name": "models.google_ads__keyword_report"}, "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "criterion_id", "date_day"], "model": "{{ get_where_subquery(ref('google_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day", "resource_type": "test", "package_name": "google_ads", "path": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97.sql", "original_file_path": "models/google_ads.yml", "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d", "fqn": ["google_ads", "dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day"], "alias": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97"}, "created_at": 1679592110.0087261, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97\") }}", "language": "sql", "refs": [["google_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads.google_ads__keyword_report"]}, "compiled_path": "target/compiled/google_ads/models/google_ads.yml/dbt_utils_unique_combination_o_5f4b67cbf07cd9f52dc9ddc8771a9f97.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, criterion_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads`.`google_ads__keyword_report`\n group by ad_group_id, criterion_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.google_ads__keyword_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_amazon_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.113898, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_amazon_ads__ad_group_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1"}, "created_at": 1679592110.1172879, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1\") }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_b825bf39ab172d49ce4969d3360ae9a1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, last_updated_date\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_history`\n group by ad_group_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__ad_group_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_level_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id"], "alias": "not_null_stg_amazon_ads__ad_group_level_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.1260538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_amazon_ads__ad_group_level_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__ad_group_level_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d"}, "created_at": 1679592110.129581, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d\") }}", "language": "sql", "refs": [["stg_amazon_ads__ad_group_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_b23ba4f5baf6fbdd2fefaeb1251b311d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__ad_group_level_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__ad_group_level_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__advertised_product_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__advertised_product_report_ad_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__advertised_product_report_ad_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__advertised_product_report_ad_id"], "alias": "not_null_stg_amazon_ads__advertised_product_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.1380632, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__advertised_product_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_amazon_ads__advertised_product_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__advertised_product_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417"}, "created_at": 1679592110.141356, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417\") }}", "language": "sql", "refs": [["stg_amazon_ads__advertised_product_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_aeb3570ec2093361b49d6d6843df0417.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__advertised_product_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__advertised_product_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__campaign_history_campaign_id"], "alias": "not_null_stg_amazon_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.149707, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_amazon_ads__campaign_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9"}, "created_at": 1679592110.1529431, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9\") }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_ea36d6ecb42fc2f85eae0659671721d9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, last_updated_date\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_history`\n group by campaign_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__campaign_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_level_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__campaign_level_report_campaign_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__campaign_level_report_campaign_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__campaign_level_report_campaign_id"], "alias": "not_null_stg_amazon_ads__campaign_level_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.161619, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__campaign_level_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_amazon_ads__campaign_level_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__campaign_level_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748"}, "created_at": 1679592110.16526, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748\") }}", "language": "sql", "refs": [["stg_amazon_ads__campaign_level_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_8181dab5f509aa221040aca686d2f748.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__campaign_level_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__campaign_level_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__keyword_history_keyword_id"], "alias": "not_null_stg_amazon_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.17417, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_amazon_ads__keyword_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be"}, "created_at": 1679592110.1775339, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be\") }}", "language": "sql", "refs": [["stg_amazon_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_346b096ed77071642a51719dee42f3be.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, last_updated_date\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__keyword_history`\n group by keyword_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__keyword_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "portfolio_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__portfolio_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__portfolio_history_portfolio_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__portfolio_history_portfolio_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__portfolio_history_portfolio_id"], "alias": "not_null_stg_amazon_ads__portfolio_history_portfolio_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.186323, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__portfolio_history_portfolio_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect portfolio_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\nwhere portfolio_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "portfolio_id", "file_key_name": "models.stg_amazon_ads__portfolio_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["portfolio_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__portfolio_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147"}, "created_at": 1679592110.189742, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147\") }}", "language": "sql", "refs": [["stg_amazon_ads__portfolio_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_f34d615bb6f942bd1789096833bf4147.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n portfolio_id, last_updated_date\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__portfolio_history`\n group by portfolio_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__portfolio_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__product_ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__product_ad_history_ad_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__product_ad_history_ad_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__product_ad_history_ad_id"], "alias": "not_null_stg_amazon_ads__product_ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.198588, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__product_ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__product_ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__product_ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_amazon_ads__product_ad_history"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "last_updated_date"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__product_ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date"], "alias": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814"}, "created_at": 1679592110.2017941, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814\") }}", "language": "sql", "refs": [["stg_amazon_ads__product_ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_ab95560d07b97f5673463efe945e7814.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, last_updated_date\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__product_ad_history`\n group by ad_id, last_updated_date\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__product_ad_history"}, "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "profile_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__profile')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__profile_profile_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__profile_profile_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__profile_profile_id"], "alias": "not_null_stg_amazon_ads__profile_profile_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.210748, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__profile"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__profile"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__profile_profile_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect profile_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__profile`\nwhere profile_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "profile_id", "file_key_name": "models.stg_amazon_ads__profile"}, "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_amazon_ads__targeting_keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id"], "alias": "not_null_stg_amazon_ads__targeting_keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.214048, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_amazon_ads__targeting_keyword_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__targeting_keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6"}, "created_at": 1679592110.2175171, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6\") }}", "language": "sql", "refs": [["stg_amazon_ads__targeting_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_4a47e02be36493c13722699ad58e4de6.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__targeting_keyword_report`\n group by keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__targeting_keyword_report"}, "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_term", "model": "{{ get_where_subquery(ref('stg_amazon_ads__search_term_ad_keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term", "resource_type": "test", "package_name": "amazon_ads_source", "path": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06", "fqn": ["amazon_ads_source", "not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term"], "alias": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe"}, "created_at": 1679592110.2263858, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe\") }}", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/not_null_stg_amazon_ads__searc_f003e4b73838d347c57dd6506254bcfe.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_term\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`\nwhere search_term is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_term", "file_key_name": "models.stg_amazon_ads__search_term_ad_keyword_report"}, "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["search_term", "keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_amazon_ads__search_term_ad_keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day", "resource_type": "test", "package_name": "amazon_ads_source", "path": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28.sql", "original_file_path": "models/stg_amazon_ads.yml", "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693", "fqn": ["amazon_ads_source", "dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28"}, "created_at": 1679592110.231009, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28\") }}", "language": "sql", "refs": [["stg_amazon_ads__search_term_ad_keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"]}, "compiled_path": "target/compiled/amazon_ads_source/models/stg_amazon_ads.yml/dbt_utils_unique_combination_o_13c9d53b5377a45a6af6b108d52f9f28.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n search_term, keyword_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads_source`.`stg_amazon_ads__search_term_ad_keyword_report`\n group by search_term, keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_amazon_ads__search_term_ad_keyword_report"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_creative')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.3814, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_creative"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_creative')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.384971, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_creative"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "creative_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_creative')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id"], "alias": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9"}, "created_at": 1679592110.388844, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9\") }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_creative"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_aafc2af91b093fc4d5ae0ca1f56acbf9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, creative_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_creative`\n group by date_day, creative_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_creative"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.39755, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_campaign"}, "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_campaign')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day"], "alias": "not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.401312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_campaign"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__ad_analytics_by_campaign')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id"], "alias": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c"}, "created_at": 1679592110.4049191, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c\") }}", "language": "sql", "refs": [["stg_linkedin_ads__ad_analytics_by_campaign"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_8315cf2be67da0ba2aede716f1af891c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__ad_analytics_by_campaign`\n group by date_day, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__ad_analytics_by_campaign"}, "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__creative_history_creative_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__creative_history_creative_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__creative_history_creative_id"], "alias": "not_null_stg_linkedin_ads__creative_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.414922, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__creative_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__creative_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__creative_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_linkedin_ads__creative_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_history_campaign_id"], "alias": "not_null_stg_linkedin_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.4183328, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_linkedin_ads__campaign_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "version_tag", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_history_version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__campaign_history_version_tag.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_history_version_tag"], "alias": "not_null_stg_linkedin_ads__campaign_history_version_tag", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.421716, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__campaign_history_version_tag.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect version_tag\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\nwhere version_tag is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "version_tag", "file_key_name": "models.stg_linkedin_ads__campaign_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["version_tag", "campaign_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id"], "alias": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361"}, "created_at": 1679592110.425667, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_04241a97ca756b5a2103a7a728e18361.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n version_tag, campaign_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_history`\n group by version_tag, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__campaign_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_group_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id"], "alias": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a"}, "created_at": 1679592110.434289, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__cam_ff659fc451955e2142e65b7eefd44f9a.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\nwhere campaign_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_group_id", "file_key_name": "models.stg_linkedin_ads__campaign_group_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "last_modified_at", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__campaign_group_history_last_modified_at", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__campaign_group_history_last_modified_at"], "alias": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd"}, "created_at": 1679592110.4382122, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__cam_2e7858c2b570943ef2af34e42f5302bd.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect last_modified_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\nwhere last_modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "last_modified_at", "file_key_name": "models.stg_linkedin_ads__campaign_group_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["last_modified_at", "campaign_group_id"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__campaign_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id"], "alias": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14"}, "created_at": 1679592110.441904, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14\") }}", "language": "sql", "refs": [["stg_linkedin_ads__campaign_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_03fa025e903c1ddc393db8f138302b14.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n last_modified_at, campaign_group_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__campaign_group_history`\n group by last_modified_at, campaign_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__campaign_group_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__account_history_account_id", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__account_history_account_id.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__account_history_account_id"], "alias": "not_null_stg_linkedin_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.45056, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_linkedin_ads__account_history"}, "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "version_tag", "model": "{{ get_where_subquery(ref('stg_linkedin_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_linkedin_ads__account_history_version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "not_null_stg_linkedin_ads__account_history_version_tag.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81", "fqn": ["linkedin_source", "not_null_stg_linkedin_ads__account_history_version_tag"], "alias": "not_null_stg_linkedin_ads__account_history_version_tag", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.454037, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_linkedin_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/not_null_stg_linkedin_ads__account_history_version_tag.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect version_tag\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\nwhere version_tag is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "version_tag", "file_key_name": "models.stg_linkedin_ads__account_history"}, "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "version_tag"], "model": "{{ get_where_subquery(ref('stg_linkedin_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag", "resource_type": "test", "package_name": "linkedin_source", "path": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55.sql", "original_file_path": "models/stg_linkedin.yml", "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce", "fqn": ["linkedin_source", "dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag"], "alias": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55"}, "created_at": 1679592110.457532, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55\") }}", "language": "sql", "refs": [["stg_linkedin_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin_source.stg_linkedin_ads__account_history"]}, "compiled_path": "target/compiled/linkedin_source/models/stg_linkedin.yml/dbt_utils_unique_combination_o_e080bf5d4722552a352202d7efd9af55.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, version_tag\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads_source`.`stg_linkedin_ads__account_history`\n group by account_id, version_tag\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_linkedin_ads__account_history"}, "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "profile_id", "model": "{{ get_where_subquery(ref('amazon_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__account_report_profile_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__account_report_profile_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66", "fqn": ["amazon_ads", "not_null_amazon_ads__account_report_profile_id"], "alias": "not_null_amazon_ads__account_report_profile_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.6094642, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__account_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__account_report_profile_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect profile_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`\nwhere profile_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "profile_id", "file_key_name": "models.amazon_ads__account_report"}, "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('amazon_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__account_report_account_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__account_report_account_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061", "fqn": ["amazon_ads", "not_null_amazon_ads__account_report_account_id"], "alias": "not_null_amazon_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.612821, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__account_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.amazon_ads__account_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "profile_id"], "model": "{{ get_where_subquery(ref('amazon_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id"], "alias": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06"}, "created_at": 1679592110.616368, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06\") }}", "language": "sql", "refs": [["amazon_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__account_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_6ed874aa44aa50dc6754845fe295cf06.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, profile_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__account_report`\n group by date_day, profile_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__account_report"}, "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('amazon_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a", "fqn": ["amazon_ads", "not_null_amazon_ads__ad_group_report_ad_group_id"], "alias": "not_null_amazon_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.625338, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_group_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.amazon_ads__ad_group_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_group_id"], "model": "{{ get_where_subquery(ref('amazon_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id"], "alias": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241"}, "created_at": 1679592110.629218, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241\") }}", "language": "sql", "refs": [["amazon_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_group_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_18996a14b967587808436224f70e9241.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_group_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_group_report`\n group by date_day, ad_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__ad_group_report"}, "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('amazon_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__ad_report_ad_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__ad_report_ad_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3", "fqn": ["amazon_ads", "not_null_amazon_ads__ad_report_ad_id"], "alias": "not_null_amazon_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.637964, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.amazon_ads__ad_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_id"], "model": "{{ get_where_subquery(ref('amazon_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id"], "alias": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536"}, "created_at": 1679592110.6416, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536\") }}", "language": "sql", "refs": [["amazon_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__ad_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_7e938186a70fc693a9b0fdc4e976a536.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__ad_report`\n group by date_day, ad_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__ad_report"}, "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('amazon_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__campaign_report_campaign_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c", "fqn": ["amazon_ads", "not_null_amazon_ads__campaign_report_campaign_id"], "alias": "not_null_amazon_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.6504908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__campaign_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.amazon_ads__campaign_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id"], "model": "{{ get_where_subquery(ref('amazon_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id"], "alias": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33"}, "created_at": 1679592110.654072, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33\") }}", "language": "sql", "refs": [["amazon_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__campaign_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_1ea261631e657e41cdd7eb8202913e33.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__campaign_report`\n group by date_day, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__campaign_report"}, "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "profile_id", "model": "{{ get_where_subquery(ref('amazon_ads__portfolio_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__portfolio_report_profile_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__portfolio_report_profile_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6", "fqn": ["amazon_ads", "not_null_amazon_ads__portfolio_report_profile_id"], "alias": "not_null_amazon_ads__portfolio_report_profile_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.663573, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__portfolio_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__portfolio_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__portfolio_report_profile_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect profile_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__portfolio_report`\nwhere profile_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "profile_id", "file_key_name": "models.amazon_ads__portfolio_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "portfolio_id"], "model": "{{ get_where_subquery(ref('amazon_ads__portfolio_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id"], "alias": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f"}, "created_at": 1679592110.66686, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f\") }}", "language": "sql", "refs": [["amazon_ads__portfolio_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__portfolio_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_2b914fbf0d57f280e6738a6bf6a2805f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, portfolio_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__portfolio_report`\n group by date_day, portfolio_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__portfolio_report"}, "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('amazon_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__keyword_report_keyword_id.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a", "fqn": ["amazon_ads", "not_null_amazon_ads__keyword_report_keyword_id"], "alias": "not_null_amazon_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.676322, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__keyword_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.amazon_ads__keyword_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id"], "model": "{{ get_where_subquery(ref('amazon_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id"], "alias": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751"}, "created_at": 1679592110.679679, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751\") }}", "language": "sql", "refs": [["amazon_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__keyword_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_5f7a5df7cd8d9aa6dcf433fbef667751.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, keyword_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__keyword_report`\n group by date_day, keyword_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__keyword_report"}, "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_term", "model": "{{ get_where_subquery(ref('amazon_ads__search_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_amazon_ads__search_report_search_term", "resource_type": "test", "package_name": "amazon_ads", "path": "not_null_amazon_ads__search_report_search_term.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a", "fqn": ["amazon_ads", "not_null_amazon_ads__search_report_search_term"], "alias": "not_null_amazon_ads__search_report_search_term", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.688403, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["amazon_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__search_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/not_null_amazon_ads__search_report_search_term.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_term\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__search_report`\nwhere search_term is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_term", "file_key_name": "models.amazon_ads__search_report"}, "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "search_term", "keyword_id"], "model": "{{ get_where_subquery(ref('amazon_ads__search_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id", "resource_type": "test", "package_name": "amazon_ads", "path": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67.sql", "original_file_path": "models/amazon_ads.yml", "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f", "fqn": ["amazon_ads", "dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id"], "alias": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67"}, "created_at": 1679592110.691802, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67\") }}", "language": "sql", "refs": [["amazon_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.amazon_ads.amazon_ads__search_report"]}, "compiled_path": "target/compiled/amazon_ads/models/amazon_ads.yml/dbt_utils_unique_combination_o_31232c8fcd8b9b4a5cc701d1caae2b67.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, search_term, keyword_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_amazon_ads`.`amazon_ads__search_report`\n group by date_day, search_term, keyword_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.amazon_ads__search_report"}, "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('facebook_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_facebook_ads__url_report_base_url", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__url_report_base_url.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be", "fqn": ["facebook_ads", "not_null_facebook_ads__url_report_base_url"], "alias": "not_null_facebook_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592110.7548249, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["facebook_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.facebook_ads__url_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_set_id", "ad_id"], "model": "{{ get_where_subquery(ref('facebook_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id"], "alias": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb"}, "created_at": 1679592110.7599318, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb\") }}", "language": "sql", "refs": [["facebook_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_bf91f5ef1059f34c9059e06e293717eb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_set_id, ad_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_report`\n group by date_day, account_id, campaign_id, ad_set_id, ad_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__url_report"}, "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('facebook_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_facebook_ads__ad_report_ad_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__ad_report_ad_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238", "fqn": ["facebook_ads", "not_null_facebook_ads__ad_report_ad_id"], "alias": "not_null_facebook_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.770188, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.facebook_ads__ad_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_set_id", "ad_id"], "model": "{{ get_where_subquery(ref('facebook_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id"], "alias": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e"}, "created_at": 1679592110.774011, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e\") }}", "language": "sql", "refs": [["facebook_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_6751270b8425b93a72568a6ff0b52e2e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_set_id, ad_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_report`\n group by date_day, account_id, campaign_id, ad_set_id, ad_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__ad_report"}, "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_set_id", "model": "{{ get_where_subquery(ref('facebook_ads__ad_set_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_facebook_ads__ad_set_report_ad_set_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__ad_set_report_ad_set_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4", "fqn": ["facebook_ads", "not_null_facebook_ads__ad_set_report_ad_set_id"], "alias": "not_null_facebook_ads__ad_set_report_ad_set_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.785383, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__ad_set_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_set_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__ad_set_report_ad_set_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_set_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_set_report`\nwhere ad_set_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_set_id", "file_key_name": "models.facebook_ads__ad_set_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_set_id"], "model": "{{ get_where_subquery(ref('facebook_ads__ad_set_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id"], "alias": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74"}, "created_at": 1679592110.788825, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74\") }}", "language": "sql", "refs": [["facebook_ads__ad_set_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__ad_set_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_b03f58e6a60804a93ab31dbb358dad74.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_set_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__ad_set_report`\n group by date_day, account_id, campaign_id, ad_set_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__ad_set_report"}, "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('facebook_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_facebook_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__campaign_report_campaign_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21", "fqn": ["facebook_ads", "not_null_facebook_ads__campaign_report_campaign_id"], "alias": "not_null_facebook_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.798508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__campaign_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.facebook_ads__campaign_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id"], "model": "{{ get_where_subquery(ref('facebook_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id"], "alias": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1"}, "created_at": 1679592110.802155, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1\") }}", "language": "sql", "refs": [["facebook_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__campaign_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_cf7853fdf8e24958f5a0e3e1b7c1ced1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__campaign_report`\n group by date_day, account_id, campaign_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__campaign_report"}, "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('facebook_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_facebook_ads__account_report_account_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__account_report_account_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024", "fqn": ["facebook_ads", "not_null_facebook_ads__account_report_account_id"], "alias": "not_null_facebook_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.811784, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__account_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.facebook_ads__account_report"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id"], "model": "{{ get_where_subquery(ref('facebook_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id"], "alias": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e"}, "created_at": 1679592110.8155909, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e\") }}", "language": "sql", "refs": [["facebook_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__account_report"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_19fe7721a9f8cd99b91dca268368654e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__account_report`\n group by date_day, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__account_report"}, "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_id", "model": "{{ get_where_subquery(ref('facebook_ads__url_tags')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_facebook_ads__url_tags__fivetran_id", "resource_type": "test", "package_name": "facebook_ads", "path": "not_null_facebook_ads__url_tags__fivetran_id.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3", "fqn": ["facebook_ads", "not_null_facebook_ads__url_tags__fivetran_id"], "alias": "not_null_facebook_ads__url_tags__fivetran_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.8242261, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["facebook_ads__url_tags"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_tags"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/not_null_facebook_ads__url_tags__fivetran_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_tags`\nwhere _fivetran_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_id", "file_key_name": "models.facebook_ads__url_tags"}, "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["_fivetran_id", "key", "type"], "model": "{{ get_where_subquery(ref('facebook_ads__url_tags')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type", "resource_type": "test", "package_name": "facebook_ads", "path": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a.sql", "original_file_path": "models/facebook.yml", "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3", "fqn": ["facebook_ads", "dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type"], "alias": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a"}, "created_at": 1679592110.8275352, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a\") }}", "language": "sql", "refs": [["facebook_ads__url_tags"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads.facebook_ads__url_tags"]}, "compiled_path": "target/compiled/facebook_ads/models/facebook.yml/dbt_utils_unique_combination_o_496bf013366c506c1f3135f19ec7080a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n _fivetran_id, key, type\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads`.`facebook_ads__url_tags`\n group by _fivetran_id, key, type\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.facebook_ads__url_tags"}, "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__account_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__account_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260", "fqn": ["snapchat_ads", "not_null_snapchat_ads__account_report_date_day"], "alias": "not_null_snapchat_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.8842292, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__account_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__account_report"}, "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_account_id", "model": "{{ get_where_subquery(ref('snapchat_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__account_report_ad_account_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__account_report_ad_account_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b", "fqn": ["snapchat_ads", "not_null_snapchat_ads__account_report_ad_account_id"], "alias": "not_null_snapchat_ads__account_report_ad_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.887576, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__account_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__account_report_ad_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`\nwhere ad_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_account_id", "file_key_name": "models.snapchat_ads__account_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_account_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day"], "alias": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292"}, "created_at": 1679592110.8910348, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292\") }}", "language": "sql", "refs": [["snapchat_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__account_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_524356cb3f1f45c140605a4e4e3e3292.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_account_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__account_report`\n group by ad_account_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__account_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__ad_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_report_date_day"], "alias": "not_null_snapchat_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.899536, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__ad_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__ad_report_ad_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_report_ad_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_report_ad_id"], "alias": "not_null_snapchat_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.902795, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.snapchat_ads__ad_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b"}, "created_at": 1679592110.9067268, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b\") }}", "language": "sql", "refs": [["snapchat_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_d89cc6fe00f1619f552cd79cf8e1cf2b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__ad_report"}, "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__campaign_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__campaign_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b", "fqn": ["snapchat_ads", "not_null_snapchat_ads__campaign_report_date_day"], "alias": "not_null_snapchat_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.914946, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__campaign_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__campaign_report"}, "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('snapchat_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__campaign_report_campaign_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac", "fqn": ["snapchat_ads", "not_null_snapchat_ads__campaign_report_campaign_id"], "alias": "not_null_snapchat_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.918745, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__campaign_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.snapchat_ads__campaign_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e"}, "created_at": 1679592110.922276, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e\") }}", "language": "sql", "refs": [["snapchat_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__campaign_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_113e94adc3e9beee92a4d84c51a5a72e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__campaign_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__campaign_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_squad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__ad_squad_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_squad_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_squad_report_date_day"], "alias": "not_null_snapchat_ads__ad_squad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.931227, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_squad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_squad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_squad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__ad_squad_report"}, "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_squad_id", "model": "{{ get_where_subquery(ref('snapchat_ads__ad_squad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__ad_squad_report_ad_squad_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__ad_squad_report_ad_squad_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe", "fqn": ["snapchat_ads", "not_null_snapchat_ads__ad_squad_report_ad_squad_id"], "alias": "not_null_snapchat_ads__ad_squad_report_ad_squad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.934597, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__ad_squad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_squad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__ad_squad_report_ad_squad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_squad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`\nwhere ad_squad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_squad_id", "file_key_name": "models.snapchat_ads__ad_squad_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_squad_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__ad_squad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day"], "alias": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f"}, "created_at": 1679592110.937912, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f\") }}", "language": "sql", "refs": [["snapchat_ads__ad_squad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__ad_squad_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_75177eef68a3eb0454e7209b1fcecc7f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_squad_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__ad_squad_report`\n group by ad_squad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__ad_squad_report"}, "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__url_report_date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__url_report_date_day.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6", "fqn": ["snapchat_ads", "not_null_snapchat_ads__url_report_date_day"], "alias": "not_null_snapchat_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.946291, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.snapchat_ads__url_report"}, "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__url_report_ad_id", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__url_report_ad_id.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78", "fqn": ["snapchat_ads", "not_null_snapchat_ads__url_report_ad_id"], "alias": "not_null_snapchat_ads__url_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592110.9494882, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__url_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.snapchat_ads__url_report"}, "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_snapchat_ads__url_report_base_url", "resource_type": "test", "package_name": "snapchat_ads", "path": "not_null_snapchat_ads__url_report_base_url.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de", "fqn": ["snapchat_ads", "not_null_snapchat_ads__url_report_base_url"], "alias": "not_null_snapchat_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592110.954171, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/not_null_snapchat_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.snapchat_ads__url_report"}, "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day"], "model": "{{ get_where_subquery(ref('snapchat_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day", "resource_type": "test", "package_name": "snapchat_ads", "path": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7.sql", "original_file_path": "models/snapchat.yml", "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be", "fqn": ["snapchat_ads", "dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7"}, "created_at": 1679592110.958624, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7\") }}", "language": "sql", "refs": [["snapchat_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads.snapchat_ads__url_report"]}, "compiled_path": "target/compiled/snapchat_ads/models/snapchat.yml/dbt_utils_unique_combination_o_bbe78d99026ed63397aa69997ed2d6a7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads`.`snapchat_ads__url_report`\n group by ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.snapchat_ads__url_report"}, "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_google_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__account_history_account_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__account_history_account_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f", "fqn": ["google_ads_source", "not_null_stg_google_ads__account_history_account_id"], "alias": "not_null_stg_google_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.0432901, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_google_ads__account_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at"], "alias": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3"}, "created_at": 1679592111.0469089, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3\") }}", "language": "sql", "refs": [["stg_google_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_73f21be54bd17f372632a4da939970a3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_history`\n group by account_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__account_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_google_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.055532, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_google_ads__ad_group_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a"}, "created_at": 1679592111.0590432, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_0c1cbeb5a9539431a7fbce6af1a21d7a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_history`\n group by ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_group_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_history_ad_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_history_ad_id"], "alias": "not_null_stg_google_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.067852, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_google_ads__ad_history"}, "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7": {"test_metadata": {"name": "expect_column_values_to_not_match_regex_list", "kwargs": {"regex_list": ",", "match_on": "any", "column_name": "source_final_urls", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_history')) }}"}, "namespace": "dbt_expectations"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7", "fqn": ["google_ads_source", "dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___"], "alias": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "warn", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"severity": "warn", "alias": "dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5"}, "created_at": 1679592111.0718799, "relation_name": null, "raw_code": "{{ dbt_expectations.test_expect_column_values_to_not_match_regex_list(**_dbt_generic_test_kwargs) }}{{ config(severity=\"warn\",alias=\"dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5\") }}", "language": "sql", "refs": [["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_expectations.test_expect_column_values_to_not_match_regex_list", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_expectations_expect_column_f02cb56d69a9df1e600b3958899ceaa5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n with grouped_expression as (\n select\n \n \n \n \n\n\n\n \nregexp_instr(source_final_urls, ',', 1, 1)\n\n\n = 0\n as expression\n\n\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history`\n \n\n),\nvalidation_errors as (\n\n select\n *\n from\n grouped_expression\n where\n not(expression = true)\n\n)\n\nselect *\nfrom validation_errors\n\n\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "source_final_urls", "file_key_name": "models.stg_google_ads__ad_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74"}, "created_at": 1679592111.103122, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74\") }}", "language": "sql", "refs": [["stg_google_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_0cf5dbf0b60dae1b36794a079a6f8b74.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_group_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_history`\n group by ad_id, ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_stats_date_day"], "alias": "not_null_stg_google_ads__ad_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.112519, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__ad_stats"}, "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_stats_ad_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_stats_ad_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_stats_ad_id"], "alias": "not_null_stg_google_ads__ad_stats_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.1158578, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_stats_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_google_ads__ad_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "ad_network_type", "device", "ad_group_id", "keyword_ad_group_criterion", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day"], "alias": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1"}, "created_at": 1679592111.119191, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1\") }}", "language": "sql", "refs": [["stg_google_ads__ad_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_0e6e3aa3d77b11d347e7c430ba7c2ea1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, ad_network_type, device, ad_group_id, keyword_ad_group_criterion, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_stats`\n group by ad_id, ad_network_type, device, ad_group_id, keyword_ad_group_criterion, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_stats"}, "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75", "fqn": ["google_ads_source", "not_null_stg_google_ads__campaign_history_campaign_id"], "alias": "not_null_stg_google_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.1304069, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_google_ads__campaign_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at"], "alias": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d"}, "created_at": 1679592111.133614, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d\") }}", "language": "sql", "refs": [["stg_google_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_bd5040437362e14b36ab7ce3eaa14d1d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_history`\n group by campaign_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__campaign_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "criterion_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_criterion_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_criterion_history_criterion_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_criterion_history_criterion_id"], "alias": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031"}, "created_at": 1679592111.142329, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_criterion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_gr_fa51ec93a9a1e739108966cace6ed031.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect criterion_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_criterion_history`\nwhere criterion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "criterion_id", "file_key_name": "models.stg_google_ads__ad_group_criterion_history"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["criterion_id", "ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_criterion_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8"}, "created_at": 1679592111.14561, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_criterion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_2ce4e2825f6fe9034f28085d1444c1e8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n criterion_id, ad_group_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_criterion_history`\n group by criterion_id, ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_group_criterion_history"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_group_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_stats_date_day"], "alias": "not_null_stg_google_ads__ad_group_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.155561, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_group_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__ad_group_stats"}, "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__ad_group_stats_ad_group_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__ad_group_stats_ad_group_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077", "fqn": ["google_ads_source", "not_null_stg_google_ads__ad_group_stats_ad_group_id"], "alias": "not_null_stg_google_ads__ad_group_stats_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.158915, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__ad_group_stats_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_google_ads__ad_group_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "device", "ad_network_type", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__ad_group_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day"], "alias": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c"}, "created_at": 1679592111.162428, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c\") }}", "language": "sql", "refs": [["stg_google_ads__ad_group_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__ad_group_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_779a67237d95206a8de7fb9388c2108c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, device, ad_network_type, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__ad_group_stats`\n group by ad_group_id, device, ad_network_type, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__ad_group_stats"}, "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__campaign_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__campaign_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b", "fqn": ["google_ads_source", "not_null_stg_google_ads__campaign_stats_date_day"], "alias": "not_null_stg_google_ads__campaign_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.172467, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__campaign_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__campaign_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__campaign_stats"}, "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__campaign_stats_campaign_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__campaign_stats_campaign_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f", "fqn": ["google_ads_source", "not_null_stg_google_ads__campaign_stats_campaign_id"], "alias": "not_null_stg_google_ads__campaign_stats_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.17638, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__campaign_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__campaign_stats_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_google_ads__campaign_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "ad_network_type", "device", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__campaign_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day"], "alias": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259"}, "created_at": 1679592111.179637, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259\") }}", "language": "sql", "refs": [["stg_google_ads__campaign_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__campaign_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_99cd4c79dd8197dda4f4ac2294fc9259.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, ad_network_type, device, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__campaign_stats`\n group by campaign_id, ad_network_type, device, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__campaign_stats"}, "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__keyword_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__keyword_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__keyword_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d", "fqn": ["google_ads_source", "not_null_stg_google_ads__keyword_stats_date_day"], "alias": "not_null_stg_google_ads__keyword_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.189301, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__keyword_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__keyword_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__keyword_stats"}, "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_google_ads__keyword_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__keyword_stats_keyword_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__keyword_stats_keyword_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0", "fqn": ["google_ads_source", "not_null_stg_google_ads__keyword_stats_keyword_id"], "alias": "not_null_stg_google_ads__keyword_stats_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.1930041, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__keyword_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__keyword_stats_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_google_ads__keyword_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__keyword_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534"}, "created_at": 1679592111.1966321, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534\") }}", "language": "sql", "refs": [["stg_google_ads__keyword_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__keyword_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_7e3d865f56378985172b621ddff21534.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__keyword_stats`\n group by keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__keyword_stats"}, "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_google_ads__account_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__account_stats_account_id", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__account_stats_account_id.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b", "fqn": ["google_ads_source", "not_null_stg_google_ads__account_stats_account_id"], "alias": "not_null_stg_google_ads__account_stats_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.205508, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__account_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__account_stats_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_google_ads__account_stats"}, "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_google_ads__account_stats')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_google_ads__account_stats_date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "not_null_stg_google_ads__account_stats_date_day.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5", "fqn": ["google_ads_source", "not_null_stg_google_ads__account_stats_date_day"], "alias": "not_null_stg_google_ads__account_stats_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.2090938, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_google_ads__account_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/not_null_stg_google_ads__account_stats_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_google_ads__account_stats"}, "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "device", "ad_network_type", "date_day"], "model": "{{ get_where_subquery(ref('stg_google_ads__account_stats')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day", "resource_type": "test", "package_name": "google_ads_source", "path": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3.sql", "original_file_path": "models/stg_google_ads.yml", "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860", "fqn": ["google_ads_source", "dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day"], "alias": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3"}, "created_at": 1679592111.212831, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3\") }}", "language": "sql", "refs": [["stg_google_ads__account_stats"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.google_ads_source.stg_google_ads__account_stats"]}, "compiled_path": "target/compiled/google_ads_source/models/stg_google_ads.yml/dbt_utils_unique_combination_o_c760910058eb575d2384e263c612c0c3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, device, ad_network_type, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_google_ads_source`.`stg_google_ads__account_stats`\n group by account_id, device, ad_network_type, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_google_ads__account_stats"}, "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_group_report_ad_group_id"], "alias": "not_null_apple_search_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.476702, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.apple_search_ads__ad_group_report"}, "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_group_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_group_report_date_day"], "alias": "not_null_apple_search_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.4800582, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__ad_group_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2"}, "created_at": 1679592111.483404, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2\") }}", "language": "sql", "refs": [["apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_36b2ef766b4fc10b364ed4744c94afb2.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_group_report`\n group by organization_id, campaign_id, ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__ad_group_report"}, "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__ad_report_ad_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_report_ad_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_report_ad_id"], "alias": "not_null_apple_search_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.493707, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.apple_search_ads__ad_report"}, "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__ad_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__ad_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17", "fqn": ["apple_search_ads", "not_null_apple_search_ads__ad_report_date_day"], "alias": "not_null_apple_search_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.4969332, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__ad_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "ad_group_id", "ad_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day"], "alias": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c"}, "created_at": 1679592111.500215, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c\") }}", "language": "sql", "refs": [["apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_bd72aacf9db10be434541a5eb54a963c.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, ad_group_id, ad_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__ad_report`\n group by organization_id, campaign_id, ad_group_id, ad_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__ad_report"}, "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__campaign_report_campaign_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146", "fqn": ["apple_search_ads", "not_null_apple_search_ads__campaign_report_campaign_id"], "alias": "not_null_apple_search_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.510497, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.apple_search_ads__campaign_report"}, "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__campaign_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__campaign_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a", "fqn": ["apple_search_ads", "not_null_apple_search_ads__campaign_report_date_day"], "alias": "not_null_apple_search_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.514035, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__campaign_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5"}, "created_at": 1679592111.517681, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5\") }}", "language": "sql", "refs": [["apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_3acbf89c4e0b6809bc53bfa9067d89c5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__campaign_report`\n group by organization_id, campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__campaign_report"}, "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__keyword_report_keyword_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db", "fqn": ["apple_search_ads", "not_null_apple_search_ads__keyword_report_keyword_id"], "alias": "not_null_apple_search_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.526965, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.apple_search_ads__keyword_report"}, "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__keyword_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__keyword_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82", "fqn": ["apple_search_ads", "not_null_apple_search_ads__keyword_report_date_day"], "alias": "not_null_apple_search_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.530266, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__keyword_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "campaign_id", "ad_group_id", "keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246"}, "created_at": 1679592111.533571, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246\") }}", "language": "sql", "refs": [["apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_533c8551a101baa56c397525cb8a9246.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, campaign_id, ad_group_id, keyword_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__keyword_report`\n group by organization_id, campaign_id, ad_group_id, keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__keyword_report"}, "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "organization_id", "model": "{{ get_where_subquery(ref('apple_search_ads__organization_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__organization_report_organization_id", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__organization_report_organization_id.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8", "fqn": ["apple_search_ads", "not_null_apple_search_ads__organization_report_organization_id"], "alias": "not_null_apple_search_ads__organization_report_organization_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.544256, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__organization_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__organization_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__organization_report_organization_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect organization_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`\nwhere organization_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "organization_id", "file_key_name": "models.apple_search_ads__organization_report"}, "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__organization_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__organization_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__organization_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523", "fqn": ["apple_search_ads", "not_null_apple_search_ads__organization_report_date_day"], "alias": "not_null_apple_search_ads__organization_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.547599, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__organization_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__organization_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__organization_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__organization_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__organization_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day"], "alias": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d"}, "created_at": 1679592111.5512571, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d\") }}", "language": "sql", "refs": [["apple_search_ads__organization_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__organization_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_f2f453668a8bb7c0387ed85fc7bfaf2d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__organization_report`\n group by organization_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__organization_report"}, "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__search_term_report_date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__search_term_report_date_day.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c", "fqn": ["apple_search_ads", "not_null_apple_search_ads__search_term_report_date_day"], "alias": "not_null_apple_search_ads__search_term_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.5601668, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__search_term_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.apple_search_ads__search_term_report"}, "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_term_text", "model": "{{ get_where_subquery(ref('apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_apple_search_ads__search_term_report_search_term_text", "resource_type": "test", "package_name": "apple_search_ads", "path": "not_null_apple_search_ads__search_term_report_search_term_text.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7", "fqn": ["apple_search_ads", "not_null_apple_search_ads__search_term_report_search_term_text"], "alias": "not_null_apple_search_ads__search_term_report_search_term_text", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.5634382, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/not_null_apple_search_ads__search_term_report_search_term_text.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_term_text\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`\nwhere search_term_text is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_term_text", "file_key_name": "models.apple_search_ads__search_term_report"}, "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["search_term_text", "date_day"], "model": "{{ get_where_subquery(ref('apple_search_ads__search_term_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day", "resource_type": "test", "package_name": "apple_search_ads", "path": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690.sql", "original_file_path": "models/apple_search_ads.yml", "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4", "fqn": ["apple_search_ads", "dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day"], "alias": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690"}, "created_at": 1679592111.566656, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690\") }}", "language": "sql", "refs": [["apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads.apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads/models/apple_search_ads.yml/dbt_utils_unique_combination_o_7c3690db5ce751fbf1f2dff07b3a8690.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n search_term_text, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads`.`apple_search_ads__search_term_report`\n group by search_term_text, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.apple_search_ads__search_term_report"}, "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('ad_reporting__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__account_report_account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__account_report_account_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022", "fqn": ["ad_reporting", "not_null_ad_reporting__account_report_account_id"], "alias": "not_null_ad_reporting__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.736098, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.ad_reporting__account_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id"], "alias": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce"}, "created_at": 1679592111.7394419, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce\") }}", "language": "sql", "refs": [["ad_reporting__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__account_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_096d5dbf3a188e4736e3d2c607a5a2ce.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__account_report`\n group by platform, date_day, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__account_report"}, "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('ad_reporting__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__ad_group_report_ad_group_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842", "fqn": ["ad_reporting", "not_null_ad_reporting__ad_group_report_ad_group_id"], "alias": "not_null_ad_reporting__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.748111, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.ad_reporting__ad_group_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342"}, "created_at": 1679592111.751636, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342\") }}", "language": "sql", "refs": [["ad_reporting__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_group_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_86fffff8dec06644eeb81f4837856342.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__ad_group_report`\n group by platform, date_day, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__ad_group_report"}, "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('ad_reporting__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__ad_report_ad_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__ad_report_ad_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152", "fqn": ["ad_reporting", "not_null_ad_reporting__ad_report_ad_id"], "alias": "not_null_ad_reporting__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.7622359, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.ad_reporting__ad_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "ad_id", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21"}, "created_at": 1679592111.7660239, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21\") }}", "language": "sql", "refs": [["ad_reporting__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_c3ce7d8d1708ef4f2ca05b498dce6f21.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, ad_id, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__ad_report`\n group by platform, date_day, ad_id, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__ad_report"}, "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('ad_reporting__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__campaign_report_campaign_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__campaign_report_campaign_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b", "fqn": ["ad_reporting", "not_null_ad_reporting__campaign_report_campaign_id"], "alias": "not_null_ad_reporting__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.776581, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.ad_reporting__campaign_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f"}, "created_at": 1679592111.779768, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f\") }}", "language": "sql", "refs": [["ad_reporting__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__campaign_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_f617d9a2a7237faaa5a8bf82407d243f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__campaign_report`\n group by platform, date_day, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__campaign_report"}, "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('ad_reporting__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__keyword_report_keyword_id", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__keyword_report_keyword_id.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334", "fqn": ["ad_reporting", "not_null_ad_reporting__keyword_report_keyword_id"], "alias": "not_null_ad_reporting__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.789958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.ad_reporting__keyword_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "keyword_id", "keyword_match_type", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e"}, "created_at": 1679592111.7934709, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e\") }}", "language": "sql", "refs": [["ad_reporting__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__keyword_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_5499321364b1d21748e920ddf811ea4e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, keyword_id, keyword_match_type, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__keyword_report`\n group by platform, date_day, keyword_id, keyword_match_type, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__keyword_report"}, "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_query", "model": "{{ get_where_subquery(ref('ad_reporting__search_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__search_report_search_query", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__search_report_search_query.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb", "fqn": ["ad_reporting", "not_null_ad_reporting__search_report_search_query"], "alias": "not_null_ad_reporting__search_report_search_query", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592111.804739, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["ad_reporting__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__search_report_search_query.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_query\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__search_report`\nwhere search_query is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_query", "file_key_name": "models.ad_reporting__search_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "search_query", "search_match_type", "keyword_id", "ad_group_id", "campaign_id", "account_id"], "model": "{{ get_where_subquery(ref('ad_reporting__search_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id"], "alias": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371"}, "created_at": 1679592111.808437, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371\") }}", "language": "sql", "refs": [["ad_reporting__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__search_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_437a89e9e4e53f95ce99529e3a181371.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, search_query, search_match_type, keyword_id, ad_group_id, campaign_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__search_report`\n group by platform, date_day, search_query, search_match_type, keyword_id, ad_group_id, campaign_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__search_report"}, "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('ad_reporting__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_ad_reporting__url_report_base_url", "resource_type": "test", "package_name": "ad_reporting", "path": "not_null_ad_reporting__url_report_base_url.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6", "fqn": ["ad_reporting", "not_null_ad_reporting__url_report_base_url"], "alias": "not_null_ad_reporting__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592111.821003, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["ad_reporting__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/not_null_ad_reporting__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.ad_reporting__url_report"}, "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["platform", "date_day", "ad_group_id", "campaign_id", "account_id", "base_url", "url_host", "url_path", "utm_campaign", "utm_content", "utm_medium", "utm_source", "utm_term"], "model": "{{ get_where_subquery(ref('ad_reporting__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term", "resource_type": "test", "package_name": "ad_reporting", "path": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10.sql", "original_file_path": "models/ad_reporting_models.yml", "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424", "fqn": ["ad_reporting", "dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term"], "alias": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10"}, "created_at": 1679592111.825496, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10\") }}", "language": "sql", "refs": [["ad_reporting__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.ad_reporting.ad_reporting__url_report"]}, "compiled_path": "target/compiled/ad_reporting/models/ad_reporting_models.yml/dbt_utils_unique_combination_o_996efa0d96cfeb69e01d6d9960ce6a10.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n platform, date_day, ad_group_id, campaign_id, account_id, base_url, url_host, url_path, utm_campaign, utm_content, utm_medium, utm_source, utm_term\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_ad_reporting`.`ad_reporting__url_report`\n group by platform, date_day, ad_group_id, campaign_id, account_id, base_url, url_host, url_path, utm_campaign, utm_content, utm_medium, utm_source, utm_term\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.ad_reporting__url_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_history_modified_at"], "alias": "not_null_stg_apple_search_ads__ad_group_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.003444, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__ad_group_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_apple_search_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.007039, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_apple_search_ads__ad_group_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at"], "alias": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f"}, "created_at": 1679592112.011223, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_d82553a0f3b4daa8d59460c85a542d4f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_history`\n group by ad_group_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_group_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_report_ad_group_id"], "alias": "not_null_stg_apple_search_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.019907, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_apple_search_ads__ad_group_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_group_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_group_report_date_day"], "alias": "not_null_stg_apple_search_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.023453, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__ad_group_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day"], "alias": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d"}, "created_at": 1679592112.027308, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_107a9492c163887581fde6b34131e42d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_group_report`\n group by ad_group_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_group_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_history_modified_at"], "alias": "not_null_stg_apple_search_ads__ad_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.0362701, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__ad_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_history_ad_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_history_ad_id"], "alias": "not_null_stg_apple_search_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.039671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_apple_search_ads__ad_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at"], "alias": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31"}, "created_at": 1679592112.042987, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_ed0f61b146739c836defcf2fb6005d31.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_history`\n group by ad_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_report_date_day"], "alias": "not_null_stg_apple_search_ads__ad_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.051641, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_report_ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_report_ad_group_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_report_ad_group_id"], "alias": "not_null_stg_apple_search_ads__ad_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.0561988, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__ad_report_ad_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__ad_report_ad_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__ad_report_ad_id"], "alias": "not_null_stg_apple_search_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.06008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_day", "ad_group_id"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id"], "alias": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9"}, "created_at": 1679592112.063582, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9\") }}", "language": "sql", "refs": [["stg_apple_search_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_9ce5e828ce9fa0987b5e86cbcb1207b9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_day, ad_group_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__ad_report`\n group by ad_id, date_day, ad_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__ad_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_history_modified_at"], "alias": "not_null_stg_apple_search_ads__campaign_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.0729878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__campaign_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_history_campaign_id"], "alias": "not_null_stg_apple_search_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.076394, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_apple_search_ads__campaign_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at"], "alias": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9"}, "created_at": 1679592112.079703, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9\") }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_055fa7e8a6c292e0f56d1feec61284a9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_history`\n group by campaign_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__campaign_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_report_campaign_id"], "alias": "not_null_stg_apple_search_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.08813, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_apple_search_ads__campaign_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__campaign_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__campaign_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__campaign_report_date_day"], "alias": "not_null_stg_apple_search_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.0920682, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__campaign_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day"], "alias": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07"}, "created_at": 1679592112.095566, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07\") }}", "language": "sql", "refs": [["stg_apple_search_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_d8bdb244aa45cb237ef5189371733c07.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__campaign_report`\n group by campaign_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__campaign_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "modified_at", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_history_modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_history_modified_at.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_history_modified_at"], "alias": "not_null_stg_apple_search_ads__keyword_history_modified_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.1042292, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_history_modified_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect modified_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\nwhere modified_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "modified_at", "file_key_name": "models.stg_apple_search_ads__keyword_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_history_keyword_id"], "alias": "not_null_stg_apple_search_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.107927, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_apple_search_ads__keyword_history"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "modified_at"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at"], "alias": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5"}, "created_at": 1679592112.111479, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5\") }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_26b09b2f81a50b0ba84b566cd7df85b5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, modified_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_history`\n group by keyword_id, modified_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__keyword_history"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_report_keyword_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_report_keyword_id"], "alias": "not_null_stg_apple_search_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.119974, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_apple_search_ads__keyword_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__keyword_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__keyword_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__keyword_report_date_day"], "alias": "not_null_stg_apple_search_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.1234581, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__keyword_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day"], "alias": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5"}, "created_at": 1679592112.127433, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5\") }}", "language": "sql", "refs": [["stg_apple_search_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_2ec7f68205f05a3b68cfa7324135a1a5.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__keyword_report`\n group by keyword_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__keyword_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "organization_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__organization')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__organization_organization_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__organization_organization_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__organization_organization_id"], "alias": "not_null_stg_apple_search_ads__organization_organization_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.1357608, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__organization_organization_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect organization_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\nwhere organization_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "organization_id", "file_key_name": "models.stg_apple_search_ads__organization"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["organization_id"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__organization')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id"], "alias": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b"}, "created_at": 1679592112.139926, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b\") }}", "language": "sql", "refs": [["stg_apple_search_ads__organization"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__organization"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_53ded9060f9d3981217ae23e5d2ba89b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n organization_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__organization`\n group by organization_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__organization"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_id", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__search_term_report__fivetran_id", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__search_term_report__fivetran_id.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__search_term_report__fivetran_id"], "alias": "not_null_stg_apple_search_ads__search_term_report__fivetran_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.148027, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__search_term_report__fivetran_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\nwhere _fivetran_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_id", "file_key_name": "models.stg_apple_search_ads__search_term_report"}, "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_apple_search_ads__search_term_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_apple_search_ads__search_term_report_date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "not_null_stg_apple_search_ads__search_term_report_date_day.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302", "fqn": ["apple_search_ads_source", "not_null_stg_apple_search_ads__search_term_report_date_day"], "alias": "not_null_stg_apple_search_ads__search_term_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.15169, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/not_null_stg_apple_search_ads__search_term_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_apple_search_ads__search_term_report"}, "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["_fivetran_id", "date_day"], "model": "{{ get_where_subquery(ref('stg_apple_search_ads__search_term_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day", "resource_type": "test", "package_name": "apple_search_ads_source", "path": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1.sql", "original_file_path": "models/stg_apple_search_ads.yml", "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344", "fqn": ["apple_search_ads_source", "dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day"], "alias": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1"}, "created_at": 1679592112.1550562, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1\") }}", "language": "sql", "refs": [["stg_apple_search_ads__search_term_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"]}, "compiled_path": "target/compiled/apple_search_ads_source/models/stg_apple_search_ads.yml/dbt_utils_unique_combination_o_4b957c6b8a75dcd1a6055884f71d71c1.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n _fivetran_id, date_day\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_apple_search_ads_source`.`stg_apple_search_ads__search_term_report`\n group by _fivetran_id, date_day\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_apple_search_ads__search_term_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_pinterest_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.2422981, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_pinterest_ads__ad_group_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7"}, "created_at": 1679592112.245873, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7\") }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_14ec492421aa290adbd40aba9f38efa7.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_history`\n group by ad_group_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__ad_group_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__campaign_history_campaign_id"], "alias": "not_null_stg_pinterest_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.2548711, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_pinterest_ads__campaign_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b"}, "created_at": 1679592112.2587771, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b\") }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_0f71f27ed6b0ce2d4940b4361559871b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_history`\n group by campaign_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__campaign_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id"], "alias": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f"}, "created_at": 1679592112.267654, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__pi_5cf03dfc3d2615f9d68ae62d55aa2b8f.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.stg_pinterest_ads__pin_promotion_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["_fivetran_synced", "pin_promotion_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id"], "alias": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175"}, "created_at": 1679592112.2711208, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_e0501de9c3316348957b42725bcba175.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n _fivetran_synced, pin_promotion_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_history`\n group by _fivetran_synced, pin_promotion_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__pin_promotion_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__pin_promotion_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__pin_promotion_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__pin_promotion_report_date_day"], "alias": "not_null_stg_pinterest_ads__pin_promotion_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.279992, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__pin_promotion_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__pin_promotion_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "pin_promotion_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id"], "alias": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b"}, "created_at": 1679592112.283306, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__pi_d0985f4b7b2bc6d5ec7f384cc03d6f4b.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect pin_promotion_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\nwhere pin_promotion_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "pin_promotion_id", "file_key_name": "models.stg_pinterest_ads__pin_promotion_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__pin_promotion_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19"}, "created_at": 1679592112.287133, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19\") }}", "language": "sql", "refs": [["stg_pinterest_ads__pin_promotion_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_b200b80456022485be650ebe0c64fc19.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__pin_promotion_report`\n group by date_day, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__pin_promotion_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__ad_group_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__ad_group_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__ad_group_report_date_day"], "alias": "not_null_stg_pinterest_ads__ad_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.2978618, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__ad_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__ad_group_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__ad_group_report_ad_group_id"], "alias": "not_null_stg_pinterest_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.301111, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_pinterest_ads__ad_group_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_group_id", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8"}, "created_at": 1679592112.304563, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8\") }}", "language": "sql", "refs": [["stg_pinterest_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_e8f9cd4890106f736fbaf772885876c8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_group_id, campaign_id, advertiser_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__ad_group_report`\n group by date_day, ad_group_id, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__ad_group_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__advertiser_history_advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__advertiser_history_advertiser_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__advertiser_history_advertiser_id"], "alias": "not_null_stg_pinterest_ads__advertiser_history_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.314361, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__advertiser_history_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_pinterest_ads__advertiser_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["updated_at", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id"], "alias": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733"}, "created_at": 1679592112.317659, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733\") }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_ac571a135eb9bbe6db1401c33b830733.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n updated_at, advertiser_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_history`\n group by updated_at, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__advertiser_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__advertiser_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__advertiser_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__advertiser_report_date_day"], "alias": "not_null_stg_pinterest_ads__advertiser_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.3268712, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__advertiser_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__advertiser_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__advertiser_report_advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__advertiser_report_advertiser_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__advertiser_report_advertiser_id"], "alias": "not_null_stg_pinterest_ads__advertiser_report_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.330563, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__advertiser_report_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_pinterest_ads__advertiser_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__advertiser_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id"], "alias": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de"}, "created_at": 1679592112.333869, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de\") }}", "language": "sql", "refs": [["stg_pinterest_ads__advertiser_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_7440d10d36ca9b555b1bb533d442c6de.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, advertiser_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__advertiser_report`\n group by date_day, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__advertiser_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__campaign_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__campaign_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__campaign_report_date_day"], "alias": "not_null_stg_pinterest_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.3426151, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__campaign_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__campaign_report_campaign_id"], "alias": "not_null_stg_pinterest_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.346089, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_pinterest_ads__campaign_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf"}, "created_at": 1679592112.349521, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf\") }}", "language": "sql", "refs": [["stg_pinterest_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__campaign_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_ea5276bb765474198ad51f22f75fccbf.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, advertiser_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__campaign_report`\n group by date_day, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__campaign_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__keyword_history_keyword_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__keyword_history_keyword_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__keyword_history_keyword_id"], "alias": "not_null_stg_pinterest_ads__keyword_history_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.3594072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__keyword_history_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_history`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_pinterest_ads__keyword_history"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["keyword_id", "ad_group_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628"}, "created_at": 1679592112.362936, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628\") }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_history"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_ed0c009a9ff1bbb46e1ea2a210b25628.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n keyword_id, ad_group_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_history`\n group by keyword_id, ad_group_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__keyword_history"}, "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__keyword_report_date_day", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__keyword_report_date_day.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__keyword_report_date_day"], "alias": "not_null_stg_pinterest_ads__keyword_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.372441, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__keyword_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_pinterest_ads__keyword_report"}, "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_pinterest_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "pinterest_source", "path": "not_null_stg_pinterest_ads__keyword_report_keyword_id.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48", "fqn": ["pinterest_source", "not_null_stg_pinterest_ads__keyword_report_keyword_id"], "alias": "not_null_stg_pinterest_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.3773708, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/not_null_stg_pinterest_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.stg_pinterest_ads__keyword_report"}, "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id", "pin_promotion_id", "ad_group_id", "campaign_id", "advertiser_id"], "model": "{{ get_where_subquery(ref('stg_pinterest_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id", "resource_type": "test", "package_name": "pinterest_source", "path": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236.sql", "original_file_path": "models/stg_pinterest_ads.yml", "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6", "fqn": ["pinterest_source", "dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id"], "alias": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236"}, "created_at": 1679592112.380671, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236\") }}", "language": "sql", "refs": [["stg_pinterest_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.pinterest_source.stg_pinterest_ads__keyword_report"]}, "compiled_path": "target/compiled/pinterest_source/models/stg_pinterest_ads.yml/dbt_utils_unique_combination_o_b825b00d7629c7441a3daa35cf249236.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, keyword_id, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_pinterest_source`.`stg_pinterest_ads__keyword_report`\n group by date_day, keyword_id, pin_promotion_id, ad_group_id, campaign_id, advertiser_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_pinterest_ads__keyword_report"}, "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__advertiser')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "unique_stg_tiktok_ads__advertiser_advertiser_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "unique_stg_tiktok_ads__advertiser_advertiser_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66", "fqn": ["tiktok_ads_source", "unique_stg_tiktok_ads__advertiser_advertiser_id"], "alias": "unique_stg_tiktok_ads__advertiser_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.72629, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__advertiser"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/unique_stg_tiktok_ads__advertiser_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select advertiser_id as unique_field\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\n where advertiser_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_tiktok_ads__advertiser"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "advertiser_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__advertiser')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__advertiser_advertiser_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__advertiser_advertiser_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__advertiser_advertiser_id"], "alias": "not_null_stg_tiktok_ads__advertiser_advertiser_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.730058, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__advertiser"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__advertiser_advertiser_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect advertiser_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__advertiser`\nwhere advertiser_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "advertiser_id", "file_key_name": "models.stg_tiktok_ads__advertiser"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_group_history_ad_group_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_group_history_ad_group_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_group_history_ad_group_id"], "alias": "not_null_stg_tiktok_ads__ad_group_history_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.733415, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_group_history_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_tiktok_ads__ad_group_history"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at"], "alias": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8"}, "created_at": 1679592112.736803, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_353c130a41ba5d6aab13dbda36b226c8.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_history`\n group by ad_group_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_group_history"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_history_ad_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_history_ad_id"], "alias": "not_null_stg_tiktok_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.745823, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_tiktok_ads__ad_history"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at"], "alias": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f"}, "created_at": 1679592112.749161, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_fe2e43690b07f6a6cbd499af54b7738f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_history`\n group by ad_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_history"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__campaign_history_campaign_id"], "alias": "not_null_stg_tiktok_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.757798, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_tiktok_ads__campaign_history"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at"], "alias": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000"}, "created_at": 1679592112.761182, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000\") }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_843ebfc08785d00a296625f469aa2000.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_history`\n group by campaign_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__campaign_history"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_report_hourly_ad_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_report_hourly_ad_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_report_hourly_ad_id"], "alias": "not_null_stg_tiktok_ads__ad_report_hourly_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.769872, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_report_hourly_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_tiktok_ads__ad_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "stat_time_hour", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour"], "alias": "not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.7733, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect stat_time_hour\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\nwhere stat_time_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "stat_time_hour", "file_key_name": "models.stg_tiktok_ads__ad_report_hourly"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "stat_time_hour"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_report_hourly')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour"], "alias": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc"}, "created_at": 1679592112.7774148, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_e6913172297a173fb855f92cf72b08dc.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, stat_time_hour\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_report_hourly`\n group by ad_id, stat_time_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id"], "alias": "not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.785878, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.stg_tiktok_ads__ad_group_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "stat_time_hour", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour"], "alias": "not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.7902982, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect stat_time_hour\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\nwhere stat_time_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "stat_time_hour", "file_key_name": "models.stg_tiktok_ads__ad_group_report_hourly"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_group_id", "stat_time_hour"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__ad_group_report_hourly')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour"], "alias": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60"}, "created_at": 1679592112.793857, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60\") }}", "language": "sql", "refs": [["stg_tiktok_ads__ad_group_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_b8146651452c0bd776f5ad7184463e60.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_group_id, stat_time_hour\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__ad_group_report_hourly`\n group by ad_group_id, stat_time_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__ad_group_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id"], "alias": "not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.802363, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_tiktok_ads__campaign_report_hourly"}, "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "stat_time_hour", "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_report_hourly')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c", "fqn": ["tiktok_ads_source", "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour"], "alias": "not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.806023, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect stat_time_hour\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\nwhere stat_time_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "stat_time_hour", "file_key_name": "models.stg_tiktok_ads__campaign_report_hourly"}, "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "stat_time_hour"], "model": "{{ get_where_subquery(ref('stg_tiktok_ads__campaign_report_hourly')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour", "resource_type": "test", "package_name": "tiktok_ads_source", "path": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16.sql", "original_file_path": "models/stg_tiktok_ads.yml", "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34", "fqn": ["tiktok_ads_source", "dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour"], "alias": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16"}, "created_at": 1679592112.809559, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16\") }}", "language": "sql", "refs": [["stg_tiktok_ads__campaign_report_hourly"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"]}, "compiled_path": "target/compiled/tiktok_ads_source/models/stg_tiktok_ads.yml/dbt_utils_unique_combination_o_28d20c1f14a23926a21e229d68eb6b16.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, stat_time_hour\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_stg_tiktok_ads`.`stg_tiktok_ads__campaign_report_hourly`\n group by campaign_id, stat_time_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_tiktok_ads__campaign_report_hourly"}, "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__account_history_account_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__account_history_account_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__account_history_account_id"], "alias": "not_null_stg_facebook_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.8766, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_facebook_ads__account_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_facebook_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__account_history__fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__account_history__fivetran_synced.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__account_history__fivetran_synced"], "alias": "not_null_stg_facebook_ads__account_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.880085, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__account_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_facebook_ads__account_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f"}, "created_at": 1679592112.8834581, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f\") }}", "language": "sql", "refs": [["stg_facebook_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__account_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_6c9521eb7e9747df57d9737e83cb864f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__account_history`\n group by account_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__account_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_history_ad_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_history_ad_id"], "alias": "not_null_stg_facebook_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.8921442, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_facebook_ads__ad_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "updated_at", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_history_updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_history_updated_at.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_history_updated_at"], "alias": "not_null_stg_facebook_ads__ad_history_updated_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.8953788, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_history_updated_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect updated_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\nwhere updated_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "updated_at", "file_key_name": "models.stg_facebook_ads__ad_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at"], "alias": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137"}, "created_at": 1679592112.8990269, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137\") }}", "language": "sql", "refs": [["stg_facebook_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_da2a7458e53ca8b420768a0c3e8e2137.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_history`\n group by ad_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__ad_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_set_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_set_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_set_history_ad_set_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_set_history_ad_set_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_set_history_ad_set_id"], "alias": "not_null_stg_facebook_ads__ad_set_history_ad_set_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.907079, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_set_history_ad_set_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_set_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\nwhere ad_set_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_set_id", "file_key_name": "models.stg_facebook_ads__ad_set_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "updated_at", "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_set_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__ad_set_history_updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__ad_set_history_updated_at.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__ad_set_history_updated_at"], "alias": "not_null_stg_facebook_ads__ad_set_history_updated_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.9108312, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__ad_set_history_updated_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect updated_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\nwhere updated_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "updated_at", "file_key_name": "models.stg_facebook_ads__ad_set_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_set_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__ad_set_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at"], "alias": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f"}, "created_at": 1679592112.914211, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f\") }}", "language": "sql", "refs": [["stg_facebook_ads__ad_set_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_214e0ea8c1d3eb6e1c1fae451c60969f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_set_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__ad_set_history`\n group by ad_set_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__ad_set_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__campaign_history_campaign_id"], "alias": "not_null_stg_facebook_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.922979, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_facebook_ads__campaign_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "updated_at", "model": "{{ get_where_subquery(ref('stg_facebook_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__campaign_history_updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__campaign_history_updated_at.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__campaign_history_updated_at"], "alias": "not_null_stg_facebook_ads__campaign_history_updated_at", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.926551, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__campaign_history_updated_at.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect updated_at\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\nwhere updated_at is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "updated_at", "file_key_name": "models.stg_facebook_ads__campaign_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_at"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at"], "alias": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78"}, "created_at": 1679592112.9298098, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78\") }}", "language": "sql", "refs": [["stg_facebook_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_6067330a8eb187d5024e9840cd7cbd78.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__campaign_history`\n group by campaign_id, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__campaign_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_facebook_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__creative_history__fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__creative_history__fivetran_synced.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__creative_history__fivetran_synced"], "alias": "not_null_stg_facebook_ads__creative_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.938385, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__creative_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_facebook_ads__creative_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__creative_history_creative_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__creative_history_creative_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__creative_history_creative_id"], "alias": "not_null_stg_facebook_ads__creative_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.941628, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__creative_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_facebook_ads__creative_history"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["creative_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__creative_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217"}, "created_at": 1679592112.9454951, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217\") }}", "language": "sql", "refs": [["stg_facebook_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__creative_history"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_c52d893dfedd530a7cd19c495da30217.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n creative_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__creative_history`\n group by creative_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__creative_history"}, "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__basic_ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__basic_ad_ad_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__basic_ad_ad_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__basic_ad_ad_id"], "alias": "not_null_stg_facebook_ads__basic_ad_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.954072, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__basic_ad_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_facebook_ads__basic_ad"}, "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_facebook_ads__basic_ad')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_facebook_ads__basic_ad_account_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "not_null_stg_facebook_ads__basic_ad_account_id.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b", "fqn": ["facebook_ads_source", "not_null_stg_facebook_ads__basic_ad_account_id"], "alias": "not_null_stg_facebook_ads__basic_ad_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592112.957628, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/not_null_stg_facebook_ads__basic_ad_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_facebook_ads__basic_ad"}, "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "ad_id", "account_id"], "model": "{{ get_where_subquery(ref('stg_facebook_ads__basic_ad')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id", "resource_type": "test", "package_name": "facebook_ads_source", "path": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683.sql", "original_file_path": "models/stg_facebook_ads.yml", "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7", "fqn": ["facebook_ads_source", "dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id"], "alias": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683"}, "created_at": 1679592112.9610088, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683\") }}", "language": "sql", "refs": [["stg_facebook_ads__basic_ad"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"]}, "compiled_path": "target/compiled/facebook_ads_source/models/stg_facebook_ads.yml/dbt_utils_unique_combination_o_42caf2b48bab7db5c316ae2524dd0683.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, ad_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_facebook_ads_source`.`stg_facebook_ads__basic_ad`\n group by date_day, ad_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_facebook_ads__basic_ad"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__ad_account_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.173675, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__ad_account_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_account_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_account_history_ad_account_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_account_history_ad_account_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_account_history_ad_account_id"], "alias": "not_null_stg_snapchat_ads__ad_account_history_ad_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.177189, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_account_history_ad_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\nwhere ad_account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_account_id", "file_key_name": "models.stg_snapchat_ads__ad_account_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_account_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d"}, "created_at": 1679592113.180814, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_3852df57bdc45c0c215b1863f3f9075d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_account_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_account_history`\n group by ad_account_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_account_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__ad_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.189844, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__ad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_history_ad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_history_ad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_history_ad_id"], "alias": "not_null_stg_snapchat_ads__ad_history_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.1932318, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_history_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_snapchat_ads__ad_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060"}, "created_at": 1679592113.196526, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_f4293c0007c439c8e914dcbf1296b060.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_history`\n group by ad_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_hourly_report_ad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_hourly_report_ad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_hourly_report_ad_id"], "alias": "not_null_stg_snapchat_ads__ad_hourly_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.204984, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_hourly_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.stg_snapchat_ads__ad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_hour", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_hourly_report_date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_hourly_report_date_hour.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_hourly_report_date_hour"], "alias": "not_null_stg_snapchat_ads__ad_hourly_report_date_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.208601, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_hourly_report_date_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_hour\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\nwhere date_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_hour", "file_key_name": "models.stg_snapchat_ads__ad_hourly_report"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_id", "date_hour"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_hourly_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour"], "alias": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea"}, "created_at": 1679592113.211957, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_51be039d7f287e51c6f47e98ae48f8ea.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_id, date_hour\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_hourly_report`\n group by ad_id, date_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.220703, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__ad_squad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_squad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id"], "alias": "not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.224671, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_squad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\nwhere ad_squad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_squad_id", "file_key_name": "models.stg_snapchat_ads__ad_squad_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_squad_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128"}, "created_at": 1679592113.228069, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_e1915f47a6425292156cafe7be652128.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_squad_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_history`\n group by ad_squad_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_squad_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_squad_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id"], "alias": "not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.23692, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_squad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\nwhere ad_squad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_squad_id", "file_key_name": "models.stg_snapchat_ads__ad_squad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_hour", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour"], "alias": "not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.2403069, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_hour\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\nwhere date_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_hour", "file_key_name": "models.stg_snapchat_ads__ad_squad_hourly_report"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["ad_squad_id", "date_hour"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__ad_squad_hourly_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour"], "alias": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3"}, "created_at": 1679592113.243823, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3\") }}", "language": "sql", "refs": [["stg_snapchat_ads__ad_squad_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_f511cc57cc2f37ea815924cccff18bc3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n ad_squad_id, date_hour\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__ad_squad_hourly_report`\n group by ad_squad_id, date_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__ad_squad_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__campaign_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.252119, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__campaign_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_history_campaign_id"], "alias": "not_null_stg_snapchat_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.255657, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_snapchat_ads__campaign_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b"}, "created_at": 1679592113.2598348, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b\") }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_57987eae5ec7cafd860959dc1cd2003b.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_history`\n group by campaign_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__campaign_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id"], "alias": "not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.269079, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_snapchat_ads__campaign_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_hour", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_hourly_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour"], "alias": "not_null_stg_snapchat_ads__campaign_hourly_report_date_hour", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.272616, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_hour\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\nwhere date_hour is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_hour", "file_key_name": "models.stg_snapchat_ads__campaign_hourly_report"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "date_hour"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__campaign_hourly_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour"], "alias": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2"}, "created_at": 1679592113.2760398, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2\") }}", "language": "sql", "refs": [["stg_snapchat_ads__campaign_hourly_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_0cd5a718b668452c6086029c1d653cd2.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, date_hour\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__campaign_hourly_report`\n group by campaign_id, date_hour\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__campaign_hourly_report"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "_fivetran_synced", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__creative_history__fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__creative_history__fivetran_synced.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__creative_history__fivetran_synced"], "alias": "not_null_stg_snapchat_ads__creative_history__fivetran_synced", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.285092, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__creative_history__fivetran_synced.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect _fivetran_synced\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\nwhere _fivetran_synced is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "_fivetran_synced", "file_key_name": "models.stg_snapchat_ads__creative_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__creative_history_creative_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__creative_history_creative_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__creative_history_creative_id"], "alias": "not_null_stg_snapchat_ads__creative_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.288277, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__creative_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_snapchat_ads__creative_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["creative_id", "_fivetran_synced"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced"], "alias": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d"}, "created_at": 1679592113.2920058, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d\") }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_6b9615128ce9ee3b9b92bc0b5f9bc33d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n creative_id, _fivetran_synced\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_history`\n group by creative_id, _fivetran_synced\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__creative_history"}, "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_url_tag_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b", "fqn": ["snapchat_ads_source", "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id"], "alias": "not_null_stg_snapchat_ads__creative_url_tag_history_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.300809, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_url_tag_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.stg_snapchat_ads__creative_url_tag_history"}, "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["creative_id", "param_key", "updated_at"], "model": "{{ get_where_subquery(ref('stg_snapchat_ads__creative_url_tag_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at", "resource_type": "test", "package_name": "snapchat_ads_source", "path": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985.sql", "original_file_path": "models/stg_snapchat.yml", "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe", "fqn": ["snapchat_ads_source", "dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at"], "alias": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985"}, "created_at": 1679592113.3048, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985\") }}", "language": "sql", "refs": [["stg_snapchat_ads__creative_url_tag_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"]}, "compiled_path": "target/compiled/snapchat_ads_source/models/stg_snapchat.yml/dbt_utils_unique_combination_o_bf5f1fe7986f7917e2a647b5f7b1f985.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n creative_id, param_key, updated_at\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_snapchat_ads_source`.`stg_snapchat_ads__creative_url_tag_history`\n group by creative_id, param_key, updated_at\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_snapchat_ads__creative_url_tag_history"}, "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('microsoft_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__account_report_account_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__account_report_account_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e", "fqn": ["microsoft_ads", "not_null_microsoft_ads__account_report_account_id"], "alias": "not_null_microsoft_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.3980968, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__account_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.microsoft_ads__account_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668"}, "created_at": 1679592113.401547, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668\") }}", "language": "sql", "refs": [["microsoft_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__account_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_9284db0a761f9f76982a86a301c98668.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__account_report`\n group by date_day, account_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__account_report"}, "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_group_id", "model": "{{ get_where_subquery(ref('microsoft_ads__ad_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__ad_group_report_ad_group_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__ad_group_report_ad_group_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9", "fqn": ["microsoft_ads", "not_null_microsoft_ads__ad_group_report_ad_group_id"], "alias": "not_null_microsoft_ads__ad_group_report_ad_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.411906, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_group_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__ad_group_report_ad_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_group_report`\nwhere ad_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_group_id", "file_key_name": "models.microsoft_ads__ad_group_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__ad_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6"}, "created_at": 1679592113.415169, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6\") }}", "language": "sql", "refs": [["microsoft_ads__ad_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_group_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_40dfe26196c4c6b90b8b7492df4c01d6.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_group_report`\n group by date_day, account_id, campaign_id, ad_group_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__ad_group_report"}, "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "ad_id", "model": "{{ get_where_subquery(ref('microsoft_ads__ad_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__ad_report_ad_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__ad_report_ad_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125", "fqn": ["microsoft_ads", "not_null_microsoft_ads__ad_report_ad_id"], "alias": "not_null_microsoft_ads__ad_report_ad_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.4267972, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__ad_report_ad_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect ad_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_report`\nwhere ad_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "ad_id", "file_key_name": "models.microsoft_ads__ad_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "ad_type", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__ad_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822"}, "created_at": 1679592113.4307468, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822\") }}", "language": "sql", "refs": [["microsoft_ads__ad_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__ad_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_77fd1448acda33bd9d2c0555648d2822.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, ad_type, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__ad_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, ad_type, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__ad_report"}, "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('microsoft_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__campaign_report_campaign_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8", "fqn": ["microsoft_ads", "not_null_microsoft_ads__campaign_report_campaign_id"], "alias": "not_null_microsoft_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.443958, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__campaign_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.microsoft_ads__campaign_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a"}, "created_at": 1679592113.447242, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a\") }}", "language": "sql", "refs": [["microsoft_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__campaign_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_90115110f76cc54bfcc637b8965bda7a.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__campaign_report`\n group by date_day, account_id, campaign_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__campaign_report"}, "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('microsoft_ads__keyword_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__keyword_report_keyword_id", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__keyword_report_keyword_id.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b", "fqn": ["microsoft_ads", "not_null_microsoft_ads__keyword_report_keyword_id"], "alias": "not_null_microsoft_ads__keyword_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.458449, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__keyword_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__keyword_report_keyword_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect keyword_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__keyword_report`\nwhere keyword_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "keyword_id", "file_key_name": "models.microsoft_ads__keyword_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__keyword_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854"}, "created_at": 1679592113.462952, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854\") }}", "language": "sql", "refs": [["microsoft_ads__keyword_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__keyword_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_44d9a6d860076a5eefdaf319891f3854.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__keyword_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__keyword_report"}, "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "search_query", "model": "{{ get_where_subquery(ref('microsoft_ads__search_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__search_report_search_query", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__search_report_search_query.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d", "fqn": ["microsoft_ads", "not_null_microsoft_ads__search_report_search_query"], "alias": "not_null_microsoft_ads__search_report_search_query", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.475687, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["microsoft_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__search_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__search_report_search_query.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect search_query\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__search_report`\nwhere search_query is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "search_query", "file_key_name": "models.microsoft_ads__search_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "keyword_id", "search_query", "device_os", "device_type", "network", "match_type"], "model": "{{ get_where_subquery(ref('microsoft_ads__search_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type"], "alias": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d"}, "created_at": 1679592113.478979, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d\") }}", "language": "sql", "refs": [["microsoft_ads__search_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__search_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_b73fdaf0afd1eb1f0b0e2311ce77d70d.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, match_type\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__search_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, keyword_id, search_query, device_os, device_type, network, match_type\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__search_report"}, "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "base_url", "model": "{{ get_where_subquery(ref('microsoft_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_microsoft_ads__url_report_base_url", "resource_type": "test", "package_name": "microsoft_ads", "path": "not_null_microsoft_ads__url_report_base_url.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a", "fqn": ["microsoft_ads", "not_null_microsoft_ads__url_report_base_url"], "alias": "not_null_microsoft_ads__url_report_base_url", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592113.493472, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["microsoft_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__url_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/not_null_microsoft_ads__url_report_base_url.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect base_url\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__url_report`\nwhere base_url is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "base_url", "file_key_name": "models.microsoft_ads__url_report"}, "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id", "campaign_id", "ad_group_id", "ad_id", "device_os", "device_type", "network", "currency_code"], "model": "{{ get_where_subquery(ref('microsoft_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code", "resource_type": "test", "package_name": "microsoft_ads", "path": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432.sql", "original_file_path": "models/microsoft_ads.yml", "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7", "fqn": ["microsoft_ads", "dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code"], "alias": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432"}, "created_at": 1679592113.497857, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432\") }}", "language": "sql", "refs": [["microsoft_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.microsoft_ads.microsoft_ads__url_report"]}, "compiled_path": "target/compiled/microsoft_ads/models/microsoft_ads.yml/dbt_utils_unique_combination_o_64edf902e79ea377b0f44b91e375b432.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, currency_code\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_microsoft_ads`.`microsoft_ads__url_report`\n group by date_day, account_id, campaign_id, ad_group_id, ad_id, device_os, device_type, network, currency_code\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.microsoft_ads__url_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__account_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__account_history_account_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__account_history_account_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__account_history_account_id"], "alias": "not_null_stg_twitter_ads__account_history_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.7003908, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__account_history_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.stg_twitter_ads__account_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["account_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__account_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0"}, "created_at": 1679592113.711328, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0\") }}", "language": "sql", "refs": [["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__account_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_568d1f63aee1f98c5b03795b1c7ce6e0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n account_id, updated_timestamp\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__account_history`\n group by account_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__account_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_history_campaign_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_history_campaign_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_history_campaign_id"], "alias": "not_null_stg_twitter_ads__campaign_history_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.7238011, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_history_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_twitter_ads__campaign_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["campaign_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2"}, "created_at": 1679592113.728951, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2\") }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_3a2db0bbb04188c2d34d0a3918a671e2.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n campaign_id, updated_timestamp\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_history`\n group by campaign_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__campaign_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "line_item_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_history_line_item_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_history_line_item_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_history_line_item_id"], "alias": "not_null_stg_twitter_ads__line_item_history_line_item_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.737699, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_history_line_item_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect line_item_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history`\nwhere line_item_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "line_item_id", "file_key_name": "models.stg_twitter_ads__line_item_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["line_item_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3"}, "created_at": 1679592113.741003, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3\") }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_46813227544cee5d3f0e709e692abea3.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n line_item_id, updated_timestamp\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_history`\n group by line_item_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__line_item_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_history')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id"], "alias": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976"}, "created_at": 1679592113.750008, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__prom_b9fd075f90e22952cf35b8a246a98976.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.stg_twitter_ads__promoted_tweet_history"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["promoted_tweet_id", "updated_timestamp"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_history')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp"], "alias": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca"}, "created_at": 1679592113.7532191, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_d9257bc7a9cdb33491e1f7fe6f42bbca.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n promoted_tweet_id, updated_timestamp\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_history`\n group by promoted_tweet_id, updated_timestamp\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__promoted_tweet_history"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__promoted_tweet_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_report_date_day"], "alias": "not_null_stg_twitter_ads__promoted_tweet_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.761749, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__promoted_tweet_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "promoted_tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id"], "alias": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa"}, "created_at": 1679592113.76543, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(alias=\"not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__prom_46616b936836e80f58bf2b489d5247aa.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect promoted_tweet_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\nwhere promoted_tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "promoted_tweet_id", "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__promoted_tweet_report_placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__promoted_tweet_report_placement.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__promoted_tweet_report_placement"], "alias": "not_null_stg_twitter_ads__promoted_tweet_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.768651, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__promoted_tweet_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "promoted_tweet_id", "placement"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__promoted_tweet_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement"], "alias": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9"}, "created_at": 1679592113.772029, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9\") }}", "language": "sql", "refs": [["stg_twitter_ads__promoted_tweet_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_3d583fe3c6abbb0e930d21030936ced9.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, promoted_tweet_id, placement\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__promoted_tweet_report`\n group by date_day, promoted_tweet_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__promoted_tweet_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "index", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet_url')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__tweet_url_index", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__tweet_url_index.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__tweet_url_index"], "alias": "not_null_stg_twitter_ads__tweet_url_index", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.781279, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__tweet_url_index.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect index\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url`\nwhere index is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "index", "file_key_name": "models.stg_twitter_ads__tweet_url"}, "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet_url')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__tweet_url_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__tweet_url_tweet_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__tweet_url_tweet_id"], "alias": "not_null_stg_twitter_ads__tweet_url_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.78452, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__tweet_url_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tweet_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url`\nwhere tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "tweet_id", "file_key_name": "models.stg_twitter_ads__tweet_url"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["index", "tweet_id"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet_url')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id"], "alias": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540"}, "created_at": 1679592113.789425, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540\") }}", "language": "sql", "refs": [["stg_twitter_ads__tweet_url"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_67f262d96b6883ebf74236649dcc0540.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n index, tweet_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet_url`\n group by index, tweet_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__tweet_url"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_report_date_day"], "alias": "not_null_stg_twitter_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.797648, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_report_campaign_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_report_campaign_id"], "alias": "not_null_stg_twitter_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.8012679, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__campaign_report_placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__campaign_report_placement.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__campaign_report_placement"], "alias": "not_null_stg_twitter_ads__campaign_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.804538, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__campaign_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "placement"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement"], "alias": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0"}, "created_at": 1679592113.8077362, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0\") }}", "language": "sql", "refs": [["stg_twitter_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_8ea2fb330c061f42c1639904f6bdc5f0.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, placement\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__campaign_report`\n group by date_day, campaign_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__campaign_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_report_date_day"], "alias": "not_null_stg_twitter_ads__line_item_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.817712, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "line_item_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_report_line_item_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_report_line_item_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_report_line_item_id"], "alias": "not_null_stg_twitter_ads__line_item_report_line_item_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.821275, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_report_line_item_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect line_item_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report`\nwhere line_item_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "line_item_id", "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "placement", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_report_placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_report_placement.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_report_placement"], "alias": "not_null_stg_twitter_ads__line_item_report_placement", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.825527, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__line_item_report_placement.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect placement\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report`\nwhere placement is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "placement", "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "line_item_id", "placement"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement"], "alias": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb"}, "created_at": 1679592113.828945, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb\") }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/dbt_utils_unique_combination_o_aaeab9295a1b92ec034614169e5444cb.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, line_item_id, placement\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_report`\n group by date_day, line_item_id, placement\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.stg_twitter_ads__line_item_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "keyword_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_keywords_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id"], "alias": "not_null_stg_twitter_ads__line_item_keywords_report_keyword_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.8379588, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "column_name": "keyword_id", "file_key_name": "models.stg_twitter_ads__line_item_keywords_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_keywords_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__line_item_keywords_report_date_day", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__line_item_keywords_report_date_day.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__line_item_keywords_report_date_day"], "alias": "not_null_stg_twitter_ads__line_item_keywords_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.841446, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null"], "nodes": []}, "compiled_path": null, "column_name": "date_day", "file_key_name": "models.stg_twitter_ads__line_item_keywords_report"}, "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "keyword_id"], "model": "{{ get_where_subquery(ref('stg_twitter_ads__line_item_keywords_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6", "fqn": ["twitter_ads_source", "dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id"], "alias": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": false, "alias": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9"}, "created_at": 1679592113.8449962, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_e6d80438f6069924aabc58f58480a4b9\") }}", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": []}, "compiled_path": null, "column_name": null, "file_key_name": "models.stg_twitter_ads__line_item_keywords_report"}, "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_stg_twitter_ads__tweet_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "not_null_stg_twitter_ads__tweet_tweet_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd", "fqn": ["twitter_ads_source", "not_null_stg_twitter_ads__tweet_tweet_id"], "alias": "not_null_stg_twitter_ads__tweet_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.853676, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/not_null_stg_twitter_ads__tweet_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect tweet_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet`\nwhere tweet_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "tweet_id", "file_key_name": "models.stg_twitter_ads__tweet"}, "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95": {"test_metadata": {"name": "unique", "kwargs": {"column_name": "tweet_id", "model": "{{ get_where_subquery(ref('stg_twitter_ads__tweet')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "unique_stg_twitter_ads__tweet_tweet_id", "resource_type": "test", "package_name": "twitter_ads_source", "path": "unique_stg_twitter_ads__tweet_tweet_id.sql", "original_file_path": "models/stg_twitter_ads.yml", "unique_id": "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95", "fqn": ["twitter_ads_source", "unique_stg_twitter_ads__tweet_tweet_id"], "alias": "unique_stg_twitter_ads__tweet_tweet_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.857207, "relation_name": null, "raw_code": "{{ test_unique(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["stg_twitter_ads__tweet"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_unique", "macro.dbt.get_where_subquery"], "nodes": ["model.twitter_ads_source.stg_twitter_ads__tweet"]}, "compiled_path": "target/compiled/twitter_ads_source/models/stg_twitter_ads.yml/unique_stg_twitter_ads__tweet_tweet_id.sql", "compiled": true, "compiled_code": "\n \n \n\nwith dbt_test__target as (\n\n select tweet_id as unique_field\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__tweet`\n where tweet_id is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "tweet_id", "file_key_name": "models.stg_twitter_ads__tweet"}, "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "account_id", "model": "{{ get_where_subquery(ref('linkedin_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__account_report_account_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__account_report_account_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842", "fqn": ["linkedin", "not_null_linkedin_ads__account_report_account_id"], "alias": "not_null_linkedin_ads__account_report_account_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.932905, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__account_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__account_report_account_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect account_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`\nwhere account_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "account_id", "file_key_name": "models.linkedin_ads__account_report"}, "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__account_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__account_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__account_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53", "fqn": ["linkedin", "not_null_linkedin_ads__account_report_date_day"], "alias": "not_null_linkedin_ads__account_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.936625, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__account_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__account_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__account_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__account_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id"], "alias": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231"}, "created_at": 1679592113.940347, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231\") }}", "language": "sql", "refs": [["linkedin_ads__account_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__account_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_0644abec3559f9c0247b709331bb1231.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__account_report`\n group by date_day, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__account_report"}, "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_report_date_day"], "alias": "not_null_linkedin_ads__campaign_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.9494889, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__campaign_report"}, "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_id", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_report_campaign_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_report_campaign_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_report_campaign_id"], "alias": "not_null_linkedin_ads__campaign_report_campaign_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.9530408, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_report_campaign_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`\nwhere campaign_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_id", "file_key_name": "models.linkedin_ads__campaign_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_id", "account_id", "campaign_group_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id"], "alias": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873"}, "created_at": 1679592113.956556, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873\") }}", "language": "sql", "refs": [["linkedin_ads__campaign_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_fd56be6c8a6c070551363fa2fd8d2873.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_id, account_id, campaign_group_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_report`\n group by date_day, campaign_id, account_id, campaign_group_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__campaign_report"}, "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_group_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_group_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_group_report_date_day"], "alias": "not_null_linkedin_ads__campaign_group_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.9664168, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_group_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_group_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__campaign_group_report"}, "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "campaign_group_id", "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_group_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__campaign_group_report_campaign_group_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__campaign_group_report_campaign_group_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf", "fqn": ["linkedin", "not_null_linkedin_ads__campaign_group_report_campaign_group_id"], "alias": "not_null_linkedin_ads__campaign_group_report_campaign_group_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.9697049, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__campaign_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_group_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__campaign_group_report_campaign_group_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect campaign_group_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`\nwhere campaign_group_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "campaign_group_id", "file_key_name": "models.linkedin_ads__campaign_group_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "campaign_group_id", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__campaign_group_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id"], "alias": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e"}, "created_at": 1679592113.974445, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e\") }}", "language": "sql", "refs": [["linkedin_ads__campaign_group_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__campaign_group_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_bcb471c45c713cd1ea59bd0229ed3f9e.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, campaign_group_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__campaign_group_report`\n group by date_day, campaign_group_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__campaign_group_report"}, "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__creative_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__creative_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__creative_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020", "fqn": ["linkedin", "not_null_linkedin_ads__creative_report_date_day"], "alias": "not_null_linkedin_ads__creative_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.983501, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__creative_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__creative_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__creative_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__creative_report"}, "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('linkedin_ads__creative_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__creative_report_creative_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__creative_report_creative_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889", "fqn": ["linkedin", "not_null_linkedin_ads__creative_report_creative_id"], "alias": "not_null_linkedin_ads__creative_report_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592113.9868438, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__creative_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__creative_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__creative_report_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.linkedin_ads__creative_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "creative_id", "campaign_id", "campaign_group_id", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__creative_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id"], "alias": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"alias": "dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92"}, "created_at": 1679592113.9901812, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(alias=\"dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92\") }}", "language": "sql", "refs": [["linkedin_ads__creative_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__creative_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_28cc8f6d273bc5b366ed325805452f92.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, creative_id, campaign_id, campaign_group_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__creative_report`\n group by date_day, creative_id, campaign_id, campaign_group_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__creative_report"}, "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "date_day", "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__url_report_date_day", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__url_report_date_day.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315", "fqn": ["linkedin", "not_null_linkedin_ads__url_report_date_day"], "alias": "not_null_linkedin_ads__url_report_date_day", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592114.000332, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__url_report_date_day.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect date_day\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\nwhere date_day is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "date_day", "file_key_name": "models.linkedin_ads__url_report"}, "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "creative_id", "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__url_report_creative_id", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__url_report_creative_id.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2", "fqn": ["linkedin", "not_null_linkedin_ads__url_report_creative_id"], "alias": "not_null_linkedin_ads__url_report_creative_id", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {}, "created_at": 1679592114.0036302, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__url_report_creative_id.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect creative_id\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\nwhere creative_id is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "creative_id", "file_key_name": "models.linkedin_ads__url_report"}, "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb": {"test_metadata": {"name": "not_null", "kwargs": {"column_name": "click_uri", "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": null}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "not_null_linkedin_ads__url_report_click_uri", "resource_type": "test", "package_name": "linkedin", "path": "not_null_linkedin_ads__url_report_click_uri.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb", "fqn": ["linkedin", "not_null_linkedin_ads__url_report_click_uri"], "alias": "not_null_linkedin_ads__url_report_click_uri", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": null, "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true}, "created_at": 1679592114.008266, "relation_name": null, "raw_code": "{{ test_not_null(**_dbt_generic_test_kwargs) }}{{ config(enabled=True) }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt.test_not_null", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/not_null_linkedin_ads__url_report_click_uri.sql", "compiled": true, "compiled_code": "\n \n \n\n\n\nselect click_uri\nfrom `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\nwhere click_uri is null\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": "click_uri", "file_key_name": "models.linkedin_ads__url_report"}, "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d": {"test_metadata": {"name": "unique_combination_of_columns", "kwargs": {"combination_of_columns": ["date_day", "creative_id", "campaign_id", "campaign_group_id", "account_id"], "model": "{{ get_where_subquery(ref('linkedin_ads__url_report')) }}"}, "namespace": "dbt_utils"}, "database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_dbt_test__audit", "name": "dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id", "resource_type": "test", "package_name": "linkedin", "path": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f.sql", "original_file_path": "models/linkedin.yml", "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d", "fqn": ["linkedin", "dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id"], "alias": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f", "checksum": {"name": "none", "checksum": ""}, "config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f", "schema": "dbt_test__audit", "database": null, "tags": [], "meta": {}, "materialized": "test", "severity": "ERROR", "store_failures": null, "where": null, "limit": null, "fail_calc": "count(*)", "warn_if": "!= 0", "error_if": "!= 0"}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"enabled": true, "alias": "dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f"}, "created_at": 1679592114.012613, "relation_name": null, "raw_code": "{{ dbt_utils.test_unique_combination_of_columns(**_dbt_generic_test_kwargs) }}{{ config(enabled=True,alias=\"dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f\") }}", "language": "sql", "refs": [["linkedin_ads__url_report"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.dbt_utils.test_unique_combination_of_columns", "macro.dbt.get_where_subquery"], "nodes": ["model.linkedin.linkedin_ads__url_report"]}, "compiled_path": "target/compiled/linkedin/models/linkedin.yml/dbt_utils_unique_combination_o_24d7d196c7f59231b7de190c11b33a2f.sql", "compiled": true, "compiled_code": "\n\n\n\n\n\nwith validation_errors as (\n\n select\n date_day, creative_id, campaign_id, campaign_group_id, account_id\n from `dbt-package-testing`.`ad_reporting_integration_tests_5_linkedin_ads`.`linkedin_ads__url_report`\n group by date_day, creative_id, campaign_id, campaign_group_id, account_id\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n", "extra_ctes_injected": true, "extra_ctes": [], "column_name": null, "file_key_name": "models.linkedin_ads__url_report"}}, "sources": {"source.microsoft_ads_source.microsoft_ads.account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.account_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "account_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_account_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft accounts.", "columns": {"id": {"name": "id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_account_history_data`", "created_at": 1679592114.025664}, "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "account_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_account_performance_daily_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_account_performance_daily_report_data`", "created_at": 1679592114.026141}, "source.microsoft_ads_source.microsoft_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_group_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_ad_group_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft ad groups.", "columns": {"id": {"name": "id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The date in which an ad group starts running.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The date in which this ad group will no longer run.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad group; see the following [documentation](https://help.ads.microsoft.com/apex/index/3/en/53094) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_group_history_data`", "created_at": 1679592114.026541}, "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_group_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_ad_group_performance_daily_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_association_status": {"name": "budget_association_status", "description": "The status of the campaign's budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_group_performance_daily_report_data`", "created_at": 1679592114.0269608}, "source.microsoft_ads_source.microsoft_ads.ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft ads.", "columns": {"id": {"name": "id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "title_part_1": {"name": "title_part_1", "description": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_url": {"name": "final_url", "description": "The full URL that the ad links to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this ad; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_history_data`", "created_at": 1679592114.027348}, "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "ad_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_ad_performance_daily_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_ad_performance_daily_report_data`", "created_at": 1679592114.027755}, "source.microsoft_ads_source.microsoft_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "campaign_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft campaigns.", "columns": {"id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_campaign_history_data`", "created_at": 1679592114.0281332}, "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "campaign_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_campaign_performance_daily_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_campaign_performance_daily_report_data`", "created_at": 1679592114.028533}, "source.microsoft_ads_source.microsoft_ads.keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_history", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_history", "fqn": ["microsoft_ads_source", "microsoft_ads", "keyword_history"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_keyword_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a version of one or more Microsoft keywords.", "columns": {"id": {"name": "id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The keyword(s) associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modified_time": {"name": "modified_time", "description": "The time each version of the object was last modified, i.e. when that version of the object was 'created'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of this keyword; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/keywordstatus?view=bingads-13) for more information on values and definitions.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_keyword_history_data`", "created_at": 1679592114.028903}, "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "keyword_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_keyword_performance_daily_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_keyword_performance_daily_report_data`", "created_at": 1679592114.029878}, "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "search_query_performance_daily_report", "resource_type": "source", "package_name": "microsoft_ads_source", "path": "models/src_microsoft_ads.yml", "original_file_path": "models/src_microsoft_ads.yml", "unique_id": "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report", "fqn": ["microsoft_ads_source", "microsoft_ads", "search_query_performance_daily_report"], "source_name": "microsoft_ads", "source_description": "", "loader": "Fivetran", "identifier": "microsoft_ads_search_performance_daily_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by account, campaign, ad group, ad, keyword and all non-metric columns.", "columns": {"date": {"name": "date", "description": "The date of the performance report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the corresponding ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the corresponding ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_query": {"name": "search_query", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency code associated with spend and, if applicable, other metrics associated with currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_os": {"name": "device_os", "description": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device_type": {"name": "device_type", "description": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "network": {"name": "network", "description": "The network associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "The language that the associated ad was viewed in.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_distribution": {"name": "ad_distribution", "description": "The distribution medium associated with this record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_match_type": {"name": "bid_match_type", "description": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "delivered_match_type": {"name": "delivered_match_type", "description": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "top_vs_other": {"name": "top_vs_other", "description": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend that occurred by the grain of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`microsoft_ads_search_performance_daily_report_data`", "created_at": 1679592114.0303319}, "source.reddit_ads_source.reddit_ads.account": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.account", "fqn": ["reddit_ads_source", "reddit_ads", "account"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_account_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about an account.", "columns": {"id": {"name": "id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attribution_type": {"name": "attribution_type", "description": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_attribution_window": {"name": "click_attribution_window", "description": "Determines how long after clicking on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency this account uses (ISO-4217)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone_id": {"name": "time_zone_id", "description": "The time zone id preference for this account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_attribution_window": {"name": "view_attribution_window", "description": "Determines how long after viewing on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\"", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_account_data`", "created_at": 1679592114.0307388}, "source.reddit_ads_source.reddit_ads.account_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.account_report", "fqn": ["reddit_ads_source", "reddit_ads", "account_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_account_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and account.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_account_report_data`", "created_at": 1679592114.031175}, "source.reddit_ads_source.reddit_ads.ad": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad", "fqn": ["reddit_ads_source", "reddit_ads", "ad"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_ad_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about each ad.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_url": {"name": "click_url", "description": "The destination url, or the website address, that a visitor goes to when they click on the ad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_id": {"name": "post_id", "description": "The ID of the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "post_url": {"name": "post_url", "description": "The URL belonging to the post.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "rejection_reason": {"name": "rejection_reason", "description": "Reason why entity was rejected.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_data`", "created_at": 1679592114.031588}, "source.reddit_ads_source.reddit_ads.ad_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad_report", "fqn": ["reddit_ads_source", "reddit_ads", "ad_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_ad_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and ad.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_report_data`", "created_at": 1679592114.032019}, "source.reddit_ads_source.reddit_ads.ad_group": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad_group", "fqn": ["reddit_ads_source", "reddit_ads", "ad_group"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_ad_group_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about each ad group.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "The bid strategy for this entity. \"MAXIMIZE_VOLUME\", \"MANUAL_BIDDING\", or \"BIDLESS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_value": {"name": "bid_value", "description": "The amount to pay in microcurrency per bidding event.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "When the entity will stop delivering.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expand_targeting": {"name": "expand_targeting", "description": "Boolean that when selected, allows Reddit to expand your targeting to maximize your results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_type": {"name": "goal_type", "description": "The type of goal for the entity. \"IMPRESSIONS\", \"PERCENTAGE\", \"CLICKS\", \"CONVERSIONS\", \"LIFETIME_SPEND\", \"DAILY_SPEND\", or \"VIDEO_VIEWABLE_IMPRESSIONS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "goal_value": {"name": "goal_value", "description": "The value used to determine the goal has been met. This is measured in microcurrency for monetary goals types.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_strategy_type": {"name": "optimization_strategy_type", "description": "The strategy to use when optimizing the delivery of an ad. \"DOWNSTREAM_CONVERSIONS\" or \"APP_INSTALLS\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "When the entity will begin to deliver.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_group_data`", "created_at": 1679592114.032445}, "source.reddit_ads_source.reddit_ads.ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.ad_group_report", "fqn": ["reddit_ads_source", "reddit_ads", "ad_group_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_ad_group_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and ad group.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_ad_group_report_data`", "created_at": 1679592114.03288}, "source.reddit_ads_source.reddit_ads.campaign": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.campaign", "fqn": ["reddit_ads_source", "reddit_ads", "campaign"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_campaign_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents information about each campaign.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "configured_status": {"name": "configured_status", "description": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "effective_status": {"name": "effective_status", "description": "The calculated status determining the real status of this entity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Campaign level funding instrument id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_processing": {"name": "is_processing", "description": "Whether or not effective status is processing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The objective type of a campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_campaign_data`", "created_at": 1679592114.033279}, "source.reddit_ads_source.reddit_ads.campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_report", "resource_type": "source", "package_name": "reddit_ads_source", "path": "models/src_reddit_ads.yml", "original_file_path": "models/src_reddit_ads.yml", "unique_id": "source.reddit_ads_source.reddit_ads.campaign_report", "fqn": ["reddit_ads_source", "reddit_ads", "campaign_report"], "source_name": "reddit_ads", "source_description": "", "loader": "Fivetran", "identifier": "reddit_ads_campaign_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a summary of events for each given date and campaign.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks detected for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_downvotes": {"name": "comment_downvotes", "description": "The number comment downvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comment_upvotes": {"name": "comment_upvotes", "description": "The number comment upvotes for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments_page_views": {"name": "comments_page_views", "description": "The number of times the comments page was viewed for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_roas": {"name": "conversion_roas", "description": "Return on ad spend for purchases for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The cost-per-click for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The click-through-rate for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "YYYY-MM-DD formatted date", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ecpm": {"name": "ecpm", "description": "The effective CPM for this period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions served for this report period", "meta": {}, "data_type": null, "quote": null, "tags": []}, "region": {"name": "region", "description": "The region (US state or UK country) targeted for the reports", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_started": {"name": "video_started", "description": "The number of times the ad was served and the video began playing", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_25_percent": {"name": "video_watched_25_percent", "description": "The number of times the ad was served and at least 25% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_3_seconds": {"name": "video_watched_3_seconds", "description": "The number of times the ad was served and at least 3 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_50_percent": {"name": "video_watched_50_percent", "description": "The number of times the ad was served and at least 50% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_5_seconds": {"name": "video_watched_5_seconds", "description": "The number of times the ad was served and at least 5 seconds of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_75_percent": {"name": "video_watched_75_percent", "description": "The number of times the ad was served and at least 75% of the video has played", "meta": {}, "data_type": null, "quote": null, "tags": []}, "viewer_comments": {"name": "viewer_comments", "description": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`reddit_ads_campaign_report_data`", "created_at": 1679592114.033833}, "source.amazon_ads_source.amazon_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.ad_group_history", "fqn": ["amazon_ads_source", "amazon_ads", "ad_group_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_ad_group_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an ad group in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "default_bid": {"name": "default_bid", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_ad_group_history_data`", "created_at": 1679592114.034239}, "source.amazon_ads_source.amazon_ads.ad_group_level_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_level_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.ad_group_level_report", "fqn": ["amazon_ads_source", "amazon_ads", "ad_group_level_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_ad_group_level_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by Amazon ad group.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_ad_group_level_report_data`", "created_at": 1679592114.034631}, "source.amazon_ads_source.amazon_ads.advertised_product_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "advertised_product_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.advertised_product_report", "fqn": ["amazon_ads_source", "amazon_ads", "advertised_product_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_advertised_product_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Advertised product reports contain performance data for products that are advertised as part of your campaigns.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_advertised_product_report_data`", "created_at": 1679592114.035021}, "source.amazon_ads_source.amazon_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.campaign_history", "fqn": ["amazon_ads_source", "amazon_ads", "campaign_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a campaign in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "portfolio_id": {"name": "portfolio_id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bidding_strategy": {"name": "bidding_strategy", "description": "The bidding strategy associated with a campaign (legacyForSales, autoForSales, or manual.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "The ad type related to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "The daily budget for the campaign as set by the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"name": "placement", "description": "The placement location where bid controls are used (placementTop or placementProductPage.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "premium_bid_adjustment": {"name": "premium_bid_adjustment", "description": "A boolean representing whether premium bid adjustment is turned on for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "targeting_type": {"name": "targeting_type", "description": "The type of targeting used for the campaign, either manual or auto.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_campaign_history_data`", "created_at": 1679592114.0354528}, "source.amazon_ads_source.amazon_ads.campaign_level_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_level_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.campaign_level_report", "fqn": ["amazon_ads_source", "amazon_ads", "campaign_level_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_campaign_level_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance by Amazon campaign.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_campaign_level_report_data`", "created_at": 1679592114.035838}, "source.amazon_ads_source.amazon_ads.keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.keyword_history", "fqn": ["amazon_ads_source", "amazon_ads", "keyword_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_keyword_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a keyword in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid associated with this keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The exact text for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "One of (broad, exact, or phrase.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "native_language_keyword": {"name": "native_language_keyword", "description": "The unlocalized keyword text in the preferred locale of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_keyword_history_data`", "created_at": 1679592114.03625}, "source.amazon_ads_source.amazon_ads.portfolio_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "portfolio_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.portfolio_history", "fqn": ["amazon_ads_source", "amazon_ads", "portfolio_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_portfolio_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a portfolio in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the Portfolio.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_amount": {"name": "budget_amount", "description": "The budget amount associated with the portfolio. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_currency_code": {"name": "budget_currency_code", "description": "The currency used for all monetary values for entities under this profile. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_end_date": {"name": "budget_end_date", "description": "The end date after which the budget is no longer applied. Optional if policy is set to dateRange or monthlyRecurring.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_start_date": {"name": "budget_start_date", "description": "The starting date in YYYYMMDD format to which the budget is applied. Required if policy is set to dateRange. Not specified if policy is set to monthlyRecurring. Note that the starting date for monthlyRecurring is the date when the policy is set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_policy": {"name": "budget_policy", "description": "The budget policy. Set to dateRange to specify a budget for a specific period of time. Set to monthlyRecurring to specify a budget that is automatically renewed at the beginning of each month. Cannot be null.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "in_budget": {"name": "in_budget", "description": "Indicates the current budget status of the portfolio. Set to true if the portfolio is in budget, set to false if the portfolio is out of budget.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_portfolio_history_data`", "created_at": 1679592114.0366561}, "source.amazon_ads_source.amazon_ads.product_ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "product_ad_history", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.product_ad_history", "fqn": ["amazon_ads_source", "amazon_ads", "product_ad_history"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_product_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a product in Amazon Ads.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_updated_date": {"name": "last_updated_date", "description": "Date of last update to record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asin": {"name": "asin", "description": "The Amazon Standard Identification Number (ASIN) associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creation_date": {"name": "creation_date", "description": "The date of creation of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "sku": {"name": "sku", "description": "The product SKU associated with the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "The current serving status of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "state": {"name": "state", "description": "The state of the record (enabled, paused, or archived).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_product_ad_history_data`", "created_at": 1679592114.037071}, "source.amazon_ads_source.amazon_ads.profile": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "profile", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.profile", "fqn": ["amazon_ads_source", "amazon_ads", "profile"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_profile_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a profile. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace.", "columns": {"_fivetran_deleted": {"name": "_fivetran_deleted", "description": "Boolean created by Fivetran to indicate whether the record has been deleted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_id": {"name": "profile_id", "description": "ID of the profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplace.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_marketplace_string_id": {"name": "account_marketplace_string_id", "description": "The identifier of the marketplace to which the account is associated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Account Name. Not currently populated for sellers.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_sub_type": {"name": "account_sub_type", "description": "The account subtype.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_type": {"name": "account_type", "description": "One of seller, vendor, or agency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_valid_payment_method": {"name": "account_valid_payment_method", "description": "For Vendors, this returns if the Advertiser has set up a valid payment method.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country_code": {"name": "country_code", "description": "The code for a given country.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency used for all monetary values for entities under this profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget for Sponsored Product campaigns for seller type accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The time zone used for all date-based campaign management and reporting.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_profile_data`", "created_at": 1679592114.037591}, "source.amazon_ads_source.amazon_ads.targeting_keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "targeting_keyword_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.targeting_keyword_report", "fqn": ["amazon_ads_source", "amazon_ads", "targeting_keyword_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_targeting_keyword_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Targeting reports contain performance metrics broken down by both targeting expressions and keywords.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_targeting_keyword_report_data`", "created_at": 1679592114.037993}, "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "search_term_ad_keyword_report", "resource_type": "source", "package_name": "amazon_ads_source", "path": "models/src_amazon_ads.yml", "original_file_path": "models/src_amazon_ads.yml", "unique_id": "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report", "fqn": ["amazon_ads_source", "amazon_ads", "search_term_ad_keyword_report"], "source_name": "amazon_ads", "source_description": "", "loader": "Fivetran", "identifier": "amazon_ads_search_term_ad_keyword_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Search term reports contain search term performance metrics broken down by targeting expressions and keywords.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the report.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "The ID of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "Total number of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Total number of ad impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost": {"name": "cost", "description": "Total cost of ad clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term": {"name": "search_term", "description": "The search term used by the customer.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`amazon_ads_search_term_ad_keyword_report_data`", "created_at": 1679592114.038402}, "source.linkedin_source.linkedin.ad_analytics_by_creative": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_analytics_by_creative", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_creative", "fqn": ["linkedin_source", "linkedin", "ad_analytics_by_creative"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "linkedin_ad_analytics_by_creative_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance of ads at the creative level.", "columns": {"creative_id": {"name": "creative_id", "description": "The ID of the related creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "day": {"name": "day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_local_currency": {"name": "cost_in_local_currency", "description": "The cost of the ads in the local currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_usd": {"name": "cost_in_usd", "description": "The cost of the ads in the USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_analytics_by_creative_data`", "created_at": 1679592114.038891}, "source.linkedin_source.linkedin.creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "creative_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.creative_history", "fqn": ["linkedin_source", "linkedin", "creative_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "linkedin_ad_creative_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of a creative.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated (Linkedin Ads pre-January 2023 API Update).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_at": {"name": "last_modified_at", "description": "The timestamp of when the version was updated (Linkedin Ads post-January 2023 API Update).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the creative was created (Linkedin Ads pre-January 2023 API Update).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp of when the creative was created (Linkedin Ads post-January 2023 API Update).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the campaign the creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_uri": {"name": "click_uri", "description": "Required when creative type is TEXT_AD. Maximum character limit of 500 after URL encoding all special characters. \nLimit does not include the \"https://\" prefix.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "intended_status": {"name": "intended_status", "description": "ACTIVE - Creative creation is complete and creative is available for review and serve.\nPAUSED - Creative creation is complete and creative is current, but should temporarily not be served. This status is not valid upon creation.\nDRAFT - Creative creation is incomplete and may still be edited.\nARCHIVED - Creative creation is complete, but creative should not be served and should be separated from non-archived creatives in any UI.\nCANCELED - Creative is permanently canceled.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_creative_history_data`", "created_at": 1679592114.039455}, "source.linkedin_source.linkedin.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.campaign_history", "fqn": ["linkedin_source", "linkedin", "campaign_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "linkedin_ad_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of a campaign.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_group_id": {"name": "campaign_group_id", "description": "The ID of the campaign group the campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "A label for the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_expansion_enabled": {"name": "audience_expansion_enabled", "description": "Boolean (default=false) representing whether Audience Expansion is enabled for the campaign provides query expansion for certain targeting criteria.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_type": {"name": "cost_type", "description": "CPM - Cost per thousand advertising impressions. If type=SPONSORED_INMAILS; cost per send(CPS) is measured as CPM x 1000.\nCPC- Cost per individual click on the associated link.\nCPV- Cost per view for video ads.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_selection": {"name": "creative_selection", "description": "ROUND_ROBIN - Rotate through available creatives to serve them as evenly as possible.\nOPTIMIZED (default) - Bias selection taking into account such as expected performance. Not available for Message and Conversation Ads (type=SPONSORED_INMAILS).\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount": {"name": "daily_budget_amount", "description": "Maximum amount to spend per day UTC. The amount of money as a real number string.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_currency_code": {"name": "daily_budget_currency_code", "description": "ISO currency code. The currency must match that of the parent account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "format": {"name": "format", "description": "The ad format on the campaign level. See https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads/campaign-formats?view=li-lms-2022-07", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_country": {"name": "locale_country", "description": "Locale of the campaign. An uppercase two-letter country code as defined by ISO-3166.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "locale_language": {"name": "locale_language", "description": "Locale of the campaign. A lowercase two-letter language code as defined by ISO-639.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Campaign Objective type values. Click [here](https://docs.microsoft.com/en-us/linkedin/marketing/integrations/ads-reporting/ad-budget-pricing-type-combinations?view=li-lms-2022-07) for Campaign Objective descriptions. One of: - BRAND_AWARENESS - ENGAGEMENT - JOB_APPLICANTS - LEAD_GENERATION - WEBSITE_CONVERSIONS - WEBSITE_VISITS - VIDEO_VIEWS\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "offsite_delivery_enabled": {"name": "offsite_delivery_enabled", "description": "Boolean indicating if this campaign to allowed to be served on the LinkedIn Audience Network to extend the reach of your campaign by delivering ads beyond the LinkedIn feed to members on third-party apps and sites.\t(default will be \"True\" from June 30, 2022)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization_target_type": {"name": "optimization_target_type", "description": "Determines how this campaign is optimized for spending. If this is not set, there is no optimization. Refer to the documentation here. Default = 'NONE'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start": {"name": "run_schedule_start", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the inclusive (greater than or equal to) value in which to start the range.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end": {"name": "run_schedule_end", "description": "Scheduled date range to run associated creatives. The start date must be non-null. Represents the exclusive (strictly less than) value in which to end the range, if provided.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Denotes that the campaign is fully servable.\nPAUSED - Denotes that the campaign meets all requirements to be served, but temporarily should not be.\nARCHIVED - Denotes that the campaign is presently inactive, and should mostly be hidden in the UI until un-archived.\nCOMPLETED - Denotes that the campaign has reached a specified budgetary or chronological limit.\nCANCELED - Denotes that the campaign has been permanently canceled, such as when an advertising account is permanently closed.\nDRAFT - Denotes that the campaign is still being edited and not eligible for serving. Some validation will be postponed until the campaign is activated.\nPENDING_DELETION - Denotes that the campaign has been requested to be deleted that is currently pending.\nREMOVED - Denotes that the campaign was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "TEXT_AD - Text-based ads that show up in the right column or top of the page on LinkedIn.\nSPONSORED_UPDATES - Native ads that promote a company's content updates in the LinkedIn feed.\nSPONSORED_INMAILS - Personalized messages with a call-to-action button delivered to a LinkedIn's member inbox.\nDYNAMIC - Ads that are dynamically personalized.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_amount": {"name": "unit_cost_amount", "description": "This value is used as one of the following: amount to bid (for manual bidding), amount which is the target cost (for target cost bidding) per click, impression, or other event depending on the pricing model, or cost cap (for cost cap bidding). The amount of money as a real number string. The amount should be non-negative if the bidding strategy is manual, target cost, or cost cap bidding. The default is 0 with the currency code set to match that of the associated account.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "unit_cost_currency_code": {"name": "unit_cost_currency_code", "description": "Amount to bid per click, impression, or other event depending on the pricing model. The default is 0 with the currency code set to match that of the associated account. ISO currency code.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_campaign_history_data`", "created_at": 1679592114.0399292}, "source.linkedin_source.linkedin.campaign_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_group_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.campaign_group_history", "fqn": ["linkedin_source", "linkedin", "campaign_group_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "linkedin_ad_campaign_group_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of a campaign group.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the account the campaign group belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the campaign group was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "A label for the campaign group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "backfilled": {"name": "backfilled", "description": "Flag that denotes whether the campaign group was created organically or to backfill existing campaigns. This is a read-only field set by the system. Default = false", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_start": {"name": "run_schedule_start", "description": "Represents the inclusive (greater than or equal to) date when to start running the associated campaigns under this campaign group. This field is required.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "run_schedule_end": {"name": "run_schedule_end", "description": "Represents the exclusive (strictly less than) date when to stop running the associated campaigns under this campaign group. If this field is unset, it indicates an open range with no end date.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of campaign group. Possible values are: ACTIVE - Denotes that the campaign group is capable of serving ads, subject to run date and budget limitations (as well as any other limitations at the account or campaign level). ARCHIVED - Denotes that the campaign group is presently inactive, and should mostly be hidden in the UI until un-archived. CANCELLED - Denotes that the campaign group has been permanently canceled and cannot be reactivated. Not a settable status. DRAFT - Denotes that the campaign group is in a preliminary state and should temporarily not be served. PAUSED - Denotes that the campaign group meets all requirements to be served, but temporarily should not be. PENDING_DELETION - Denotes that the campaign group has been requested to be deleted that is currently pending. REMOVED - Denoted that the campaign group was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_campaign_group_history_data`", "created_at": 1679592114.040329}, "source.linkedin_source.linkedin.account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_history", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.account_history", "fqn": ["linkedin_source", "linkedin", "account_history"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "linkedin_ad_account_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a 'version' of an account.", "columns": {"id": {"name": "id", "description": "Unique internal ID representing the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "last_modified_time": {"name": "last_modified_time", "description": "The timestamp of when the version was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The timestamp of when the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "A label for the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The ISO 4217 currency code of the account, such as 'USD' for United States Dollar (default).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "version_tag": {"name": "version_tag", "description": "An integer representation of the version of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_campaign_optimization": {"name": "notified_on_campaign_optimization", "description": "Boolean (default=false) indicating if the campaign contact is notified about campaign optimization opportunities", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_creative_approval": {"name": "notified_on_creative_approval", "description": "Boolean (default=false) indicating if the creative contact is notified when a creative has been reviewed and approved", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_creative_rejection": {"name": "notified_on_creative_rejection", "description": "Boolean (default=false) indicating if the creative contact is notified when a creative has been rejected due to content", "meta": {}, "data_type": null, "quote": null, "tags": []}, "notified_on_end_of_campaign": {"name": "notified_on_end_of_campaign", "description": "Boolean (default=false) indicating if the campaign contact is notified when an associated campaign has been completed", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "ACTIVE - Account is active; this is the default state\nCANCELLED - Account has been permanently cancelled\nDRAFT - Account is in draft status, meaning it's not yet fully set up and it is not serving\nPENDING_DELETION - Denotes that the account has been requested to be deleted that is currently pending\nREMOVED - Denotes that the account was deleted, but must remain fetchable due to the existence of performance data.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "BUSINESS - This is the only value allowed when creating accounts through the API.\nENTERPRISE - This value cannot be used to create accounts through the API and is reserved for accounts created by LinkedIn's internal ad operations systems.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_account_history_data`", "created_at": 1679592114.040746}, "source.linkedin_source.linkedin.ad_analytics_by_campaign": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_analytics_by_campaign", "resource_type": "source", "package_name": "linkedin_source", "path": "models/src_linkedin.yml", "original_file_path": "models/src_linkedin.yml", "unique_id": "source.linkedin_source.linkedin.ad_analytics_by_campaign", "fqn": ["linkedin_source", "linkedin", "ad_analytics_by_campaign"], "source_name": "linkedin", "source_description": "", "loader": "fivetran", "identifier": "linkedin_ad_analytics_by_campaign_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents the daily performance of ads at the campaign level.", "columns": {"campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "day": {"name": "day", "description": "The day of the activity.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The count of chargeable clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "This is the count of \"impressions\" for Direct Ads and Sponsored Updates and \"sends\" for InMails.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_local_currency": {"name": "cost_in_local_currency", "description": "The cost of the ads in the local currency.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_in_usd": {"name": "cost_in_usd", "description": "The cost of the ads in the USD.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`linkedin_ad_analytics_by_campaign_data`", "created_at": 1679592114.041138}, "source.google_ads_source.google_ads.ad_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_stats", "fqn": ["google_ads_source", "google_ads", "ad_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_ad_stats_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad in Google Ads broken down to the ad network, device type, and ad group criterion.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group": {"name": "ad_group", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_ad_group_criterion": {"name": "keyword_ad_group_criterion", "description": "The ad group which the keyword criterion resides.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_stats_data`", "created_at": 1679592114.041549}, "source.google_ads_source.google_ads.ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_history", "fqn": ["google_ads_source", "google_ads", "ad_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad in Google Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The display url of the ad that is being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of the ad in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of the Ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "final_urls": {"name": "final_urls", "description": "A list of urls that are used for the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_history_data`", "created_at": 1679592114.041941}, "source.google_ads_source.google_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_group_history", "fqn": ["google_ads_source", "google_ads", "ad_group_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_ad_group_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad group in Google Ads.", "columns": {"id": {"name": "id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of the ad group in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_history_data`", "created_at": 1679592114.042346}, "source.google_ads_source.google_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.campaign_history", "fqn": ["google_ads_source", "google_ads", "campaign_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a campaign in Google Ads.", "columns": {"id": {"name": "id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_type": {"name": "advertising_channel_type", "description": "The type of advertising channel being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertising_channel_subtype": {"name": "advertising_channel_subtype", "description": "The advertising channel subtype that is being used by the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_date": {"name": "start_date", "description": "The start date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_date": {"name": "end_date", "description": "The end date of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "serving_status": {"name": "serving_status", "description": "Status of the ads and how they are currently being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "General status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tracking_url_template": {"name": "tracking_url_template", "description": "The tracking url template being used throughout the campaign ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_campaign_history_data`", "created_at": 1679592114.042766}, "source.google_ads_source.google_ads.account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.account_history", "fqn": ["google_ads_source", "google_ads", "account_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_account_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a historical version of an account in Google Ads.", "columns": {"id": {"name": "id", "description": "The ID of the Account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency_code": {"name": "currency_code", "description": "The currency of the spend reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "auto_tagging_enabled": {"name": "auto_tagging_enabled", "description": "Boolean indicating if auto tagging is enabled on the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "The time zone of the account ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "descriptive_name": {"name": "descriptive_name", "description": "The descriptive name of the Customer account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_account_history_data`", "created_at": 1679592114.043148}, "source.google_ads_source.google_ads.ad_group_criterion_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_criterion_history", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_group_criterion_history", "fqn": ["google_ads_source", "google_ads", "ad_group_criterion_history"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_ad_group_criterion_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a historical version of an ad group criterion in Google Ads.", "columns": {"id": {"name": "id", "description": "Unique identifier of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "base_campaign_id": {"name": "base_campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Timestamp of when the record was last updated in Google Ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "type": {"name": "type", "description": "The type of ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group criterion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_match_type": {"name": "keyword_match_type", "description": "The match type which dictate how closely the keyword needs to match with the user\u2019s search query so that the ad can be considered for the auction.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_text": {"name": "keyword_text", "description": "The text used within the keyword criterion that is being matched against.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_criterion_history_data`", "created_at": 1679592114.043543}, "source.google_ads_source.google_ads.ad_group_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.ad_group_stats", "fqn": ["google_ads_source", "google_ads", "ad_group_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_ad_group_stats_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad group in Google Ads broken down to the ad network and device type.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_ad_group_stats_data`", "created_at": 1679592114.0440478}, "source.google_ads_source.google_ads.campaign_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.campaign_stats", "fqn": ["google_ads_source", "google_ads", "campaign_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_campaign_stats_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a campaign in Google Ads broken down to the ad network and device type.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_campaign_stats_data`", "created_at": 1679592114.044436}, "source.google_ads_source.google_ads.keyword_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.keyword_stats", "fqn": ["google_ads_source", "google_ads", "keyword_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_keyword_stats_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a keyword in Google Ads.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the AdGroup.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_id": {"name": "_fivetran_id", "description": "The unique ID of the keyword record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_criterion_criterion_id": {"name": "ad_group_criterion_criterion_id", "description": "Reference to the ad group criterion used for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_keyword_stats_data`", "created_at": 1679592114.044827}, "source.google_ads_source.google_ads.account_stats": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_stats", "resource_type": "source", "package_name": "google_ads_source", "path": "models/src_google_ads.yml", "original_file_path": "models/src_google_ads.yml", "unique_id": "source.google_ads_source.google_ads.account_stats", "fqn": ["google_ads_source", "google_ads", "account_stats"], "source_name": "google_ads", "source_description": "", "loader": "Fivetran", "identifier": "google_ads_account_stats_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an account in Google Ads broken down to the ad network and device type.", "columns": {"customer_id": {"name": "customer_id", "description": "The Customer ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date being reported on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_network_type": {"name": "ad_network_type", "description": "The Google Ad network type used across the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "device": {"name": "device", "description": "Account ad performance per unique device where the ads were served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_micros": {"name": "cost_micros", "description": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Count of how often your ad has appeared on a search results page or website on the Google Network.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`google_ads_account_stats_data`", "created_at": 1679592114.0452218}, "source.apple_search_ads_source.apple_search_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_group_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_ad_group_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad group in Apple Search Ads.", "columns": {"modification_time": {"name": "modification_time", "description": "Timestamp of when the ad group object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Timestamp of designated ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The designated ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad group, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_group_history_data`", "created_at": 1679592114.04562}, "source.apple_search_ads_source.apple_search_ads.ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_group_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_group_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_ad_group_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad group in Apple Search Ads.", "columns": {"ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_group_report_data`", "created_at": 1679592114.046025}, "source.apple_search_ads_source.apple_search_ads.ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of an ad in Apple Search Ads.", "columns": {"creation_time": {"name": "creation_time", "description": "Timestamp of when ad was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "modification_time": {"name": "modification_time", "description": "Timestamp of when the ad object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "org_id": {"name": "org_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Ad name associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the ad, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_history_data`", "created_at": 1679592114.04641}, "source.apple_search_ads_source.apple_search_ads.ad_level_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_level_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.ad_level_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "ad_level_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_ad_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad in Apple Search Ads.", "columns": {"date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_id": {"name": "ad_id", "description": "Ad ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_ad_report_data`", "created_at": 1679592114.046805}, "source.apple_search_ads_source.apple_search_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "campaign_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a campaign in Apple Search Ads.", "columns": {"modification_time": {"name": "modification_time", "description": "Timestamp of when the campaign object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "The designated ad group start time (ad group with the earliest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The designated campaign end time (ad group with the latest start time associated with this campaign).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Campaign name for the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the campaign, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_campaign_history_data`", "created_at": 1679592114.047196}, "source.apple_search_ads_source.apple_search_ads.campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.campaign_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "campaign_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_campaign_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a campaign in Apple Search Ads.", "columns": {"id": {"name": "id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_campaign_report_data`", "created_at": 1679592114.0477052}, "source.apple_search_ads_source.apple_search_ads.keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_history", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_history", "fqn": ["apple_search_ads_source", "apple_search_ads", "keyword_history"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_keyword_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a keyword in Apple Search Ads.", "columns": {"modification_time": {"name": "modification_time", "description": "Timestamp of when the keyword object was last modified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount": {"name": "bid_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_currency": {"name": "bid_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; EXACT or BROAD.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The current status of the keyword, values include ENABLED and PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "text": {"name": "text", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_keyword_history_data`", "created_at": 1679592114.0481222}, "source.apple_search_ads_source.apple_search_ads.keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.keyword_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "keyword_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_keyword_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a keyword in Apple Search Ads.", "columns": {"id": {"name": "id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_keyword_report_data`", "created_at": 1679592114.048518}, "source.apple_search_ads_source.apple_search_ads.organization": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "organization", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.organization", "fqn": ["apple_search_ads_source", "apple_search_ads", "organization"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_organization_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an organization in Apple Search Ads.", "columns": {"organization_id": {"name": "organization_id", "description": "Organization ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Specified currency for respective organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "payment_model": {"name": "payment_model", "description": "Values include 'LOC', 'PAYG' or (payment method hasn't been set).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "organization_name": {"name": "organization_name", "description": "Name of organization.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "time_zone": {"name": "time_zone", "description": "Organization default timezone; values can be ORTZ or UTC.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_organization_data`", "created_at": 1679592114.048903}, "source.apple_search_ads_source.apple_search_ads.search_term_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "search_term_report", "resource_type": "source", "package_name": "apple_search_ads_source", "path": "models/src_apple_search_ads.yml", "original_file_path": "models/src_apple_search_ads.yml", "unique_id": "source.apple_search_ads_source.apple_search_ads.search_term_report", "fqn": ["apple_search_ads_source", "apple_search_ads", "search_term_report"], "source_name": "apple_search_ads", "source_description": "", "loader": "Fivetran", "identifier": "apple_search_search_term_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a search term in Apple Search Ads.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "A Fivetran internal unique id that helps us avoid duplicate rows in primary keyless tables.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "Ad group ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "Date for daily report aggregation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_amount": {"name": "bid_amount_amount", "description": "The bid amount to display your ad for the matching text value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_currency": {"name": "bid_amount_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword": {"name": "keyword", "description": "The word or phrase to match in user searches, to show respective ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_display_status": {"name": "keyword_display_status", "description": "The keyword display status can either be ACTIVE or PAUSED.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Keyword ID associated with the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_amount": {"name": "local_spend_amount", "description": "The sum of costs associated with the number of impressions served; Spend is measured in the currency used in the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "local_spend_currency": {"name": "local_spend_currency", "description": "This currency value should match the respective organization's currency value.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Controls how ads are matched to user searches; values include EXACT, BROAD or AUTO.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_source": {"name": "search_term_source", "description": "The search term source can either be TARGETED or AUTO; if this value is AUTO so will match_type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "search_term_text": {"name": "search_term_text", "description": "The word or phrase to match of user searches.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "Number of times your ad appeared in App Store search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "taps": {"name": "taps", "description": "The number of times ad was tapped by users within the reporting time period.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "new_downloads": {"name": "new_downloads", "description": "App downloads from new users who have never before installed the respective app.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "redownloads": {"name": "redownloads", "description": "Occurs when a user downloads respective app, deletes it, and downloads the same app again following a tap on an ad on the App Store, or downloads the same app to an additional device.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`apple_search_search_term_report_data`", "created_at": 1679592114.049441}, "source.pinterest_source.pinterest_ads.pin_promotion_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pin_promotion_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_report", "fqn": ["pinterest_source", "pinterest_ads", "pin_promotion_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_pin_promotion_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest Pin promotion.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_pin_promotion_report_data`", "created_at": 1679592114.049851}, "source.pinterest_source.pinterest_ads.pin_promotion_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "pin_promotion_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.pin_promotion_history", "fqn": ["pinterest_source", "pinterest_ads", "pin_promotion_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_pin_promotion_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest Pin promotion.", "columns": {"id": {"name": "id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Pin creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "destination_url": {"name": "destination_url", "description": "Pin destination URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Pin promotion name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_id": {"name": "pin_id", "description": "Original pin ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the Pin promotion. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_type": {"name": "creative_type", "description": "The creative type. \nOne of \"APP\", \"APP_VIDEO\", \"BOARD\", \"CAROUSEL\", \"CINEMATIC\", \"COMMERCE\", \"MAX_VIDEO\", \"NATIVE_VIDEO\", \"REGULAR\", \n\"SEARCH_PROMINENCE\", \"SEARCH_PROMINENCE_CAROUSEL\", \"SHOPPING\", \"SHOP_THE_PIN\", \"THIRD_PARTY\", or \"VIDEO\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_pin_promotion_history_data`", "created_at": 1679592114.050236}, "source.pinterest_source.pinterest_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.campaign_history", "fqn": ["pinterest_source", "pinterest_ads", "campaign_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest Campaign.", "columns": {"id": {"name": "id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Campaign creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Campaign name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the Campaign. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_campaign_history_data`", "created_at": 1679592114.050626}, "source.pinterest_source.pinterest_ads.ad_group_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.ad_group_history", "fqn": ["pinterest_source", "pinterest_ads", "ad_group_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_ad_group_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest Ad Group.", "columns": {"id": {"name": "id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Ad group creation time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Ad group name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "The status of the Ad group. One of \"ACTIVE\", \"ARCHIVED\", \"PAUSED\"", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Ad group start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Ad group end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_ad_group_history_data`", "created_at": 1679592114.051023}, "source.pinterest_source.pinterest_ads.ad_group_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_group_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.ad_group_report", "fqn": ["pinterest_source", "pinterest_ads", "ad_group_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_ad_group_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest ad group.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_ad_group_report_data`", "created_at": 1679592114.051445}, "source.pinterest_source.pinterest_ads.advertiser_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "advertiser_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.advertiser_history", "fqn": ["pinterest_source", "pinterest_ads", "advertiser_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_advertiser_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest advertiser.", "columns": {"id": {"name": "id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status of the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_profile_status": {"name": "billing_profile_status", "description": "Status of the billing profile.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_type": {"name": "billing_type", "description": "The billing type of the advertiser. Will typically be CREDIT_CARD or INVOICE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The country code where the advertiser is located.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "Timestamp of when a record was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency code which the a", "meta": {}, "data_type": null, "quote": null, "tags": []}, "merchant_id": {"name": "merchant_id", "description": "Unique ID of the merchant associated with the advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "owner_user_id": {"name": "owner_user_id", "description": "Unique identifier of the owner user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "Timestamp of when a record was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_advertiser_history_data`", "created_at": 1679592114.051865}, "source.pinterest_source.pinterest_ads.advertiser_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "advertiser_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.advertiser_report", "fqn": ["pinterest_source", "pinterest_ads", "advertiser_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_advertiser_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest advertiser.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_advertiser_report_data`", "created_at": 1679592114.052265}, "source.pinterest_source.pinterest_ads.campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.campaign_report", "fqn": ["pinterest_source", "pinterest_ads", "campaign_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_campaign_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest campaign.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_status": {"name": "campaign_status", "description": "Status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_campaign_report_data`", "created_at": 1679592114.0526621}, "source.pinterest_source.pinterest_ads.keyword_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_history", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.keyword_history", "fqn": ["pinterest_source", "pinterest_ads", "keyword_history"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_keyword_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a Pinterest keyword.", "columns": {"id": {"name": "id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "value": {"name": "value", "description": "The text value that makes upd the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_id": {"name": "_fivetran_id", "description": "The unique identifier of the record within the Fivetran synced table.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "archived": {"name": "archived", "description": "Boolean indicating if the keyword is archived.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "Bid amount set for the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "match_type": {"name": "match_type", "description": "Type of match the keyword is tied to. Either Exact or Broad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "parent_type": {"name": "parent_type", "description": "Identifier of what grain the parent type is. Ad group or campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_keyword_history_data`", "created_at": 1679592114.0531032}, "source.pinterest_source.pinterest_ads.keyword_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "keyword_report", "resource_type": "source", "package_name": "pinterest_source", "path": "models/src_pinterest_ads.yml", "original_file_path": "models/src_pinterest_ads.yml", "unique_id": "source.pinterest_source.pinterest_ads.keyword_report", "fqn": ["pinterest_source", "pinterest_ads", "keyword_report"], "source_name": "pinterest_ads", "source_description": "", "loader": "Fivetran", "identifier": "pinterest_ads_keyword_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of a Pinterest key word.", "columns": {"date": {"name": "date", "description": "The performance date of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique identifier of the keyword.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pin_promotion_id": {"name": "pin_promotion_id", "description": "The ID of the related Pin promotion.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_id": {"name": "ad_group_id", "description": "The ID of the related Ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_name": {"name": "ad_group_name", "description": "Name of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_group_status": {"name": "ad_group_status", "description": "Status of the ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related Campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "The ID of the related Advertiser.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when a record was last synced.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_1": {"name": "impression_1", "description": "The number of paid pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_2": {"name": "impression_2", "description": "The number of earned pin impressions that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_1": {"name": "clickthrough_1", "description": "The number of paid pin clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clickthrough_2": {"name": "clickthrough_2", "description": "The number of earned outbound clicks that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "description": "The amount of spend in micro dollars that occurred on the day of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`pinterest_ads_keyword_report_data`", "created_at": 1679592114.053597}, "source.tiktok_ads_source.tiktok_ads.advertiser": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "advertiser", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.advertiser", "fqn": ["tiktok_ads_source", "tiktok_ads", "advertiser"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_advertiser_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for one advertiser.", "columns": {"id": {"name": "id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "address": {"name": "address", "description": "Advertiser address information", "meta": {}, "data_type": null, "quote": null, "tags": []}, "balance": {"name": "balance", "description": "Account available balance", "meta": {}, "data_type": null, "quote": null, "tags": []}, "company": {"name": "company", "description": "Advertiser's company name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "contacter": {"name": "contacter", "description": "Contact Person", "meta": {}, "data_type": null, "quote": null, "tags": []}, "country": {"name": "country", "description": "The advertiser's country", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Advertiser's create time", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Type of currency used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "description": {"name": "description", "description": "Brand description, i.e. promotional content", "meta": {}, "data_type": null, "quote": null, "tags": []}, "email": {"name": "email", "description": "Advertiser contact email, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry": {"name": "industry", "description": "Advertiser industry category", "meta": {}, "data_type": null, "quote": null, "tags": []}, "language": {"name": "language", "description": "Language used by advertisers", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_no": {"name": "license_no", "description": "License number", "meta": {}, "data_type": null, "quote": null, "tags": []}, "license_url": {"name": "license_url", "description": "License preview address, the link is valid for an hour by default.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Advertiser name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "phone_number": {"name": "phone_number", "description": "Contact mobile number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promotion_area": {"name": "promotion_area", "description": "Operation area", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reason": {"name": "reason", "description": "Reason for rejection", "meta": {}, "data_type": null, "quote": null, "tags": []}, "role": {"name": "role", "description": "Advertiser role", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Advertiser status", "meta": {}, "data_type": null, "quote": null, "tags": []}, "telephone": {"name": "telephone", "description": "Fixed phone number, desensitised data", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Ad account time zone including GMT offset", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_advertiser_data`", "created_at": 1679592114.054177}, "source.tiktok_ads_source.tiktok_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_history", "fqn": ["tiktok_ads_source", "tiktok_ads", "campaign_history"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a TikTok campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Campaign budget", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_mode": {"name": "budget_mode", "description": "Budget type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "Campaign name", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_type": {"name": "campaign_type", "description": "Campaign Type, indicates the campaign is a regular campaign or iOS 14 campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Time at which the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_new_structure": {"name": "is_new_structure", "description": "Whether the campaign is a new structure (for the same campaign, the structure of campaign, adgroups and ads are the same)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective_type": {"name": "objective_type", "description": "Advertising objective.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "opt_status": {"name": "opt_status", "description": "Operation status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Campaign status", "meta": {}, "data_type": null, "quote": null, "tags": []}, "split_test_variable": {"name": "split_test_variable", "description": "Split Test variables. Optional values; TARGETING, BIDDING_OPTIMIZATION , CREATIVE.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_campaign_history_data`", "created_at": 1679592114.05459}, "source.tiktok_ads_source.tiktok_ads.adgroup_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "adgroup_history", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_history", "fqn": ["tiktok_ads_source", "tiktok_ads", "adgroup_history"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_adgroup_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a TikTok ad group.", "columns": {"adgroup_id": {"name": "adgroup_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The Ad group's campaign ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_categories": {"name": "action_categories", "description": "IDs of the action categories (behaviors) that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "action_days": {"name": "action_days", "description": "The number of days of the time period to include action from.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "adgroup_name": {"name": "adgroup_name", "description": "Ad group name. Character limit is 512 and cannot contain emoji.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "age": {"name": "age", "description": "Age groups you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "android_osv": {"name": "android_osv", "description": "Minimum Android version.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_download_url": {"name": "app_download_url", "description": "App download link", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_id": {"name": "app_id", "description": "The Application id of the promoted app", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_name": {"name": "app_name", "description": "App name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_type": {"name": "app_type", "description": "App type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience": {"name": "audience", "description": "A list of audience IDs.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "audience_type": {"name": "audience_type", "description": "Audience Type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid": {"name": "bid", "description": "CPC, CPM bidding, oCPM learning bidding", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "Bidding Strategy", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billing_event": {"name": "billing_event", "description": "Bid method.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget": {"name": "budget", "description": "Ad budget. Returns 0.0 when Campaign Budget Optimization (budget_optimize_switch) is on.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_mode": {"name": "budget_mode", "description": "Budget mode. This field will be ignored when Campaign Budget Optimization (budget_optimize_switch) is enabled.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "carriers": {"name": "carriers", "description": "Carriers that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "category": {"name": "category", "description": "Ad group category.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_tracking_url": {"name": "click_tracking_url", "description": "Click monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "connection_type": {"name": "connection_type", "description": "Device connection types that you want to target. Default; unlimited.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_bid": {"name": "conversion_bid", "description": "oCPM conversion bid", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpv_video_duration": {"name": "cpv_video_duration", "description": "Video playback duration, required if optimize_goal is VIDEO_VIEW. Allowed values; SIX_SECONDS (video playback 6s), TWO_SECONDS (video playback 2s)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_material_mode": {"name": "creative_material_mode", "description": "Creative delivery mode.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "dayparting": {"name": "dayparting", "description": "Ad delivery period, the default is always and the format is 48 * 7 character string, represented by 0 or 1. > That is, with half an hour as the minimum granularity, a day (24 hours) is divided by the minimum granularity(30 mins) from Monday to Sunday. Resulting in a 48*7 format.0 represents not to be delivered, 1 represents delivery. no transmission, full transmission 0, full transmission 1 all represent full time delivery", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deep_bid_type": {"name": "deep_bid_type", "description": "Bidding strategy for in-app events.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deep_cpabid": {"name": "deep_cpabid", "description": "Deep bid", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deep_external_action": {"name": "deep_external_action", "description": "Deep conversion event.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_name": {"name": "display_name", "description": "Display name of ad group.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "enable_inventory_filter": {"name": "enable_inventory_filter", "description": "Inventory filtering (Unsafe videos will not be displayed).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "excluded_audience": {"name": "excluded_audience", "description": "A list of audience ID to be excluded.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "external_action": {"name": "external_action", "description": "Conversion event for the ad group. It is required when the promoted object is an app with tracking urls, or when pixel_id is specified.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "fallback_type": {"name": "fallback_type", "description": "Fallback Type. If the audience do not have the app installed, you can have them fall back to install the app, or to view a specific web page. Not applicable for Deferred Deeplink. Allowed values; APP_INSTALL, WEBSITE, UNSET. If website is chosen, you need to specify the url via landing_page_url field.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "frequency, together with frequency_schedule, controls how often people see your ad (only available for REACH ads). For example, frequency = 2 frequency_schedule = 3 means \"show ads no more than twice every 3 day\".\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_schedule": {"name": "frequency_schedule", "description": "frequency, together with frequency, controls how often people see your ad (only available for REACH ads).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "gender": {"name": "gender", "description": "Gender that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_tracking_url": {"name": "impression_tracking_url", "description": "Display monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "interest_category_v2": {"name": "interest_category_v2", "description": "Interest classification. If the interest is specified, users that do not meet interest target will be excluded during delivery.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ios_osv": {"name": "ios_osv", "description": "Minimum iOS version.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_comment_disable": {"name": "is_comment_disable", "description": "Whether to allow comments on your ads on TikTok, Vigo, Helo.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_hfss": {"name": "is_hfss", "description": "Whether the promoted content is HFSS foods (foods that are high in fat, salt, or sugar).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_new_structure": {"name": "is_new_structure", "description": "Whether the campaign is a new structure.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keywords": {"name": "keywords", "description": "Keywords used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "languages": {"name": "languages", "description": "Codes of the languages that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "location": {"name": "location", "description": "IDs of the locations that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "open_url": {"name": "open_url", "description": "The specific location where you want your audience to go if they have your app installed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "open_url_type": {"name": "open_url_type", "description": "The open URL type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "operation_system": {"name": "operation_system", "description": "Device operating systems that you want to target.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "opt_status": {"name": "opt_status", "description": "Operation status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimize_goal": {"name": "optimize_goal", "description": "Optimization goal.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pacing": {"name": "pacing", "description": "You can choose between PACING_MODE_SMOOTH and PACING_MODE_FAST. For PACING_MODE_SMOOTH, the budget is allocated evenly within the scheduled time. PACING_MODE_FAST would consume budget and produce results as soon as possible. \n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "package": {"name": "package", "description": "Package name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pangle_block_app_list_id": {"name": "pangle_block_app_list_id", "description": "Pangle app block list ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "pixel_id": {"name": "pixel_id", "description": "Pixel ID. Only application for landing pages.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"name": "placement", "description": "The apps where you want to deliver your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement_type": {"name": "placement_type", "description": "Placement type.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_image": {"name": "profile_image", "description": "Avatar URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "schedule_end_time": {"name": "schedule_end_time", "description": "Ad delivery end time (UTC+0). Format should be YYYY-MM-DD HH:MM:SS", "meta": {}, "data_type": null, "quote": null, "tags": []}, "schedule_start_time": {"name": "schedule_start_time", "description": "Ad delivery start time (UTC+0). Format should be YYYY-MM-DD HH:MM:SS", "meta": {}, "data_type": null, "quote": null, "tags": []}, "schedule_type": {"name": "schedule_type", "description": "The schedule type, which can be either SCHEDULE_START_END or SCHEDULE_FROM_NOW.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "skip_learning_phase": {"name": "skip_learning_phase", "description": "Whether to skip the learning stage.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "statistic_type": {"name": "statistic_type", "description": "conversion bid statistic type", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Ad group status", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_actions": {"name": "video_actions", "description": "Number of video actions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_download": {"name": "video_download", "description": "Whether users can download your video ads on TikTok(cannot be updated once created).", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_adgroup_history_data`", "created_at": 1679592114.055181}, "source.tiktok_ads_source.tiktok_ads.ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_history", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_history", "fqn": ["tiktok_ads_source", "tiktok_ads", "ad_history"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of a TikTok ad.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "Time the record was updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "adgroup_id": {"name": "adgroup_id", "description": "Ad group ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_id": {"name": "advertiser_id", "description": "Advertiser ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Campaign ID", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Ad Name.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_text": {"name": "ad_text", "description": "The ad text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "app_name": {"name": "app_name", "description": "The display name of app download ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "call_to_action": {"name": "call_to_action", "description": "Call to action values.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "click_tracking_url": {"name": "click_tracking_url", "description": "Click monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "create_time": {"name": "create_time", "description": "Time at which the ad was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_name": {"name": "display_name", "description": "The display name of landing page or pure exposure ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "image_ids": {"name": "image_ids", "description": "A list of image IDs.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impression_tracking_url": {"name": "impression_tracking_url", "description": "Display monitoring URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_aco": {"name": "is_aco", "description": "Whether the ad is an automated ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_creative_authorized": {"name": "is_creative_authorized", "description": "Whether you grant displaying some of your ads in our TikTok For Business Creative Center. Only valid for non-US advertisers, the default value is false.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "is_new_structure": {"name": "is_new_structure", "description": "Whether the campaign is a new structure.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "landing_page_url": {"name": "landing_page_url", "description": "Landing page URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "open_url": {"name": "open_url", "description": "The specific location where you want your audience to go if they have your app installed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "opt_status": {"name": "opt_status", "description": "Operation status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "playable_url": {"name": "playable_url", "description": "Playable material url.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_image": {"name": "profile_image", "description": "Avatar URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Ad status.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_id": {"name": "video_id", "description": "The video ID.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_ad_history_data`", "created_at": 1679592114.055638}, "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_report_hourly", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.ad_report_hourly", "fqn": ["tiktok_ads_source", "tiktok_ads", "ad_report_hourly"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_ad_report_hourly_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for each ad for each hour.", "columns": {"ad_id": {"name": "ad_id", "description": "Ad id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion": {"name": "real_time_conversion", "description": "The number of times your ad achieved an outcome, based on the objective and settings you selected. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result": {"name": "result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the results. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_result": {"name": "real_time_cost_per_result", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now, please go to the ad group section to view the cost per Result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result": {"name": "real_time_result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As a campaign may have different optimization goals, the total number of result is not supported in campaign section now , Please go to the ad group section to view the result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_view_p_100": {"name": "video_view_p_100", "description": "The number of times your video was played at 100% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion_rate": {"name": "real_time_conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_secondary_goal_result": {"name": "cost_per_secondary_goal_result", "description": "The average cost for each secondary goal result from your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result_rate": {"name": "secondary_goal_result_rate", "description": "The percentage of secondary goal results you achieved out of all of the installs of your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. The total count is calculated based on the time each ad impression occurred.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_conversion": {"name": "real_time_cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result_rate": {"name": "result_rate", "description": "The percentage of results you achieved out of all of the views/clicks on your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the result rate. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result": {"name": "secondary_goal_result", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_result": {"name": "cost_per_result", "description": "The average cost for each result from your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the cost per result. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time your video was played per person, including any time spent replaying the video. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result_rate": {"name": "real_time_result_rate", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now ,Please go to the ad group section to view the Result Rate. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_ad_report_hourly_data`", "created_at": 1679592114.056148}, "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_report_hourly", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly", "fqn": ["tiktok_ads_source", "tiktok_ads", "campaign_report_hourly"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_campaign_report_hourly_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for each campaign for each hour.", "columns": {"campaign_id": {"name": "campaign_id", "description": "Campaign id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion": {"name": "real_time_conversion", "description": "The number of times your ad achieved an outcome, based on the objective and settings you selected. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result": {"name": "result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the results. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_result": {"name": "real_time_cost_per_result", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now, please go to the ad group section to view the cost per Result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result": {"name": "real_time_result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As a campaign may have different optimization goals, the total number of result is not supported in campaign section now , Please go to the ad group section to view the result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_view_p_100": {"name": "video_view_p_100", "description": "The number of times your video was played at 100% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion_rate": {"name": "real_time_conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_secondary_goal_result": {"name": "cost_per_secondary_goal_result", "description": "The average cost for each secondary goal result from your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result_rate": {"name": "secondary_goal_result_rate", "description": "The percentage of secondary goal results you achieved out of all of the installs of your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. The total count is calculated based on the time each ad impression occurred.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_conversion": {"name": "real_time_cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result_rate": {"name": "result_rate", "description": "The percentage of results you achieved out of all of the views/clicks on your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the result rate. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result": {"name": "secondary_goal_result", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_result": {"name": "cost_per_result", "description": "The average cost for each result from your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the cost per result. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time your video was played per person, including any time spent replaying the video. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result_rate": {"name": "real_time_result_rate", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now ,Please go to the ad group section to view the Result Rate. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_campaign_report_hourly_data`", "created_at": 1679592114.0567439}, "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "adgroup_report_hourly", "resource_type": "source", "package_name": "tiktok_ads_source", "path": "models/src_tiktok_ads.yml", "original_file_path": "models/src_tiktok_ads.yml", "unique_id": "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly", "fqn": ["tiktok_ads_source", "tiktok_ads", "adgroup_report_hourly"], "source_name": "tiktok_ads", "source_description": "", "loader": "fivetran", "identifier": "tiktok_adgroup_report_hourly_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents data for each ad group for each hour.", "columns": {"adgroup_id": {"name": "adgroup_id", "description": "Ad group id", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stat_time_hour": {"name": "stat_time_hour", "description": "Hour of activity", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_conversion": {"name": "cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion": {"name": "real_time_conversion", "description": "The number of times your ad achieved an outcome, based on the objective and settings you selected. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpc": {"name": "cpc", "description": "The average amount of money you've spent on a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_play_actions": {"name": "video_play_actions", "description": "The number of times your video starts to play. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion_rate": {"name": "conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is calculated based on the time each ad impression occurred.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_75": {"name": "video_views_p_75", "description": "The number of times your video was played at 75% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result": {"name": "result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the results. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_50": {"name": "video_views_p_50", "description": "The number of times your video was played at 50% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of times your ads were on screen.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "comments": {"name": "comments", "description": "The number of comments your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_result": {"name": "real_time_cost_per_result", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now, please go to the ad group section to view the cost per Result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "conversion": {"name": "conversion", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result": {"name": "real_time_result", "description": "The number of times your ad achieved an outcome, based on the optimization goal you selected. As a campaign may have different optimization goals, the total number of result is not supported in campaign section now , Please go to the ad group section to view the result. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_view_p_100": {"name": "video_view_p_100", "description": "The number of times your video was played at 100% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "The number of shares your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_conversion_rate": {"name": "real_time_conversion_rate", "description": "The percentage of results you received out of all the clicks of your ads. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_secondary_goal_result": {"name": "cost_per_secondary_goal_result", "description": "The average cost for each secondary goal result from your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result_rate": {"name": "secondary_goal_result_rate", "description": "The percentage of secondary goal results you achieved out of all of the installs of your adverts. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. The total count is calculated based on the time each ad impression occurred.\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The number of clicks on your ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_1000_reached": {"name": "cost_per_1000_reached", "description": "The average cost to reach 1,000 unique users. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views_p_25": {"name": "video_views_p_25", "description": "The number of times your video was played at 25% of its length. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of unique users who saw your ads at least once. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_cost_per_conversion": {"name": "real_time_cost_per_conversion", "description": "The average amount of money you've spent on a conversion. (The total count is based on when the conversion actually happened.)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits_rate": {"name": "profile_visits_rate", "description": "The rate of profile visits per impression the paid ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play": {"name": "average_video_play", "description": "The average time your video was played per single video view, including any time spent replaying the video.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "profile_visits": {"name": "profile_visits", "description": "The number of profile visits the ad drove during the campaign. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cpm": {"name": "cpm", "description": "The average amount of money you've spent per 1,000 impressions.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ctr": {"name": "ctr", "description": "The percentage of times people saw your ad and performed a click.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_2_s": {"name": "video_watched_2_s", "description": "The number of times your video played for at least 2 seconds. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "follows": {"name": "follows", "description": "The number of new followers that were gained within 1 day of a user seeing a paid ad. This metric is only for Boosted TikToks.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "result_rate": {"name": "result_rate", "description": "The percentage of results you achieved out of all of the views/clicks on your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the result rate. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_watched_6_s": {"name": "video_watched_6_s", "description": "The number of times your video played for at least 6 seconds, or completely played. Replays will not be counted.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "secondary_goal_result": {"name": "secondary_goal_result", "description": "The number of times your ad achieved an outcome, based on the secondary goal you selected. As one campaign may have a number of different secondary goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "cost_per_result": {"name": "cost_per_result", "description": "The average cost for each result from your ads. As one campaign may have a number of different optimization goals, this statistic is not supported for campaigns. Please go to ad groups or ads to view the cost per result. (The total count is calculated based on the time each ad impression occurred.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "average_video_play_per_user": {"name": "average_video_play_per_user", "description": "The average time your video was played per person, including any time spent replaying the video. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "real_time_result_rate": {"name": "real_time_result_rate", "description": "As a campaign may have different optimization goals, the total number of result is not supported in campaign section now ,Please go to the ad group section to view the Result Rate. (The total count is based on when the conversion actually happened.)\n", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The estimated total amount of money you've spent on your campaign, ad group or ad during its schedule.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "likes": {"name": "likes", "description": "The number of likes your video creative received within 1 day of a user seeing a paid ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "Timestamp of when Fivetran synced a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`tiktok_adgroup_report_hourly_data`", "created_at": 1679592114.057226}, "source.facebook_ads_source.facebook_ads.account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.account_history", "fqn": ["facebook_ads_source", "facebook_ads", "account_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "facebook_ads_account_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook ad account.", "columns": {"id": {"name": "id", "description": "The ID of the ad account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_status": {"name": "account_status", "description": "Current status of account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_country_code": {"name": "business_country_code", "description": "Country code of business associated to account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The time account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_name": {"name": "timezone_name", "description": "Timezone associated with account.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_account_history_data`", "created_at": 1679592114.057627}, "source.facebook_ads_source.facebook_ads.ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.ad_history", "fqn": ["facebook_ads_source", "facebook_ads", "ad_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "facebook_ads_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook ad.", "columns": {"id": {"name": "id", "description": "The ID of this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_set_id": {"name": "ad_set_id", "description": "ID of the ad set that contains the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the ad creative to be used by this ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_ad_history_data`", "created_at": 1679592114.058012}, "source.facebook_ads_source.facebook_ads.ad_set_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_set_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.ad_set_history", "fqn": ["facebook_ads_source", "facebook_ads", "ad_set_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "facebook_ads_ad_set_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook ad set.", "columns": {"id": {"name": "id", "description": "The ID of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad set belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "Ad campaign that contains this ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Timestamp of designated ad set start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "Timestamp of designated ad set end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_strategy": {"name": "bid_strategy", "description": "Bid strategy values are - 'LOWEST_COST_WITHOUT_CAP', 'LOWEST_COST_WITH_BID_CAP', 'COST_CAP', 'LOWEST_COST_WITH_MIN_ROAS'.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of ad set.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_ad_set_history_data`", "created_at": 1679592114.0584152}, "source.facebook_ads_source.facebook_ads.basic_ad": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "basic_ad", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.basic_ad", "fqn": ["facebook_ads_source", "facebook_ads", "basic_ad"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "facebook_ads_basic_ad_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the daily performance of an ad in Facebook.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_name": {"name": "ad_name", "description": "Name of the ad the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "adset_name": {"name": "adset_name", "description": "Name of the ad set the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the reported performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this ad belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "inline_link_clicks": {"name": "inline_link_clicks", "description": "The number of clicks the ad had on the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend on the ad in the given day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "reach": {"name": "reach", "description": "The number of people who saw any content from your Page or about your Page. This metric is estimated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency": {"name": "frequency", "description": "The average number of times each person saw your ad; it is calculated as impressions divided by reach.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_basic_ad_data`", "created_at": 1679592114.0588312}, "source.facebook_ads_source.facebook_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.campaign_history", "fqn": ["facebook_ads_source", "facebook_ads", "campaign_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "facebook_ads_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook campaign.", "columns": {"id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the ad account that this campaign belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_time": {"name": "updated_time", "description": "The timestamp of the last update of a record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_time": {"name": "created_time", "description": "The time the campaign was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "Timestamp of designated campaign start time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "stop_time": {"name": "stop_time", "description": "Timestamp of designated campaign end time.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget": {"name": "daily_budget", "description": "Daily budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "budget_remaining": {"name": "budget_remaining", "description": "Remaining budget of campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "lifetime_budget": {"name": "lifetime_budget", "description": "Lifetime budget of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "status": {"name": "status", "description": "Status values are - 'ACTIVE', 'PAUSED', 'DELETED', 'ARCHIVED'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_campaign_history_data`", "created_at": 1679592114.059244}, "source.facebook_ads_source.facebook_ads.creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "creative_history", "resource_type": "source", "package_name": "facebook_ads_source", "path": "models/src_facebook_ads.yml", "original_file_path": "models/src_facebook_ads.yml", "unique_id": "source.facebook_ads_source.facebook_ads.creative_history", "fqn": ["facebook_ads_source", "facebook_ads", "creative_history"], "source_name": "facebook_ads", "source_description": "", "loader": "Fivetran", "identifier": "facebook_ads_creative_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table reflects a version of a Facebook creative.", "columns": {"_fivetran_id": {"name": "_fivetran_id", "description": "Unique record identifier", "meta": {}, "data_type": null, "quote": null, "tags": []}, "page_link": {"name": "page_link", "description": "URL destination of Facebook ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_page_link": {"name": "template_page_link", "description": "URL destination of Facebook dynamic ads.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Unique ID for an ad creative.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "Ad account ID for the account this ad creative belongs to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "Name of this ad creative as seen in the ad account's library.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_tags": {"name": "url_tags", "description": "A set of query string parameters which will replace or be appended to urls clicked from page post ads, message of the post, and canvas app install creatives only.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "asset_feed_spec_link_urls": {"name": "asset_feed_spec_link_urls", "description": "Link to the asset feed spec", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_child_attachments": {"name": "object_story_link_data_child_attachments", "description": "Link of the object story child attachments", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_caption": {"name": "object_story_link_data_caption", "description": "Link of the object story caption", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_description": {"name": "object_story_link_data_description", "description": "Link of the object story description", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_link": {"name": "object_story_link_data_link", "description": "Link of the object story link", "meta": {}, "data_type": null, "quote": null, "tags": []}, "object_story_link_data_message": {"name": "object_story_link_data_message", "description": "Link of the object story message", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ios": {"name": "template_app_link_spec_ios", "description": "Link of the object story spec for ios", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_ipad": {"name": "template_app_link_spec_ipad", "description": "Link of the template app spec for ipad", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_android": {"name": "template_app_link_spec_android", "description": "Link of the template app for android", "meta": {}, "data_type": null, "quote": null, "tags": []}, "template_app_link_spec_iphone": {"name": "template_app_link_spec_iphone", "description": "Link of the template app for iphone", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`facebook_ads_creative_history_data`", "created_at": 1679592114.059674}, "source.snapchat_ads_source.snapchat_ads.ad_account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_account_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_account_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_account_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_ad_account_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of an ad account in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser": {"name": "advertiser", "description": "Name of advertiser", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "Currency used by account", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "Account timezone", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_account_history_data`", "created_at": 1679592114.060171}, "source.snapchat_ads_source.snapchat_ads.ad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_ad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of an ad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_squad_id": {"name": "ad_squad_id", "description": "The ID of the related ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the ad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_history_data`", "created_at": 1679592114.061752}, "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_hourly_report", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_hourly_report", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_hourly_report"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_ad_hourly_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an hourly performance summary for an ad in Snapchat.", "columns": {"ad_id": {"name": "ad_id", "description": "The ID of the ad that the report relates to in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time_millis": {"name": "attachment_total_view_time_millis", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time_millis": {"name": "screen_time_millis", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time_millis": {"name": "view_time_millis", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend in microdollars for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_hourly_report_data`", "created_at": 1679592114.062216}, "source.snapchat_ads_source.snapchat_ads.ad_squad_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_squad_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_squad_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_ad_squad_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of an ad squad in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the ad squad in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_squad_history_data`", "created_at": 1679592114.062602}, "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "ad_squad_hourly_report", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report", "fqn": ["snapchat_ads_source", "snapchat_ads", "ad_squad_hourly_report"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_ad_squad_hourly_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an hourly performance summary for each ad squad.", "columns": {"ad_squad_id": {"name": "ad_squad_id", "description": "ID of the ad squad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time_millis": {"name": "attachment_total_view_time_millis", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time_millis": {"name": "screen_time_millis", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time_millis": {"name": "view_time_millis", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend in microdollars for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_ad_squad_hourly_report_data`", "created_at": 1679592114.063029}, "source.snapchat_ads_source.snapchat_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "campaign_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of a campaign in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_campaign_history_data`", "created_at": 1679592114.063414}, "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_hourly_report", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report", "fqn": ["snapchat_ads_source", "snapchat_ads", "campaign_hourly_report"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_campaign_hourly_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents an hourly performance summary for each campaign.", "columns": {"campaign_id": {"name": "campaign_id", "description": "ID of campaign", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The hour that the report relates to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_1": {"name": "attachment_quartile_1", "description": "Number of times your Long Form Video was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_2": {"name": "attachment_quartile_2", "description": "Number of times your Long Form Video was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_quartile_3": {"name": "attachment_quartile_3", "description": "Number of times your Long Form Video was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_total_view_time_millis": {"name": "attachment_total_view_time_millis", "description": "Total time Snapchatters spent on the attachment (HH:MM:SS)", "meta": {}, "data_type": null, "quote": null, "tags": []}, "attachment_view_completion": {"name": "attachment_view_completion", "description": "The number of times your Long Form Video was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_1": {"name": "quartile_1", "description": "The number of times your video ad was viewed to 25%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_2": {"name": "quartile_2", "description": "The number of times your video ad was viewed to 50%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "quartile_3": {"name": "quartile_3", "description": "The number of times your video ad was viewed to 75%", "meta": {}, "data_type": null, "quote": null, "tags": []}, "saves": {"name": "saves", "description": "Number of times a lens/filter was saved to Memories", "meta": {}, "data_type": null, "quote": null, "tags": []}, "shares": {"name": "shares", "description": "Number of times a lens/filter was shared in a Chat or Story", "meta": {}, "data_type": null, "quote": null, "tags": []}, "screen_time_millis": {"name": "screen_time_millis", "description": "The number of milli seconds spent watching your ad across all paid impressions. Screen time starts recording as soon as the media is fully rendered on the device and the autoplay video starts", "meta": {}, "data_type": null, "quote": null, "tags": []}, "video_views": {"name": "video_views", "description": "The number of times your video was watched at least 2 seconds or swiped up, whichever comes first", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_completion": {"name": "view_completion", "description": "The number of times your video ad was viewed to completion (97% )", "meta": {}, "data_type": null, "quote": null, "tags": []}, "view_time_millis": {"name": "view_time_millis", "description": "The number of milli seconds spent watching your ad across all users reached.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The number of impressions for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The amount of spend in microdollars for an ad in the hour of the record.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "swipes": {"name": "swipes", "description": "The number of swipes for an ad in the hour of the record. Swipes are when your ad was swiped up on or the CTA was tapped to view the attachment below.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_campaign_hourly_report_data`", "created_at": 1679592114.0638368}, "source.snapchat_ads_source.snapchat_ads.creative_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "creative_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "creative_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_creative_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a historic version of a creative in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "ad_account_id": {"name": "ad_account_id", "description": "The ID of the related ad account in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "web_view_url": {"name": "web_view_url", "description": "The URL of the creative if the creative is of type 'web view'.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_creative_history_data`", "created_at": 1679592114.064227}, "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "creative_url_tag_history", "resource_type": "source", "package_name": "snapchat_ads_source", "path": "models/src_snapchat.yml", "original_file_path": "models/src_snapchat.yml", "unique_id": "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history", "fqn": ["snapchat_ads_source", "snapchat_ads", "creative_url_tag_history"], "source_name": "snapchat_ads", "source_description": "", "loader": "Fivetran", "identifier": "snapchat_creative_url_tag_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record in this table represents a URL parameter key-value pair for a creative in Snapchat.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_id": {"name": "creative_id", "description": "The ID of the related creative in Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "Created at timestamp.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "key": {"name": "key", "description": "The URL parameter key, i.e. UTM_SOURCE.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "value": {"name": "value", "description": "The URL parameter value, i.e. Snapchat.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`snapchat_creative_url_tag_history_data`", "created_at": 1679592114.064596}, "source.twitter_ads_source.twitter_ads.account_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "account_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.account_history", "fqn": ["twitter_ads_source", "twitter_ads", "account_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_account_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each account. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_id": {"name": "business_id", "description": "The ID of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "business_name": {"name": "business_name", "description": "The name of the related business.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "industry_type": {"name": "industry_type", "description": "The industry of the accounts.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone": {"name": "timezone", "description": "The timezone the account is set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "timezone_switch_at": {"name": "timezone_switch_at", "description": "The timestamp the account's timezone was last changed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "salt": {"name": "salt", "description": "The random encryption key used to has data.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_account_history_data`", "created_at": 1679592114.064995}, "source.twitter_ads_source.twitter_ads.campaign_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.campaign_history", "fqn": ["twitter_ads_source", "twitter_ads", "campaign_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_campaign_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each campaign. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currently all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "daily_budget_amount_local_micro": {"name": "daily_budget_amount_local_micro", "description": "The daily budget amount to be allocated to the campaign. The currency associated with the specified funding instrument will be used.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "duration_in_days": {"name": "duration_in_days", "description": "The time period within which the frequency_cap is achieved.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The time the campaign will end", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "frequency_cap": {"name": "frequency_cap", "description": "The maximum number of times an ad could be delivered to a user.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "servable": {"name": "servable", "description": "Whether the campaign is in a state to be actively served to users.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "standard_delivery": {"name": "standard_delivery", "description": "Whether standard delivery is enabled (vs accelerated delivery).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "The time the campaign will start.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "funding_instrument_id": {"name": "funding_instrument_id", "description": "Reference to the funding instrument.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_campaign_history_data`", "created_at": 1679592114.0654159}, "source.twitter_ads_source.twitter_ads.line_item_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "line_item_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.line_item_history", "fqn": ["twitter_ads_source", "twitter_ads", "line_item_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_line_item_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each line item. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_domain": {"name": "advertiser_domain", "description": "The website domain for this advertiser, without the protocol specification.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "advertiser_user_id": {"name": "advertiser_user_id", "description": "The Twitter user identifier for the handle promoting the ad.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "automatically_select_bid": {"name": "automatically_select_bid", "description": "Whether automatically optimize bidding is enabled based on daily budget and campaign flight dates.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_amount_local_micro": {"name": "bid_amount_local_micro", "description": "The bid amount to be associated with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_type": {"name": "bid_type", "description": "The bidding mechanism.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "bid_unit": {"name": "bid_unit", "description": "The bid unit for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "charge_by": {"name": "charge_by", "description": "The unit to charge this line item by.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "creative_source": {"name": "creative_source", "description": "The source of the creatives for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency in which metrics will be reported.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "end_time": {"name": "end_time", "description": "The timestamp at which the line item will stop being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "The name of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "objective": {"name": "objective", "description": "The campaign objective for this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "optimization": {"name": "optimization", "description": "The optimization setting to use with this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "primary_web_event_tag": {"name": "primary_web_event_tag", "description": "The identifier of the primary web event tag. Allows more accurate tracking of engagements for the campaign pertaining to this line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "product_type": {"name": "product_type", "description": "The type of promoted product that this line item will contain.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "start_time": {"name": "start_time", "description": "The timestamp at which the line item will start being served.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "target_cpa_local_micro": {"name": "target_cpa_local_micro", "description": "The target cost per acquisition for the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "total_budget_amount_local_micro": {"name": "total_budget_amount_local_micro", "description": "The total budget amount to be allocated to the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_history_data`", "created_at": 1679592114.06585}, "source.twitter_ads_source.twitter_ads.promoted_tweet_history": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "promoted_tweet_history", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_history", "fqn": ["twitter_ads_source", "twitter_ads", "promoted_tweet_history"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_promoted_tweet_history_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a version of each promoted tweet. The versions can be differentiated by the updated_at timestamp.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "approval_status": {"name": "approval_status", "description": "The approval status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "created_at": {"name": "created_at", "description": "The timestamp the account was created.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "deleted": {"name": "deleted", "description": "Whether the record has been deleted or not.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "entity_status": {"name": "entity_status", "description": "The status of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "The ID of the promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "updated_at": {"name": "updated_at", "description": "The timestamp the account was last updated.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_promoted_tweet_history_data`", "created_at": 1679592114.18}, "source.twitter_ads_source.twitter_ads.tweet_url": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tweet_url", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.tweet_url", "fqn": ["twitter_ads_source", "twitter_ads", "tweet_url"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_tweet_url_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a URL used in a tweet.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "display_url": {"name": "display_url", "description": "The URL as it will be displayed.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "expanded_url": {"name": "expanded_url", "description": "The fully expanded URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "index": {"name": "index", "description": "The index of the URL within the tweet (ie if there are multiple URLs in the tweet).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "indices": {"name": "indices", "description": "The start and end point of where the URL is placed in the tweet text.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "tweet_id": {"name": "tweet_id", "description": "The ID of the related tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url": {"name": "url", "description": "The 't.co' shortened URL.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_tweet_url_data`", "created_at": 1679592114.18046}, "source.twitter_ads_source.twitter_ads.promoted_tweet_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "promoted_tweet_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.promoted_tweet_report", "fqn": ["twitter_ads_source", "twitter_ads", "promoted_tweet_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_promoted_tweet_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of a promoted tweet on a given day, in its defined placement.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the promoted tweet on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the promoted tweet on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "promoted_tweet_id": {"name": "promoted_tweet_id", "description": "The ID of the related promoted tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the promoted tweet on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_promoted_tweet_report_data`", "created_at": 1679592114.180866}, "source.twitter_ads_source.twitter_ads.tweet": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "tweet", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.tweet", "fqn": ["twitter_ads_source", "twitter_ads", "tweet"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_tweet_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents a tweet, promoted or not.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "id": {"name": "id", "description": "Unique identifier of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "name": {"name": "name", "description": "If provided, the non-public title of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "full_text": {"name": "full_text", "description": "Full text of the tweet's content.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "lang": {"name": "lang", "description": "Two-letter language code of the tweet.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_tweet_data`", "created_at": 1679592114.18126}, "source.twitter_ads_source.twitter_ads.campaign_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "campaign_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.campaign_report", "fqn": ["twitter_ads_source", "twitter_ads", "campaign_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_campaign_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of an ad campaign on a given day.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the campaign on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the campaign on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the campaign on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the ad campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the campaign on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_campaign_report_data`", "created_at": 1679592114.181655}, "source.twitter_ads_source.twitter_ads.line_item_report": {"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "line_item_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.line_item_report", "fqn": ["twitter_ads_source", "twitter_ads", "line_item_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_line_item_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of a line item (ad group) on a given day.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "When the record was last synced by Fivetran.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the line item on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "description": "The impressions for the line item on that day. This is the number of users who see a Promoted Ad either in their home timeline or search results.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": true}, "patch_path": null, "unrendered_config": {"enabled": true}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_report_data`", "created_at": 1679592114.182056}}, "macros": {"macro.dbt_bigquery.date_sharded_table": {"name": "date_sharded_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/etc.sql", "original_file_path": "macros/etc.sql", "unique_id": "macro.dbt_bigquery.date_sharded_table", "macro_sql": "{% macro date_sharded_table(base_name) %}\n {{ return(base_name ~ \"[DBT__PARTITION_DATE]\") }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6201758, "supported_languages": null}, "macro.dbt_bigquery.grant_access_to": {"name": "grant_access_to", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/etc.sql", "original_file_path": "macros/etc.sql", "unique_id": "macro.dbt_bigquery.grant_access_to", "macro_sql": "{% macro grant_access_to(entity, entity_type, role, grant_target_dict) -%}\n {% do adapter.grant_access_to(entity, entity_type, role, grant_target_dict) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.621005, "supported_languages": null}, "macro.dbt_bigquery.get_partitions_metadata": {"name": "get_partitions_metadata", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/etc.sql", "original_file_path": "macros/etc.sql", "unique_id": "macro.dbt_bigquery.get_partitions_metadata", "macro_sql": "\n\n{%- macro get_partitions_metadata(table) -%}\n {%- if execute -%}\n {%- set res = adapter.get_partitions_metadata(table) -%}\n {{- return(res) -}}\n {%- endif -%}\n {{- return(None) -}}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.621954, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_catalog": {"name": "bigquery__get_catalog", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/catalog.sql", "original_file_path": "macros/catalog.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_catalog", "macro_sql": "{% macro bigquery__get_catalog(information_schema, schemas) -%}\n\n {%- if (schemas | length) == 0 -%}\n {# Hopefully nothing cares about the columns we return when there are no rows #}\n {%- set query = \"select 1 as id limit 0\" -%}\n {%- else -%}\n\n {%- set query -%}\n with tables as (\n select\n project_id as table_database,\n dataset_id as table_schema,\n table_id as original_table_name,\n\n concat(project_id, '.', dataset_id, '.', table_id) as relation_id,\n\n row_count,\n size_bytes as size_bytes,\n case\n when type = 1 then 'table'\n when type = 2 then 'view'\n else 'external'\n end as table_type,\n\n REGEXP_CONTAINS(table_id, '^.+[0-9]{8}$') and coalesce(type, 0) = 1 as is_date_shard,\n REGEXP_EXTRACT(table_id, '^(.+)[0-9]{8}$') as shard_base_name,\n REGEXP_EXTRACT(table_id, '^.+([0-9]{8})$') as shard_name\n\n from {{ information_schema.replace(information_schema_view='__TABLES__') }}\n where (\n {%- for schema in schemas -%}\n upper(dataset_id) = upper('{{ schema }}'){%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n )\n ),\n\n table_options as (\n select\n concat(table_catalog, '.', table_schema, '.', table_name) as relation_id,\n JSON_VALUE(option_value) as table_comment\n\n from {{ information_schema.replace(information_schema_view='TABLE_OPTIONS') }}\n where option_name = 'description'\n ),\n extracted as (\n\n select *,\n case\n when is_date_shard then shard_base_name\n else original_table_name\n end as table_name\n\n from tables\n\n ),\n\n unsharded_tables as (\n\n select\n table_database,\n table_schema,\n table_name,\n coalesce(table_type, 'external') as table_type,\n is_date_shard,\n\n struct(\n min(shard_name) as shard_min,\n max(shard_name) as shard_max,\n count(*) as shard_count\n ) as table_shards,\n\n sum(size_bytes) as size_bytes,\n sum(row_count) as row_count,\n\n max(relation_id) as relation_id\n\n from extracted\n group by 1,2,3,4,5\n\n ),\n\n info_schema_columns as (\n\n select\n concat(table_catalog, '.', table_schema, '.', table_name) as relation_id,\n table_catalog as table_database,\n table_schema,\n table_name,\n\n -- use the \"real\" column name from the paths query below\n column_name as base_column_name,\n ordinal_position as column_index,\n\n is_partitioning_column,\n clustering_ordinal_position\n\n from {{ information_schema.replace(information_schema_view='COLUMNS') }}\n where ordinal_position is not null\n\n ),\n\n info_schema_column_paths as (\n\n select\n concat(table_catalog, '.', table_schema, '.', table_name) as relation_id,\n field_path as column_name,\n data_type as column_type,\n column_name as base_column_name,\n description as column_comment\n\n from {{ information_schema.replace(information_schema_view='COLUMN_FIELD_PATHS') }}\n\n ),\n\n columns as (\n\n select * except (base_column_name)\n from info_schema_columns\n join info_schema_column_paths using (relation_id, base_column_name)\n\n ),\n\n column_stats as (\n\n select\n table_database,\n table_schema,\n table_name,\n max(relation_id) as relation_id,\n max(case when is_partitioning_column = 'YES' then 1 else 0 end) = 1 as is_partitioned,\n max(case when is_partitioning_column = 'YES' then column_name else null end) as partition_column,\n max(case when clustering_ordinal_position is not null then 1 else 0 end) = 1 as is_clustered,\n array_to_string(\n array_agg(\n case\n when clustering_ordinal_position is not null then column_name\n else null\n end ignore nulls\n order by clustering_ordinal_position\n ), ', '\n ) as clustering_columns\n\n from columns\n group by 1,2,3\n\n )\n\n select\n unsharded_tables.table_database,\n unsharded_tables.table_schema,\n case\n when is_date_shard then concat(unsharded_tables.table_name, '*')\n else unsharded_tables.table_name\n end as table_name,\n unsharded_tables.table_type,\n table_options.table_comment,\n\n -- coalesce name and type for External tables - these columns are not\n -- present in the COLUMN_FIELD_PATHS resultset\n coalesce(columns.column_name, '') as column_name,\n -- invent a row number to account for nested fields -- BQ does\n -- not treat these nested properties as independent fields\n row_number() over (\n partition by relation_id\n order by columns.column_index, columns.column_name\n ) as column_index,\n coalesce(columns.column_type, '') as column_type,\n columns.column_comment,\n\n 'Shard count' as `stats__date_shards__label`,\n table_shards.shard_count as `stats__date_shards__value`,\n 'The number of date shards in this table' as `stats__date_shards__description`,\n is_date_shard as `stats__date_shards__include`,\n\n 'Shard (min)' as `stats__date_shard_min__label`,\n table_shards.shard_min as `stats__date_shard_min__value`,\n 'The first date shard in this table' as `stats__date_shard_min__description`,\n is_date_shard as `stats__date_shard_min__include`,\n\n 'Shard (max)' as `stats__date_shard_max__label`,\n table_shards.shard_max as `stats__date_shard_max__value`,\n 'The last date shard in this table' as `stats__date_shard_max__description`,\n is_date_shard as `stats__date_shard_max__include`,\n\n '# Rows' as `stats__num_rows__label`,\n row_count as `stats__num_rows__value`,\n 'Approximate count of rows in this table' as `stats__num_rows__description`,\n (unsharded_tables.table_type = 'table') as `stats__num_rows__include`,\n\n 'Approximate Size' as `stats__num_bytes__label`,\n size_bytes as `stats__num_bytes__value`,\n 'Approximate size of table as reported by BigQuery' as `stats__num_bytes__description`,\n (unsharded_tables.table_type = 'table') as `stats__num_bytes__include`,\n\n 'Partitioned By' as `stats__partitioning_type__label`,\n partition_column as `stats__partitioning_type__value`,\n 'The partitioning column for this table' as `stats__partitioning_type__description`,\n is_partitioned as `stats__partitioning_type__include`,\n\n 'Clustered By' as `stats__clustering_fields__label`,\n clustering_columns as `stats__clustering_fields__value`,\n 'The clustering columns for this table' as `stats__clustering_fields__description`,\n is_clustered as `stats__clustering_fields__include`\n\n -- join using relation_id (an actual relation, not a shard prefix) to make\n -- sure that column metadata is picked up through the join. This will only\n -- return the column information for the \"max\" table in a date-sharded table set\n from unsharded_tables\n left join table_options using (relation_id)\n left join columns using (relation_id)\n left join column_stats using (relation_id)\n {%- endset -%}\n\n {%- endif -%}\n\n {{ return(run_query(query)) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.63193, "supported_languages": null}, "macro.dbt_bigquery.partition_by": {"name": "partition_by", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.partition_by", "macro_sql": "{% macro partition_by(partition_config) -%}\n {%- if partition_config is none -%}\n {% do return('') %}\n {%- elif partition_config.data_type | lower in ('date','timestamp','datetime') -%}\n partition by {{ partition_config.render() }}\n {%- elif partition_config.data_type | lower in ('int64') -%}\n {%- set range = partition_config.range -%}\n partition by range_bucket(\n {{ partition_config.field }},\n generate_array({{ range.start}}, {{ range.end }}, {{ range.interval }})\n )\n {%- endif -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6428108, "supported_languages": null}, "macro.dbt_bigquery.cluster_by": {"name": "cluster_by", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.cluster_by", "macro_sql": "{% macro cluster_by(raw_cluster_by) %}\n {%- if raw_cluster_by is not none -%}\n cluster by {% if raw_cluster_by is string -%}\n {% set raw_cluster_by = [raw_cluster_by] %}\n {%- endif -%}\n {%- for cluster in raw_cluster_by -%}\n {{ cluster }}\n {%- if not loop.last -%}, {% endif -%}\n {%- endfor -%}\n\n {% endif %}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.644062, "supported_languages": null}, "macro.dbt_bigquery.bigquery_options": {"name": "bigquery_options", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery_options", "macro_sql": "{% macro bigquery_options(opts) %}\n {% set options -%}\n OPTIONS({% for opt_key, opt_val in opts.items() %}\n {{ opt_key }}={{ opt_val }}{{ \",\" if not loop.last }}\n {% endfor %})\n {%- endset %}\n {%- do return(options) -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.645258, "supported_languages": null}, "macro.dbt_bigquery.bigquery_table_options": {"name": "bigquery_table_options", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery_table_options", "macro_sql": "{% macro bigquery_table_options(config, node, temporary) %}\n {% set opts = adapter.get_table_options(config, node, temporary) %}\n {%- do return(bigquery_options(opts)) -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.646121, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_table_as": {"name": "bigquery__create_table_as", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_table_as", "macro_sql": "{% macro bigquery__create_table_as(temporary, relation, compiled_code, language='sql') -%}\n {%- if language == 'sql' -%}\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set raw_cluster_by = config.get('cluster_by', none) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {%- set partition_config = adapter.parse_partition_by(raw_partition_by) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create or replace table {{ relation }}\n {{ partition_by(partition_config) }}\n {{ cluster_by(raw_cluster_by) }}\n {{ bigquery_table_options(config, model, temporary) }}\n as (\n {{ compiled_code }}\n );\n {%- elif language == 'python' -%}\n {#--\n N.B. Python models _can_ write to temp views HOWEVER they use a different session\n and have already expired by the time they need to be used (I.E. in merges for incremental models)\n\n TODO: Deep dive into spark sessions to see if we can reuse a single session for an entire\n dbt invocation.\n --#}\n {{ py_write_table(compiled_code=compiled_code, target_relation=relation.quote(database=False, schema=False, identifier=False)) }}\n {%- else -%}\n {% do exceptions.raise_compiler_error(\"bigquery__create_table_as macro didn't get supported language, it got %s\" % language) %}\n {%- endif -%}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.partition_by", "macro.dbt_bigquery.cluster_by", "macro.dbt_bigquery.bigquery_table_options", "macro.dbt_bigquery.py_write_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.649344, "supported_languages": null}, "macro.dbt_bigquery.bigquery_view_options": {"name": "bigquery_view_options", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery_view_options", "macro_sql": "{% macro bigquery_view_options(config, node) %}\n {% set opts = adapter.get_view_options(config, node) %}\n {%- do return(bigquery_options(opts)) -%}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.65025, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_view_as": {"name": "bigquery__create_view_as", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_view_as", "macro_sql": "{% macro bigquery__create_view_as(relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create or replace view {{ relation }}\n {{ bigquery_view_options(config, model) }}\n as {{ sql }};\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery_view_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6513422, "supported_languages": null}, "macro.dbt_bigquery.bigquery__drop_schema": {"name": "bigquery__drop_schema", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__drop_schema", "macro_sql": "{% macro bigquery__drop_schema(relation) -%}\n {{ adapter.drop_schema(relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6518111, "supported_languages": null}, "macro.dbt_bigquery.bigquery__drop_relation": {"name": "bigquery__drop_relation", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__drop_relation", "macro_sql": "{% macro bigquery__drop_relation(relation) -%}\n {% call statement('drop_relation') -%}\n drop {{ relation.type }} if exists {{ relation }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.652459, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_columns_in_relation": {"name": "bigquery__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_columns_in_relation", "macro_sql": "{% macro bigquery__get_columns_in_relation(relation) -%}\n {{ return(adapter.get_columns_in_relation(relation)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.65296, "supported_languages": null}, "macro.dbt_bigquery.bigquery__list_relations_without_caching": {"name": "bigquery__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__list_relations_without_caching", "macro_sql": "{% macro bigquery__list_relations_without_caching(schema_relation) -%}\n {{ return(adapter.list_relations_without_caching(schema_relation)) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.653452, "supported_languages": null}, "macro.dbt_bigquery.bigquery__list_schemas": {"name": "bigquery__list_schemas", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__list_schemas", "macro_sql": "{% macro bigquery__list_schemas(database) -%}\n {{ return(adapter.list_schemas(database)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6541, "supported_languages": null}, "macro.dbt_bigquery.bigquery__check_schema_exists": {"name": "bigquery__check_schema_exists", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__check_schema_exists", "macro_sql": "{% macro bigquery__check_schema_exists(information_schema, schema) %}\n {{ return(adapter.check_schema_exists(information_schema.database, schema)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.654755, "supported_languages": null}, "macro.dbt_bigquery.bigquery__persist_docs": {"name": "bigquery__persist_docs", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__persist_docs", "macro_sql": "{% macro bigquery__persist_docs(relation, model, for_relation, for_columns) -%}\n {% if for_columns and config.persist_column_docs() and model.columns %}\n {% do alter_column_comment(relation, model.columns) %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.655945, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_column_comment": {"name": "bigquery__alter_column_comment", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_column_comment", "macro_sql": "{% macro bigquery__alter_column_comment(relation, column_dict) -%}\n {% do adapter.update_columns(relation, column_dict) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.656551, "supported_languages": null}, "macro.dbt_bigquery.bigquery__rename_relation": {"name": "bigquery__rename_relation", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__rename_relation", "macro_sql": "{% macro bigquery__rename_relation(from_relation, to_relation) -%}\n {% do adapter.rename_relation(from_relation, to_relation) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.657223, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_relation_add_columns": {"name": "bigquery__alter_relation_add_columns", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_relation_add_columns", "macro_sql": "{% macro bigquery__alter_relation_add_columns(relation, add_columns) %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n {% for column in add_columns %}\n add column {{ column.name }} {{ column.data_type }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {{ return(run_query(sql)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.658632, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_relation_drop_columns": {"name": "bigquery__alter_relation_drop_columns", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_relation_drop_columns", "macro_sql": "{% macro bigquery__alter_relation_drop_columns(relation, drop_columns) %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n\n {% for column in drop_columns %}\n drop column {{ column.name }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {{ return(run_query(sql)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6600802, "supported_languages": null}, "macro.dbt_bigquery.bigquery__alter_column_type": {"name": "bigquery__alter_column_type", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__alter_column_type", "macro_sql": "{% macro bigquery__alter_column_type(relation, column_name, new_column_type) -%}\n {#-- Changing a column's data type using a query requires you to scan the entire table.\n The query charges can be significant if the table is very large.\n\n https://cloud.google.com/bigquery/docs/manually-changing-schemas#changing_a_columns_data_type\n #}\n {% set relation_columns = get_columns_in_relation(relation) %}\n\n {% set sql %}\n select\n {%- for col in relation_columns -%}\n {% if col.column == column_name %}\n CAST({{ col.quoted }} AS {{ new_column_type }}) AS {{ col.quoted }}\n {%- else %}\n {{ col.quoted }}\n {%- endif %}\n {%- if not loop.last %},{% endif -%}\n {%- endfor %}\n from {{ relation }}\n {% endset %}\n\n {% call statement('alter_column_type') %}\n {{ create_table_as(False, relation, sql)}}\n {%- endcall %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_columns_in_relation", "macro.dbt.statement", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.662546, "supported_languages": null}, "macro.dbt_bigquery.bigquery__test_unique": {"name": "bigquery__test_unique", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__test_unique", "macro_sql": "{% macro bigquery__test_unique(model, column_name) %}\n\nwith dbt_test__target as (\n\n select {{ column_name }} as unique_field\n from {{ model }}\n where {{ column_name }} is not null\n\n)\n\nselect\n unique_field,\n count(*) as n_records\n\nfrom dbt_test__target\ngroup by unique_field\nhaving count(*) > 1\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.663174, "supported_languages": null}, "macro.dbt_bigquery.bigquery__upload_file": {"name": "bigquery__upload_file", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters.sql", "original_file_path": "macros/adapters.sql", "unique_id": "macro.dbt_bigquery.bigquery__upload_file", "macro_sql": "{% macro bigquery__upload_file(local_file_path, database, table_schema, table_name) %}\n\n {{ log(\"kwargs: \" ~ kwargs) }}\n\n {% do adapter.upload_file(local_file_path, database, table_schema, table_name, kwargs=kwargs) %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.664289, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_csv_table": {"name": "bigquery__create_csv_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/seed.sql", "original_file_path": "macros/materializations/seed.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_csv_table", "macro_sql": "{% macro bigquery__create_csv_table(model, agate_table) %}\n -- no-op\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6654239, "supported_languages": null}, "macro.dbt_bigquery.bigquery__reset_csv_table": {"name": "bigquery__reset_csv_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/seed.sql", "original_file_path": "macros/materializations/seed.sql", "unique_id": "macro.dbt_bigquery.bigquery__reset_csv_table", "macro_sql": "{% macro bigquery__reset_csv_table(model, full_refresh, old_relation, agate_table) %}\n {{ adapter.drop_relation(old_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6659808, "supported_languages": null}, "macro.dbt_bigquery.bigquery__load_csv_rows": {"name": "bigquery__load_csv_rows", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/seed.sql", "original_file_path": "macros/materializations/seed.sql", "unique_id": "macro.dbt_bigquery.bigquery__load_csv_rows", "macro_sql": "{% macro bigquery__load_csv_rows(model, agate_table) %}\n\n {%- set column_override = model['config'].get('column_types', {}) -%}\n {{ adapter.load_dataframe(model['database'], model['schema'], model['alias'],\n \t\t\t\t\t\t\tagate_table, column_override) }}\n\n {% call statement() %}\n alter table {{ this.render() }} set {{ bigquery_table_options(config, model) }}\n {% endcall %}\n\n {% if config.persist_relation_docs() and 'description' in model %}\n\n \t{{ adapter.update_table_description(model['database'], model['schema'], model['alias'], model['description']) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_bigquery.bigquery_table_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.668426, "supported_languages": null}, "macro.dbt_bigquery.bigquery__handle_existing_table": {"name": "bigquery__handle_existing_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/view.sql", "original_file_path": "macros/materializations/view.sql", "unique_id": "macro.dbt_bigquery.bigquery__handle_existing_table", "macro_sql": "{% macro bigquery__handle_existing_table(full_refresh, old_relation) %}\n {%- if full_refresh -%}\n {{ adapter.drop_relation(old_relation) }}\n {%- else -%}\n {{ exceptions.relation_wrong_type(old_relation, 'view') }}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6704168, "supported_languages": null}, "macro.dbt_bigquery.materialization_view_bigquery": {"name": "materialization_view_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/view.sql", "original_file_path": "macros/materializations/view.sql", "unique_id": "macro.dbt_bigquery.materialization_view_bigquery", "macro_sql": "{% materialization view, adapter='bigquery' -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n {% set to_return = create_or_replace_view() %}\n\n {% set target_relation = this.incorporate(type='view') %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if config.get('grant_access_to') %}\n {% for grant_target_dict in config.get('grant_access_to') %}\n {% do adapter.grant_access_to(this, 'view', None, grant_target_dict) %}\n {% endfor %}\n {% endif %}\n\n {% do return(to_return) %}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.create_or_replace_view", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6727092, "supported_languages": ["sql"]}, "macro.dbt_bigquery.materialization_table_bigquery": {"name": "materialization_table_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/table.sql", "original_file_path": "macros/materializations/table.sql", "unique_id": "macro.dbt_bigquery.materialization_table_bigquery", "macro_sql": "{% materialization table, adapter='bigquery', supported_languages=['sql', 'python']-%}\n\n {%- set language = model['language'] -%}\n {%- set identifier = model['alias'] -%}\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n {%- set exists_not_as_table = (old_relation is not none and not old_relation.is_table) -%}\n {%- set target_relation = api.Relation.create(database=database, schema=schema, identifier=identifier, type='table') -%}\n\n -- grab current tables grants config for comparision later on\n {%- set grant_config = config.get('grants') -%}\n\n {{ run_hooks(pre_hooks) }}\n\n {#\n We only need to drop this thing if it is not a table.\n If it _is_ already a table, then we can overwrite it without downtime\n Unlike table -> view, no need for `--full-refresh`: dropping a view is no big deal\n #}\n {%- if exists_not_as_table -%}\n {{ adapter.drop_relation(old_relation) }}\n {%- endif -%}\n\n -- build model\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set partition_by = adapter.parse_partition_by(raw_partition_by) -%}\n {%- set cluster_by = config.get('cluster_by', none) -%}\n {% if not adapter.is_replaceable(old_relation, partition_by, cluster_by) %}\n {% do log(\"Hard refreshing \" ~ old_relation ~ \" because it is not replaceable\") %}\n {% do adapter.drop_relation(old_relation) %}\n {% endif %}\n\n -- build model\n {%- call statement('main', language=language) -%}\n {{ create_table_as(False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {{ run_hooks(post_hooks) }}\n\n {% set should_revoke = should_revoke(old_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.create_table_as", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.682677, "supported_languages": ["sql", "python"]}, "macro.dbt_bigquery.py_write_table": {"name": "py_write_table", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/table.sql", "original_file_path": "macros/materializations/table.sql", "unique_id": "macro.dbt_bigquery.py_write_table", "macro_sql": "{% macro py_write_table(compiled_code, target_relation) %}\nfrom pyspark.sql import SparkSession\n\nspark = SparkSession.builder.appName('smallTest').getOrCreate()\n\nspark.conf.set(\"viewsEnabled\",\"true\")\nspark.conf.set(\"temporaryGcsBucket\",\"{{target.gcs_bucket}}\")\n\n{{ compiled_code }}\ndbt = dbtObj(spark.read.format(\"bigquery\").load)\ndf = model(dbt, spark)\n\n# COMMAND ----------\n# this is materialization code dbt generated, please do not modify\n\nimport pyspark\n# make sure pandas exists before using it\ntry:\n import pandas\n pandas_available = True\nexcept ImportError:\n pandas_available = False\n\n# make sure pyspark.pandas exists before using it\ntry:\n import pyspark.pandas\n pyspark_pandas_api_available = True\nexcept ImportError:\n pyspark_pandas_api_available = False\n\n# make sure databricks.koalas exists before using it\ntry:\n import databricks.koalas\n koalas_available = True\nexcept ImportError:\n koalas_available = False\n\n# preferentially convert pandas DataFrames to pandas-on-Spark or Koalas DataFrames first\n# since they know how to convert pandas DataFrames better than `spark.createDataFrame(df)`\n# and converting from pandas-on-Spark to Spark DataFrame has no overhead\nif pyspark_pandas_api_available and pandas_available and isinstance(df, pandas.core.frame.DataFrame):\n df = pyspark.pandas.frame.DataFrame(df)\nelif koalas_available and pandas_available and isinstance(df, pandas.core.frame.DataFrame):\n df = databricks.koalas.frame.DataFrame(df)\n\n# convert to pyspark.sql.dataframe.DataFrame\nif isinstance(df, pyspark.sql.dataframe.DataFrame):\n pass # since it is already a Spark DataFrame\nelif pyspark_pandas_api_available and isinstance(df, pyspark.pandas.frame.DataFrame):\n df = df.to_spark()\nelif koalas_available and isinstance(df, databricks.koalas.frame.DataFrame):\n df = df.to_spark()\nelif pandas_available and isinstance(df, pandas.core.frame.DataFrame):\n df = spark.createDataFrame(df)\nelse:\n msg = f\"{type(df)} is not a supported type for dbt Python materialization\"\n raise Exception(msg)\n\ndf.write \\\n .mode(\"overwrite\") \\\n .format(\"bigquery\") \\\n .option(\"writeMethod\", \"direct\").option(\"writeDisposition\", 'WRITE_TRUNCATE') \\\n .save(\"{{target_relation}}\")\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.684022, "supported_languages": null}, "macro.dbt_bigquery.materialization_copy_bigquery": {"name": "materialization_copy_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/copy.sql", "original_file_path": "macros/materializations/copy.sql", "unique_id": "macro.dbt_bigquery.materialization_copy_bigquery", "macro_sql": "{% materialization copy, adapter='bigquery' -%}\n\n {# Setup #}\n {{ run_hooks(pre_hooks) }}\n\n {% set destination = this.incorporate(type='table') %}\n\n {# there can be several ref() or source() according to BQ copy API docs #}\n {# cycle over ref() and source() to create source tables array #}\n {% set source_array = [] %}\n {% for ref_table in model.refs %}\n {{ source_array.append(ref(*ref_table)) }}\n {% endfor %}\n\n {% for src_table in model.sources %}\n {{ source_array.append(source(*src_table)) }}\n {% endfor %}\n\n {# Call adapter copy_table function #}\n {%- set result_str = adapter.copy_table(\n source_array,\n destination,\n config.get('copy_materialization', default = 'table')) -%}\n\n {{ store_result('main', response=result_str) }}\n\n {# Clean up #}\n {{ run_hooks(post_hooks) }}\n {%- do apply_grants(target_relation, grant_config) -%}\n {{ adapter.commit() }}\n\n {{ return({'relations': [destination]}) }}\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.687906, "supported_languages": ["sql"]}, "macro.dbt_bigquery.dbt_bigquery_validate_get_incremental_strategy": {"name": "dbt_bigquery_validate_get_incremental_strategy", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.dbt_bigquery_validate_get_incremental_strategy", "macro_sql": "{% macro dbt_bigquery_validate_get_incremental_strategy(config) %}\n {#-- Find and validate the incremental strategy #}\n {%- set strategy = config.get(\"incremental_strategy\") or 'merge' -%}\n\n {% set invalid_strategy_msg -%}\n Invalid incremental strategy provided: {{ strategy }}\n Expected one of: 'merge', 'insert_overwrite'\n {%- endset %}\n {% if strategy not in ['merge', 'insert_overwrite'] %}\n {% do exceptions.raise_compiler_error(invalid_strategy_msg) %}\n {% endif %}\n\n {% do return(strategy) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.693963, "supported_languages": null}, "macro.dbt_bigquery.source_sql_with_partition": {"name": "source_sql_with_partition", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.source_sql_with_partition", "macro_sql": "{% macro source_sql_with_partition(partition_by, source_sql) %}\n\n {%- if partition_by.time_ingestion_partitioning %}\n {{ return(wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by.field), source_sql, False)) }}\n {% else %}\n {{ return(source_sql) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.69505, "supported_languages": null}, "macro.dbt_bigquery.bq_create_table_as": {"name": "bq_create_table_as", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.bq_create_table_as", "macro_sql": "{% macro bq_create_table_as(is_time_ingestion_partitioning, temporary, relation, compiled_code, language='sql') %}\n {% if is_time_ingestion_partitioning %}\n {#-- Create the table before inserting data as ingestion time partitioned tables can't be created with the transformed data --#}\n {% do run_query(create_ingestion_time_partitioned_table_as_sql(temporary, relation, sql)) %}\n {{ return(bq_insert_into_ingestion_time_partitioned_table_sql(relation, sql)) }}\n {% else %}\n {{ return(create_table_as(temporary, relation, sql)) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt_bigquery.create_ingestion_time_partitioned_table_as_sql", "macro.dbt_bigquery.bq_insert_into_ingestion_time_partitioned_table_sql", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.6965609, "supported_languages": null}, "macro.dbt_bigquery.bq_generate_incremental_build_sql": {"name": "bq_generate_incremental_build_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.bq_generate_incremental_build_sql", "macro_sql": "{% macro bq_generate_incremental_build_sql(\n strategy, tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, copy_partitions, incremental_predicates\n) %}\n {#-- if partitioned, use BQ scripting to get the range of partition values to be updated --#}\n {% if strategy == 'insert_overwrite' %}\n\n {% set build_sql = bq_generate_incremental_insert_overwrite_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, copy_partitions\n ) %}\n\n {% else %} {# strategy == 'merge' #}\n\n {% set build_sql = bq_generate_incremental_merge_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, incremental_predicates\n ) %}\n\n {% endif %}\n\n {{ return(build_sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_generate_incremental_insert_overwrite_build_sql", "macro.dbt_bigquery.bq_generate_incremental_merge_build_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.698619, "supported_languages": null}, "macro.dbt_bigquery.materialization_incremental_bigquery": {"name": "materialization_incremental_bigquery", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental.sql", "original_file_path": "macros/materializations/incremental.sql", "unique_id": "macro.dbt_bigquery.materialization_incremental_bigquery", "macro_sql": "{% materialization incremental, adapter='bigquery', supported_languages=['sql', 'python'] -%}\n\n {%- set unique_key = config.get('unique_key') -%}\n {%- set full_refresh_mode = (should_full_refresh()) -%}\n {%- set language = model['language'] %}\n\n {%- set target_relation = this %}\n {%- set existing_relation = load_relation(this) %}\n {%- set tmp_relation = make_temp_relation(this) %}\n\n {#-- Validate early so we don't run SQL if the strategy is invalid --#}\n {% set strategy = dbt_bigquery_validate_get_incremental_strategy(config) -%}\n\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set partition_by = adapter.parse_partition_by(raw_partition_by) -%}\n {%- set partitions = config.get('partitions', none) -%}\n {%- set cluster_by = config.get('cluster_by', none) -%}\n\n {% set on_schema_change = incremental_validate_on_schema_change(config.get('on_schema_change'), default='ignore') %}\n {% set incremental_predicates = config.get('predicates', default=none) or config.get('incremental_predicates', default=none) %}\n\n -- grab current tables grants config for comparison later on\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks) }}\n\n {% if partition_by.copy_partitions is true and strategy != 'insert_overwrite' %} {#-- We can't copy partitions with merge strategy --#}\n {% set wrong_strategy_msg -%}\n The 'copy_partitions' option requires the 'incremental_strategy' option to be set to 'insert_overwrite'.\n {%- endset %}\n {% do exceptions.raise_compiler_error(wrong_strategy_msg) %}\n\n {% elif existing_relation is none %}\n {%- call statement('main', language=language) -%}\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {% elif existing_relation.is_view %}\n {#-- There's no way to atomically replace a view with a table on BQ --#}\n {{ adapter.drop_relation(existing_relation) }}\n {%- call statement('main', language=language) -%}\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {% elif full_refresh_mode %}\n {#-- If the partition/cluster config has changed, then we must drop and recreate --#}\n {% if not adapter.is_replaceable(existing_relation, partition_by, cluster_by) %}\n {% do log(\"Hard refreshing \" ~ existing_relation ~ \" because it is not replaceable\") %}\n {{ adapter.drop_relation(existing_relation) }}\n {% endif %}\n {%- call statement('main', language=language) -%}\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, False, target_relation, compiled_code, language) }}\n {%- endcall -%}\n\n {% else %}\n {%- if language == 'python' and strategy == 'insert_overwrite' -%}\n {#-- This lets us move forward assuming no python will be directly templated into a query --#}\n {%- set python_unsupported_msg -%}\n The 'insert_overwrite' strategy is not yet supported for python models.\n {%- endset %}\n {% do exceptions.raise_compiler_error(python_unsupported_msg) %}\n {%- endif -%}\n\n {% set tmp_relation_exists = false %}\n {% if on_schema_change != 'ignore' or language == 'python' %}\n {#-- Check first, since otherwise we may not build a temp table --#}\n {#-- Python always needs to create a temp table --#}\n {%- call statement('create_tmp_relation', language=language) -%}\n {{ declare_dbt_max_partition(this, partition_by, compiled_code, language) +\n bq_create_table_as(partition_by.time_ingestion_partitioning, True, tmp_relation, compiled_code, language)\n }}\n {%- endcall -%}\n {% set tmp_relation_exists = true %}\n {#-- Process schema changes. Returns dict of changes if successful. Use source columns for upserting/merging --#}\n {% set dest_columns = process_schema_changes(on_schema_change, tmp_relation, existing_relation) %}\n {% endif %}\n\n {% if not dest_columns %}\n {% set dest_columns = adapter.get_columns_in_relation(existing_relation) %}\n {% endif %}\n {% if partition_by.time_ingestion_partitioning %}\n {% set dest_columns = adapter.add_time_ingestion_partition_column(dest_columns) %}\n {% endif %}\n {% set build_sql = bq_generate_incremental_build_sql(\n strategy, tmp_relation, target_relation, compiled_code, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, partition_by.copy_partitions, incremental_predicates\n ) %}\n\n {%- call statement('main') -%}\n {{ build_sql }}\n {% endcall %}\n\n {%- if language == 'python' and tmp_relation -%}\n {{ adapter.drop_relation(tmp_relation) }}\n {%- endif -%}\n\n {% endif %}\n\n {{ run_hooks(post_hooks) }}\n\n {% set target_relation = this.incorporate(type='table') %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.load_relation", "macro.dbt.make_temp_relation", "macro.dbt_bigquery.dbt_bigquery_validate_get_incremental_strategy", "macro.dbt.incremental_validate_on_schema_change", "macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt_bigquery.bq_create_table_as", "macro.dbt_bigquery.declare_dbt_max_partition", "macro.dbt.process_schema_changes", "macro.dbt_bigquery.bq_generate_incremental_build_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.711822, "supported_languages": ["sql", "python"]}, "macro.dbt_bigquery.bigquery__snapshot_hash_arguments": {"name": "bigquery__snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/snapshot.sql", "original_file_path": "macros/materializations/snapshot.sql", "unique_id": "macro.dbt_bigquery.bigquery__snapshot_hash_arguments", "macro_sql": "{% macro bigquery__snapshot_hash_arguments(args) -%}\n to_hex(md5(concat({%- for arg in args -%}\n coalesce(cast({{ arg }} as string), ''){% if not loop.last %}, '|',{% endif -%}\n {%- endfor -%}\n )))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.713145, "supported_languages": null}, "macro.dbt_bigquery.bigquery__create_columns": {"name": "bigquery__create_columns", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/snapshot.sql", "original_file_path": "macros/materializations/snapshot.sql", "unique_id": "macro.dbt_bigquery.bigquery__create_columns", "macro_sql": "{% macro bigquery__create_columns(relation, columns) %}\n {{ adapter.alter_table_add_columns(relation, columns) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.713682, "supported_languages": null}, "macro.dbt_bigquery.bigquery__post_snapshot": {"name": "bigquery__post_snapshot", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/snapshot.sql", "original_file_path": "macros/materializations/snapshot.sql", "unique_id": "macro.dbt_bigquery.bigquery__post_snapshot", "macro_sql": "{% macro bigquery__post_snapshot(staging_relation) %}\n -- Clean up the snapshot temp table\n {% do drop_relation(staging_relation) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.drop_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.714137, "supported_languages": null}, "macro.dbt_bigquery.bq_generate_incremental_merge_build_sql": {"name": "bq_generate_incremental_merge_build_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/merge.sql", "original_file_path": "macros/materializations/incremental_strategy/merge.sql", "unique_id": "macro.dbt_bigquery.bq_generate_incremental_merge_build_sql", "macro_sql": "{% macro bq_generate_incremental_merge_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, incremental_predicates\n) %}\n {%- set source_sql -%}\n {%- if tmp_relation_exists -%}\n (\n select\n {% if partition_by.time_ingestion_partitioning -%}\n _PARTITIONTIME,\n {%- endif -%}\n * from {{ tmp_relation }}\n )\n {%- else -%} {#-- wrap sql in parens to make it a subquery --#}\n (\n {%- if partition_by.time_ingestion_partitioning -%}\n {{ wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by), sql, True) }}\n {%- else -%}\n {{sql}}\n {%- endif %}\n )\n {%- endif -%}\n {%- endset -%}\n\n {% set build_sql = get_merge_sql(target_relation, source_sql, unique_key, dest_columns, incremental_predicates) %}\n\n {{ return(build_sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp", "macro.dbt.get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.716783, "supported_languages": null}, "macro.dbt_bigquery.build_partition_time_exp": {"name": "build_partition_time_exp", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/common.sql", "original_file_path": "macros/materializations/incremental_strategy/common.sql", "unique_id": "macro.dbt_bigquery.build_partition_time_exp", "macro_sql": "{% macro build_partition_time_exp(partition_by) %}\n {% if partition_by.data_type == 'timestamp' %}\n {% set partition_value = partition_by.field %}\n {% else %}\n {% set partition_value = 'timestamp(' + partition_by.field + ')' %}\n {% endif %}\n {{ return({'value': partition_value, 'field': partition_by.field}) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.718691, "supported_languages": null}, "macro.dbt_bigquery.declare_dbt_max_partition": {"name": "declare_dbt_max_partition", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/common.sql", "original_file_path": "macros/materializations/incremental_strategy/common.sql", "unique_id": "macro.dbt_bigquery.declare_dbt_max_partition", "macro_sql": "{% macro declare_dbt_max_partition(relation, partition_by, compiled_code, language='sql') %}\n\n {#-- TODO: revisit partitioning with python models --#}\n {%- if '_dbt_max_partition' in compiled_code and language == 'sql' -%}\n\n declare _dbt_max_partition {{ partition_by.data_type }} default (\n select max({{ partition_by.field }}) from {{ this }}\n where {{ partition_by.field }} is not null\n );\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.720007, "supported_languages": null}, "macro.dbt_bigquery.bq_generate_incremental_insert_overwrite_build_sql": {"name": "bq_generate_incremental_insert_overwrite_build_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_generate_incremental_insert_overwrite_build_sql", "macro_sql": "{% macro bq_generate_incremental_insert_overwrite_build_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, on_schema_change, copy_partitions\n) %}\n {% if partition_by is none %}\n {% set missing_partition_msg -%}\n The 'insert_overwrite' strategy requires the `partition_by` config.\n {%- endset %}\n {% do exceptions.raise_compiler_error(missing_partition_msg) %}\n {% endif %}\n\n {% set build_sql = bq_insert_overwrite_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, on_schema_change, copy_partitions\n ) %}\n\n {{ return(build_sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.726874, "supported_languages": null}, "macro.dbt_bigquery.bq_copy_partitions": {"name": "bq_copy_partitions", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_copy_partitions", "macro_sql": "{% macro bq_copy_partitions(tmp_relation, target_relation, partitions, partition_by) %}\n\n {% for partition in partitions %}\n {% if partition_by.granularity == 'hour' %}\n {% set partition = partition.strftime(\"%Y%m%d%H\") %}\n {% elif partition_by.granularity == 'day' %}\n {% set partition = partition.strftime(\"%Y%m%d\") %}\n {% elif partition_by.granularity == 'month' %}\n {% set partition = partition.strftime(\"%Y%m\") %}\n {% elif partition_by.granularity == 'year' %}\n {% set partition = partition.strftime(\"%Y\") %}\n {% endif %}\n {% set tmp_relation_partitioned = api.Relation.create(database=tmp_relation.database, schema=tmp_relation.schema, identifier=tmp_relation.table ~ '$' ~ partition, type=tmp_relation.type) %}\n {% set target_relation_partitioned = api.Relation.create(database=target_relation.database, schema=target_relation.schema, identifier=target_relation.table ~ '$' ~ partition, type=target_relation.type) %}\n {% do adapter.copy_table(tmp_relation_partitioned, target_relation_partitioned, \"table\") %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7311969, "supported_languages": null}, "macro.dbt_bigquery.bq_insert_overwrite_sql": {"name": "bq_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_insert_overwrite_sql", "macro_sql": "{% macro bq_insert_overwrite_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, partitions, dest_columns, tmp_relation_exists, copy_partitions\n) %}\n {% if partitions is not none and partitions != [] %} {# static #}\n {{ bq_static_insert_overwrite_sql(tmp_relation, target_relation, sql, partition_by, partitions, dest_columns, copy_partitions) }}\n {% else %} {# dynamic #}\n {{ bq_dynamic_insert_overwrite_sql(tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_static_insert_overwrite_sql", "macro.dbt_bigquery.bq_dynamic_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.733023, "supported_languages": null}, "macro.dbt_bigquery.bq_static_insert_overwrite_sql": {"name": "bq_static_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_static_insert_overwrite_sql", "macro_sql": "{% macro bq_static_insert_overwrite_sql(\n tmp_relation, target_relation, sql, partition_by, partitions, dest_columns, copy_partitions\n) %}\n\n {% set predicate -%}\n {{ partition_by.render_wrapped(alias='DBT_INTERNAL_DEST') }} in (\n {{ partitions | join (', ') }}\n )\n {%- endset %}\n\n {%- set source_sql -%}\n (\n {%- if partition_by.time_ingestion_partitioning -%}\n {{ wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by), sql, True) }}\n {%- else -%}\n {{sql}}\n {%- endif -%}\n )\n {%- endset -%}\n\n {% if copy_partitions %}\n {% do bq_copy_partitions(tmp_relation, target_relation, partitions, partition_by) %}\n {% else %}\n\n {#-- Because we're putting the model SQL _directly_ into the MERGE statement,\n we need to prepend the MERGE statement with the user-configured sql_header,\n which may be needed to resolve that model SQL (e.g. referencing a variable or UDF in the header)\n in the \"dynamic\" case, we save the model SQL result as a temp table first, wherein the\n sql_header is included by the create_table_as macro.\n #}\n {{ get_insert_overwrite_merge_sql(target_relation, source_sql, dest_columns, [predicate], include_sql_header=true) }}\n\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp", "macro.dbt_bigquery.bq_copy_partitions", "macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.73555, "supported_languages": null}, "macro.dbt_bigquery.bq_dynamic_copy_partitions_insert_overwrite_sql": {"name": "bq_dynamic_copy_partitions_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_dynamic_copy_partitions_insert_overwrite_sql", "macro_sql": "{% macro bq_dynamic_copy_partitions_insert_overwrite_sql(\n tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions\n ) %}\n {# We run temp table creation in a separated script to move to partitions copy #}\n {%- call statement('create_tmp_relation_for_copy', language='sql') -%}\n {{ declare_dbt_max_partition(this, partition_by, sql, 'sql') +\n bq_create_table_as(partition_by.time_ingestion_partitioning, True, tmp_relation, sql, 'sql')\n }}\n {%- endcall %}\n {%- set partitions_sql -%}\n select distinct {{ partition_by.render_wrapped() }}\n from {{ tmp_relation }}\n {%- endset -%}\n {%- set partitions = run_query(partitions_sql).columns[0].values() -%}\n {# We copy the partitions #}\n {%- do bq_copy_partitions(tmp_relation, target_relation, partitions, partition_by) -%}\n -- Clean up the temp table\n drop table if exists {{ tmp_relation }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_bigquery.declare_dbt_max_partition", "macro.dbt_bigquery.bq_create_table_as", "macro.dbt.run_query", "macro.dbt_bigquery.bq_copy_partitions"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7378821, "supported_languages": null}, "macro.dbt_bigquery.bq_dynamic_insert_overwrite_sql": {"name": "bq_dynamic_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "original_file_path": "macros/materializations/incremental_strategy/insert_overwrite.sql", "unique_id": "macro.dbt_bigquery.bq_dynamic_insert_overwrite_sql", "macro_sql": "{% macro bq_dynamic_insert_overwrite_sql(tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions) %}\n {%- if copy_partitions is true %}\n {{ bq_dynamic_copy_partitions_insert_overwrite_sql(tmp_relation, target_relation, sql, unique_key, partition_by, dest_columns, tmp_relation_exists, copy_partitions) }}\n {% else -%}\n {% set predicate -%}\n {{ partition_by.render_wrapped(alias='DBT_INTERNAL_DEST') }} in unnest(dbt_partitions_for_replacement)\n {%- endset %}\n\n {%- set source_sql -%}\n (\n select\n {% if partition_by.time_ingestion_partitioning -%}\n _PARTITIONTIME,\n {%- endif -%}\n * from {{ tmp_relation }}\n )\n {%- endset -%}\n\n -- generated script to merge partitions into {{ target_relation }}\n declare dbt_partitions_for_replacement array<{{ partition_by.data_type }}>;\n\n {# have we already created the temp table to check for schema changes? #}\n {% if not tmp_relation_exists %}\n {{ declare_dbt_max_partition(this, partition_by, sql) }}\n\n -- 1. create a temp table with model data\n {{ bq_create_table_as(partition_by.time_ingestion_partitioning, True, tmp_relation, sql, 'sql') }}\n {% else %}\n -- 1. temp table already exists, we used it to check for schema changes\n {% endif %}\n\n -- 2. define partitions to update\n set (dbt_partitions_for_replacement) = (\n select as struct\n array_agg(distinct {{ partition_by.render_wrapped() }})\n from {{ tmp_relation }}\n );\n\n -- 3. run the merge statement\n {{ get_insert_overwrite_merge_sql(target_relation, source_sql, dest_columns, [predicate]) }};\n\n -- 4. clean up the temp table\n drop table if exists {{ tmp_relation }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bq_dynamic_copy_partitions_insert_overwrite_sql", "macro.dbt_bigquery.declare_dbt_max_partition", "macro.dbt_bigquery.bq_create_table_as", "macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.741654, "supported_languages": null}, "macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql": {"name": "wrap_with_time_ingestion_partitioning_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro_sql": "{% macro wrap_with_time_ingestion_partitioning_sql(partition_time_exp, sql, is_nested) %}\n\n select {{ partition_time_exp['value'] }} as _partitiontime, * EXCEPT({{ partition_time_exp['field'] }}) from (\n {{ sql }}\n ){%- if not is_nested -%};{%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.746502, "supported_languages": null}, "macro.dbt_bigquery.create_ingestion_time_partitioned_table_as_sql": {"name": "create_ingestion_time_partitioned_table_as_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.create_ingestion_time_partitioned_table_as_sql", "macro_sql": "{% macro create_ingestion_time_partitioned_table_as_sql(temporary, relation, sql) -%}\n {%- set raw_partition_by = config.get('partition_by', none) -%}\n {%- set raw_cluster_by = config.get('cluster_by', none) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {%- set partition_config = adapter.parse_partition_by(raw_partition_by) -%}\n\n {%- set columns = get_columns_with_types_in_query_sql(sql) -%}\n {%- set table_dest_columns_csv = columns_without_partition_fields_csv(partition_config, columns) -%}\n\n {{ sql_header if sql_header is not none }}\n\n {% set ingestion_time_partition_config_raw = fromjson(tojson(raw_partition_by)) %}\n {% do ingestion_time_partition_config_raw.update({'field':'_PARTITIONTIME'}) %}\n\n {%- set ingestion_time_partition_config = adapter.parse_partition_by(ingestion_time_partition_config_raw) -%}\n\n create or replace table {{ relation }} ({{table_dest_columns_csv}})\n {{ partition_by(ingestion_time_partition_config) }}\n {{ cluster_by(raw_cluster_by) }}\n {{ bigquery_table_options(config, model, temporary) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.get_columns_with_types_in_query_sql", "macro.dbt_bigquery.columns_without_partition_fields_csv", "macro.dbt_bigquery.partition_by", "macro.dbt_bigquery.cluster_by", "macro.dbt_bigquery.bigquery_table_options"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.749595, "supported_languages": null}, "macro.dbt_bigquery.get_quoted_with_types_csv": {"name": "get_quoted_with_types_csv", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.get_quoted_with_types_csv", "macro_sql": "{% macro get_quoted_with_types_csv(columns) %}\n {% set quoted = [] %}\n {% for col in columns -%}\n {%- do quoted.append(adapter.quote(col.name) ~ \" \" ~ col.data_type) -%}\n {%- endfor %}\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.750953, "supported_languages": null}, "macro.dbt_bigquery.columns_without_partition_fields_csv": {"name": "columns_without_partition_fields_csv", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.columns_without_partition_fields_csv", "macro_sql": "{% macro columns_without_partition_fields_csv(partition_config, columns) -%}\n {%- set columns_no_partition = partition_config.reject_partition_field_column(columns) -%}\n {% set columns_names = get_quoted_with_types_csv(columns_no_partition) %}\n {{ return(columns_names) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.get_quoted_with_types_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.751791, "supported_languages": null}, "macro.dbt_bigquery.bq_insert_into_ingestion_time_partitioned_table_sql": {"name": "bq_insert_into_ingestion_time_partitioned_table_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.bq_insert_into_ingestion_time_partitioned_table_sql", "macro_sql": "{% macro bq_insert_into_ingestion_time_partitioned_table_sql(target_relation, sql) -%}\n {%- set partition_by = config.get('partition_by', none) -%}\n {% set dest_columns = adapter.get_columns_in_relation(target_relation) %}\n {%- set dest_columns_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n insert into {{ target_relation }} (_partitiontime, {{ dest_columns_csv }})\n {{ wrap_with_time_ingestion_partitioning_sql(build_partition_time_exp(partition_by), sql, False) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.get_quoted_csv", "macro.dbt_bigquery.wrap_with_time_ingestion_partitioning_sql", "macro.dbt_bigquery.build_partition_time_exp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.75324, "supported_languages": null}, "macro.dbt_bigquery.get_columns_with_types_in_query_sql": {"name": "get_columns_with_types_in_query_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "original_file_path": "macros/materializations/incremental_strategy/time_ingestion_tables.sql", "unique_id": "macro.dbt_bigquery.get_columns_with_types_in_query_sql", "macro_sql": "{% macro get_columns_with_types_in_query_sql(select_sql) %}\n {% set sql %}\n select * from (\n {{ select_sql }}\n ) as __dbt_sbq\n where false\n limit 0\n {% endset %}\n {{ return(adapter.get_columns_in_select_sql(sql)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.753979, "supported_languages": null}, "macro.dbt_bigquery.bigquery__except": {"name": "bigquery__except", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt_bigquery.bigquery__except", "macro_sql": "{% macro bigquery__except() %}\n\n except distinct\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.754366, "supported_languages": null}, "macro.dbt_bigquery.bigquery__dateadd": {"name": "bigquery__dateadd", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt_bigquery.bigquery__dateadd", "macro_sql": "{% macro bigquery__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n datetime_add(\n cast( {{ from_date_or_timestamp }} as datetime),\n interval {{ interval }} {{ datepart }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.755085, "supported_languages": null}, "macro.dbt_bigquery.bigquery__current_timestamp": {"name": "bigquery__current_timestamp", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/timestamps.sql", "original_file_path": "macros/utils/timestamps.sql", "unique_id": "macro.dbt_bigquery.bigquery__current_timestamp", "macro_sql": "{% macro bigquery__current_timestamp() -%}\n current_timestamp()\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.755645, "supported_languages": null}, "macro.dbt_bigquery.bigquery__snapshot_string_as_time": {"name": "bigquery__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/timestamps.sql", "original_file_path": "macros/utils/timestamps.sql", "unique_id": "macro.dbt_bigquery.bigquery__snapshot_string_as_time", "macro_sql": "{% macro bigquery__snapshot_string_as_time(timestamp) -%}\n {%- set result = 'TIMESTAMP(\"' ~ timestamp ~ '\")' -%}\n {{ return(result) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7562869, "supported_languages": null}, "macro.dbt_bigquery.bigquery__current_timestamp_backcompat": {"name": "bigquery__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/timestamps.sql", "original_file_path": "macros/utils/timestamps.sql", "unique_id": "macro.dbt_bigquery.bigquery__current_timestamp_backcompat", "macro_sql": "{% macro bigquery__current_timestamp_backcompat() -%}\n current_timestamp\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.756591, "supported_languages": null}, "macro.dbt_bigquery.bigquery__intersect": {"name": "bigquery__intersect", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt_bigquery.bigquery__intersect", "macro_sql": "{% macro bigquery__intersect() %}\n\n intersect distinct\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.756978, "supported_languages": null}, "macro.dbt_bigquery.bigquery__escape_single_quotes": {"name": "bigquery__escape_single_quotes", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt_bigquery.bigquery__escape_single_quotes", "macro_sql": "{% macro bigquery__escape_single_quotes(expression) -%}\n{{ expression | replace(\"'\", \"\\\\'\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.757698, "supported_languages": null}, "macro.dbt_bigquery.bigquery__right": {"name": "bigquery__right", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt_bigquery.bigquery__right", "macro_sql": "{% macro bigquery__right(string_text, length_expression) %}\n\n case when {{ length_expression }} = 0\n then ''\n else\n substr(\n {{ string_text }},\n -1 * ({{ length_expression }})\n )\n end\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.758424, "supported_languages": null}, "macro.dbt_bigquery.bigquery__listagg": {"name": "bigquery__listagg", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt_bigquery.bigquery__listagg", "macro_sql": "{% macro bigquery__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n string_agg(\n {{ measure }},\n {{ delimiter_text }}\n {% if order_by_clause -%}\n {{ order_by_clause }}\n {%- endif %}\n {% if limit_num -%}\n limit {{ limit_num }}\n {%- endif %}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.759636, "supported_languages": null}, "macro.dbt_bigquery.bigquery__datediff": {"name": "bigquery__datediff", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt_bigquery.bigquery__datediff", "macro_sql": "{% macro bigquery__datediff(first_date, second_date, datepart) -%}\n\n {% if dbt_version[0] == 1 and dbt_version[2] >= 2 %}\n {{ return(dbt.datediff(first_date, second_date, datepart)) }}\n {% else %}\n\n datetime_diff(\n cast({{second_date}} as datetime),\n cast({{first_date}} as datetime),\n {{datepart}}\n )\n\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.761169, "supported_languages": null}, "macro.dbt_bigquery.bigquery__safe_cast": {"name": "bigquery__safe_cast", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt_bigquery.bigquery__safe_cast", "macro_sql": "{% macro bigquery__safe_cast(field, type) %}\n safe_cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.761745, "supported_languages": null}, "macro.dbt_bigquery.bigquery__hash": {"name": "bigquery__hash", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt_bigquery.bigquery__hash", "macro_sql": "{% macro bigquery__hash(field) -%}\n to_hex({{dbt.default__hash(field)}})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__hash"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7623029, "supported_languages": null}, "macro.dbt_bigquery.bigquery__position": {"name": "bigquery__position", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt_bigquery.bigquery__position", "macro_sql": "{% macro bigquery__position(substring_text, string_text) %}\n\n strpos(\n {{ string_text }},\n {{ substring_text }}\n\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7629068, "supported_languages": null}, "macro.dbt_bigquery.bigquery__array_concat": {"name": "bigquery__array_concat", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt_bigquery.bigquery__array_concat", "macro_sql": "{% macro bigquery__array_concat(array_1, array_2) -%}\n array_concat({{ array_1 }}, {{ array_2 }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7635992, "supported_languages": null}, "macro.dbt_bigquery.bigquery__bool_or": {"name": "bigquery__bool_or", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt_bigquery.bigquery__bool_or", "macro_sql": "{% macro bigquery__bool_or(expression) -%}\n\n logical_or({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.764365, "supported_languages": null}, "macro.dbt_bigquery.bigquery__split_part": {"name": "bigquery__split_part", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt_bigquery.bigquery__split_part", "macro_sql": "{% macro bigquery__split_part(string_text, delimiter_text, part_number) %}\n\n {% if part_number >= 0 %}\n split(\n {{ string_text }},\n {{ delimiter_text }}\n )[safe_offset({{ part_number - 1 }})]\n {% else %}\n split(\n {{ string_text }},\n {{ delimiter_text }}\n )[safe_offset(\n length({{ string_text }})\n - length(\n replace({{ string_text }}, {{ delimiter_text }}, '')\n ) + 1\n )]\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7661152, "supported_languages": null}, "macro.dbt_bigquery.bigquery__date_trunc": {"name": "bigquery__date_trunc", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt_bigquery.bigquery__date_trunc", "macro_sql": "{% macro bigquery__date_trunc(datepart, date) -%}\n timestamp_trunc(\n cast({{date}} as timestamp),\n {{datepart}}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.766765, "supported_languages": null}, "macro.dbt_bigquery.bigquery__array_construct": {"name": "bigquery__array_construct", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt_bigquery.bigquery__array_construct", "macro_sql": "{% macro bigquery__array_construct(inputs, data_type) -%}\n {% if inputs|length > 0 %}\n [ {{ inputs|join(' , ') }} ]\n {% else %}\n ARRAY<{{data_type}}>[]\n {% endif %}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.767785, "supported_languages": null}, "macro.dbt_bigquery.bigquery__array_append": {"name": "bigquery__array_append", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt_bigquery.bigquery__array_append", "macro_sql": "{% macro bigquery__array_append(array, new_element) -%}\n {{ array_concat(array, array_construct([new_element])) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.array_concat", "macro.dbt.array_construct"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7684858, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_show_grant_sql": {"name": "bigquery__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_show_grant_sql", "macro_sql": "{% macro bigquery__get_show_grant_sql(relation) %}\n {% set location = adapter.get_dataset_location(relation) %}\n {% set relation = relation.incorporate(location=location) %}\n\n select privilege_type, grantee\n from {{ relation.information_schema(\"OBJECT_PRIVILEGES\") }}\n where object_schema = \"{{ relation.dataset }}\"\n and object_name = \"{{ relation.identifier }}\"\n -- filter out current user\n and split(grantee, ':')[offset(1)] != session_user()\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.770559, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_grant_sql": {"name": "bigquery__get_grant_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_grant_sql", "macro_sql": "\n\n\n{%- macro bigquery__get_grant_sql(relation, privilege, grantee) -%}\n grant `{{ privilege }}` on {{ relation.type }} {{ relation }} to {{ '\\\"' + grantee|join('\\\", \\\"') + '\\\"' }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.771481, "supported_languages": null}, "macro.dbt_bigquery.bigquery__get_revoke_sql": {"name": "bigquery__get_revoke_sql", "resource_type": "macro", "package_name": "dbt_bigquery", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt_bigquery.bigquery__get_revoke_sql", "macro_sql": "{%- macro bigquery__get_revoke_sql(relation, privilege, grantee) -%}\n revoke `{{ privilege }}` on {{ relation.type }} {{ relation }} from {{ '\\\"' + grantee|join('\\\", \\\"') + '\\\"' }}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.772325, "supported_languages": null}, "macro.dbt.run_hooks": {"name": "run_hooks", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.run_hooks", "macro_sql": "{% macro run_hooks(hooks, inside_transaction=True) %}\n {% for hook in hooks | selectattr('transaction', 'equalto', inside_transaction) %}\n {% if not inside_transaction and loop.first %}\n {% call statement(auto_begin=inside_transaction) %}\n commit;\n {% endcall %}\n {% endif %}\n {% set rendered = render(hook.get('sql')) | trim %}\n {% if (rendered | length) > 0 %}\n {% call statement(auto_begin=inside_transaction) %}\n {{ rendered }}\n {% endcall %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.775737, "supported_languages": null}, "macro.dbt.make_hook_config": {"name": "make_hook_config", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.make_hook_config", "macro_sql": "{% macro make_hook_config(sql, inside_transaction) %}\n {{ tojson({\"sql\": sql, \"transaction\": inside_transaction}) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.776475, "supported_languages": null}, "macro.dbt.before_begin": {"name": "before_begin", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.before_begin", "macro_sql": "{% macro before_begin(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.776992, "supported_languages": null}, "macro.dbt.in_transaction": {"name": "in_transaction", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.in_transaction", "macro_sql": "{% macro in_transaction(sql) %}\n {{ make_hook_config(sql, inside_transaction=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7774909, "supported_languages": null}, "macro.dbt.after_commit": {"name": "after_commit", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/hooks.sql", "original_file_path": "macros/materializations/hooks.sql", "unique_id": "macro.dbt.after_commit", "macro_sql": "{% macro after_commit(sql) %}\n {{ make_hook_config(sql, inside_transaction=False) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_hook_config"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7779799, "supported_languages": null}, "macro.dbt.set_sql_header": {"name": "set_sql_header", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.set_sql_header", "macro_sql": "{% macro set_sql_header(config) -%}\n {{ config.set('sql_header', caller()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.779126, "supported_languages": null}, "macro.dbt.should_full_refresh": {"name": "should_full_refresh", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_full_refresh", "macro_sql": "{% macro should_full_refresh() %}\n {% set config_full_refresh = config.get('full_refresh') %}\n {% if config_full_refresh is none %}\n {% set config_full_refresh = flags.FULL_REFRESH %}\n {% endif %}\n {% do return(config_full_refresh) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.780179, "supported_languages": null}, "macro.dbt.should_store_failures": {"name": "should_store_failures", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/configs.sql", "original_file_path": "macros/materializations/configs.sql", "unique_id": "macro.dbt.should_store_failures", "macro_sql": "{% macro should_store_failures() %}\n {% set config_store_failures = config.get('store_failures') %}\n {% if config_store_failures is none %}\n {% set config_store_failures = flags.STORE_FAILURES %}\n {% endif %}\n {% do return(config_store_failures) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7812219, "supported_languages": null}, "macro.dbt.snapshot_merge_sql": {"name": "snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.snapshot_merge_sql", "macro_sql": "{% macro snapshot_merge_sql(target, source, insert_cols) -%}\n {{ adapter.dispatch('snapshot_merge_sql', 'dbt')(target, source, insert_cols) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.782517, "supported_languages": null}, "macro.dbt.default__snapshot_merge_sql": {"name": "default__snapshot_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot_merge.sql", "original_file_path": "macros/materializations/snapshots/snapshot_merge.sql", "unique_id": "macro.dbt.default__snapshot_merge_sql", "macro_sql": "{% macro default__snapshot_merge_sql(target, source, insert_cols) -%}\n {%- set insert_cols_csv = insert_cols | join(', ') -%}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on DBT_INTERNAL_SOURCE.dbt_scd_id = DBT_INTERNAL_DEST.dbt_scd_id\n\n when matched\n and DBT_INTERNAL_DEST.dbt_valid_to is null\n and DBT_INTERNAL_SOURCE.dbt_change_type in ('update', 'delete')\n then update\n set dbt_valid_to = DBT_INTERNAL_SOURCE.dbt_valid_to\n\n when not matched\n and DBT_INTERNAL_SOURCE.dbt_change_type = 'insert'\n then insert ({{ insert_cols_csv }})\n values ({{ insert_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7834098, "supported_languages": null}, "macro.dbt.strategy_dispatch": {"name": "strategy_dispatch", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.strategy_dispatch", "macro_sql": "{% macro strategy_dispatch(name) -%}\n{% set original_name = name %}\n {% if '.' in name %}\n {% set package_name, name = name.split(\".\", 1) %}\n {% else %}\n {% set package_name = none %}\n {% endif %}\n\n {% if package_name is none %}\n {% set package_context = context %}\n {% elif package_name in context %}\n {% set package_context = context[package_name] %}\n {% else %}\n {% set error_msg %}\n Could not find package '{{package_name}}', called with '{{original_name}}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n\n {%- set search_name = 'snapshot_' ~ name ~ '_strategy' -%}\n\n {% if search_name not in package_context %}\n {% set error_msg %}\n The specified strategy macro '{{name}}' was not found in package '{{ package_name }}'\n {% endset %}\n {{ exceptions.raise_compiler_error(error_msg | trim) }}\n {% endif %}\n {{ return(package_context[search_name]) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.793233, "supported_languages": null}, "macro.dbt.snapshot_hash_arguments": {"name": "snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_hash_arguments", "macro_sql": "{% macro snapshot_hash_arguments(args) -%}\n {{ adapter.dispatch('snapshot_hash_arguments', 'dbt')(args) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.7939079, "supported_languages": null}, "macro.dbt.default__snapshot_hash_arguments": {"name": "default__snapshot_hash_arguments", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_hash_arguments", "macro_sql": "{% macro default__snapshot_hash_arguments(args) -%}\n md5({%- for arg in args -%}\n coalesce(cast({{ arg }} as varchar ), '')\n {% if not loop.last %} || '|' || {% endif %}\n {%- endfor -%})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.794687, "supported_languages": null}, "macro.dbt.snapshot_timestamp_strategy": {"name": "snapshot_timestamp_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_timestamp_strategy", "macro_sql": "{% macro snapshot_timestamp_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set primary_key = config['unique_key'] %}\n {% set updated_at = config['updated_at'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n\n {#/*\n The snapshot relation might not have an {{ updated_at }} value if the\n snapshot strategy is changed from `check` to `timestamp`. We\n should use a dbt-created column for the comparison in the snapshot\n table instead of assuming that the user-supplied {{ updated_at }}\n will be present in the historical data.\n\n See https://github.com/dbt-labs/dbt-core/issues/2350\n */ #}\n {% set row_changed_expr -%}\n ({{ snapshotted_rel }}.dbt_valid_from < {{ current_rel }}.{{ updated_at }})\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.797044, "supported_languages": null}, "macro.dbt.snapshot_string_as_time": {"name": "snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_string_as_time", "macro_sql": "{% macro snapshot_string_as_time(timestamp) -%}\n {{ adapter.dispatch('snapshot_string_as_time', 'dbt')(timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__snapshot_string_as_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.797645, "supported_languages": null}, "macro.dbt.default__snapshot_string_as_time": {"name": "default__snapshot_string_as_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.default__snapshot_string_as_time", "macro_sql": "{% macro default__snapshot_string_as_time(timestamp) %}\n {% do exceptions.raise_not_implemented(\n 'snapshot_string_as_time macro not implemented for adapter '+adapter.type()\n ) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.798249, "supported_languages": null}, "macro.dbt.snapshot_check_all_get_existing_columns": {"name": "snapshot_check_all_get_existing_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_all_get_existing_columns", "macro_sql": "{% macro snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) -%}\n {%- if not target_exists -%}\n {#-- no table yet -> return whatever the query does --#}\n {{ return((false, query_columns)) }}\n {%- endif -%}\n\n {#-- handle any schema changes --#}\n {%- set target_relation = adapter.get_relation(database=node.database, schema=node.schema, identifier=node.alias) -%}\n\n {% if check_cols_config == 'all' %}\n {%- set query_columns = get_columns_in_query(node['compiled_code']) -%}\n\n {% elif check_cols_config is iterable and (check_cols_config | length) > 0 %}\n {#-- query for proper casing/quoting, to support comparison below --#}\n {%- set select_check_cols_from_target -%}\n select {{ check_cols_config | join(', ') }} from ({{ node['compiled_code'] }}) subq\n {%- endset -%}\n {% set query_columns = get_columns_in_query(select_check_cols_from_target) %}\n\n {% else %}\n {% do exceptions.raise_compiler_error(\"Invalid value for 'check_cols': \" ~ check_cols_config) %}\n {% endif %}\n\n {%- set existing_cols = adapter.get_columns_in_relation(target_relation) | map(attribute = 'name') | list -%}\n {%- set ns = namespace() -%} {#-- handle for-loop scoping with a namespace --#}\n {%- set ns.column_added = false -%}\n\n {%- set intersection = [] -%}\n {%- for col in query_columns -%}\n {%- if col in existing_cols -%}\n {%- do intersection.append(adapter.quote(col)) -%}\n {%- else -%}\n {% set ns.column_added = true %}\n {%- endif -%}\n {%- endfor -%}\n {{ return((ns.column_added, intersection)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.803143, "supported_languages": null}, "macro.dbt.snapshot_check_strategy": {"name": "snapshot_check_strategy", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/strategies.sql", "original_file_path": "macros/materializations/snapshots/strategies.sql", "unique_id": "macro.dbt.snapshot_check_strategy", "macro_sql": "{% macro snapshot_check_strategy(node, snapshotted_rel, current_rel, config, target_exists) %}\n {% set check_cols_config = config['check_cols'] %}\n {% set primary_key = config['unique_key'] %}\n {% set invalidate_hard_deletes = config.get('invalidate_hard_deletes', false) %}\n {% set updated_at = config.get('updated_at', snapshot_get_time()) %}\n\n {% set column_added = false %}\n\n {% set column_added, check_cols = snapshot_check_all_get_existing_columns(node, target_exists, check_cols_config) %}\n\n {%- set row_changed_expr -%}\n (\n {%- if column_added -%}\n {{ get_true_sql() }}\n {%- else -%}\n {%- for col in check_cols -%}\n {{ snapshotted_rel }}.{{ col }} != {{ current_rel }}.{{ col }}\n or\n (\n (({{ snapshotted_rel }}.{{ col }} is null) and not ({{ current_rel }}.{{ col }} is null))\n or\n ((not {{ snapshotted_rel }}.{{ col }} is null) and ({{ current_rel }}.{{ col }} is null))\n )\n {%- if not loop.last %} or {% endif -%}\n {%- endfor -%}\n {%- endif -%}\n )\n {%- endset %}\n\n {% set scd_id_expr = snapshot_hash_arguments([primary_key, updated_at]) %}\n\n {% do return({\n \"unique_key\": primary_key,\n \"updated_at\": updated_at,\n \"row_changed\": row_changed_expr,\n \"scd_id\": scd_id_expr,\n \"invalidate_hard_deletes\": invalidate_hard_deletes\n }) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time", "macro.dbt.snapshot_check_all_get_existing_columns", "macro.dbt.get_true_sql", "macro.dbt.snapshot_hash_arguments"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.80775, "supported_languages": null}, "macro.dbt.create_columns": {"name": "create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.create_columns", "macro_sql": "{% macro create_columns(relation, columns) %}\n {{ adapter.dispatch('create_columns', 'dbt')(relation, columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.817169, "supported_languages": null}, "macro.dbt.default__create_columns": {"name": "default__create_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__create_columns", "macro_sql": "{% macro default__create_columns(relation, columns) %}\n {% for column in columns %}\n {% call statement() %}\n alter table {{ relation }} add column \"{{ column.name }}\" {{ column.data_type }};\n {% endcall %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.818146, "supported_languages": null}, "macro.dbt.post_snapshot": {"name": "post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.post_snapshot", "macro_sql": "{% macro post_snapshot(staging_relation) %}\n {{ adapter.dispatch('post_snapshot', 'dbt')(staging_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8187578, "supported_languages": null}, "macro.dbt.default__post_snapshot": {"name": "default__post_snapshot", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__post_snapshot", "macro_sql": "{% macro default__post_snapshot(staging_relation) %}\n {# no-op #}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8190951, "supported_languages": null}, "macro.dbt.get_true_sql": {"name": "get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.get_true_sql", "macro_sql": "{% macro get_true_sql() %}\n {{ adapter.dispatch('get_true_sql', 'dbt')() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_true_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.819634, "supported_languages": null}, "macro.dbt.default__get_true_sql": {"name": "default__get_true_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__get_true_sql", "macro_sql": "{% macro default__get_true_sql() %}\n {{ return('TRUE') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.82006, "supported_languages": null}, "macro.dbt.snapshot_staging_table": {"name": "snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.snapshot_staging_table", "macro_sql": "{% macro snapshot_staging_table(strategy, source_sql, target_relation) -%}\n {{ adapter.dispatch('snapshot_staging_table', 'dbt')(strategy, source_sql, target_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__snapshot_staging_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.82077, "supported_languages": null}, "macro.dbt.default__snapshot_staging_table": {"name": "default__snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__snapshot_staging_table", "macro_sql": "{% macro default__snapshot_staging_table(strategy, source_sql, target_relation) -%}\n\n with snapshot_query as (\n\n {{ source_sql }}\n\n ),\n\n snapshotted_data as (\n\n select *,\n {{ strategy.unique_key }} as dbt_unique_key\n\n from {{ target_relation }}\n where dbt_valid_to is null\n\n ),\n\n insertions_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to,\n {{ strategy.scd_id }} as dbt_scd_id\n\n from snapshot_query\n ),\n\n updates_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n {{ strategy.updated_at }} as dbt_valid_to\n\n from snapshot_query\n ),\n\n {%- if strategy.invalidate_hard_deletes %}\n\n deletes_source_data as (\n\n select\n *,\n {{ strategy.unique_key }} as dbt_unique_key\n from snapshot_query\n ),\n {% endif %}\n\n insertions as (\n\n select\n 'insert' as dbt_change_type,\n source_data.*\n\n from insertions_source_data as source_data\n left outer join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where snapshotted_data.dbt_unique_key is null\n or (\n snapshotted_data.dbt_unique_key is not null\n and (\n {{ strategy.row_changed }}\n )\n )\n\n ),\n\n updates as (\n\n select\n 'update' as dbt_change_type,\n source_data.*,\n snapshotted_data.dbt_scd_id\n\n from updates_source_data as source_data\n join snapshotted_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where (\n {{ strategy.row_changed }}\n )\n )\n\n {%- if strategy.invalidate_hard_deletes -%}\n ,\n\n deletes as (\n\n select\n 'delete' as dbt_change_type,\n source_data.*,\n {{ snapshot_get_time() }} as dbt_valid_from,\n {{ snapshot_get_time() }} as dbt_updated_at,\n {{ snapshot_get_time() }} as dbt_valid_to,\n snapshotted_data.dbt_scd_id\n\n from snapshotted_data\n left join deletes_source_data as source_data on snapshotted_data.dbt_unique_key = source_data.dbt_unique_key\n where source_data.dbt_unique_key is null\n )\n {%- endif %}\n\n select * from insertions\n union all\n select * from updates\n {%- if strategy.invalidate_hard_deletes %}\n union all\n select * from deletes\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.823631, "supported_languages": null}, "macro.dbt.build_snapshot_table": {"name": "build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_table", "macro_sql": "{% macro build_snapshot_table(strategy, sql) -%}\n {{ adapter.dispatch('build_snapshot_table', 'dbt')(strategy, sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__build_snapshot_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.824606, "supported_languages": null}, "macro.dbt.default__build_snapshot_table": {"name": "default__build_snapshot_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.default__build_snapshot_table", "macro_sql": "{% macro default__build_snapshot_table(strategy, sql) %}\n\n select *,\n {{ strategy.scd_id }} as dbt_scd_id,\n {{ strategy.updated_at }} as dbt_updated_at,\n {{ strategy.updated_at }} as dbt_valid_from,\n nullif({{ strategy.updated_at }}, {{ strategy.updated_at }}) as dbt_valid_to\n from (\n {{ sql }}\n ) sbq\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.825568, "supported_languages": null}, "macro.dbt.build_snapshot_staging_table": {"name": "build_snapshot_staging_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/helpers.sql", "original_file_path": "macros/materializations/snapshots/helpers.sql", "unique_id": "macro.dbt.build_snapshot_staging_table", "macro_sql": "{% macro build_snapshot_staging_table(strategy, sql, target_relation) %}\n {% set temp_relation = make_temp_relation(target_relation) %}\n\n {% set select = snapshot_staging_table(strategy, sql, target_relation) %}\n\n {% call statement('build_snapshot_staging_relation') %}\n {{ create_table_as(True, temp_relation, select) }}\n {% endcall %}\n\n {% do return(temp_relation) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.make_temp_relation", "macro.dbt.snapshot_staging_table", "macro.dbt.statement", "macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8272698, "supported_languages": null}, "macro.dbt.materialization_snapshot_default": {"name": "materialization_snapshot_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/snapshots/snapshot.sql", "original_file_path": "macros/materializations/snapshots/snapshot.sql", "unique_id": "macro.dbt.materialization_snapshot_default", "macro_sql": "{% materialization snapshot, default %}\n {%- set config = model['config'] -%}\n\n {%- set target_table = model.get('alias', model.get('name')) -%}\n\n {%- set strategy_name = config.get('strategy') -%}\n {%- set unique_key = config.get('unique_key') %}\n -- grab current tables grants config for comparision later on\n {%- set grant_config = config.get('grants') -%}\n\n {% set target_relation_exists, target_relation = get_or_create_relation(\n database=model.database,\n schema=model.schema,\n identifier=target_table,\n type='table') -%}\n\n {%- if not target_relation.is_table -%}\n {% do exceptions.relation_wrong_type(target_relation, 'table') %}\n {%- endif -%}\n\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set strategy_macro = strategy_dispatch(strategy_name) %}\n {% set strategy = strategy_macro(model, \"snapshotted_data\", \"source_data\", config, target_relation_exists) %}\n\n {% if not target_relation_exists %}\n\n {% set build_sql = build_snapshot_table(strategy, model['compiled_code']) %}\n {% set final_sql = create_table_as(False, target_relation, build_sql) %}\n\n {% else %}\n\n {{ adapter.valid_snapshot_target(target_relation) }}\n\n {% set staging_table = build_snapshot_staging_table(strategy, sql, target_relation) %}\n\n -- this may no-op if the database does not require column expansion\n {% do adapter.expand_target_column_types(from_relation=staging_table,\n to_relation=target_relation) %}\n\n {% set missing_columns = adapter.get_missing_columns(staging_table, target_relation)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% do create_columns(target_relation, missing_columns) %}\n\n {% set source_columns = adapter.get_columns_in_relation(staging_table)\n | rejectattr('name', 'equalto', 'dbt_change_type')\n | rejectattr('name', 'equalto', 'DBT_CHANGE_TYPE')\n | rejectattr('name', 'equalto', 'dbt_unique_key')\n | rejectattr('name', 'equalto', 'DBT_UNIQUE_KEY')\n | list %}\n\n {% set quoted_source_columns = [] %}\n {% for column in source_columns %}\n {% do quoted_source_columns.append(adapter.quote(column.name)) %}\n {% endfor %}\n\n {% set final_sql = snapshot_merge_sql(\n target = target_relation,\n source = staging_table,\n insert_cols = quoted_source_columns\n )\n %}\n\n {% endif %}\n\n {% call statement('main') %}\n {{ final_sql }}\n {% endcall %}\n\n {% set should_revoke = should_revoke(target_relation_exists, full_refresh_mode=False) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if not target_relation_exists %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {% if staging_table is defined %}\n {% do post_snapshot(staging_table) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.get_or_create_relation", "macro.dbt.run_hooks", "macro.dbt.strategy_dispatch", "macro.dbt.build_snapshot_table", "macro.dbt.create_table_as", "macro.dbt.build_snapshot_staging_table", "macro.dbt.create_columns", "macro.dbt.snapshot_merge_sql", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes", "macro.dbt.post_snapshot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.844841, "supported_languages": ["sql"]}, "macro.dbt.materialization_test_default": {"name": "materialization_test_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/test.sql", "original_file_path": "macros/materializations/tests/test.sql", "unique_id": "macro.dbt.materialization_test_default", "macro_sql": "{%- materialization test, default -%}\n\n {% set relations = [] %}\n\n {% if should_store_failures() %}\n\n {% set identifier = model['alias'] %}\n {% set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n {% set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database, type='table') -%} %}\n\n {% if old_relation %}\n {% do adapter.drop_relation(old_relation) %}\n {% endif %}\n\n {% call statement(auto_begin=True) %}\n {{ create_table_as(False, target_relation, sql) }}\n {% endcall %}\n\n {% do relations.append(target_relation) %}\n\n {% set main_sql %}\n select *\n from {{ target_relation }}\n {% endset %}\n\n {{ adapter.commit() }}\n\n {% else %}\n\n {% set main_sql = sql %}\n\n {% endif %}\n\n {% set limit = config.get('limit') %}\n {% set fail_calc = config.get('fail_calc') %}\n {% set warn_if = config.get('warn_if') %}\n {% set error_if = config.get('error_if') %}\n\n {% call statement('main', fetch_result=True) -%}\n\n {{ get_test_sql(main_sql, fail_calc, warn_if, error_if, limit)}}\n\n {%- endcall %}\n\n {{ return({'relations': relations}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.should_store_failures", "macro.dbt.statement", "macro.dbt.create_table_as", "macro.dbt.get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8512251, "supported_languages": ["sql"]}, "macro.dbt.get_test_sql": {"name": "get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.get_test_sql", "macro_sql": "{% macro get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n {{ adapter.dispatch('get_test_sql', 'dbt')(main_sql, fail_calc, warn_if, error_if, limit) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_test_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8526049, "supported_languages": null}, "macro.dbt.default__get_test_sql": {"name": "default__get_test_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/helpers.sql", "original_file_path": "macros/materializations/tests/helpers.sql", "unique_id": "macro.dbt.default__get_test_sql", "macro_sql": "{% macro default__get_test_sql(main_sql, fail_calc, warn_if, error_if, limit) -%}\n select\n {{ fail_calc }} as failures,\n {{ fail_calc }} {{ warn_if }} as should_warn,\n {{ fail_calc }} {{ error_if }} as should_error\n from (\n {{ main_sql }}\n {{ \"limit \" ~ limit if limit != none }}\n ) dbt_internal_test\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.853635, "supported_languages": null}, "macro.dbt.get_where_subquery": {"name": "get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.get_where_subquery", "macro_sql": "{% macro get_where_subquery(relation) -%}\n {% do return(adapter.dispatch('get_where_subquery', 'dbt')(relation)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_where_subquery"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8548028, "supported_languages": null}, "macro.dbt.default__get_where_subquery": {"name": "default__get_where_subquery", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/tests/where_subquery.sql", "original_file_path": "macros/materializations/tests/where_subquery.sql", "unique_id": "macro.dbt.default__get_where_subquery", "macro_sql": "{% macro default__get_where_subquery(relation) -%}\n {% set where = config.get('where', '') %}\n {% if where %}\n {%- set filtered -%}\n (select * from {{ relation }} where {{ where }}) dbt_subquery\n {%- endset -%}\n {% do return(filtered) %}\n {%- else -%}\n {% do return(relation) %}\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.856072, "supported_languages": null}, "macro.dbt.get_quoted_csv": {"name": "get_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_quoted_csv", "macro_sql": "{% macro get_quoted_csv(column_names) %}\n\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote(col)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.860693, "supported_languages": null}, "macro.dbt.diff_columns": {"name": "diff_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_columns", "macro_sql": "{% macro diff_columns(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% set source_names = source_columns | map(attribute = 'column') | list %}\n {% set target_names = target_columns | map(attribute = 'column') | list %}\n\n {# --check whether the name attribute exists in the target - this does not perform a data type check #}\n {% for sc in source_columns %}\n {% if sc.name not in target_names %}\n {{ result.append(sc) }}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.862907, "supported_languages": null}, "macro.dbt.diff_column_data_types": {"name": "diff_column_data_types", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.diff_column_data_types", "macro_sql": "{% macro diff_column_data_types(source_columns, target_columns) %}\n\n {% set result = [] %}\n {% for sc in source_columns %}\n {% set tc = target_columns | selectattr(\"name\", \"equalto\", sc.name) | list | first %}\n {% if tc %}\n {% if sc.data_type != tc.data_type and not sc.can_expand_to(other_column=tc) %}\n {{ result.append( { 'column_name': tc.name, 'new_type': sc.data_type } ) }}\n {% endif %}\n {% endif %}\n {% endfor %}\n\n {{ return(result) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8652601, "supported_languages": null}, "macro.dbt.get_merge_update_columns": {"name": "get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.get_merge_update_columns", "macro_sql": "{% macro get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {{ return(adapter.dispatch('get_merge_update_columns', 'dbt')(merge_update_columns, merge_exclude_columns, dest_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.866215, "supported_languages": null}, "macro.dbt.default__get_merge_update_columns": {"name": "default__get_merge_update_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/column_helpers.sql", "original_file_path": "macros/materializations/models/incremental/column_helpers.sql", "unique_id": "macro.dbt.default__get_merge_update_columns", "macro_sql": "{% macro default__get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) %}\n {%- set default_cols = dest_columns | map(attribute=\"quoted\") | list -%}\n\n {%- if merge_update_columns and merge_exclude_columns -%}\n {{ exceptions.raise_compiler_error(\n 'Model cannot specify merge_update_columns and merge_exclude_columns. Please update model to use only one config'\n )}}\n {%- elif merge_update_columns -%}\n {%- set update_columns = merge_update_columns -%}\n {%- elif merge_exclude_columns -%}\n {%- set update_columns = [] -%}\n {%- for column in dest_columns -%}\n {% if column.column | lower not in merge_exclude_columns | map(\"lower\") | list %}\n {%- do update_columns.append(column.quoted) -%}\n {% endif %}\n {%- endfor -%}\n {%- else -%}\n {%- set update_columns = default_cols -%}\n {%- endif -%}\n\n {{ return(update_columns) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.868643, "supported_languages": null}, "macro.dbt.get_merge_sql": {"name": "get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_merge_sql", "macro_sql": "{% macro get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n -- back compat for old kwarg name\n {% set incremental_predicates = kwargs.get('predicates', incremental_predicates) %}\n {{ adapter.dispatch('get_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.883392, "supported_languages": null}, "macro.dbt.default__get_merge_sql": {"name": "default__get_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_merge_sql", "macro_sql": "{% macro default__get_merge_sql(target, source, unique_key, dest_columns, incremental_predicates=none) -%}\n {%- set predicates = [] if incremental_predicates is none else [] + incremental_predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set merge_update_columns = config.get('merge_update_columns') -%}\n {%- set merge_exclude_columns = config.get('merge_exclude_columns') -%}\n {%- set update_columns = get_merge_update_columns(merge_update_columns, merge_exclude_columns, dest_columns) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not mapping and unique_key is not string %}\n {% for key in unique_key %}\n {% set this_key_match %}\n DBT_INTERNAL_SOURCE.{{ key }} = DBT_INTERNAL_DEST.{{ key }}\n {% endset %}\n {% do predicates.append(this_key_match) %}\n {% endfor %}\n {% else %}\n {% set unique_key_match %}\n DBT_INTERNAL_SOURCE.{{ unique_key }} = DBT_INTERNAL_DEST.{{ unique_key }}\n {% endset %}\n {% do predicates.append(unique_key_match) %}\n {% endif %}\n {% else %}\n {% do predicates.append('FALSE') %}\n {% endif %}\n\n {{ sql_header if sql_header is not none }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on {{\"(\" ~ predicates | join(\") and (\") ~ \")\"}}\n\n {% if unique_key %}\n when matched then update set\n {% for column_name in update_columns -%}\n {{ column_name }} = DBT_INTERNAL_SOURCE.{{ column_name }}\n {%- if not loop.last %}, {%- endif %}\n {%- endfor %}\n {% endif %}\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv", "macro.dbt.get_merge_update_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8888059, "supported_languages": null}, "macro.dbt.get_delete_insert_merge_sql": {"name": "get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_delete_insert_merge_sql", "macro_sql": "{% macro get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n {{ adapter.dispatch('get_delete_insert_merge_sql', 'dbt')(target, source, unique_key, dest_columns, incremental_predicates) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.889857, "supported_languages": null}, "macro.dbt.default__get_delete_insert_merge_sql": {"name": "default__get_delete_insert_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_delete_insert_merge_sql", "macro_sql": "{% macro default__get_delete_insert_merge_sql(target, source, unique_key, dest_columns, incremental_predicates) -%}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n {% if unique_key %}\n {% if unique_key is sequence and unique_key is not string %}\n delete from {{target }}\n using {{ source }}\n where (\n {% for key in unique_key %}\n {{ source }}.{{ key }} = {{ target }}.{{ key }}\n {{ \"and \" if not loop.last}}\n {% endfor %}\n {% if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {% endif %}\n );\n {% else %}\n delete from {{ target }}\n where (\n {{ unique_key }}) in (\n select ({{ unique_key }})\n from {{ source }}\n )\n {%- if incremental_predicates %}\n {% for predicate in incremental_predicates %}\n and {{ predicate }}\n {% endfor %}\n {%- endif -%};\n\n {% endif %}\n {% endif %}\n\n insert into {{ target }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ source }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.8932638, "supported_languages": null}, "macro.dbt.get_insert_overwrite_merge_sql": {"name": "get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.get_insert_overwrite_merge_sql", "macro_sql": "{% macro get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header=false) -%}\n {{ adapter.dispatch('get_insert_overwrite_merge_sql', 'dbt')(target, source, dest_columns, predicates, include_sql_header) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.89418, "supported_languages": null}, "macro.dbt.default__get_insert_overwrite_merge_sql": {"name": "default__get_insert_overwrite_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/merge.sql", "original_file_path": "macros/materializations/models/incremental/merge.sql", "unique_id": "macro.dbt.default__get_insert_overwrite_merge_sql", "macro_sql": "{% macro default__get_insert_overwrite_merge_sql(target, source, dest_columns, predicates, include_sql_header) -%}\n {#-- The only time include_sql_header is True: --#}\n {#-- BigQuery + insert_overwrite strategy + \"static\" partitions config --#}\n {#-- We should consider including the sql header at the materialization level instead --#}\n\n {%- set predicates = [] if predicates is none else [] + predicates -%}\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none and include_sql_header }}\n\n merge into {{ target }} as DBT_INTERNAL_DEST\n using {{ source }} as DBT_INTERNAL_SOURCE\n on FALSE\n\n when not matched by source\n {% if predicates %} and {{ predicates | join(' and ') }} {% endif %}\n then delete\n\n when not matched then insert\n ({{ dest_cols_csv }})\n values\n ({{ dest_cols_csv }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.896252, "supported_languages": null}, "macro.dbt.is_incremental": {"name": "is_incremental", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/is_incremental.sql", "original_file_path": "macros/materializations/models/incremental/is_incremental.sql", "unique_id": "macro.dbt.is_incremental", "macro_sql": "{% macro is_incremental() %}\n {#-- do not run introspective queries in parsing #}\n {% if not execute %}\n {{ return(False) }}\n {% else %}\n {% set relation = adapter.get_relation(this.database, this.schema, this.table) %}\n {{ return(relation is not none\n and relation.type == 'table'\n and model.config.materialized == 'incremental'\n and not should_full_refresh()) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.898211, "supported_languages": null}, "macro.dbt.get_incremental_append_sql": {"name": "get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_append_sql", "macro_sql": "{% macro get_incremental_append_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_append_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.900755, "supported_languages": null}, "macro.dbt.default__get_incremental_append_sql": {"name": "default__get_incremental_append_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_append_sql", "macro_sql": "{% macro default__get_incremental_append_sql(arg_dict) %}\n\n {% do return(get_insert_into_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_into_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9015539, "supported_languages": null}, "macro.dbt.get_incremental_delete_insert_sql": {"name": "get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_delete_insert_sql", "macro_sql": "{% macro get_incremental_delete_insert_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_delete_insert_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_delete_insert_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.902184, "supported_languages": null}, "macro.dbt.default__get_incremental_delete_insert_sql": {"name": "default__get_incremental_delete_insert_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_delete_insert_sql", "macro_sql": "{% macro default__get_incremental_delete_insert_sql(arg_dict) %}\n\n {% do return(get_delete_insert_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_delete_insert_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.903198, "supported_languages": null}, "macro.dbt.get_incremental_merge_sql": {"name": "get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_merge_sql", "macro_sql": "{% macro get_incremental_merge_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_merge_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.903971, "supported_languages": null}, "macro.dbt.default__get_incremental_merge_sql": {"name": "default__get_incremental_merge_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_merge_sql", "macro_sql": "{% macro default__get_incremental_merge_sql(arg_dict) %}\n\n {% do return(get_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"unique_key\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.90509, "supported_languages": null}, "macro.dbt.get_incremental_insert_overwrite_sql": {"name": "get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_insert_overwrite_sql", "macro_sql": "{% macro get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_insert_overwrite_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_insert_overwrite_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.905779, "supported_languages": null}, "macro.dbt.default__get_incremental_insert_overwrite_sql": {"name": "default__get_incremental_insert_overwrite_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_insert_overwrite_sql", "macro_sql": "{% macro default__get_incremental_insert_overwrite_sql(arg_dict) %}\n\n {% do return(get_insert_overwrite_merge_sql(arg_dict[\"target_relation\"], arg_dict[\"temp_relation\"], arg_dict[\"dest_columns\"], arg_dict[\"incremental_predicates\"])) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_insert_overwrite_merge_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.906662, "supported_languages": null}, "macro.dbt.get_incremental_default_sql": {"name": "get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_incremental_default_sql", "macro_sql": "{% macro get_incremental_default_sql(arg_dict) %}\n\n {{ return(adapter.dispatch('get_incremental_default_sql', 'dbt')(arg_dict)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_incremental_default_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9072928, "supported_languages": null}, "macro.dbt.default__get_incremental_default_sql": {"name": "default__get_incremental_default_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.default__get_incremental_default_sql", "macro_sql": "{% macro default__get_incremental_default_sql(arg_dict) %}\n\n {% do return(get_incremental_append_sql(arg_dict)) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_incremental_append_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9078422, "supported_languages": null}, "macro.dbt.get_insert_into_sql": {"name": "get_insert_into_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/strategies.sql", "original_file_path": "macros/materializations/models/incremental/strategies.sql", "unique_id": "macro.dbt.get_insert_into_sql", "macro_sql": "{% macro get_insert_into_sql(target_relation, temp_relation, dest_columns) %}\n\n {%- set dest_cols_csv = get_quoted_csv(dest_columns | map(attribute=\"name\")) -%}\n\n insert into {{ target_relation }} ({{ dest_cols_csv }})\n (\n select {{ dest_cols_csv }}\n from {{ temp_relation }}\n )\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_quoted_csv"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.908778, "supported_languages": null}, "macro.dbt.materialization_incremental_default": {"name": "materialization_incremental_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/incremental.sql", "original_file_path": "macros/materializations/models/incremental/incremental.sql", "unique_id": "macro.dbt.materialization_incremental_default", "macro_sql": "{% materialization incremental, default -%}\n\n -- relations\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') -%}\n {%- set temp_relation = make_temp_relation(target_relation)-%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation)-%}\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n\n -- configs\n {%- set unique_key = config.get('unique_key') -%}\n {%- set full_refresh_mode = (should_full_refresh() or existing_relation.is_view) -%}\n {%- set on_schema_change = incremental_validate_on_schema_change(config.get('on_schema_change'), default='ignore') -%}\n\n -- the temp_ and backup_ relations should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation. This has to happen before\n -- BEGIN, in a separate transaction\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation)-%}\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n {% set to_drop = [] %}\n\n {% if existing_relation is none %}\n {% set build_sql = get_create_table_as_sql(False, target_relation, sql) %}\n {% elif full_refresh_mode %}\n {% set build_sql = get_create_table_as_sql(False, intermediate_relation, sql) %}\n {% set need_swap = true %}\n {% else %}\n {% do run_query(get_create_table_as_sql(True, temp_relation, sql)) %}\n {% do adapter.expand_target_column_types(\n from_relation=temp_relation,\n to_relation=target_relation) %}\n {#-- Process schema changes. Returns dict of changes if successful. Use source columns for upserting/merging --#}\n {% set dest_columns = process_schema_changes(on_schema_change, temp_relation, existing_relation) %}\n {% if not dest_columns %}\n {% set dest_columns = adapter.get_columns_in_relation(existing_relation) %}\n {% endif %}\n\n {#-- Get the incremental_strategy, the macro to use for the strategy, and build the sql --#}\n {% set incremental_strategy = config.get('incremental_strategy') or 'default' %}\n {% set incremental_predicates = config.get('predicates', none) or config.get('incremental_predicates', none) %}\n {% set strategy_sql_macro_func = adapter.get_incremental_strategy_macro(context, incremental_strategy) %}\n {% set strategy_arg_dict = ({'target_relation': target_relation, 'temp_relation': temp_relation, 'unique_key': unique_key, 'dest_columns': dest_columns, 'incremental_predicates': incremental_predicates }) %}\n {% set build_sql = strategy_sql_macro_func(strategy_arg_dict) %}\n\n {% endif %}\n\n {% call statement(\"main\") %}\n {{ build_sql }}\n {% endcall %}\n\n {% if need_swap %}\n {% do adapter.rename_relation(target_relation, backup_relation) %}\n {% do adapter.rename_relation(intermediate_relation, target_relation) %}\n {% do to_drop.append(backup_relation) %}\n {% endif %}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if existing_relation is none or existing_relation.is_view or should_full_refresh() %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {% do adapter.commit() %}\n\n {% for rel in to_drop %}\n {% do adapter.drop_relation(rel) %}\n {% endfor %}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_temp_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.should_full_refresh", "macro.dbt.incremental_validate_on_schema_change", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.get_create_table_as_sql", "macro.dbt.run_query", "macro.dbt.process_schema_changes", "macro.dbt.statement", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.924748, "supported_languages": ["sql"]}, "macro.dbt.incremental_validate_on_schema_change": {"name": "incremental_validate_on_schema_change", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.incremental_validate_on_schema_change", "macro_sql": "{% macro incremental_validate_on_schema_change(on_schema_change, default='ignore') %}\n\n {% if on_schema_change not in ['sync_all_columns', 'append_new_columns', 'fail', 'ignore'] %}\n\n {% set log_message = 'Invalid value for on_schema_change (%s) specified. Setting default value of %s.' % (on_schema_change, default) %}\n {% do log(log_message) %}\n\n {{ return(default) }}\n\n {% else %}\n\n {{ return(on_schema_change) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.938333, "supported_languages": null}, "macro.dbt.check_for_schema_changes": {"name": "check_for_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.check_for_schema_changes", "macro_sql": "{% macro check_for_schema_changes(source_relation, target_relation) %}\n\n {% set schema_changed = False %}\n\n {%- set source_columns = adapter.get_columns_in_relation(source_relation) -%}\n {%- set target_columns = adapter.get_columns_in_relation(target_relation) -%}\n {%- set source_not_in_target = diff_columns(source_columns, target_columns) -%}\n {%- set target_not_in_source = diff_columns(target_columns, source_columns) -%}\n\n {% set new_target_types = diff_column_data_types(source_columns, target_columns) %}\n\n {% if source_not_in_target != [] %}\n {% set schema_changed = True %}\n {% elif target_not_in_source != [] or new_target_types != [] %}\n {% set schema_changed = True %}\n {% elif new_target_types != [] %}\n {% set schema_changed = True %}\n {% endif %}\n\n {% set changes_dict = {\n 'schema_changed': schema_changed,\n 'source_not_in_target': source_not_in_target,\n 'target_not_in_source': target_not_in_source,\n 'source_columns': source_columns,\n 'target_columns': target_columns,\n 'new_target_types': new_target_types\n } %}\n\n {% set msg %}\n In {{ target_relation }}:\n Schema changed: {{ schema_changed }}\n Source columns not in target: {{ source_not_in_target }}\n Target columns not in source: {{ target_not_in_source }}\n New column types: {{ new_target_types }}\n {% endset %}\n\n {% do log(msg) %}\n\n {{ return(changes_dict) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.diff_columns", "macro.dbt.diff_column_data_types"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.942293, "supported_languages": null}, "macro.dbt.sync_column_schemas": {"name": "sync_column_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.sync_column_schemas", "macro_sql": "{% macro sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {%- set add_to_target_arr = schema_changes_dict['source_not_in_target'] -%}\n\n {%- if on_schema_change == 'append_new_columns'-%}\n {%- if add_to_target_arr | length > 0 -%}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, none) -%}\n {%- endif -%}\n\n {% elif on_schema_change == 'sync_all_columns' %}\n {%- set remove_from_target_arr = schema_changes_dict['target_not_in_source'] -%}\n {%- set new_target_types = schema_changes_dict['new_target_types'] -%}\n\n {% if add_to_target_arr | length > 0 or remove_from_target_arr | length > 0 %}\n {%- do alter_relation_add_remove_columns(target_relation, add_to_target_arr, remove_from_target_arr) -%}\n {% endif %}\n\n {% if new_target_types != [] %}\n {% for ntt in new_target_types %}\n {% set column_name = ntt['column_name'] %}\n {% set new_type = ntt['new_type'] %}\n {% do alter_column_type(target_relation, column_name, new_type) %}\n {% endfor %}\n {% endif %}\n\n {% endif %}\n\n {% set schema_change_message %}\n In {{ target_relation }}:\n Schema change approach: {{ on_schema_change }}\n Columns added: {{ add_to_target_arr }}\n Columns removed: {{ remove_from_target_arr }}\n Data types changed: {{ new_target_types }}\n {% endset %}\n\n {% do log(schema_change_message) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.alter_relation_add_remove_columns", "macro.dbt.alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.946348, "supported_languages": null}, "macro.dbt.process_schema_changes": {"name": "process_schema_changes", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/incremental/on_schema_change.sql", "original_file_path": "macros/materializations/models/incremental/on_schema_change.sql", "unique_id": "macro.dbt.process_schema_changes", "macro_sql": "{% macro process_schema_changes(on_schema_change, source_relation, target_relation) %}\n\n {% if on_schema_change == 'ignore' %}\n\n {{ return({}) }}\n\n {% else %}\n\n {% set schema_changes_dict = check_for_schema_changes(source_relation, target_relation) %}\n\n {% if schema_changes_dict['schema_changed'] %}\n\n {% if on_schema_change == 'fail' %}\n\n {% set fail_msg %}\n The source and target schemas on this incremental model are out of sync!\n They can be reconciled in several ways:\n - set the `on_schema_change` config to either append_new_columns or sync_all_columns, depending on your situation.\n - Re-run the incremental model with `full_refresh: True` to update the target schema.\n - update the schema manually and re-run the process.\n\n Additional troubleshooting context:\n Source columns not in target: {{ schema_changes_dict['source_not_in_target'] }}\n Target columns not in source: {{ schema_changes_dict['target_not_in_source'] }}\n New column types: {{ schema_changes_dict['new_target_types'] }}\n {% endset %}\n\n {% do exceptions.raise_compiler_error(fail_msg) %}\n\n {# -- unless we ignore, run the sync operation per the config #}\n {% else %}\n\n {% do sync_column_schemas(on_schema_change, target_relation, schema_changes_dict) %}\n\n {% endif %}\n\n {% endif %}\n\n {{ return(schema_changes_dict['source_columns']) }}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.check_for_schema_changes", "macro.dbt.sync_column_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9493382, "supported_languages": null}, "macro.dbt.materialization_table_default": {"name": "materialization_table_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/table.sql", "original_file_path": "macros/materializations/models/table/table.sql", "unique_id": "macro.dbt.materialization_table_default", "macro_sql": "{% materialization table, default %}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='table') %}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n See ../view/view.sql for more information about this relation.\n */\n {%- set backup_relation_type = 'table' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_table_as_sql(False, intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% do create_indexes(target_relation) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n -- finally, drop the existing/backup relation after the commit\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.drop_relation_if_exists", "macro.dbt.run_hooks", "macro.dbt.statement", "macro.dbt.get_create_table_as_sql", "macro.dbt.create_indexes", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9573581, "supported_languages": ["sql"]}, "macro.dbt.get_create_table_as_sql": {"name": "get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.get_create_table_as_sql", "macro_sql": "{% macro get_create_table_as_sql(temporary, relation, sql) -%}\n {{ adapter.dispatch('get_create_table_as_sql', 'dbt')(temporary, relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_table_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.959041, "supported_languages": null}, "macro.dbt.default__get_create_table_as_sql": {"name": "default__get_create_table_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.default__get_create_table_as_sql", "macro_sql": "{% macro default__get_create_table_as_sql(temporary, relation, sql) -%}\n {{ return(create_table_as(temporary, relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.959806, "supported_languages": null}, "macro.dbt.create_table_as": {"name": "create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.create_table_as", "macro_sql": "{% macro create_table_as(temporary, relation, compiled_code, language='sql') -%}\n {# backward compatibility for create_table_as that does not support language #}\n {% if language == \"sql\" %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code)}}\n {% else %}\n {{ adapter.dispatch('create_table_as', 'dbt')(temporary, relation, compiled_code, language) }}\n {% endif %}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_table_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9612749, "supported_languages": null}, "macro.dbt.default__create_table_as": {"name": "default__create_table_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/table/create_table_as.sql", "original_file_path": "macros/materializations/models/table/create_table_as.sql", "unique_id": "macro.dbt.default__create_table_as", "macro_sql": "{% macro default__create_table_as(temporary, relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n\n create {% if temporary: -%}temporary{%- endif %} table\n {{ relation.include(database=(not temporary), schema=(not temporary)) }}\n as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.962632, "supported_languages": null}, "macro.dbt.materialization_view_default": {"name": "materialization_view_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/view.sql", "original_file_path": "macros/materializations/models/view/view.sql", "unique_id": "macro.dbt.materialization_view_default", "macro_sql": "{%- materialization view, default -%}\n\n {%- set existing_relation = load_cached_relation(this) -%}\n {%- set target_relation = this.incorporate(type='view') -%}\n {%- set intermediate_relation = make_intermediate_relation(target_relation) -%}\n\n -- the intermediate_relation should not already exist in the database; get_relation\n -- will return None in that case. Otherwise, we get a relation that we can drop\n -- later, before we try to use this name for the current operation\n {%- set preexisting_intermediate_relation = load_cached_relation(intermediate_relation) -%}\n /*\n This relation (probably) doesn't exist yet. If it does exist, it's a leftover from\n a previous run, and we're going to try to drop it immediately. At the end of this\n materialization, we're going to rename the \"existing_relation\" to this identifier,\n and then we're going to drop it. In order to make sure we run the correct one of:\n - drop view ...\n - drop table ...\n\n We need to set the type of this relation to be the type of the existing_relation, if it exists,\n or else \"view\" as a sane default if it does not. Note that if the existing_relation does not\n exist, then there is nothing to move out of the way and subsequentally drop. In that case,\n this relation will be effectively unused.\n */\n {%- set backup_relation_type = 'view' if existing_relation is none else existing_relation.type -%}\n {%- set backup_relation = make_backup_relation(target_relation, backup_relation_type) -%}\n -- as above, the backup_relation should not already exist\n {%- set preexisting_backup_relation = load_cached_relation(backup_relation) -%}\n -- grab current tables grants config for comparision later on\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- drop the temp relations if they exist already in the database\n {{ drop_relation_if_exists(preexisting_intermediate_relation) }}\n {{ drop_relation_if_exists(preexisting_backup_relation) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(intermediate_relation, sql) }}\n {%- endcall %}\n\n -- cleanup\n -- move the existing view out of the way\n {% if existing_relation is not none %}\n {{ adapter.rename_relation(existing_relation, backup_relation) }}\n {% endif %}\n {{ adapter.rename_relation(intermediate_relation, target_relation) }}\n\n {% set should_revoke = should_revoke(existing_relation, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n {{ adapter.commit() }}\n\n {{ drop_relation_if_exists(backup_relation) }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{%- endmaterialization -%}", "depends_on": {"macros": ["macro.dbt.load_cached_relation", "macro.dbt.make_intermediate_relation", "macro.dbt.make_backup_relation", "macro.dbt.run_hooks", "macro.dbt.drop_relation_if_exists", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9701262, "supported_languages": ["sql"]}, "macro.dbt.handle_existing_table": {"name": "handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/helpers.sql", "original_file_path": "macros/materializations/models/view/helpers.sql", "unique_id": "macro.dbt.handle_existing_table", "macro_sql": "{% macro handle_existing_table(full_refresh, old_relation) %}\n {{ adapter.dispatch('handle_existing_table', 'dbt')(full_refresh, old_relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__handle_existing_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.971313, "supported_languages": null}, "macro.dbt.default__handle_existing_table": {"name": "default__handle_existing_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/helpers.sql", "original_file_path": "macros/materializations/models/view/helpers.sql", "unique_id": "macro.dbt.default__handle_existing_table", "macro_sql": "{% macro default__handle_existing_table(full_refresh, old_relation) %}\n {{ log(\"Dropping relation \" ~ old_relation ~ \" because it is of type \" ~ old_relation.type) }}\n {{ adapter.drop_relation(old_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.972085, "supported_languages": null}, "macro.dbt.create_or_replace_view": {"name": "create_or_replace_view", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_or_replace_view.sql", "original_file_path": "macros/materializations/models/view/create_or_replace_view.sql", "unique_id": "macro.dbt.create_or_replace_view", "macro_sql": "{% macro create_or_replace_view() %}\n {%- set identifier = model['alias'] -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set target_relation = api.Relation.create(\n identifier=identifier, schema=schema, database=database,\n type='view') -%}\n {% set grant_config = config.get('grants') %}\n\n {{ run_hooks(pre_hooks) }}\n\n -- If there's a table with the same name and we weren't told to full refresh,\n -- that's an error. If we were told to full refresh, drop it. This behavior differs\n -- for Snowflake and BigQuery, so multiple dispatch is used.\n {%- if old_relation is not none and old_relation.is_table -%}\n {{ handle_existing_table(should_full_refresh(), old_relation) }}\n {%- endif -%}\n\n -- build model\n {% call statement('main') -%}\n {{ get_create_view_as_sql(target_relation, sql) }}\n {%- endcall %}\n\n {% set should_revoke = should_revoke(exists_as_view, full_refresh_mode=True) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=True) %}\n\n {{ run_hooks(post_hooks) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_hooks", "macro.dbt.handle_existing_table", "macro.dbt.should_full_refresh", "macro.dbt.statement", "macro.dbt.get_create_view_as_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9768372, "supported_languages": null}, "macro.dbt.get_create_view_as_sql": {"name": "get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.get_create_view_as_sql", "macro_sql": "{% macro get_create_view_as_sql(relation, sql) -%}\n {{ adapter.dispatch('get_create_view_as_sql', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_view_as_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9780622, "supported_languages": null}, "macro.dbt.default__get_create_view_as_sql": {"name": "default__get_create_view_as_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.default__get_create_view_as_sql", "macro_sql": "{% macro default__get_create_view_as_sql(relation, sql) -%}\n {{ return(create_view_as(relation, sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9786398, "supported_languages": null}, "macro.dbt.create_view_as": {"name": "create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.create_view_as", "macro_sql": "{% macro create_view_as(relation, sql) -%}\n {{ adapter.dispatch('create_view_as', 'dbt')(relation, sql) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_view_as"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.979286, "supported_languages": null}, "macro.dbt.default__create_view_as": {"name": "default__create_view_as", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/models/view/create_view_as.sql", "original_file_path": "macros/materializations/models/view/create_view_as.sql", "unique_id": "macro.dbt.default__create_view_as", "macro_sql": "{% macro default__create_view_as(relation, sql) -%}\n {%- set sql_header = config.get('sql_header', none) -%}\n\n {{ sql_header if sql_header is not none }}\n create view {{ relation }} as (\n {{ sql }}\n );\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.9803798, "supported_languages": null}, "macro.dbt.materialization_seed_default": {"name": "materialization_seed_default", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/seed.sql", "original_file_path": "macros/materializations/seeds/seed.sql", "unique_id": "macro.dbt.materialization_seed_default", "macro_sql": "{% materialization seed, default %}\n\n {%- set identifier = model['alias'] -%}\n {%- set full_refresh_mode = (should_full_refresh()) -%}\n\n {%- set old_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) -%}\n\n {%- set exists_as_table = (old_relation is not none and old_relation.is_table) -%}\n {%- set exists_as_view = (old_relation is not none and old_relation.is_view) -%}\n\n {%- set grant_config = config.get('grants') -%}\n {%- set agate_table = load_agate_table() -%}\n -- grab current tables grants config for comparision later on\n\n {%- do store_result('agate_table', response='OK', agate_table=agate_table) -%}\n\n {{ run_hooks(pre_hooks, inside_transaction=False) }}\n\n -- `BEGIN` happens here:\n {{ run_hooks(pre_hooks, inside_transaction=True) }}\n\n -- build model\n {% set create_table_sql = \"\" %}\n {% if exists_as_view %}\n {{ exceptions.raise_compiler_error(\"Cannot seed to '{}', it is a view\".format(old_relation)) }}\n {% elif exists_as_table %}\n {% set create_table_sql = reset_csv_table(model, full_refresh_mode, old_relation, agate_table) %}\n {% else %}\n {% set create_table_sql = create_csv_table(model, agate_table) %}\n {% endif %}\n\n {% set code = 'CREATE' if full_refresh_mode else 'INSERT' %}\n {% set rows_affected = (agate_table.rows | length) %}\n {% set sql = load_csv_rows(model, agate_table) %}\n\n {% call noop_statement('main', code ~ ' ' ~ rows_affected, code, rows_affected) %}\n {{ get_csv_sql(create_table_sql, sql) }};\n {% endcall %}\n\n {% set target_relation = this.incorporate(type='table') %}\n\n {% set should_revoke = should_revoke(old_relation, full_refresh_mode) %}\n {% do apply_grants(target_relation, grant_config, should_revoke=should_revoke) %}\n\n {% do persist_docs(target_relation, model) %}\n\n {% if full_refresh_mode or not exists_as_table %}\n {% do create_indexes(target_relation) %}\n {% endif %}\n\n {{ run_hooks(post_hooks, inside_transaction=True) }}\n\n -- `COMMIT` happens here\n {{ adapter.commit() }}\n\n {{ run_hooks(post_hooks, inside_transaction=False) }}\n\n {{ return({'relations': [target_relation]}) }}\n\n{% endmaterialization %}", "depends_on": {"macros": ["macro.dbt.should_full_refresh", "macro.dbt.run_hooks", "macro.dbt.reset_csv_table", "macro.dbt.create_csv_table", "macro.dbt.load_csv_rows", "macro.dbt.noop_statement", "macro.dbt.get_csv_sql", "macro.dbt.should_revoke", "macro.dbt.apply_grants", "macro.dbt.persist_docs", "macro.dbt.create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592096.991063, "supported_languages": ["sql"]}, "macro.dbt.create_csv_table": {"name": "create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.create_csv_table", "macro_sql": "{% macro create_csv_table(model, agate_table) -%}\n {{ adapter.dispatch('create_csv_table', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.002929, "supported_languages": null}, "macro.dbt.default__create_csv_table": {"name": "default__create_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__create_csv_table", "macro_sql": "{% macro default__create_csv_table(model, agate_table) %}\n {%- set column_override = model['config'].get('column_types', {}) -%}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n\n {% set sql %}\n create table {{ this.render() }} (\n {%- for col_name in agate_table.column_names -%}\n {%- set inferred_type = adapter.convert_type(agate_table, loop.index0) -%}\n {%- set type = column_override.get(col_name, inferred_type) -%}\n {%- set column_name = (col_name | string) -%}\n {{ adapter.quote_seed_column(column_name, quote_seed_column) }} {{ type }} {%- if not loop.last -%}, {%- endif -%}\n {%- endfor -%}\n )\n {% endset %}\n\n {% call statement('_') -%}\n {{ sql }}\n {%- endcall %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.006211, "supported_languages": null}, "macro.dbt.reset_csv_table": {"name": "reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.reset_csv_table", "macro_sql": "{% macro reset_csv_table(model, full_refresh, old_relation, agate_table) -%}\n {{ adapter.dispatch('reset_csv_table', 'dbt')(model, full_refresh, old_relation, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__reset_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.007048, "supported_languages": null}, "macro.dbt.default__reset_csv_table": {"name": "default__reset_csv_table", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__reset_csv_table", "macro_sql": "{% macro default__reset_csv_table(model, full_refresh, old_relation, agate_table) %}\n {% set sql = \"\" %}\n {% if full_refresh %}\n {{ adapter.drop_relation(old_relation) }}\n {% set sql = create_csv_table(model, agate_table) %}\n {% else %}\n {{ adapter.truncate_relation(old_relation) }}\n {% set sql = \"truncate table \" ~ old_relation %}\n {% endif %}\n\n {{ return(sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.create_csv_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0086641, "supported_languages": null}, "macro.dbt.get_csv_sql": {"name": "get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_csv_sql", "macro_sql": "{% macro get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ adapter.dispatch('get_csv_sql', 'dbt')(create_or_truncate_sql, insert_sql) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_csv_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0093172, "supported_languages": null}, "macro.dbt.default__get_csv_sql": {"name": "default__get_csv_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_csv_sql", "macro_sql": "{% macro default__get_csv_sql(create_or_truncate_sql, insert_sql) %}\n {{ create_or_truncate_sql }};\n -- dbt seed --\n {{ insert_sql }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.009896, "supported_languages": null}, "macro.dbt.get_binding_char": {"name": "get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_binding_char", "macro_sql": "{% macro get_binding_char() -%}\n {{ adapter.dispatch('get_binding_char', 'dbt')() }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.010418, "supported_languages": null}, "macro.dbt.default__get_binding_char": {"name": "default__get_binding_char", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_binding_char", "macro_sql": "{% macro default__get_binding_char() %}\n {{ return('%s') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0108302, "supported_languages": null}, "macro.dbt.get_batch_size": {"name": "get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_batch_size", "macro_sql": "{% macro get_batch_size() -%}\n {{ return(adapter.dispatch('get_batch_size', 'dbt')()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_batch_size"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.011373, "supported_languages": null}, "macro.dbt.default__get_batch_size": {"name": "default__get_batch_size", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__get_batch_size", "macro_sql": "{% macro default__get_batch_size() %}\n {{ return(10000) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.011779, "supported_languages": null}, "macro.dbt.get_seed_column_quoted_csv": {"name": "get_seed_column_quoted_csv", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.get_seed_column_quoted_csv", "macro_sql": "{% macro get_seed_column_quoted_csv(model, column_names) %}\n {%- set quote_seed_column = model['config'].get('quote_columns', None) -%}\n {% set quoted = [] %}\n {% for col in column_names -%}\n {%- do quoted.append(adapter.quote_seed_column(col, quote_seed_column)) -%}\n {%- endfor %}\n\n {%- set dest_cols_csv = quoted | join(', ') -%}\n {{ return(dest_cols_csv) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.013362, "supported_languages": null}, "macro.dbt.load_csv_rows": {"name": "load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.load_csv_rows", "macro_sql": "{% macro load_csv_rows(model, agate_table) -%}\n {{ adapter.dispatch('load_csv_rows', 'dbt')(model, agate_table) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__load_csv_rows"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.014032, "supported_languages": null}, "macro.dbt.default__load_csv_rows": {"name": "default__load_csv_rows", "resource_type": "macro", "package_name": "dbt", "path": "macros/materializations/seeds/helpers.sql", "original_file_path": "macros/materializations/seeds/helpers.sql", "unique_id": "macro.dbt.default__load_csv_rows", "macro_sql": "{% macro default__load_csv_rows(model, agate_table) %}\n\n {% set batch_size = get_batch_size() %}\n\n {% set cols_sql = get_seed_column_quoted_csv(model, agate_table.column_names) %}\n {% set bindings = [] %}\n\n {% set statements = [] %}\n\n {% for chunk in agate_table.rows | batch(batch_size) %}\n {% set bindings = [] %}\n\n {% for row in chunk %}\n {% do bindings.extend(row) %}\n {% endfor %}\n\n {% set sql %}\n insert into {{ this.render() }} ({{ cols_sql }}) values\n {% for row in chunk -%}\n ({%- for column in agate_table.column_names -%}\n {{ get_binding_char() }}\n {%- if not loop.last%},{%- endif %}\n {%- endfor -%})\n {%- if not loop.last%},{%- endif %}\n {%- endfor %}\n {% endset %}\n\n {% do adapter.add_query(sql, bindings=bindings, abridge_sql_log=True) %}\n\n {% if loop.index0 == 0 %}\n {% do statements.append(sql) %}\n {% endif %}\n {% endfor %}\n\n {# Return SQL so we can render it out into the compiled files #}\n {{ return(statements[0]) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_batch_size", "macro.dbt.get_seed_column_quoted_csv", "macro.dbt.get_binding_char"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.018302, "supported_languages": null}, "macro.dbt.generate_alias_name": {"name": "generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.generate_alias_name", "macro_sql": "{% macro generate_alias_name(custom_alias_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_alias_name', 'dbt')(custom_alias_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_alias_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.019605, "supported_languages": null}, "macro.dbt.default__generate_alias_name": {"name": "default__generate_alias_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_alias.sql", "original_file_path": "macros/get_custom_name/get_custom_alias.sql", "unique_id": "macro.dbt.default__generate_alias_name", "macro_sql": "{% macro default__generate_alias_name(custom_alias_name=none, node=none) -%}\n\n {%- if custom_alias_name is none -%}\n\n {{ node.name }}\n\n {%- else -%}\n\n {{ custom_alias_name | trim }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.020413, "supported_languages": null}, "macro.dbt.generate_schema_name": {"name": "generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name", "macro_sql": "{% macro generate_schema_name(custom_schema_name=none, node=none) -%}\n {{ return(adapter.dispatch('generate_schema_name', 'dbt')(custom_schema_name, node)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.02211, "supported_languages": null}, "macro.dbt.default__generate_schema_name": {"name": "default__generate_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.default__generate_schema_name", "macro_sql": "{% macro default__generate_schema_name(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if custom_schema_name is none -%}\n\n {{ default_schema }}\n\n {%- else -%}\n\n {{ default_schema }}_{{ custom_schema_name | trim }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.023238, "supported_languages": null}, "macro.dbt.generate_schema_name_for_env": {"name": "generate_schema_name_for_env", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_schema.sql", "original_file_path": "macros/get_custom_name/get_custom_schema.sql", "unique_id": "macro.dbt.generate_schema_name_for_env", "macro_sql": "{% macro generate_schema_name_for_env(custom_schema_name, node) -%}\n\n {%- set default_schema = target.schema -%}\n {%- if target.name == 'prod' and custom_schema_name is not none -%}\n\n {{ custom_schema_name | trim }}\n\n {%- else -%}\n\n {{ default_schema }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0242639, "supported_languages": null}, "macro.dbt.generate_database_name": {"name": "generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.generate_database_name", "macro_sql": "{% macro generate_database_name(custom_database_name=none, node=none) -%}\n {% do return(adapter.dispatch('generate_database_name', 'dbt')(custom_database_name, node)) %}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__generate_database_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0259352, "supported_languages": null}, "macro.dbt.default__generate_database_name": {"name": "default__generate_database_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/get_custom_name/get_custom_database.sql", "original_file_path": "macros/get_custom_name/get_custom_database.sql", "unique_id": "macro.dbt.default__generate_database_name", "macro_sql": "{% macro default__generate_database_name(custom_database_name=none, node=none) -%}\n {%- set default_database = target.database -%}\n {%- if custom_database_name is none -%}\n\n {{ default_database }}\n\n {%- else -%}\n\n {{ custom_database_name }}\n\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.026849, "supported_languages": null}, "macro.dbt.default__test_relationships": {"name": "default__test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/relationships.sql", "original_file_path": "macros/generic_test_sql/relationships.sql", "unique_id": "macro.dbt.default__test_relationships", "macro_sql": "{% macro default__test_relationships(model, column_name, to, field) %}\n\nwith child as (\n select {{ column_name }} as from_field\n from {{ model }}\n where {{ column_name }} is not null\n),\n\nparent as (\n select {{ field }} as to_field\n from {{ to }}\n)\n\nselect\n from_field\n\nfrom child\nleft join parent\n on child.from_field = parent.to_field\n\nwhere parent.to_field is null\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.027915, "supported_languages": null}, "macro.dbt.default__test_not_null": {"name": "default__test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/not_null.sql", "original_file_path": "macros/generic_test_sql/not_null.sql", "unique_id": "macro.dbt.default__test_not_null", "macro_sql": "{% macro default__test_not_null(model, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else column_name %}\n\nselect {{ column_list }}\nfrom {{ model }}\nwhere {{ column_name }} is null\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.028985, "supported_languages": null}, "macro.dbt.default__test_unique": {"name": "default__test_unique", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/unique.sql", "original_file_path": "macros/generic_test_sql/unique.sql", "unique_id": "macro.dbt.default__test_unique", "macro_sql": "{% macro default__test_unique(model, column_name) %}\n\nselect\n {{ column_name }} as unique_field,\n count(*) as n_records\n\nfrom {{ model }}\nwhere {{ column_name }} is not null\ngroup by {{ column_name }}\nhaving count(*) > 1\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0298948, "supported_languages": null}, "macro.dbt.default__test_accepted_values": {"name": "default__test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "macros/generic_test_sql/accepted_values.sql", "original_file_path": "macros/generic_test_sql/accepted_values.sql", "unique_id": "macro.dbt.default__test_accepted_values", "macro_sql": "{% macro default__test_accepted_values(model, column_name, values, quote=True) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field,\n count(*) as n_records\n\n from {{ model }}\n group by {{ column_name }}\n\n)\n\nselect *\nfrom all_values\nwhere value_field not in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n)\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.03173, "supported_languages": null}, "macro.dbt.statement": {"name": "statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.statement", "macro_sql": "\n{%- macro statement(name=None, fetch_result=False, auto_begin=True, language='sql') -%}\n {%- if execute: -%}\n {%- set compiled_code = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime {} for node \"{}\"'.format(language, model['unique_id'])) }}\n {{ write(compiled_code) }}\n {%- endif -%}\n {%- if language == 'sql'-%}\n {%- set res, table = adapter.execute(compiled_code, auto_begin=auto_begin, fetch=fetch_result) -%}\n {%- elif language == 'python' -%}\n {%- set res = submit_python_job(model, compiled_code) -%}\n {#-- TODO: What should table be for python models? --#}\n {%- set table = None -%}\n {%- else -%}\n {% do exceptions.raise_compiler_error(\"statement macro didn't get supported language\") %}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_result(name, response=res, agate_table=table) }}\n {%- endif -%}\n\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.036322, "supported_languages": null}, "macro.dbt.noop_statement": {"name": "noop_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.noop_statement", "macro_sql": "{% macro noop_statement(name=None, message=None, code=None, rows_affected=None, res=None) -%}\n {%- set sql = caller() -%}\n\n {%- if name == 'main' -%}\n {{ log('Writing runtime SQL for node \"{}\"'.format(model['unique_id'])) }}\n {{ write(sql) }}\n {%- endif -%}\n\n {%- if name is not none -%}\n {{ store_raw_result(name, message=message, code=code, rows_affected=rows_affected, agate_table=res) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0383492, "supported_languages": null}, "macro.dbt.run_query": {"name": "run_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/statement.sql", "original_file_path": "macros/etc/statement.sql", "unique_id": "macro.dbt.run_query", "macro_sql": "{% macro run_query(sql) %}\n {% call statement(\"run_query_statement\", fetch_result=true, auto_begin=false) %}\n {{ sql }}\n {% endcall %}\n\n {% do return(load_result(\"run_query_statement\").table) %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.039367, "supported_languages": null}, "macro.dbt.convert_datetime": {"name": "convert_datetime", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.convert_datetime", "macro_sql": "{% macro convert_datetime(date_str, date_fmt) %}\n\n {% set error_msg -%}\n The provided partition date '{{ date_str }}' does not match the expected format '{{ date_fmt }}'\n {%- endset %}\n\n {% set res = try_or_compiler_error(error_msg, modules.datetime.datetime.strptime, date_str.strip(), date_fmt) %}\n {{ return(res) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.044481, "supported_languages": null}, "macro.dbt.dates_in_range": {"name": "dates_in_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.dates_in_range", "macro_sql": "{% macro dates_in_range(start_date_str, end_date_str=none, in_fmt=\"%Y%m%d\", out_fmt=\"%Y%m%d\") %}\n {% set end_date_str = start_date_str if end_date_str is none else end_date_str %}\n\n {% set start_date = convert_datetime(start_date_str, in_fmt) %}\n {% set end_date = convert_datetime(end_date_str, in_fmt) %}\n\n {% set day_count = (end_date - start_date).days %}\n {% if day_count < 0 %}\n {% set msg -%}\n Partiton start date is after the end date ({{ start_date }}, {{ end_date }})\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg, model) }}\n {% endif %}\n\n {% set date_list = [] %}\n {% for i in range(0, day_count + 1) %}\n {% set the_date = (modules.datetime.timedelta(days=i) + start_date) %}\n {% if not out_fmt %}\n {% set _ = date_list.append(the_date) %}\n {% else %}\n {% set _ = date_list.append(the_date.strftime(out_fmt)) %}\n {% endif %}\n {% endfor %}\n\n {{ return(date_list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.convert_datetime"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.048883, "supported_languages": null}, "macro.dbt.partition_range": {"name": "partition_range", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.partition_range", "macro_sql": "{% macro partition_range(raw_partition_date, date_fmt='%Y%m%d') %}\n {% set partition_range = (raw_partition_date | string).split(\",\") %}\n\n {% if (partition_range | length) == 1 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = none %}\n {% elif (partition_range | length) == 2 %}\n {% set start_date = partition_range[0] %}\n {% set end_date = partition_range[1] %}\n {% else %}\n {{ exceptions.raise_compiler_error(\"Invalid partition time. Expected format: {Start Date}[,{End Date}]. Got: \" ~ raw_partition_date) }}\n {% endif %}\n\n {{ return(dates_in_range(start_date, end_date, in_fmt=date_fmt)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dates_in_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.051913, "supported_languages": null}, "macro.dbt.py_current_timestring": {"name": "py_current_timestring", "resource_type": "macro", "package_name": "dbt", "path": "macros/etc/datetime.sql", "original_file_path": "macros/etc/datetime.sql", "unique_id": "macro.dbt.py_current_timestring", "macro_sql": "{% macro py_current_timestring() %}\n {% set dt = modules.datetime.datetime.now() %}\n {% do return(dt.strftime(\"%Y%m%d%H%M%S%f\")) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.052765, "supported_languages": null}, "macro.dbt.except": {"name": "except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.except", "macro_sql": "{% macro except() %}\n {{ return(adapter.dispatch('except', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0535538, "supported_languages": null}, "macro.dbt.default__except": {"name": "default__except", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/except.sql", "original_file_path": "macros/utils/except.sql", "unique_id": "macro.dbt.default__except", "macro_sql": "{% macro default__except() %}\n\n except\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.053827, "supported_languages": null}, "macro.dbt.replace": {"name": "replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.replace", "macro_sql": "{% macro replace(field, old_chars, new_chars) -%}\n {{ return(adapter.dispatch('replace', 'dbt') (field, old_chars, new_chars)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__replace"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.054822, "supported_languages": null}, "macro.dbt.default__replace": {"name": "default__replace", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/replace.sql", "original_file_path": "macros/utils/replace.sql", "unique_id": "macro.dbt.default__replace", "macro_sql": "{% macro default__replace(field, old_chars, new_chars) %}\n\n replace(\n {{ field }},\n {{ old_chars }},\n {{ new_chars }}\n )\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0553641, "supported_languages": null}, "macro.dbt.concat": {"name": "concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.concat", "macro_sql": "{% macro concat(fields) -%}\n {{ return(adapter.dispatch('concat', 'dbt')(fields)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.056169, "supported_languages": null}, "macro.dbt.default__concat": {"name": "default__concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/concat.sql", "original_file_path": "macros/utils/concat.sql", "unique_id": "macro.dbt.default__concat", "macro_sql": "{% macro default__concat(fields) -%}\n {{ fields|join(' || ') }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.056608, "supported_languages": null}, "macro.dbt.length": {"name": "length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.length", "macro_sql": "{% macro length(expression) -%}\n {{ return(adapter.dispatch('length', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__length"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0574331, "supported_languages": null}, "macro.dbt.default__length": {"name": "default__length", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/length.sql", "original_file_path": "macros/utils/length.sql", "unique_id": "macro.dbt.default__length", "macro_sql": "{% macro default__length(expression) %}\n\n length(\n {{ expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.057804, "supported_languages": null}, "macro.dbt.dateadd": {"name": "dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.dateadd", "macro_sql": "{% macro dateadd(datepart, interval, from_date_or_timestamp) %}\n {{ return(adapter.dispatch('dateadd', 'dbt')(datepart, interval, from_date_or_timestamp)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.058832, "supported_languages": null}, "macro.dbt.default__dateadd": {"name": "default__dateadd", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/dateadd.sql", "original_file_path": "macros/utils/dateadd.sql", "unique_id": "macro.dbt.default__dateadd", "macro_sql": "{% macro default__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n dateadd(\n {{ datepart }},\n {{ interval }},\n {{ from_date_or_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0593789, "supported_languages": null}, "macro.dbt.intersect": {"name": "intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.intersect", "macro_sql": "{% macro intersect() %}\n {{ return(adapter.dispatch('intersect', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__intersect"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.060205, "supported_languages": null}, "macro.dbt.default__intersect": {"name": "default__intersect", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/intersect.sql", "original_file_path": "macros/utils/intersect.sql", "unique_id": "macro.dbt.default__intersect", "macro_sql": "{% macro default__intersect() %}\n\n intersect\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.060489, "supported_languages": null}, "macro.dbt.escape_single_quotes": {"name": "escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.escape_single_quotes", "macro_sql": "{% macro escape_single_quotes(expression) %}\n {{ return(adapter.dispatch('escape_single_quotes', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__escape_single_quotes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0613499, "supported_languages": null}, "macro.dbt.default__escape_single_quotes": {"name": "default__escape_single_quotes", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/escape_single_quotes.sql", "original_file_path": "macros/utils/escape_single_quotes.sql", "unique_id": "macro.dbt.default__escape_single_quotes", "macro_sql": "{% macro default__escape_single_quotes(expression) -%}\n{{ expression | replace(\"'\",\"''\") }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.061837, "supported_languages": null}, "macro.dbt.right": {"name": "right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.right", "macro_sql": "{% macro right(string_text, length_expression) -%}\n {{ return(adapter.dispatch('right', 'dbt') (string_text, length_expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__right"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0627682, "supported_languages": null}, "macro.dbt.default__right": {"name": "default__right", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/right.sql", "original_file_path": "macros/utils/right.sql", "unique_id": "macro.dbt.default__right", "macro_sql": "{% macro default__right(string_text, length_expression) %}\n\n right(\n {{ string_text }},\n {{ length_expression }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.063236, "supported_languages": null}, "macro.dbt.listagg": {"name": "listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.listagg", "macro_sql": "{% macro listagg(measure, delimiter_text=\"','\", order_by_clause=none, limit_num=none) -%}\n {{ return(adapter.dispatch('listagg', 'dbt') (measure, delimiter_text, order_by_clause, limit_num)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__listagg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.064956, "supported_languages": null}, "macro.dbt.default__listagg": {"name": "default__listagg", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/listagg.sql", "original_file_path": "macros/utils/listagg.sql", "unique_id": "macro.dbt.default__listagg", "macro_sql": "{% macro default__listagg(measure, delimiter_text, order_by_clause, limit_num) -%}\n\n {% if limit_num -%}\n array_to_string(\n array_slice(\n array_agg(\n {{ measure }}\n ){% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n ,0\n ,{{ limit_num }}\n ),\n {{ delimiter_text }}\n )\n {%- else %}\n listagg(\n {{ measure }},\n {{ delimiter_text }}\n )\n {% if order_by_clause -%}\n within group ({{ order_by_clause }})\n {%- endif %}\n {%- endif %}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0665221, "supported_languages": null}, "macro.dbt.datediff": {"name": "datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.datediff", "macro_sql": "{% macro datediff(first_date, second_date, datepart) %}\n {{ return(adapter.dispatch('datediff', 'dbt')(first_date, second_date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0675688, "supported_languages": null}, "macro.dbt.default__datediff": {"name": "default__datediff", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/datediff.sql", "original_file_path": "macros/utils/datediff.sql", "unique_id": "macro.dbt.default__datediff", "macro_sql": "{% macro default__datediff(first_date, second_date, datepart) -%}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0681238, "supported_languages": null}, "macro.dbt.safe_cast": {"name": "safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.safe_cast", "macro_sql": "{% macro safe_cast(field, type) %}\n {{ return(adapter.dispatch('safe_cast', 'dbt') (field, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__safe_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.069053, "supported_languages": null}, "macro.dbt.default__safe_cast": {"name": "default__safe_cast", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/safe_cast.sql", "original_file_path": "macros/utils/safe_cast.sql", "unique_id": "macro.dbt.default__safe_cast", "macro_sql": "{% macro default__safe_cast(field, type) %}\n {# most databases don't support this function yet\n so we just need to use cast #}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.069545, "supported_languages": null}, "macro.dbt.hash": {"name": "hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.hash", "macro_sql": "{% macro hash(field) -%}\n {{ return(adapter.dispatch('hash', 'dbt') (field)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__hash"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.070397, "supported_languages": null}, "macro.dbt.default__hash": {"name": "default__hash", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/hash.sql", "original_file_path": "macros/utils/hash.sql", "unique_id": "macro.dbt.default__hash", "macro_sql": "{% macro default__hash(field) -%}\n md5(cast({{ field }} as {{ api.Column.translate_type('string') }}))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.071056, "supported_languages": null}, "macro.dbt.cast_bool_to_text": {"name": "cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.cast_bool_to_text", "macro_sql": "{% macro cast_bool_to_text(field) %}\n {{ adapter.dispatch('cast_bool_to_text', 'dbt') (field) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0719051, "supported_languages": null}, "macro.dbt.default__cast_bool_to_text": {"name": "default__cast_bool_to_text", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/cast_bool_to_text.sql", "original_file_path": "macros/utils/cast_bool_to_text.sql", "unique_id": "macro.dbt.default__cast_bool_to_text", "macro_sql": "{% macro default__cast_bool_to_text(field) %}\n cast({{ field }} as {{ api.Column.translate_type('string') }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.07247, "supported_languages": null}, "macro.dbt.any_value": {"name": "any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.any_value", "macro_sql": "{% macro any_value(expression) -%}\n {{ return(adapter.dispatch('any_value', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__any_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.073448, "supported_languages": null}, "macro.dbt.default__any_value": {"name": "default__any_value", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/any_value.sql", "original_file_path": "macros/utils/any_value.sql", "unique_id": "macro.dbt.default__any_value", "macro_sql": "{% macro default__any_value(expression) -%}\n\n any_value({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.073864, "supported_languages": null}, "macro.dbt.position": {"name": "position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.position", "macro_sql": "{% macro position(substring_text, string_text) -%}\n {{ return(adapter.dispatch('position', 'dbt') (substring_text, string_text)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__position"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0748138, "supported_languages": null}, "macro.dbt.default__position": {"name": "default__position", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/position.sql", "original_file_path": "macros/utils/position.sql", "unique_id": "macro.dbt.default__position", "macro_sql": "{% macro default__position(substring_text, string_text) %}\n\n position(\n {{ substring_text }} in {{ string_text }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.075296, "supported_languages": null}, "macro.dbt.string_literal": {"name": "string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.string_literal", "macro_sql": "{%- macro string_literal(value) -%}\n {{ return(adapter.dispatch('string_literal', 'dbt') (value)) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__string_literal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.076149, "supported_languages": null}, "macro.dbt.default__string_literal": {"name": "default__string_literal", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/literal.sql", "original_file_path": "macros/utils/literal.sql", "unique_id": "macro.dbt.default__string_literal", "macro_sql": "{% macro default__string_literal(value) -%}\n '{{ value }}'\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.076527, "supported_languages": null}, "macro.dbt.type_string": {"name": "type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_string", "macro_sql": "\n\n{%- macro type_string() -%}\n {{ return(adapter.dispatch('type_string', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.079181, "supported_languages": null}, "macro.dbt.default__type_string": {"name": "default__type_string", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_string", "macro_sql": "{% macro default__type_string() %}\n {{ return(api.Column.translate_type(\"string\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.079736, "supported_languages": null}, "macro.dbt.type_timestamp": {"name": "type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_timestamp", "macro_sql": "\n\n{%- macro type_timestamp() -%}\n {{ return(adapter.dispatch('type_timestamp', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0803058, "supported_languages": null}, "macro.dbt.default__type_timestamp": {"name": "default__type_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_timestamp", "macro_sql": "{% macro default__type_timestamp() %}\n {{ return(api.Column.translate_type(\"timestamp\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0808508, "supported_languages": null}, "macro.dbt.type_float": {"name": "type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_float", "macro_sql": "\n\n{%- macro type_float() -%}\n {{ return(adapter.dispatch('type_float', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.081609, "supported_languages": null}, "macro.dbt.default__type_float": {"name": "default__type_float", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_float", "macro_sql": "{% macro default__type_float() %}\n {{ return(api.Column.translate_type(\"float\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.082134, "supported_languages": null}, "macro.dbt.type_numeric": {"name": "type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_numeric", "macro_sql": "\n\n{%- macro type_numeric() -%}\n {{ return(adapter.dispatch('type_numeric', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.082676, "supported_languages": null}, "macro.dbt.default__type_numeric": {"name": "default__type_numeric", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_numeric", "macro_sql": "{% macro default__type_numeric() %}\n {{ return(api.Column.numeric_type(\"numeric\", 28, 6)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0833652, "supported_languages": null}, "macro.dbt.type_bigint": {"name": "type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_bigint", "macro_sql": "\n\n{%- macro type_bigint() -%}\n {{ return(adapter.dispatch('type_bigint', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.084044, "supported_languages": null}, "macro.dbt.default__type_bigint": {"name": "default__type_bigint", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_bigint", "macro_sql": "{% macro default__type_bigint() %}\n {{ return(api.Column.translate_type(\"bigint\")) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0846, "supported_languages": null}, "macro.dbt.type_int": {"name": "type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_int", "macro_sql": "\n\n{%- macro type_int() -%}\n {{ return(adapter.dispatch('type_int', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.085247, "supported_languages": null}, "macro.dbt.default__type_int": {"name": "default__type_int", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_int", "macro_sql": "{%- macro default__type_int() -%}\n {{ return(api.Column.translate_type(\"integer\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.085786, "supported_languages": null}, "macro.dbt.type_boolean": {"name": "type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.type_boolean", "macro_sql": "\n\n{%- macro type_boolean() -%}\n {{ return(adapter.dispatch('type_boolean', 'dbt')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__type_boolean"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.086365, "supported_languages": null}, "macro.dbt.default__type_boolean": {"name": "default__type_boolean", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/data_types.sql", "original_file_path": "macros/utils/data_types.sql", "unique_id": "macro.dbt.default__type_boolean", "macro_sql": "{%- macro default__type_boolean() -%}\n {{ return(api.Column.translate_type(\"boolean\")) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.086901, "supported_languages": null}, "macro.dbt.array_concat": {"name": "array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.array_concat", "macro_sql": "{% macro array_concat(array_1, array_2) -%}\n {{ return(adapter.dispatch('array_concat', 'dbt')(array_1, array_2)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__array_concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0878878, "supported_languages": null}, "macro.dbt.default__array_concat": {"name": "default__array_concat", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_concat.sql", "original_file_path": "macros/utils/array_concat.sql", "unique_id": "macro.dbt.default__array_concat", "macro_sql": "{% macro default__array_concat(array_1, array_2) -%}\n array_cat({{ array_1 }}, {{ array_2 }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0883598, "supported_languages": null}, "macro.dbt.bool_or": {"name": "bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.bool_or", "macro_sql": "{% macro bool_or(expression) -%}\n {{ return(adapter.dispatch('bool_or', 'dbt') (expression)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__bool_or"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.089222, "supported_languages": null}, "macro.dbt.default__bool_or": {"name": "default__bool_or", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/bool_or.sql", "original_file_path": "macros/utils/bool_or.sql", "unique_id": "macro.dbt.default__bool_or", "macro_sql": "{% macro default__bool_or(expression) -%}\n\n bool_or({{ expression }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0896158, "supported_languages": null}, "macro.dbt.last_day": {"name": "last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.last_day", "macro_sql": "{% macro last_day(date, datepart) %}\n {{ return(adapter.dispatch('last_day', 'dbt') (date, datepart)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.090692, "supported_languages": null}, "macro.dbt.default_last_day": {"name": "default_last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default_last_day", "macro_sql": "\n\n{%- macro default_last_day(date, datepart) -%}\n cast(\n {{dbt.dateadd('day', '-1',\n dbt.dateadd(datepart, '1', dbt.date_trunc(datepart, date))\n )}}\n as date)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.091746, "supported_languages": null}, "macro.dbt.default__last_day": {"name": "default__last_day", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/last_day.sql", "original_file_path": "macros/utils/last_day.sql", "unique_id": "macro.dbt.default__last_day", "macro_sql": "{% macro default__last_day(date, datepart) -%}\n {{dbt.default_last_day(date, datepart)}}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default_last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.092267, "supported_languages": null}, "macro.dbt.split_part": {"name": "split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.split_part", "macro_sql": "{% macro split_part(string_text, delimiter_text, part_number) %}\n {{ return(adapter.dispatch('split_part', 'dbt') (string_text, delimiter_text, part_number)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.093827, "supported_languages": null}, "macro.dbt.default__split_part": {"name": "default__split_part", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt.default__split_part", "macro_sql": "{% macro default__split_part(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0944269, "supported_languages": null}, "macro.dbt._split_part_negative": {"name": "_split_part_negative", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/split_part.sql", "original_file_path": "macros/utils/split_part.sql", "unique_id": "macro.dbt._split_part_negative", "macro_sql": "{% macro _split_part_negative(string_text, delimiter_text, part_number) %}\n\n split_part(\n {{ string_text }},\n {{ delimiter_text }},\n length({{ string_text }})\n - length(\n replace({{ string_text }}, {{ delimiter_text }}, '')\n ) + 2 {{ part_number }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.095168, "supported_languages": null}, "macro.dbt.date_trunc": {"name": "date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.date_trunc", "macro_sql": "{% macro date_trunc(datepart, date) -%}\n {{ return(adapter.dispatch('date_trunc', 'dbt') (datepart, date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0960798, "supported_languages": null}, "macro.dbt.default__date_trunc": {"name": "default__date_trunc", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/date_trunc.sql", "original_file_path": "macros/utils/date_trunc.sql", "unique_id": "macro.dbt.default__date_trunc", "macro_sql": "{% macro default__date_trunc(datepart, date) -%}\n date_trunc('{{datepart}}', {{date}})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.096527, "supported_languages": null}, "macro.dbt.array_construct": {"name": "array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.array_construct", "macro_sql": "{% macro array_construct(inputs=[], data_type=api.Column.translate_type('integer')) -%}\n {{ return(adapter.dispatch('array_construct', 'dbt')(inputs, data_type)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__array_construct"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.097961, "supported_languages": null}, "macro.dbt.default__array_construct": {"name": "default__array_construct", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_construct.sql", "original_file_path": "macros/utils/array_construct.sql", "unique_id": "macro.dbt.default__array_construct", "macro_sql": "{% macro default__array_construct(inputs, data_type) -%}\n {% if inputs|length > 0 %}\n array[ {{ inputs|join(' , ') }} ]\n {% else %}\n array[]::{{data_type}}[]\n {% endif %}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.098778, "supported_languages": null}, "macro.dbt.array_append": {"name": "array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.array_append", "macro_sql": "{% macro array_append(array, new_element) -%}\n {{ return(adapter.dispatch('array_append', 'dbt')(array, new_element)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__array_append"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.0997, "supported_languages": null}, "macro.dbt.default__array_append": {"name": "default__array_append", "resource_type": "macro", "package_name": "dbt", "path": "macros/utils/array_append.sql", "original_file_path": "macros/utils/array_append.sql", "unique_id": "macro.dbt.default__array_append", "macro_sql": "{% macro default__array_append(array, new_element) -%}\n array_append({{ array }}, {{ new_element }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.100158, "supported_languages": null}, "macro.dbt.create_schema": {"name": "create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.create_schema", "macro_sql": "{% macro create_schema(relation) -%}\n {{ adapter.dispatch('create_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.10126, "supported_languages": null}, "macro.dbt.default__create_schema": {"name": "default__create_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__create_schema", "macro_sql": "{% macro default__create_schema(relation) -%}\n {%- call statement('create_schema') -%}\n create schema if not exists {{ relation.without_identifier() }}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1018822, "supported_languages": null}, "macro.dbt.drop_schema": {"name": "drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.drop_schema", "macro_sql": "{% macro drop_schema(relation) -%}\n {{ adapter.dispatch('drop_schema', 'dbt')(relation) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__drop_schema"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1024268, "supported_languages": null}, "macro.dbt.default__drop_schema": {"name": "default__drop_schema", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/schema.sql", "original_file_path": "macros/adapters/schema.sql", "unique_id": "macro.dbt.default__drop_schema", "macro_sql": "{% macro default__drop_schema(relation) -%}\n {%- call statement('drop_schema') -%}\n drop schema if exists {{ relation.without_identifier() }} cascade\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1031098, "supported_languages": null}, "macro.dbt.current_timestamp": {"name": "current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp", "macro_sql": "{%- macro current_timestamp() -%}\n {{ adapter.dispatch('current_timestamp', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.104535, "supported_languages": null}, "macro.dbt.default__current_timestamp": {"name": "default__current_timestamp", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp", "macro_sql": "{% macro default__current_timestamp() -%}\n {{ exceptions.raise_not_implemented(\n 'current_timestamp macro not implemented for adapter ' + adapter.type()) }}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.10505, "supported_languages": null}, "macro.dbt.snapshot_get_time": {"name": "snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.snapshot_get_time", "macro_sql": "\n\n{%- macro snapshot_get_time() -%}\n {{ adapter.dispatch('snapshot_get_time', 'dbt')() }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.default__snapshot_get_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.105536, "supported_languages": null}, "macro.dbt.default__snapshot_get_time": {"name": "default__snapshot_get_time", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__snapshot_get_time", "macro_sql": "{% macro default__snapshot_get_time() %}\n {{ current_timestamp() }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1059, "supported_languages": null}, "macro.dbt.current_timestamp_backcompat": {"name": "current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_backcompat", "macro_sql": "{% macro current_timestamp_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1064708, "supported_languages": null}, "macro.dbt.default__current_timestamp_backcompat": {"name": "default__current_timestamp_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_backcompat", "macro_sql": "{% macro default__current_timestamp_backcompat() %}\n current_timestamp::timestamp\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1067462, "supported_languages": null}, "macro.dbt.current_timestamp_in_utc_backcompat": {"name": "current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.current_timestamp_in_utc_backcompat", "macro_sql": "{% macro current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_in_utc_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__current_timestamp_in_utc_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.107319, "supported_languages": null}, "macro.dbt.default__current_timestamp_in_utc_backcompat": {"name": "default__current_timestamp_in_utc_backcompat", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/timestamps.sql", "original_file_path": "macros/adapters/timestamps.sql", "unique_id": "macro.dbt.default__current_timestamp_in_utc_backcompat", "macro_sql": "{% macro default__current_timestamp_in_utc_backcompat() %}\n {{ return(adapter.dispatch('current_timestamp_backcompat', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.current_timestamp_backcompat", "macro.dbt_bigquery.bigquery__current_timestamp_backcompat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1078882, "supported_languages": null}, "macro.dbt.get_create_index_sql": {"name": "get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.get_create_index_sql", "macro_sql": "{% macro get_create_index_sql(relation, index_dict) -%}\n {{ return(adapter.dispatch('get_create_index_sql', 'dbt')(relation, index_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_create_index_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1092439, "supported_languages": null}, "macro.dbt.default__get_create_index_sql": {"name": "default__get_create_index_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__get_create_index_sql", "macro_sql": "{% macro default__get_create_index_sql(relation, index_dict) -%}\n {% do return(None) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.109743, "supported_languages": null}, "macro.dbt.create_indexes": {"name": "create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.create_indexes", "macro_sql": "{% macro create_indexes(relation) -%}\n {{ adapter.dispatch('create_indexes', 'dbt')(relation) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.default__create_indexes"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.110305, "supported_languages": null}, "macro.dbt.default__create_indexes": {"name": "default__create_indexes", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/indexes.sql", "original_file_path": "macros/adapters/indexes.sql", "unique_id": "macro.dbt.default__create_indexes", "macro_sql": "{% macro default__create_indexes(relation) -%}\n {%- set _indexes = config.get('indexes', default=[]) -%}\n\n {% for _index_dict in _indexes %}\n {% set create_index_sql = get_create_index_sql(relation, _index_dict) %}\n {% if create_index_sql %}\n {% do run_query(create_index_sql) %}\n {% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.get_create_index_sql", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.111649, "supported_languages": null}, "macro.dbt.make_intermediate_relation": {"name": "make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_intermediate_relation", "macro_sql": "{% macro make_intermediate_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_intermediate_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_intermediate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1204338, "supported_languages": null}, "macro.dbt.default__make_intermediate_relation": {"name": "default__make_intermediate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_intermediate_relation", "macro_sql": "{% macro default__make_intermediate_relation(base_relation, suffix) %}\n {{ return(default__make_temp_relation(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.121367, "supported_languages": null}, "macro.dbt.make_temp_relation": {"name": "make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_temp_relation", "macro_sql": "{% macro make_temp_relation(base_relation, suffix='__dbt_tmp') %}\n {{ return(adapter.dispatch('make_temp_relation', 'dbt')(base_relation, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_temp_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.122133, "supported_languages": null}, "macro.dbt.default__make_temp_relation": {"name": "default__make_temp_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_temp_relation", "macro_sql": "{% macro default__make_temp_relation(base_relation, suffix) %}\n {%- set temp_identifier = base_relation.identifier ~ suffix -%}\n {%- set temp_relation = base_relation.incorporate(\n path={\"identifier\": temp_identifier}) -%}\n\n {{ return(temp_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.123143, "supported_languages": null}, "macro.dbt.make_backup_relation": {"name": "make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.make_backup_relation", "macro_sql": "{% macro make_backup_relation(base_relation, backup_relation_type, suffix='__dbt_backup') %}\n {{ return(adapter.dispatch('make_backup_relation', 'dbt')(base_relation, backup_relation_type, suffix)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__make_backup_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1240299, "supported_languages": null}, "macro.dbt.default__make_backup_relation": {"name": "default__make_backup_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__make_backup_relation", "macro_sql": "{% macro default__make_backup_relation(base_relation, backup_relation_type, suffix) %}\n {%- set backup_identifier = base_relation.identifier ~ suffix -%}\n {%- set backup_relation = base_relation.incorporate(\n path={\"identifier\": backup_identifier},\n type=backup_relation_type\n ) -%}\n {{ return(backup_relation) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1251168, "supported_languages": null}, "macro.dbt.drop_relation": {"name": "drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.drop_relation", "macro_sql": "{% macro drop_relation(relation) -%}\n {{ return(adapter.dispatch('drop_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__drop_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.125777, "supported_languages": null}, "macro.dbt.default__drop_relation": {"name": "default__drop_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__drop_relation", "macro_sql": "{% macro default__drop_relation(relation) -%}\n {% call statement('drop_relation', auto_begin=False) -%}\n drop {{ relation.type }} if exists {{ relation }} cascade\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.126582, "supported_languages": null}, "macro.dbt.truncate_relation": {"name": "truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.truncate_relation", "macro_sql": "{% macro truncate_relation(relation) -%}\n {{ return(adapter.dispatch('truncate_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__truncate_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1272802, "supported_languages": null}, "macro.dbt.default__truncate_relation": {"name": "default__truncate_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__truncate_relation", "macro_sql": "{% macro default__truncate_relation(relation) -%}\n {% call statement('truncate_relation') -%}\n truncate table {{ relation }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1278899, "supported_languages": null}, "macro.dbt.rename_relation": {"name": "rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.rename_relation", "macro_sql": "{% macro rename_relation(from_relation, to_relation) -%}\n {{ return(adapter.dispatch('rename_relation', 'dbt')(from_relation, to_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__rename_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1285949, "supported_languages": null}, "macro.dbt.default__rename_relation": {"name": "default__rename_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__rename_relation", "macro_sql": "{% macro default__rename_relation(from_relation, to_relation) -%}\n {% set target_name = adapter.quote_as_configured(to_relation.identifier, 'identifier') %}\n {% call statement('rename_relation') -%}\n alter table {{ from_relation }} rename to {{ target_name }}\n {%- endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.129664, "supported_languages": null}, "macro.dbt.get_or_create_relation": {"name": "get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.get_or_create_relation", "macro_sql": "{% macro get_or_create_relation(database, schema, identifier, type) -%}\n {{ return(adapter.dispatch('get_or_create_relation', 'dbt')(database, schema, identifier, type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_or_create_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.130562, "supported_languages": null}, "macro.dbt.default__get_or_create_relation": {"name": "default__get_or_create_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.default__get_or_create_relation", "macro_sql": "{% macro default__get_or_create_relation(database, schema, identifier, type) %}\n {%- set target_relation = adapter.get_relation(database=database, schema=schema, identifier=identifier) %}\n\n {% if target_relation %}\n {% do return([true, target_relation]) %}\n {% endif %}\n\n {%- set new_relation = api.Relation.create(\n database=database,\n schema=schema,\n identifier=identifier,\n type=type\n ) -%}\n {% do return([false, new_relation]) %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1325, "supported_languages": null}, "macro.dbt.load_cached_relation": {"name": "load_cached_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_cached_relation", "macro_sql": "{% macro load_cached_relation(relation) %}\n {% do return(adapter.get_relation(\n database=relation.database,\n schema=relation.schema,\n identifier=relation.identifier\n )) -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1332748, "supported_languages": null}, "macro.dbt.load_relation": {"name": "load_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.load_relation", "macro_sql": "{% macro load_relation(relation) %}\n {{ return(load_cached_relation(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.load_cached_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1337678, "supported_languages": null}, "macro.dbt.drop_relation_if_exists": {"name": "drop_relation_if_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/relation.sql", "original_file_path": "macros/adapters/relation.sql", "unique_id": "macro.dbt.drop_relation_if_exists", "macro_sql": "{% macro drop_relation_if_exists(relation) %}\n {% if relation is not none %}\n {{ adapter.drop_relation(relation) }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1344168, "supported_languages": null}, "macro.dbt.collect_freshness": {"name": "collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.collect_freshness", "macro_sql": "{% macro collect_freshness(source, loaded_at_field, filter) %}\n {{ return(adapter.dispatch('collect_freshness', 'dbt')(source, loaded_at_field, filter))}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__collect_freshness"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1357062, "supported_languages": null}, "macro.dbt.default__collect_freshness": {"name": "default__collect_freshness", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/freshness.sql", "original_file_path": "macros/adapters/freshness.sql", "unique_id": "macro.dbt.default__collect_freshness", "macro_sql": "{% macro default__collect_freshness(source, loaded_at_field, filter) %}\n {% call statement('collect_freshness', fetch_result=True, auto_begin=False) -%}\n select\n max({{ loaded_at_field }}) as max_loaded_at,\n {{ current_timestamp() }} as snapshotted_at\n from {{ source }}\n {% if filter %}\n where {{ filter }}\n {% endif %}\n {% endcall %}\n {{ return(load_result('collect_freshness').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.137082, "supported_languages": null}, "macro.dbt.copy_grants": {"name": "copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.copy_grants", "macro_sql": "{% macro copy_grants() %}\n {{ return(adapter.dispatch('copy_grants', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.141582, "supported_languages": null}, "macro.dbt.default__copy_grants": {"name": "default__copy_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__copy_grants", "macro_sql": "{% macro default__copy_grants() %}\n {{ return(True) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.142004, "supported_languages": null}, "macro.dbt.support_multiple_grantees_per_dcl_statement": {"name": "support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.support_multiple_grantees_per_dcl_statement", "macro_sql": "{% macro support_multiple_grantees_per_dcl_statement() %}\n {{ return(adapter.dispatch('support_multiple_grantees_per_dcl_statement', 'dbt')()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1426501, "supported_languages": null}, "macro.dbt.default__support_multiple_grantees_per_dcl_statement": {"name": "default__support_multiple_grantees_per_dcl_statement", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__support_multiple_grantees_per_dcl_statement", "macro_sql": "\n\n{%- macro default__support_multiple_grantees_per_dcl_statement() -%}\n {{ return(True) }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.143281, "supported_languages": null}, "macro.dbt.should_revoke": {"name": "should_revoke", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.should_revoke", "macro_sql": "{% macro should_revoke(existing_relation, full_refresh_mode=True) %}\n\n {% if not existing_relation %}\n {#-- The table doesn't already exist, so no grants to copy over --#}\n {{ return(False) }}\n {% elif full_refresh_mode %}\n {#-- The object is being REPLACED -- whether grants are copied over depends on the value of user config --#}\n {{ return(copy_grants()) }}\n {% else %}\n {#-- The table is being merged/upserted/inserted -- grants will be carried over --#}\n {{ return(True) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.copy_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.144476, "supported_languages": null}, "macro.dbt.get_show_grant_sql": {"name": "get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_show_grant_sql", "macro_sql": "{% macro get_show_grant_sql(relation) %}\n {{ return(adapter.dispatch(\"get_show_grant_sql\", \"dbt\")(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_show_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.145194, "supported_languages": null}, "macro.dbt.default__get_show_grant_sql": {"name": "default__get_show_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_show_grant_sql", "macro_sql": "{% macro default__get_show_grant_sql(relation) %}\n show grants on {{ relation }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.145563, "supported_languages": null}, "macro.dbt.get_grant_sql": {"name": "get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_grant_sql", "macro_sql": "{% macro get_grant_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_grant_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_grant_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.146312, "supported_languages": null}, "macro.dbt.default__get_grant_sql": {"name": "default__get_grant_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_grant_sql", "macro_sql": "\n\n{%- macro default__get_grant_sql(relation, privilege, grantees) -%}\n grant {{ privilege }} on {{ relation }} to {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.146967, "supported_languages": null}, "macro.dbt.get_revoke_sql": {"name": "get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_revoke_sql", "macro_sql": "{% macro get_revoke_sql(relation, privilege, grantees) %}\n {{ return(adapter.dispatch('get_revoke_sql', 'dbt')(relation, privilege, grantees)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_revoke_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1477382, "supported_languages": null}, "macro.dbt.default__get_revoke_sql": {"name": "default__get_revoke_sql", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_revoke_sql", "macro_sql": "\n\n{%- macro default__get_revoke_sql(relation, privilege, grantees) -%}\n revoke {{ privilege }} on {{ relation }} from {{ grantees | join(', ') }}\n{%- endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.148385, "supported_languages": null}, "macro.dbt.get_dcl_statement_list": {"name": "get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.get_dcl_statement_list", "macro_sql": "{% macro get_dcl_statement_list(relation, grant_config, get_dcl_macro) %}\n {{ return(adapter.dispatch('get_dcl_statement_list', 'dbt')(relation, grant_config, get_dcl_macro)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_dcl_statement_list"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1491652, "supported_languages": null}, "macro.dbt.default__get_dcl_statement_list": {"name": "default__get_dcl_statement_list", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__get_dcl_statement_list", "macro_sql": "\n\n{%- macro default__get_dcl_statement_list(relation, grant_config, get_dcl_macro) -%}\n {#\n -- Unpack grant_config into specific privileges and the set of users who need them granted/revoked.\n -- Depending on whether this database supports multiple grantees per statement, pass in the list of\n -- all grantees per privilege, or (if not) template one statement per privilege-grantee pair.\n -- `get_dcl_macro` will be either `get_grant_sql` or `get_revoke_sql`\n #}\n {%- set dcl_statements = [] -%}\n {%- for privilege, grantees in grant_config.items() %}\n {%- if support_multiple_grantees_per_dcl_statement() and grantees -%}\n {%- set dcl = get_dcl_macro(relation, privilege, grantees) -%}\n {%- do dcl_statements.append(dcl) -%}\n {%- else -%}\n {%- for grantee in grantees -%}\n {% set dcl = get_dcl_macro(relation, privilege, [grantee]) %}\n {%- do dcl_statements.append(dcl) -%}\n {% endfor -%}\n {%- endif -%}\n {%- endfor -%}\n {{ return(dcl_statements) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.support_multiple_grantees_per_dcl_statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.151526, "supported_languages": null}, "macro.dbt.call_dcl_statements": {"name": "call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.call_dcl_statements", "macro_sql": "{% macro call_dcl_statements(dcl_statement_list) %}\n {{ return(adapter.dispatch(\"call_dcl_statements\", \"dbt\")(dcl_statement_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.152199, "supported_languages": null}, "macro.dbt.default__call_dcl_statements": {"name": "default__call_dcl_statements", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__call_dcl_statements", "macro_sql": "{% macro default__call_dcl_statements(dcl_statement_list) %}\n {#\n -- By default, supply all grant + revoke statements in a single semicolon-separated block,\n -- so that they're all processed together.\n\n -- Some databases do not support this. Those adapters will need to override this macro\n -- to run each statement individually.\n #}\n {% call statement('grants') %}\n {% for dcl_statement in dcl_statement_list %}\n {{ dcl_statement }};\n {% endfor %}\n {% endcall %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.153034, "supported_languages": null}, "macro.dbt.apply_grants": {"name": "apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.apply_grants", "macro_sql": "{% macro apply_grants(relation, grant_config, should_revoke) %}\n {{ return(adapter.dispatch(\"apply_grants\", \"dbt\")(relation, grant_config, should_revoke)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__apply_grants"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.153833, "supported_languages": null}, "macro.dbt.default__apply_grants": {"name": "default__apply_grants", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/apply_grants.sql", "original_file_path": "macros/adapters/apply_grants.sql", "unique_id": "macro.dbt.default__apply_grants", "macro_sql": "{% macro default__apply_grants(relation, grant_config, should_revoke=True) %}\n {#-- If grant_config is {} or None, this is a no-op --#}\n {% if grant_config %}\n {% if should_revoke %}\n {#-- We think previous grants may have carried over --#}\n {#-- Show current grants and calculate diffs --#}\n {% set current_grants_table = run_query(get_show_grant_sql(relation)) %}\n {% set current_grants_dict = adapter.standardize_grants_dict(current_grants_table) %}\n {% set needs_granting = diff_of_two_dicts(grant_config, current_grants_dict) %}\n {% set needs_revoking = diff_of_two_dicts(current_grants_dict, grant_config) %}\n {% if not (needs_granting or needs_revoking) %}\n {{ log('On ' ~ relation ~': All grants are in place, no revocation or granting needed.')}}\n {% endif %}\n {% else %}\n {#-- We don't think there's any chance of previous grants having carried over. --#}\n {#-- Jump straight to granting what the user has configured. --#}\n {% set needs_revoking = {} %}\n {% set needs_granting = grant_config %}\n {% endif %}\n {% if needs_granting or needs_revoking %}\n {% set revoke_statement_list = get_dcl_statement_list(relation, needs_revoking, get_revoke_sql) %}\n {% set grant_statement_list = get_dcl_statement_list(relation, needs_granting, get_grant_sql) %}\n {% set dcl_statement_list = revoke_statement_list + grant_statement_list %}\n {% if dcl_statement_list %}\n {{ call_dcl_statements(dcl_statement_list) }}\n {% endif %}\n {% endif %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.get_show_grant_sql", "macro.dbt.get_dcl_statement_list", "macro.dbt.call_dcl_statements"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.157551, "supported_languages": null}, "macro.dbt.alter_column_comment": {"name": "alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_column_comment", "macro_sql": "{% macro alter_column_comment(relation, column_dict) -%}\n {{ return(adapter.dispatch('alter_column_comment', 'dbt')(relation, column_dict)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1596391, "supported_languages": null}, "macro.dbt.default__alter_column_comment": {"name": "default__alter_column_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_column_comment", "macro_sql": "{% macro default__alter_column_comment(relation, column_dict) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_column_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.160248, "supported_languages": null}, "macro.dbt.alter_relation_comment": {"name": "alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.alter_relation_comment", "macro_sql": "{% macro alter_relation_comment(relation, relation_comment) -%}\n {{ return(adapter.dispatch('alter_relation_comment', 'dbt')(relation, relation_comment)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_relation_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1609359, "supported_languages": null}, "macro.dbt.default__alter_relation_comment": {"name": "default__alter_relation_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__alter_relation_comment", "macro_sql": "{% macro default__alter_relation_comment(relation, relation_comment) -%}\n {{ exceptions.raise_not_implemented(\n 'alter_relation_comment macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.161502, "supported_languages": null}, "macro.dbt.persist_docs": {"name": "persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.persist_docs", "macro_sql": "{% macro persist_docs(relation, model, for_relation=true, for_columns=true) -%}\n {{ return(adapter.dispatch('persist_docs', 'dbt')(relation, model, for_relation, for_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__persist_docs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1623769, "supported_languages": null}, "macro.dbt.default__persist_docs": {"name": "default__persist_docs", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/persist_docs.sql", "original_file_path": "macros/adapters/persist_docs.sql", "unique_id": "macro.dbt.default__persist_docs", "macro_sql": "{% macro default__persist_docs(relation, model, for_relation, for_columns) -%}\n {% if for_relation and config.persist_relation_docs() and model.description %}\n {% do run_query(alter_relation_comment(relation, model.description)) %}\n {% endif %}\n\n {% if for_columns and config.persist_column_docs() and model.columns %}\n {% do run_query(alter_column_comment(relation, model.columns)) %}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt.alter_relation_comment", "macro.dbt.alter_column_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.164211, "supported_languages": null}, "macro.dbt.get_catalog": {"name": "get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.get_catalog", "macro_sql": "{% macro get_catalog(information_schema, schemas) -%}\n {{ return(adapter.dispatch('get_catalog', 'dbt')(information_schema, schemas)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_catalog"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.168203, "supported_languages": null}, "macro.dbt.default__get_catalog": {"name": "default__get_catalog", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__get_catalog", "macro_sql": "{% macro default__get_catalog(information_schema, schemas) -%}\n\n {% set typename = adapter.type() %}\n {% set msg -%}\n get_catalog not implemented for {{ typename }}\n {%- endset %}\n\n {{ exceptions.raise_compiler_error(msg) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1690938, "supported_languages": null}, "macro.dbt.information_schema_name": {"name": "information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.information_schema_name", "macro_sql": "{% macro information_schema_name(database) %}\n {{ return(adapter.dispatch('information_schema_name', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__information_schema_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.169844, "supported_languages": null}, "macro.dbt.default__information_schema_name": {"name": "default__information_schema_name", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__information_schema_name", "macro_sql": "{% macro default__information_schema_name(database) -%}\n {%- if database -%}\n {{ database }}.INFORMATION_SCHEMA\n {%- else -%}\n INFORMATION_SCHEMA\n {%- endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.170441, "supported_languages": null}, "macro.dbt.list_schemas": {"name": "list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_schemas", "macro_sql": "{% macro list_schemas(database) -%}\n {{ return(adapter.dispatch('list_schemas', 'dbt')(database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__list_schemas"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.171072, "supported_languages": null}, "macro.dbt.default__list_schemas": {"name": "default__list_schemas", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_schemas", "macro_sql": "{% macro default__list_schemas(database) -%}\n {% set sql %}\n select distinct schema_name\n from {{ information_schema_name(database) }}.SCHEMATA\n where catalog_name ilike '{{ database }}'\n {% endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.information_schema_name", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1719072, "supported_languages": null}, "macro.dbt.check_schema_exists": {"name": "check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.check_schema_exists", "macro_sql": "{% macro check_schema_exists(information_schema, schema) -%}\n {{ return(adapter.dispatch('check_schema_exists', 'dbt')(information_schema, schema)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__check_schema_exists"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.172638, "supported_languages": null}, "macro.dbt.default__check_schema_exists": {"name": "default__check_schema_exists", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__check_schema_exists", "macro_sql": "{% macro default__check_schema_exists(information_schema, schema) -%}\n {% set sql -%}\n select count(*)\n from {{ information_schema.replace(information_schema_view='SCHEMATA') }}\n where catalog_name='{{ information_schema.database }}'\n and schema_name='{{ schema }}'\n {%- endset %}\n {{ return(run_query(sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.173791, "supported_languages": null}, "macro.dbt.list_relations_without_caching": {"name": "list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.list_relations_without_caching", "macro_sql": "{% macro list_relations_without_caching(schema_relation) %}\n {{ return(adapter.dispatch('list_relations_without_caching', 'dbt')(schema_relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__list_relations_without_caching"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.174459, "supported_languages": null}, "macro.dbt.default__list_relations_without_caching": {"name": "default__list_relations_without_caching", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/metadata.sql", "original_file_path": "macros/adapters/metadata.sql", "unique_id": "macro.dbt.default__list_relations_without_caching", "macro_sql": "{% macro default__list_relations_without_caching(schema_relation) %}\n {{ exceptions.raise_not_implemented(\n 'list_relations_without_caching macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.175026, "supported_languages": null}, "macro.dbt.get_columns_in_relation": {"name": "get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_relation", "macro_sql": "{% macro get_columns_in_relation(relation) -%}\n {{ return(adapter.dispatch('get_columns_in_relation', 'dbt')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__get_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.17946, "supported_languages": null}, "macro.dbt.default__get_columns_in_relation": {"name": "default__get_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_relation", "macro_sql": "{% macro default__get_columns_in_relation(relation) -%}\n {{ exceptions.raise_not_implemented(\n 'get_columns_in_relation macro not implemented for adapter '+adapter.type()) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.180088, "supported_languages": null}, "macro.dbt.sql_convert_columns_in_relation": {"name": "sql_convert_columns_in_relation", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.sql_convert_columns_in_relation", "macro_sql": "{% macro sql_convert_columns_in_relation(table) -%}\n {% set columns = [] %}\n {% for row in table %}\n {% do columns.append(api.Column(*row)) %}\n {% endfor %}\n {{ return(columns) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1811562, "supported_languages": null}, "macro.dbt.get_columns_in_query": {"name": "get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.get_columns_in_query", "macro_sql": "{% macro get_columns_in_query(select_sql) -%}\n {{ return(adapter.dispatch('get_columns_in_query', 'dbt')(select_sql)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__get_columns_in_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1817899, "supported_languages": null}, "macro.dbt.default__get_columns_in_query": {"name": "default__get_columns_in_query", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__get_columns_in_query", "macro_sql": "{% macro default__get_columns_in_query(select_sql) %}\n {% call statement('get_columns_in_query', fetch_result=True, auto_begin=False) -%}\n select * from (\n {{ select_sql }}\n ) as __dbt_sbq\n where false\n limit 0\n {% endcall %}\n\n {{ return(load_result('get_columns_in_query').table.columns | map(attribute='name') | list) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1829078, "supported_languages": null}, "macro.dbt.alter_column_type": {"name": "alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_column_type", "macro_sql": "{% macro alter_column_type(relation, column_name, new_column_type) -%}\n {{ return(adapter.dispatch('alter_column_type', 'dbt')(relation, column_name, new_column_type)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__alter_column_type"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1837199, "supported_languages": null}, "macro.dbt.default__alter_column_type": {"name": "default__alter_column_type", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_column_type", "macro_sql": "{% macro default__alter_column_type(relation, column_name, new_column_type) -%}\n {#\n 1. Create a new column (w/ temp name and correct type)\n 2. Copy data over to it\n 3. Drop the existing column (cascade!)\n 4. Rename the new column to existing column\n #}\n {%- set tmp_column = column_name + \"__dbt_alter\" -%}\n\n {% call statement('alter_column_type') %}\n alter table {{ relation }} add column {{ adapter.quote(tmp_column) }} {{ new_column_type }};\n update {{ relation }} set {{ adapter.quote(tmp_column) }} = {{ adapter.quote(column_name) }};\n alter table {{ relation }} drop column {{ adapter.quote(column_name) }} cascade;\n alter table {{ relation }} rename column {{ adapter.quote(tmp_column) }} to {{ adapter.quote(column_name) }}\n {% endcall %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.185995, "supported_languages": null}, "macro.dbt.alter_relation_add_remove_columns": {"name": "alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.alter_relation_add_remove_columns", "macro_sql": "{% macro alter_relation_add_remove_columns(relation, add_columns = none, remove_columns = none) -%}\n {{ return(adapter.dispatch('alter_relation_add_remove_columns', 'dbt')(relation, add_columns, remove_columns)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.default__alter_relation_add_remove_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.186888, "supported_languages": null}, "macro.dbt.default__alter_relation_add_remove_columns": {"name": "default__alter_relation_add_remove_columns", "resource_type": "macro", "package_name": "dbt", "path": "macros/adapters/columns.sql", "original_file_path": "macros/adapters/columns.sql", "unique_id": "macro.dbt.default__alter_relation_add_remove_columns", "macro_sql": "{% macro default__alter_relation_add_remove_columns(relation, add_columns, remove_columns) %}\n\n {% if add_columns is none %}\n {% set add_columns = [] %}\n {% endif %}\n {% if remove_columns is none %}\n {% set remove_columns = [] %}\n {% endif %}\n\n {% set sql -%}\n\n alter {{ relation.type }} {{ relation }}\n\n {% for column in add_columns %}\n add column {{ column.name }} {{ column.data_type }}{{ ',' if not loop.last }}\n {% endfor %}{{ ',' if add_columns and remove_columns }}\n\n {% for column in remove_columns %}\n drop column {{ column.name }}{{ ',' if not loop.last }}\n {% endfor %}\n\n {%- endset -%}\n\n {% do run_query(sql) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1894631, "supported_languages": null}, "macro.dbt.build_ref_function": {"name": "build_ref_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_ref_function", "macro_sql": "{% macro build_ref_function(model) %}\n\n {%- set ref_dict = {} -%}\n {%- for _ref in model.refs -%}\n {%- set resolved = ref(*_ref) -%}\n {%- do ref_dict.update({_ref | join(\".\"): resolved.quote(database=False, schema=False, identifier=False) | string}) -%}\n {%- endfor -%}\n\ndef ref(*args,dbt_load_df_function):\n refs = {{ ref_dict | tojson }}\n key = \".\".join(args)\n return dbt_load_df_function(refs[key])\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.1938958, "supported_languages": null}, "macro.dbt.build_source_function": {"name": "build_source_function", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_source_function", "macro_sql": "{% macro build_source_function(model) %}\n\n {%- set source_dict = {} -%}\n {%- for _source in model.sources -%}\n {%- set resolved = source(*_source) -%}\n {%- do source_dict.update({_source | join(\".\"): resolved.quote(database=False, schema=False, identifier=False) | string}) -%}\n {%- endfor -%}\n\ndef source(*args, dbt_load_df_function):\n sources = {{ source_dict | tojson }}\n key = \".\".join(args)\n return dbt_load_df_function(sources[key])\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.195495, "supported_languages": null}, "macro.dbt.build_config_dict": {"name": "build_config_dict", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.build_config_dict", "macro_sql": "{% macro build_config_dict(model) %}\n {%- set config_dict = {} -%}\n {% set config_dbt_used = zip(model.config.config_keys_used, model.config.config_keys_defaults) | list %}\n {%- for key, default in config_dbt_used -%}\n {# weird type testing with enum, would be much easier to write this logic in Python! #}\n {%- if key == 'language' -%}\n {%- set value = 'python' -%}\n {%- endif -%}\n {%- set value = model.config.get(key, default) -%}\n {%- do config_dict.update({key: value}) -%}\n {%- endfor -%}\nconfig_dict = {{ config_dict }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.197441, "supported_languages": null}, "macro.dbt.py_script_postfix": {"name": "py_script_postfix", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_postfix", "macro_sql": "{% macro py_script_postfix(model) %}\n# This part is user provided model code\n# you will need to copy the next section to run the code\n# COMMAND ----------\n# this part is dbt logic for get ref work, do not modify\n\n{{ build_ref_function(model ) }}\n{{ build_source_function(model ) }}\n{{ build_config_dict(model) }}\n\nclass config:\n def __init__(self, *args, **kwargs):\n pass\n\n @staticmethod\n def get(key, default=None):\n return config_dict.get(key, default)\n\nclass this:\n \"\"\"dbt.this() or dbt.this.identifier\"\"\"\n database = '{{ this.database }}'\n schema = '{{ this.schema }}'\n identifier = '{{ this.identifier }}'\n def __repr__(self):\n return '{{ this }}'\n\n\nclass dbtObj:\n def __init__(self, load_df_function) -> None:\n self.source = lambda *args: source(*args, dbt_load_df_function=load_df_function)\n self.ref = lambda *args: ref(*args, dbt_load_df_function=load_df_function)\n self.config = config\n self.this = this()\n self.is_incremental = {{ is_incremental() }}\n\n# COMMAND ----------\n{{py_script_comment()}}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.build_ref_function", "macro.dbt.build_source_function", "macro.dbt.build_config_dict", "macro.dbt.is_incremental", "macro.dbt.py_script_comment"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.198753, "supported_languages": null}, "macro.dbt.py_script_comment": {"name": "py_script_comment", "resource_type": "macro", "package_name": "dbt", "path": "macros/python_model/python.sql", "original_file_path": "macros/python_model/python.sql", "unique_id": "macro.dbt.py_script_comment", "macro_sql": "{%macro py_script_comment()%}\n{%endmacro%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.199022, "supported_languages": null}, "macro.dbt.test_unique": {"name": "test_unique", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_unique", "macro_sql": "{% test unique(model, column_name) %}\n {% set macro = adapter.dispatch('test_unique', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_bigquery.bigquery__test_unique"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.200511, "supported_languages": null}, "macro.dbt.test_not_null": {"name": "test_not_null", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_not_null", "macro_sql": "{% test not_null(model, column_name) %}\n {% set macro = adapter.dispatch('test_not_null', 'dbt') %}\n {{ macro(model, column_name) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2012842, "supported_languages": null}, "macro.dbt.test_accepted_values": {"name": "test_accepted_values", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_accepted_values", "macro_sql": "{% test accepted_values(model, column_name, values, quote=True) %}\n {% set macro = adapter.dispatch('test_accepted_values', 'dbt') %}\n {{ macro(model, column_name, values, quote) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.202237, "supported_languages": null}, "macro.dbt.test_relationships": {"name": "test_relationships", "resource_type": "macro", "package_name": "dbt", "path": "tests/generic/builtin.sql", "original_file_path": "tests/generic/builtin.sql", "unique_id": "macro.dbt.test_relationships", "macro_sql": "{% test relationships(model, column_name, to, field) %}\n {% set macro = adapter.dispatch('test_relationships', 'dbt') %}\n {{ macro(model, column_name, to, field) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.default__test_relationships"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.203158, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"start_date\", \"datatype\": \"date\"},\n {\"name\": \"end_date\", \"datatype\": \"date\"},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.206051, "supported_languages": null}, "macro.microsoft_ads_source.get_campaign_daily_report_columns": {"name": "get_campaign_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_campaign_daily_report_columns.sql", "original_file_path": "macros/get_campaign_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_campaign_daily_report_columns", "macro_sql": "{% macro get_campaign_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget_association_status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2115562, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_group_daily_report_columns": {"name": "get_ad_group_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_group_daily_report_columns.sql", "original_file_path": "macros/get_ad_group_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_group_daily_report_columns", "macro_sql": "{% macro get_ad_group_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.217438, "supported_languages": null}, "macro.microsoft_ads_source.get_account_daily_report_columns": {"name": "get_account_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_account_daily_report_columns.sql", "original_file_path": "macros/get_account_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_account_daily_report_columns", "macro_sql": "{% macro get_account_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__account_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.222466, "supported_languages": null}, "macro.microsoft_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.225694, "supported_languages": null}, "macro.microsoft_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.227962, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"title_part_1\", \"datatype\": dbt.type_string()},\n {\"name\": \"final_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2309928, "supported_languages": null}, "macro.microsoft_ads_source.get_ad_daily_report_columns": {"name": "get_ad_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_ad_daily_report_columns.sql", "original_file_path": "macros/get_ad_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_ad_daily_report_columns", "macro_sql": "{% macro get_ad_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.236964, "supported_languages": null}, "macro.microsoft_ads_source.get_keyword_daily_report_columns": {"name": "get_keyword_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_keyword_daily_report_columns.sql", "original_file_path": "macros/get_keyword_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_keyword_daily_report_columns", "macro_sql": "{% macro get_keyword_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_distribution\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2432299, "supported_languages": null}, "macro.microsoft_ads_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.microsoft_ads_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.245685, "supported_languages": null}, "macro.microsoft_ads_source.get_search_daily_report_columns": {"name": "get_search_daily_report_columns", "resource_type": "macro", "package_name": "microsoft_ads_source", "path": "macros/get_search_daily_report_columns.sql", "original_file_path": "macros/get_search_daily_report_columns.sql", "unique_id": "macro.microsoft_ads_source.get_search_daily_report_columns", "macro_sql": "{% macro get_search_daily_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"delivered_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_os\", \"datatype\": dbt.type_string()},\n {\"name\": \"device_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"network\", \"datatype\": dbt.type_string()},\n {\"name\": \"search_query\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"top_vs_other\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('microsoft_ads__search_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.251724, "supported_languages": null}, "macro.dbt_utils.get_url_host": {"name": "get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.get_url_host", "macro_sql": "{% macro get_url_host(field) -%}\n {{ return(adapter.dispatch('get_url_host', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_host"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2528799, "supported_languages": null}, "macro.dbt_utils.default__get_url_host": {"name": "default__get_url_host", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_host.sql", "original_file_path": "macros/web/get_url_host.sql", "unique_id": "macro.dbt_utils.default__get_url_host", "macro_sql": "{% macro default__get_url_host(field) -%}\n\n{%- set parsed =\n dbt.split_part(\n dbt.split_part(\n dbt.replace(\n dbt.replace(\n dbt.replace(field, \"'android-app://'\", \"''\"\n ), \"'http://'\", \"''\"\n ), \"'https://'\", \"''\"\n ), \"'/'\", 1\n ), \"'?'\", 1\n )\n\n-%}\n\n\n {{ dbt.safe_cast(\n parsed,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part", "macro.dbt.replace", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.254451, "supported_languages": null}, "macro.dbt_utils.get_url_path": {"name": "get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.get_url_path", "macro_sql": "{% macro get_url_path(field) -%}\n {{ return(adapter.dispatch('get_url_path', 'dbt_utils')(field)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_path"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.255894, "supported_languages": null}, "macro.dbt_utils.default__get_url_path": {"name": "default__get_url_path", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_path.sql", "original_file_path": "macros/web/get_url_path.sql", "unique_id": "macro.dbt_utils.default__get_url_path", "macro_sql": "{% macro default__get_url_path(field) -%}\n\n {%- set stripped_url =\n dbt.replace(\n dbt.replace(field, \"'http://'\", \"''\"), \"'https://'\", \"''\")\n -%}\n\n {%- set first_slash_pos -%}\n coalesce(\n nullif({{ dbt.position(\"'/'\", stripped_url) }}, 0),\n {{ dbt.position(\"'?'\", stripped_url) }} - 1\n )\n {%- endset -%}\n\n {%- set parsed_path =\n dbt.split_part(\n dbt.right(\n stripped_url,\n dbt.length(stripped_url) ~ \"-\" ~ first_slash_pos\n ),\n \"'?'\", 1\n )\n -%}\n\n {{ dbt.safe_cast(\n parsed_path,\n dbt.type_string()\n )}}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.replace", "macro.dbt.position", "macro.dbt.split_part", "macro.dbt.right", "macro.dbt.length", "macro.dbt.safe_cast", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.258234, "supported_languages": null}, "macro.dbt_utils.get_url_parameter": {"name": "get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.get_url_parameter", "macro_sql": "{% macro get_url_parameter(field, url_parameter) -%}\n {{ return(adapter.dispatch('get_url_parameter', 'dbt_utils')(field, url_parameter)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_url_parameter"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.259271, "supported_languages": null}, "macro.dbt_utils.default__get_url_parameter": {"name": "default__get_url_parameter", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/web/get_url_parameter.sql", "original_file_path": "macros/web/get_url_parameter.sql", "unique_id": "macro.dbt_utils.default__get_url_parameter", "macro_sql": "{% macro default__get_url_parameter(field, url_parameter) -%}\n\n{%- set formatted_url_parameter = \"'\" + url_parameter + \"='\" -%}\n\n{%- set split = dbt.split_part(dbt.split_part(field, formatted_url_parameter, 2), \"'&'\", 1) -%}\n\nnullif({{ split }},'')\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.split_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.26036, "supported_languages": null}, "macro.dbt_utils.test_fewer_rows_than": {"name": "test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.test_fewer_rows_than", "macro_sql": "{% test fewer_rows_than(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_fewer_rows_than', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_fewer_rows_than"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2631629, "supported_languages": null}, "macro.dbt_utils.default__test_fewer_rows_than": {"name": "default__test_fewer_rows_than", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/fewer_rows_than.sql", "original_file_path": "macros/generic_tests/fewer_rows_than.sql", "unique_id": "macro.dbt_utils.default__test_fewer_rows_than", "macro_sql": "{% macro default__test_fewer_rows_than(model, compare_model, group_by_columns) %}\n\n{{ config(fail_calc = 'sum(coalesce(row_count_delta, 0))') }}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in equal_rowcount. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_fewer_rows_than'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_our_model \n from {{ model }}\n {{ groupby_gb_cols }}\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_fewer_rows_than,\n count(*) as count_comparison_model \n from {{ compare_model }}\n {{ groupby_gb_cols }}\n\n),\ncounts as (\n\n select\n\n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_our_model,\n count_comparison_model\n from a\n full join b on \n a.id_dbtutils_test_fewer_rows_than = b.id_dbtutils_test_fewer_rows_than\n {{ join_gb_cols }}\n\n),\nfinal as (\n\n select *,\n case\n -- fail the test if we have more rows than the reference model and return the row count delta\n when count_our_model > count_comparison_model then (count_our_model - count_comparison_model)\n -- fail the test if they are the same number\n when count_our_model = count_comparison_model then 1\n -- pass the test if the delta is positive (i.e. return the number 0)\n else 0\n end as row_count_delta\n from counts\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.267366, "supported_languages": null}, "macro.dbt_utils.test_equal_rowcount": {"name": "test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.test_equal_rowcount", "macro_sql": "{% test equal_rowcount(model, compare_model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_equal_rowcount', 'dbt_utils')(model, compare_model, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equal_rowcount"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.270014, "supported_languages": null}, "macro.dbt_utils.default__test_equal_rowcount": {"name": "default__test_equal_rowcount", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equal_rowcount.sql", "original_file_path": "macros/generic_tests/equal_rowcount.sql", "unique_id": "macro.dbt_utils.default__test_equal_rowcount", "macro_sql": "{% macro default__test_equal_rowcount(model, compare_model, group_by_columns) %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = 'sum(coalesce(diff_count, 0))') }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(', ') + ', ' %}\n {% set join_gb_cols %}\n {% for c in group_by_columns %}\n and a.{{c}} = b.{{c}}\n {% endfor %}\n {% endset %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n{#-- We must add a fake join key in case additional grouping variables are not provided --#}\n{#-- Redshift does not allow for dynamically created join conditions (e.g. full join on 1 = 1 --#}\n{#-- The same logic is used in fewer_rows_than. In case of changes, maintain consistent logic --#}\n{% set group_by_columns = ['id_dbtutils_test_equal_rowcount'] + group_by_columns %}\n{% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n\nwith a as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_a \n from {{ model }}\n {{groupby_gb_cols}}\n\n\n),\nb as (\n\n select \n {{select_gb_cols}}\n 1 as id_dbtutils_test_equal_rowcount,\n count(*) as count_b \n from {{ compare_model }}\n {{groupby_gb_cols}}\n\n),\nfinal as (\n\n select\n \n {% for c in group_by_columns -%}\n a.{{c}} as {{c}}_a,\n b.{{c}} as {{c}}_b,\n {% endfor %}\n\n count_a,\n count_b,\n abs(count_a - count_b) as diff_count\n\n from a\n full join b\n on\n a.id_dbtutils_test_equal_rowcount = b.id_dbtutils_test_equal_rowcount\n {{join_gb_cols}}\n\n\n)\n\nselect * from final\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.273797, "supported_languages": null}, "macro.dbt_utils.test_relationships_where": {"name": "test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.test_relationships_where", "macro_sql": "{% test relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n {{ return(adapter.dispatch('test_relationships_where', 'dbt_utils')(model, column_name, to, field, from_condition, to_condition)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_relationships_where"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.275758, "supported_languages": null}, "macro.dbt_utils.default__test_relationships_where": {"name": "default__test_relationships_where", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/relationships_where.sql", "original_file_path": "macros/generic_tests/relationships_where.sql", "unique_id": "macro.dbt_utils.default__test_relationships_where", "macro_sql": "{% macro default__test_relationships_where(model, column_name, to, field, from_condition=\"1=1\", to_condition=\"1=1\") %}\n\n{# T-SQL has no boolean data type so we use 1=1 which returns TRUE #}\n{# ref https://stackoverflow.com/a/7170753/3842610 #}\n\nwith left_table as (\n\n select\n {{column_name}} as id\n\n from {{model}}\n\n where {{column_name}} is not null\n and {{from_condition}}\n\n),\n\nright_table as (\n\n select\n {{field}} as id\n\n from {{to}}\n\n where {{field}} is not null\n and {{to_condition}}\n\n),\n\nexceptions as (\n\n select\n left_table.id,\n right_table.id as right_id\n\n from left_table\n\n left join right_table\n on left_table.id = right_table.id\n\n where right_table.id is null\n\n)\n\nselect * from exceptions\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2769039, "supported_languages": null}, "macro.dbt_utils.test_recency": {"name": "test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.test_recency", "macro_sql": "{% test recency(model, field, datepart, interval, ignore_time_component=False, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_recency', 'dbt_utils')(model, field, datepart, interval, ignore_time_component, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_recency"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.279371, "supported_languages": null}, "macro.dbt_utils.default__test_recency": {"name": "default__test_recency", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/recency.sql", "original_file_path": "macros/generic_tests/recency.sql", "unique_id": "macro.dbt_utils.default__test_recency", "macro_sql": "{% macro default__test_recency(model, field, datepart, interval, ignore_time_component, group_by_columns) %}\n\n{% set threshold = 'cast(' ~ dbt.dateadd(datepart, interval * -1, dbt.current_timestamp()) ~ ' as ' ~ ('date' if ignore_time_component else dbt.type_timestamp()) ~ ')' %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nwith recency as (\n\n select \n\n {{ select_gb_cols }}\n {% if ignore_time_component %}\n cast(max({{ field }}) as date) as most_recent\n {%- else %}\n max({{ field }}) as most_recent\n {%- endif %}\n\n from {{ model }}\n\n {{ groupby_gb_cols }}\n\n)\n\nselect\n\n {{ select_gb_cols }}\n most_recent,\n {{ threshold }} as threshold\n\nfrom recency\nwhere most_recent < {{ threshold }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.current_timestamp", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.282235, "supported_languages": null}, "macro.dbt_utils.test_not_constant": {"name": "test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.test_not_constant", "macro_sql": "{% test not_constant(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_constant', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_constant"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.283712, "supported_languages": null}, "macro.dbt_utils.default__test_not_constant": {"name": "default__test_not_constant", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_constant.sql", "original_file_path": "macros/generic_tests/not_constant.sql", "unique_id": "macro.dbt_utils.default__test_not_constant", "macro_sql": "{% macro default__test_not_constant(model, column_name, group_by_columns) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\n\nselect\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count(distinct {{ column_name }}) as filler_column\n\nfrom {{ model }}\n\n {{groupby_gb_cols}}\n\nhaving count(distinct {{ column_name }}) = 1\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2854452, "supported_languages": null}, "macro.dbt_utils.test_accepted_range": {"name": "test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.test_accepted_range", "macro_sql": "{% test accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n {{ return(adapter.dispatch('test_accepted_range', 'dbt_utils')(model, column_name, min_value, max_value, inclusive)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_accepted_range"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2873302, "supported_languages": null}, "macro.dbt_utils.default__test_accepted_range": {"name": "default__test_accepted_range", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/accepted_range.sql", "original_file_path": "macros/generic_tests/accepted_range.sql", "unique_id": "macro.dbt_utils.default__test_accepted_range", "macro_sql": "{% macro default__test_accepted_range(model, column_name, min_value=none, max_value=none, inclusive=true) %}\n\nwith meet_condition as(\n select *\n from {{ model }}\n),\n\nvalidation_errors as (\n select *\n from meet_condition\n where\n -- never true, defaults to an empty result set. Exists to ensure any combo of the `or` clauses below succeeds\n 1 = 2\n\n {%- if min_value is not none %}\n -- records with a value >= min_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} > {{- \"=\" if inclusive }} {{ min_value }}\n {%- endif %}\n\n {%- if max_value is not none %}\n -- records with a value <= max_value are permitted. The `not` flips this to find records that don't meet the rule.\n or not {{ column_name }} < {{- \"=\" if inclusive }} {{ max_value }}\n {%- endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.289404, "supported_languages": null}, "macro.dbt_utils.test_not_accepted_values": {"name": "test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.test_not_accepted_values", "macro_sql": "{% test not_accepted_values(model, column_name, values, quote=True) %}\n {{ return(adapter.dispatch('test_not_accepted_values', 'dbt_utils')(model, column_name, values, quote)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_accepted_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.291726, "supported_languages": null}, "macro.dbt_utils.default__test_not_accepted_values": {"name": "default__test_not_accepted_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_accepted_values.sql", "original_file_path": "macros/generic_tests/not_accepted_values.sql", "unique_id": "macro.dbt_utils.default__test_not_accepted_values", "macro_sql": "{% macro default__test_not_accepted_values(model, column_name, values, quote=True) %}\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n\n),\n\nvalidation_errors as (\n\n select\n value_field\n\n from all_values\n where value_field in (\n {% for value in values -%}\n {% if quote -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {%- endfor %}\n )\n\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2933152, "supported_languages": null}, "macro.dbt_utils.test_at_least_one": {"name": "test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.test_at_least_one", "macro_sql": "{% test at_least_one(model, column_name, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_at_least_one', 'dbt_utils')(model, column_name, group_by_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_at_least_one"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.2949, "supported_languages": null}, "macro.dbt_utils.default__test_at_least_one": {"name": "default__test_at_least_one", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/at_least_one.sql", "original_file_path": "macros/generic_tests/at_least_one.sql", "unique_id": "macro.dbt_utils.default__test_at_least_one", "macro_sql": "{% macro default__test_at_least_one(model, column_name, group_by_columns) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\nselect *\nfrom (\n select\n {# In TSQL, subquery aggregate columns need aliases #}\n {# thus: a filler col name, 'filler_column' #}\n {{select_gb_cols}}\n count({{ column_name }}) as filler_column\n\n from {{ model }}\n\n {{groupby_gb_cols}}\n\n having count({{ column_name }}) = 0\n\n) validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.296778, "supported_languages": null}, "macro.dbt_utils.test_unique_combination_of_columns": {"name": "test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.test_unique_combination_of_columns", "macro_sql": "{% test unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n {{ return(adapter.dispatch('test_unique_combination_of_columns', 'dbt_utils')(model, combination_of_columns, quote_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_unique_combination_of_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.298712, "supported_languages": null}, "macro.dbt_utils.default__test_unique_combination_of_columns": {"name": "default__test_unique_combination_of_columns", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/unique_combination_of_columns.sql", "original_file_path": "macros/generic_tests/unique_combination_of_columns.sql", "unique_id": "macro.dbt_utils.default__test_unique_combination_of_columns", "macro_sql": "{% macro default__test_unique_combination_of_columns(model, combination_of_columns, quote_columns=false) %}\n\n{% if not quote_columns %}\n {%- set column_list=combination_of_columns %}\n{% elif quote_columns %}\n {%- set column_list=[] %}\n {% for column in combination_of_columns -%}\n {% set column_list = column_list.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for unique_combination_of_columns test must be one of [True, False] Got: '\" ~ quote ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set columns_csv=column_list | join(', ') %}\n\n\nwith validation_errors as (\n\n select\n {{ columns_csv }}\n from {{ model }}\n group by {{ columns_csv }}\n having count(*) > 1\n\n)\n\nselect *\nfrom validation_errors\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3020558, "supported_languages": null}, "macro.dbt_utils.test_cardinality_equality": {"name": "test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.test_cardinality_equality", "macro_sql": "{% test cardinality_equality(model, column_name, to, field) %}\n {{ return(adapter.dispatch('test_cardinality_equality', 'dbt_utils')(model, column_name, to, field)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_cardinality_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.304899, "supported_languages": null}, "macro.dbt_utils.default__test_cardinality_equality": {"name": "default__test_cardinality_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/cardinality_equality.sql", "original_file_path": "macros/generic_tests/cardinality_equality.sql", "unique_id": "macro.dbt_utils.default__test_cardinality_equality", "macro_sql": "{% macro default__test_cardinality_equality(model, column_name, to, field) %}\n\n{# T-SQL does not let you use numbers as aliases for columns #}\n{# Thus, no \"GROUP BY 1\" #}\n\nwith table_a as (\nselect\n {{ column_name }},\n count(*) as num_rows\nfrom {{ model }}\ngroup by {{ column_name }}\n),\n\ntable_b as (\nselect\n {{ field }},\n count(*) as num_rows\nfrom {{ to }}\ngroup by {{ field }}\n),\n\nexcept_a as (\n select *\n from table_a\n {{ dbt.except() }}\n select *\n from table_b\n),\n\nexcept_b as (\n select *\n from table_b\n {{ dbt.except() }}\n select *\n from table_a\n),\n\nunioned as (\n select *\n from except_a\n union all\n select *\n from except_b\n)\n\nselect *\nfrom unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.306654, "supported_languages": null}, "macro.dbt_utils.test_expression_is_true": {"name": "test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.test_expression_is_true", "macro_sql": "{% test expression_is_true(model, expression, column_name=None) %}\n {{ return(adapter.dispatch('test_expression_is_true', 'dbt_utils')(model, expression, column_name)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3079948, "supported_languages": null}, "macro.dbt_utils.default__test_expression_is_true": {"name": "default__test_expression_is_true", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/expression_is_true.sql", "original_file_path": "macros/generic_tests/expression_is_true.sql", "unique_id": "macro.dbt_utils.default__test_expression_is_true", "macro_sql": "{% macro default__test_expression_is_true(model, expression, column_name) %}\n\n{% set column_list = '*' if should_store_failures() else \"1\" %}\n\nselect\n {{ column_list }}\nfrom {{ model }}\n{% if column_name is none %}\nwhere not({{ expression }})\n{%- else %}\nwhere not({{ column_name }} {{ expression }})\n{%- endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.should_store_failures"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.309438, "supported_languages": null}, "macro.dbt_utils.test_not_null_proportion": {"name": "test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.test_not_null_proportion", "macro_sql": "{% macro test_not_null_proportion(model, group_by_columns = []) %}\n {{ return(adapter.dispatch('test_not_null_proportion', 'dbt_utils')(model, group_by_columns, **kwargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_null_proportion"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.311415, "supported_languages": null}, "macro.dbt_utils.default__test_not_null_proportion": {"name": "default__test_not_null_proportion", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_null_proportion.sql", "original_file_path": "macros/generic_tests/not_null_proportion.sql", "unique_id": "macro.dbt_utils.default__test_not_null_proportion", "macro_sql": "{% macro default__test_not_null_proportion(model, group_by_columns) %}\n\n{% set column_name = kwargs.get('column_name', kwargs.get('arg')) %}\n{% set at_least = kwargs.get('at_least', kwargs.get('arg')) %}\n{% set at_most = kwargs.get('at_most', kwargs.get('arg', 1)) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(' ,') + ', ' %}\n {% set groupby_gb_cols = 'group by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith validation as (\n select\n {{select_gb_cols}}\n sum(case when {{ column_name }} is null then 0 else 1 end) / cast(count(*) as numeric) as not_null_proportion\n from {{ model }}\n {{groupby_gb_cols}}\n),\nvalidation_errors as (\n select\n {{select_gb_cols}}\n not_null_proportion\n from validation\n where not_null_proportion < {{ at_least }} or not_null_proportion > {{ at_most }}\n)\nselect\n *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.314303, "supported_languages": null}, "macro.dbt_utils.test_sequential_values": {"name": "test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.test_sequential_values", "macro_sql": "{% test sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n {{ return(adapter.dispatch('test_sequential_values', 'dbt_utils')(model, column_name, interval, datepart, group_by_columns)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_sequential_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.316745, "supported_languages": null}, "macro.dbt_utils.default__test_sequential_values": {"name": "default__test_sequential_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/sequential_values.sql", "original_file_path": "macros/generic_tests/sequential_values.sql", "unique_id": "macro.dbt_utils.default__test_sequential_values", "macro_sql": "{% macro default__test_sequential_values(model, column_name, interval=1, datepart=None, group_by_columns = []) %}\n\n{% set previous_column_name = \"previous_\" ~ dbt_utils.slugify(column_name) %}\n\n{% if group_by_columns|length() > 0 %}\n {% set select_gb_cols = group_by_columns|join(',') + ', ' %}\n {% set partition_gb_cols = 'partition by ' + group_by_columns|join(',') %}\n{% endif %}\n\nwith windowed as (\n\n select\n {{ select_gb_cols }}\n {{ column_name }},\n lag({{ column_name }}) over (\n {{partition_gb_cols}}\n order by {{ column_name }}\n ) as {{ previous_column_name }}\n from {{ model }}\n),\n\nvalidation_errors as (\n select\n *\n from windowed\n {% if datepart %}\n where not(cast({{ column_name }} as {{ dbt.type_timestamp() }})= cast({{ dbt.dateadd(datepart, interval, previous_column_name) }} as {{ dbt.type_timestamp() }}))\n {% else %}\n where not({{ column_name }} = {{ previous_column_name }} + {{ interval }})\n {% endif %}\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.slugify", "macro.dbt.type_timestamp", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.320031, "supported_languages": null}, "macro.dbt_utils.test_equality": {"name": "test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.test_equality", "macro_sql": "{% test equality(model, compare_model, compare_columns=None) %}\n {{ return(adapter.dispatch('test_equality', 'dbt_utils')(model, compare_model, compare_columns)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_equality"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.323155, "supported_languages": null}, "macro.dbt_utils.default__test_equality": {"name": "default__test_equality", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/equality.sql", "original_file_path": "macros/generic_tests/equality.sql", "unique_id": "macro.dbt_utils.default__test_equality", "macro_sql": "{% macro default__test_equality(model, compare_model, compare_columns=None) %}\n\n{% set set_diff %}\n count(*) + coalesce(abs(\n sum(case when which_diff = 'a_minus_b' then 1 else 0 end) -\n sum(case when which_diff = 'b_minus_a' then 1 else 0 end)\n ), 0)\n{% endset %}\n\n{#-- Needs to be set at parse time, before we return '' below --#}\n{{ config(fail_calc = set_diff) }}\n\n{#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n{%- if not execute -%}\n {{ return('') }}\n{% endif %}\n\n-- setup\n{%- do dbt_utils._is_relation(model, 'test_equality') -%}\n\n{#-\nIf the compare_cols arg is provided, we can run this test without querying the\ninformation schema\u00a0\u2014 this allows the model to be an ephemeral model\n-#}\n\n{%- if not compare_columns -%}\n {%- do dbt_utils._is_ephemeral(model, 'test_equality') -%}\n {%- set compare_columns = adapter.get_columns_in_relation(model) | map(attribute='quoted') -%}\n{%- endif -%}\n\n{% set compare_cols_csv = compare_columns | join(', ') %}\n\nwith a as (\n\n select * from {{ model }}\n\n),\n\nb as (\n\n select * from {{ compare_model }}\n\n),\n\na_minus_b as (\n\n select {{compare_cols_csv}} from a\n {{ dbt.except() }}\n select {{compare_cols_csv}} from b\n\n),\n\nb_minus_a as (\n\n select {{compare_cols_csv}} from b\n {{ dbt.except() }}\n select {{compare_cols_csv}} from a\n\n),\n\nunioned as (\n\n select 'a_minus_b' as which_diff, a_minus_b.* from a_minus_b\n union all\n select 'b_minus_a' as which_diff, b_minus_a.* from b_minus_a\n\n)\n\nselect * from unioned\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.except"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.327233, "supported_languages": null}, "macro.dbt_utils.test_not_empty_string": {"name": "test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.test_not_empty_string", "macro_sql": "{% test not_empty_string(model, column_name, trim_whitespace=true) %}\n\n {{ return(adapter.dispatch('test_not_empty_string', 'dbt_utils')(model, column_name, trim_whitespace)) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_not_empty_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.329498, "supported_languages": null}, "macro.dbt_utils.default__test_not_empty_string": {"name": "default__test_not_empty_string", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/not_empty_string.sql", "original_file_path": "macros/generic_tests/not_empty_string.sql", "unique_id": "macro.dbt_utils.default__test_not_empty_string", "macro_sql": "{% macro default__test_not_empty_string(model, column_name, trim_whitespace=true) %}\n\n with\n \n all_values as (\n\n select \n\n\n {% if trim_whitespace == true -%}\n\n trim({{ column_name }}) as {{ column_name }}\n\n {%- else -%}\n\n {{ column_name }}\n\n {%- endif %}\n \n from {{ model }}\n\n ),\n\n errors as (\n\n select * from all_values\n where {{ column_name }} = ''\n\n )\n\n select * from errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3307378, "supported_languages": null}, "macro.dbt_utils.test_mutually_exclusive_ranges": {"name": "test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.test_mutually_exclusive_ranges", "macro_sql": "{% test mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n {{ return(adapter.dispatch('test_mutually_exclusive_ranges', 'dbt_utils')(model, lower_bound_column, upper_bound_column, partition_by, gaps, zero_length_range_allowed)) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_utils.default__test_mutually_exclusive_ranges"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.339864, "supported_languages": null}, "macro.dbt_utils.default__test_mutually_exclusive_ranges": {"name": "default__test_mutually_exclusive_ranges", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/generic_tests/mutually_exclusive_ranges.sql", "original_file_path": "macros/generic_tests/mutually_exclusive_ranges.sql", "unique_id": "macro.dbt_utils.default__test_mutually_exclusive_ranges", "macro_sql": "{% macro default__test_mutually_exclusive_ranges(model, lower_bound_column, upper_bound_column, partition_by=None, gaps='allowed', zero_length_range_allowed=False) %}\n{% if gaps == 'not_allowed' %}\n {% set allow_gaps_operator='=' %}\n {% set allow_gaps_operator_in_words='equal_to' %}\n{% elif gaps == 'allowed' %}\n {% set allow_gaps_operator='<=' %}\n {% set allow_gaps_operator_in_words='less_than_or_equal_to' %}\n{% elif gaps == 'required' %}\n {% set allow_gaps_operator='<' %}\n {% set allow_gaps_operator_in_words='less_than' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`gaps` argument for mutually_exclusive_ranges test must be one of ['not_allowed', 'allowed', 'required'] Got: '\" ~ gaps ~\"'.'\"\n ) }}\n{% endif %}\n{% if not zero_length_range_allowed %}\n {% set allow_zero_length_operator='<' %}\n {% set allow_zero_length_operator_in_words='less_than' %}\n{% elif zero_length_range_allowed %}\n {% set allow_zero_length_operator='<=' %}\n {% set allow_zero_length_operator_in_words='less_than_or_equal_to' %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`zero_length_range_allowed` argument for mutually_exclusive_ranges test must be one of [true, false] Got: '\" ~ zero_length_range_allowed ~\"'.'\"\n ) }}\n{% endif %}\n\n{% set partition_clause=\"partition by \" ~ partition_by if partition_by else '' %}\n\nwith window_functions as (\n\n select\n {% if partition_by %}\n {{ partition_by }} as partition_by_col,\n {% endif %}\n {{ lower_bound_column }} as lower_bound,\n {{ upper_bound_column }} as upper_bound,\n\n lead({{ lower_bound_column }}) over (\n {{ partition_clause }}\n order by {{ lower_bound_column }}, {{ upper_bound_column }}\n ) as next_lower_bound,\n\n row_number() over (\n {{ partition_clause }}\n order by {{ lower_bound_column }} desc, {{ upper_bound_column }} desc\n ) = 1 as is_last_record\n\n from {{ model }}\n\n),\n\ncalc as (\n -- We want to return records where one of our assumptions fails, so we'll use\n -- the `not` function with `and` statements so we can write our assumptions more cleanly\n select\n *,\n\n -- For each record: lower_bound should be < upper_bound.\n -- Coalesce it to return an error on the null case (implicit assumption\n -- these columns are not_null)\n coalesce(\n lower_bound {{ allow_zero_length_operator }} upper_bound,\n false\n ) as lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound,\n\n -- For each record: upper_bound {{ allow_gaps_operator }} the next lower_bound.\n -- Coalesce it to handle null cases for the last record.\n coalesce(\n upper_bound {{ allow_gaps_operator }} next_lower_bound,\n is_last_record,\n false\n ) as upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n\n from window_functions\n\n),\n\nvalidation_errors as (\n\n select\n *\n from calc\n\n where not(\n -- THE FOLLOWING SHOULD BE TRUE --\n lower_bound_{{ allow_zero_length_operator_in_words }}_upper_bound\n and upper_bound_{{ allow_gaps_operator_in_words }}_next_lower_bound\n )\n)\n\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.345475, "supported_languages": null}, "macro.dbt_utils.pretty_log_format": {"name": "pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.pretty_log_format", "macro_sql": "{% macro pretty_log_format(message) %}\n {{ return(adapter.dispatch('pretty_log_format', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.346448, "supported_languages": null}, "macro.dbt_utils.default__pretty_log_format": {"name": "default__pretty_log_format", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_log_format.sql", "original_file_path": "macros/jinja_helpers/pretty_log_format.sql", "unique_id": "macro.dbt_utils.default__pretty_log_format", "macro_sql": "{% macro default__pretty_log_format(message) %}\n {{ return( dbt_utils.pretty_time() ~ ' + ' ~ message) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.347024, "supported_languages": null}, "macro.dbt_utils._is_relation": {"name": "_is_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_relation.sql", "original_file_path": "macros/jinja_helpers/_is_relation.sql", "unique_id": "macro.dbt_utils._is_relation", "macro_sql": "{% macro _is_relation(obj, macro) %}\n {%- if not (obj is mapping and obj.get('metadata', {}).get('type', '').endswith('Relation')) -%}\n {%- do exceptions.raise_compiler_error(\"Macro \" ~ macro ~ \" expected a Relation but received the value: \" ~ obj) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.348408, "supported_languages": null}, "macro.dbt_utils.pretty_time": {"name": "pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.pretty_time", "macro_sql": "{% macro pretty_time(format='%H:%M:%S') %}\n {{ return(adapter.dispatch('pretty_time', 'dbt_utils')(format)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pretty_time"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.349283, "supported_languages": null}, "macro.dbt_utils.default__pretty_time": {"name": "default__pretty_time", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/pretty_time.sql", "original_file_path": "macros/jinja_helpers/pretty_time.sql", "unique_id": "macro.dbt_utils.default__pretty_time", "macro_sql": "{% macro default__pretty_time(format='%H:%M:%S') %}\n {{ return(modules.datetime.datetime.now().strftime(format)) }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.35005, "supported_languages": null}, "macro.dbt_utils.log_info": {"name": "log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.log_info", "macro_sql": "{% macro log_info(message) %}\n {{ return(adapter.dispatch('log_info', 'dbt_utils')(message)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__log_info"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.350899, "supported_languages": null}, "macro.dbt_utils.default__log_info": {"name": "default__log_info", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/log_info.sql", "original_file_path": "macros/jinja_helpers/log_info.sql", "unique_id": "macro.dbt_utils.default__log_info", "macro_sql": "{% macro default__log_info(message) %}\n {{ log(dbt_utils.pretty_log_format(message), info=True) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.pretty_log_format"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.351479, "supported_languages": null}, "macro.dbt_utils.slugify": {"name": "slugify", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/slugify.sql", "original_file_path": "macros/jinja_helpers/slugify.sql", "unique_id": "macro.dbt_utils.slugify", "macro_sql": "{% macro slugify(string) %}\n\n{#- Lower case the string -#}\n{% set string = string | lower %}\n{#- Replace spaces and dashes with underscores -#}\n{% set string = modules.re.sub('[ -]+', '_', string) %}\n{#- Only take letters, numbers, and underscores -#}\n{% set string = modules.re.sub('[^a-z0-9_]+', '', string) %}\n{#- Prepends \"_\" if string begins with a number -#}\n{% set string = modules.re.sub('^[0-9]', '_' + string[0], string) %}\n\n{{ return(string) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.353728, "supported_languages": null}, "macro.dbt_utils._is_ephemeral": {"name": "_is_ephemeral", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/jinja_helpers/_is_ephemeral.sql", "original_file_path": "macros/jinja_helpers/_is_ephemeral.sql", "unique_id": "macro.dbt_utils._is_ephemeral", "macro_sql": "{% macro _is_ephemeral(obj, macro) %}\n {%- if obj.is_cte -%}\n {% set ephemeral_prefix = api.Relation.add_ephemeral_prefix('') %}\n {% if obj.name.startswith(ephemeral_prefix) %}\n {% set model_name = obj.name[(ephemeral_prefix|length):] %}\n {% else %}\n {% set model_name = obj.name %}\n {%- endif -%}\n {% set error_message %}\nThe `{{ macro }}` macro cannot be used with ephemeral models, as it relies on the information schema.\n\n`{{ model_name }}` is an ephemeral model. Consider making it a view or table instead.\n {% endset %}\n {%- do exceptions.raise_compiler_error(error_message) -%}\n {%- endif -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.35637, "supported_languages": null}, "macro.dbt_utils.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt_utils')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3585222, "supported_languages": null}, "macro.dbt_utils.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.360509, "supported_languages": null}, "macro.dbt_utils.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt_utils')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.361335, "supported_languages": null}, "macro.dbt_utils.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/date_spine.sql", "original_file_path": "macros/sql/date_spine.sql", "unique_id": "macro.dbt_utils.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n{# call as follows:\n\ndate_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n) #}\n\n\nwith rawdata as (\n\n {{dbt_utils.generate_series(\n dbt_utils.get_intervals_between(start_date, end_date, datepart)\n )}}\n\n),\n\nall_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n),\n\nfiltered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n)\n\nselect * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.generate_series", "macro.dbt_utils.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.362558, "supported_languages": null}, "macro.dbt_utils.nullcheck_table": {"name": "nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.nullcheck_table", "macro_sql": "{% macro nullcheck_table(relation) %}\n {{ return(adapter.dispatch('nullcheck_table', 'dbt_utils')(relation)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3637602, "supported_languages": null}, "macro.dbt_utils.default__nullcheck_table": {"name": "default__nullcheck_table", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck_table.sql", "original_file_path": "macros/sql/nullcheck_table.sql", "unique_id": "macro.dbt_utils.default__nullcheck_table", "macro_sql": "{% macro default__nullcheck_table(relation) %}\n\n {%- do dbt_utils._is_relation(relation, 'nullcheck_table') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'nullcheck_table') -%}\n {% set cols = adapter.get_columns_in_relation(relation) %}\n\n select {{ dbt_utils.nullcheck(cols) }}\n from {{relation}}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3649762, "supported_languages": null}, "macro.dbt_utils.get_relations_by_pattern": {"name": "get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.get_relations_by_pattern", "macro_sql": "{% macro get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_pattern', 'dbt_utils')(schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.366944, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_pattern": {"name": "default__get_relations_by_pattern", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_pattern.sql", "original_file_path": "macros/sql/get_relations_by_pattern.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_pattern", "macro_sql": "{% macro default__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3700778, "supported_languages": null}, "macro.dbt_utils.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.37271, "supported_languages": null}, "macro.dbt_utils.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.374327, "supported_languages": null}, "macro.dbt_utils.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt_utils')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.375127, "supported_languages": null}, "macro.dbt_utils.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_series.sql", "original_file_path": "macros/sql/generate_series.sql", "unique_id": "macro.dbt_utils.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt_utils.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.377044, "supported_languages": null}, "macro.dbt_utils.get_relations_by_prefix": {"name": "get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.get_relations_by_prefix", "macro_sql": "{% macro get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_relations_by_prefix', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_relations_by_prefix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.379182, "supported_languages": null}, "macro.dbt_utils.default__get_relations_by_prefix": {"name": "default__get_relations_by_prefix", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_relations_by_prefix.sql", "original_file_path": "macros/sql/get_relations_by_prefix.sql", "unique_id": "macro.dbt_utils.default__get_relations_by_prefix", "macro_sql": "{% macro default__get_relations_by_prefix(schema, prefix, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n {{ dbt_utils.get_tables_by_prefix_sql(schema, prefix, exclude, database) }}\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=database,\n schema=row.table_schema,\n identifier=row.table_name,\n type=row.table_type\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt_utils.get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.382001, "supported_languages": null}, "macro.dbt_utils.get_tables_by_prefix_sql": {"name": "get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_prefix_sql", "macro_sql": "{% macro get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_prefix_sql', 'dbt_utils')(schema, prefix, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_tables_by_prefix_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.383308, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_prefix_sql": {"name": "default__get_tables_by_prefix_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_prefix_sql.sql", "original_file_path": "macros/sql/get_tables_by_prefix_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_prefix_sql", "macro_sql": "{% macro default__get_tables_by_prefix_sql(schema, prefix, exclude='', database=target.database) %}\n\n {{ dbt_utils.get_tables_by_pattern_sql(\n schema_pattern = schema,\n table_pattern = prefix ~ '%',\n exclude = exclude,\n database = database\n ) }}\n \n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3843892, "supported_languages": null}, "macro.dbt_utils.star": {"name": "star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.star", "macro_sql": "{% macro star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {{ return(adapter.dispatch('star', 'dbt_utils')(from, relation_alias, except, prefix, suffix, quote_identifiers)) }}\r\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__star"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.387777, "supported_languages": null}, "macro.dbt_utils.default__star": {"name": "default__star", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/star.sql", "original_file_path": "macros/sql/star.sql", "unique_id": "macro.dbt_utils.default__star", "macro_sql": "{% macro default__star(from, relation_alias=False, except=[], prefix='', suffix='', quote_identifiers=True) -%}\r\n {%- do dbt_utils._is_relation(from, 'star') -%}\r\n {%- do dbt_utils._is_ephemeral(from, 'star') -%}\r\n\r\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\r\n {%- if not execute -%}\r\n {% do return('*') %}\r\n {%- endif -%}\r\n\r\n {% set cols = dbt_utils.get_filtered_columns_in_relation(from, except) %}\r\n\r\n {%- if cols|length <= 0 -%}\r\n {% if flags.WHICH == 'compile' %}\r\n {% set response %}\r\n*\r\n/* No columns were returned. Maybe the relation doesn't exist yet \r\nor all columns were excluded. This star is only output during \r\ndbt compile, and exists to keep SQLFluff happy. */\r\n {% endset %}\r\n {% do return(response) %}\r\n {% else %}\r\n {% do return(\"/* no columns returned from star() macro */\") %}\r\n {% endif %}\r\n {%- else -%}\r\n {%- for col in cols %}\r\n {%- if relation_alias %}{{ relation_alias }}.{% else %}{%- endif -%}\r\n {%- if quote_identifiers -%}\r\n {{ adapter.quote(col)|trim }} {%- if prefix!='' or suffix!='' %} as {{ adapter.quote(prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {%- else -%}\r\n {{ col|trim }} {%- if prefix!='' or suffix!='' %} as {{ (prefix ~ col ~ suffix)|trim }} {%- endif -%}\r\n {% endif %}\r\n {%- if not loop.last %},{{ '\\n ' }}{%- endif -%}\r\n {%- endfor -%}\r\n {% endif %}\r\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt_utils.get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.392842, "supported_languages": null}, "macro.dbt_utils.unpivot": {"name": "unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.unpivot", "macro_sql": "{% macro unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n {{ return(adapter.dispatch('unpivot', 'dbt_utils')(relation, cast_to, exclude, remove, field_name, value_name)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__unpivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.3971682, "supported_languages": null}, "macro.dbt_utils.default__unpivot": {"name": "default__unpivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/unpivot.sql", "original_file_path": "macros/sql/unpivot.sql", "unique_id": "macro.dbt_utils.default__unpivot", "macro_sql": "{% macro default__unpivot(relation=none, cast_to='varchar', exclude=none, remove=none, field_name='field_name', value_name='value') -%}\n\n {% if not relation %}\n {{ exceptions.raise_compiler_error(\"Error: argument `relation` is required for `unpivot` macro.\") }}\n {% endif %}\n\n {%- set exclude = exclude if exclude is not none else [] %}\n {%- set remove = remove if remove is not none else [] %}\n\n {%- set include_cols = [] %}\n\n {%- set table_columns = {} %}\n\n {%- do table_columns.update({relation: []}) %}\n\n {%- do dbt_utils._is_relation(relation, 'unpivot') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'unpivot') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) %}\n\n {%- for col in cols -%}\n {%- if col.column.lower() not in remove|map('lower') and col.column.lower() not in exclude|map('lower') -%}\n {% do include_cols.append(col) %}\n {%- endif %}\n {%- endfor %}\n\n\n {%- for col in include_cols -%}\n select\n {%- for exclude_col in exclude %}\n {{ exclude_col }},\n {%- endfor %}\n\n cast('{{ col.column }}' as {{ dbt.type_string() }}) as {{ field_name }},\n cast( {% if col.data_type == 'boolean' %}\n {{ dbt.cast_bool_to_text(col.column) }}\n {% else %}\n {{ col.column }}\n {% endif %}\n as {{ cast_to }}) as {{ value_name }}\n\n from {{ relation }}\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n {%- endfor -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.type_string", "macro.dbt.cast_bool_to_text"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.403695, "supported_languages": null}, "macro.dbt_utils.safe_divide": {"name": "safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.safe_divide", "macro_sql": "{% macro safe_divide(numerator, denominator) -%}\n {{ return(adapter.dispatch('safe_divide', 'dbt_utils')(numerator, denominator)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_divide"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.405287, "supported_languages": null}, "macro.dbt_utils.default__safe_divide": {"name": "default__safe_divide", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_divide.sql", "original_file_path": "macros/sql/safe_divide.sql", "unique_id": "macro.dbt_utils.default__safe_divide", "macro_sql": "{% macro default__safe_divide(numerator, denominator) %}\n ( {{ numerator }} ) / nullif( ( {{ denominator }} ), 0)\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4057841, "supported_languages": null}, "macro.dbt_utils.union_relations": {"name": "union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.union_relations", "macro_sql": "{%- macro union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n {{ return(adapter.dispatch('union_relations', 'dbt_utils')(relations, column_override, include, exclude, source_column_name, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.413894, "supported_languages": null}, "macro.dbt_utils.default__union_relations": {"name": "default__union_relations", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/union.sql", "original_file_path": "macros/sql/union.sql", "unique_id": "macro.dbt_utils.default__union_relations", "macro_sql": "\n\n{%- macro default__union_relations(relations, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_relation', where=none) -%}\n\n {%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided to the `union` macro. Only one is allowed\") }}\n {%- endif -%}\n\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. -#}\n {%- if not execute %}\n {{ return('') }}\n {% endif -%}\n\n {%- set column_override = column_override if column_override is not none else {} -%}\n\n {%- set relation_columns = {} -%}\n {%- set column_superset = {} -%}\n {%- set all_excludes = [] -%}\n {%- set all_includes = [] -%}\n\n {%- if exclude -%}\n {%- for exc in exclude -%}\n {%- do all_excludes.append(exc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- if include -%}\n {%- for inc in include -%}\n {%- do all_includes.append(inc | lower) -%}\n {%- endfor -%}\n {%- endif -%}\n\n {%- for relation in relations -%}\n\n {%- do relation_columns.update({relation: []}) -%}\n\n {%- do dbt_utils._is_relation(relation, 'union_relations') -%}\n {%- do dbt_utils._is_ephemeral(relation, 'union_relations') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) -%}\n {%- for col in cols -%}\n\n {#- If an exclude list was provided and the column is in the list, do nothing -#}\n {%- if exclude and col.column | lower in all_excludes -%}\n\n {#- If an include list was provided and the column is not in the list, do nothing -#}\n {%- elif include and col.column | lower not in all_includes -%}\n\n {#- Otherwise add the column to the column superset -#}\n {%- else -%}\n\n {#- update the list of columns in this relation -#}\n {%- do relation_columns[relation].append(col.column) -%}\n\n {%- if col.column in column_superset -%}\n\n {%- set stored = column_superset[col.column] -%}\n {%- if col.is_string() and stored.is_string() and col.string_size() > stored.string_size() -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif %}\n\n {%- else -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif -%}\n\n {%- endif -%}\n\n {%- endfor -%}\n {%- endfor -%}\n\n {%- set ordered_column_names = column_superset.keys() -%}\n {%- set dbt_command = flags.WHICH -%}\n\n\n {% if dbt_command in ['run', 'build'] %}\n {% if (include | length > 0 or exclude | length > 0) and not column_superset.keys() %}\n {%- set relations_string -%}\n {%- for relation in relations -%}\n {{ relation.name }}\n {%- if not loop.last %}, {% endif -%}\n {%- endfor -%}\n {%- endset -%}\n\n {%- set error_message -%}\n There were no columns found to union for relations {{ relations_string }}\n {%- endset -%}\n\n {{ exceptions.raise_compiler_error(error_message) }}\n {%- endif -%}\n {%- endif -%}\n\n {%- for relation in relations %}\n\n (\n select\n\n {%- if source_column_name is not none %}\n cast({{ dbt.string_literal(relation) }} as {{ dbt.type_string() }}) as {{ source_column_name }},\n {%- endif %}\n\n {% for col_name in ordered_column_names -%}\n\n {%- set col = column_superset[col_name] %}\n {%- set col_type = column_override.get(col.column, col.data_type) %}\n {%- set col_name = adapter.quote(col_name) if col_name in relation_columns[relation] else 'null' %}\n cast({{ col_name }} as {{ col_type }}) as {{ col.quoted }} {% if not loop.last %},{% endif -%}\n\n {%- endfor %}\n\n from {{ relation }}\n\n {% if where -%}\n where {{ where }}\n {%- endif %}\n )\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n\n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral", "macro.dbt.string_literal", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4260879, "supported_languages": null}, "macro.dbt_utils.group_by": {"name": "group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.group_by", "macro_sql": "{%- macro group_by(n) -%}\n {{ return(adapter.dispatch('group_by', 'dbt_utils')(n)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.42726, "supported_languages": null}, "macro.dbt_utils.default__group_by": {"name": "default__group_by", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/groupby.sql", "original_file_path": "macros/sql/groupby.sql", "unique_id": "macro.dbt_utils.default__group_by", "macro_sql": "\n\n{%- macro default__group_by(n) -%}\n\n group by {% for i in range(1, n + 1) -%}\n {{ i }}{{ ',' if not loop.last }} \n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.428192, "supported_languages": null}, "macro.dbt_utils.deduplicate": {"name": "deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.deduplicate", "macro_sql": "{%- macro deduplicate(relation, partition_by, order_by) -%}\n {{ return(adapter.dispatch('deduplicate', 'dbt_utils')(relation, partition_by, order_by)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.bigquery__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.430544, "supported_languages": null}, "macro.dbt_utils.default__deduplicate": {"name": "default__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.default__deduplicate", "macro_sql": "\n\n{%- macro default__deduplicate(relation, partition_by, order_by) -%}\n\n with row_numbered as (\n select\n _inner.*,\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) as rn\n from {{ relation }} as _inner\n )\n\n select\n distinct data.*\n from {{ relation }} as data\n {#\n -- Not all DBs will support natural joins but the ones that do include:\n -- Oracle, MySQL, SQLite, Redshift, Teradata, Materialize, Databricks\n -- Apache Spark, SingleStore, Vertica\n -- Those that do not appear to support natural joins include:\n -- SQLServer, Trino, Presto, Rockset, Athena\n #}\n natural join row_numbered\n where row_numbered.rn = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.431306, "supported_languages": null}, "macro.dbt_utils.redshift__deduplicate": {"name": "redshift__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.redshift__deduplicate", "macro_sql": "{% macro redshift__deduplicate(relation, partition_by, order_by) -%}\n\n {{ return(dbt_utils.default__deduplicate(relation, partition_by, order_by=order_by)) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__deduplicate"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.431981, "supported_languages": null}, "macro.dbt_utils.postgres__deduplicate": {"name": "postgres__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.postgres__deduplicate", "macro_sql": "\n{%- macro postgres__deduplicate(relation, partition_by, order_by) -%}\n\n select\n distinct on ({{ partition_by }}) *\n from {{ relation }}\n order by {{ partition_by }}{{ ',' ~ order_by }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.432621, "supported_languages": null}, "macro.dbt_utils.snowflake__deduplicate": {"name": "snowflake__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.snowflake__deduplicate", "macro_sql": "\n{%- macro snowflake__deduplicate(relation, partition_by, order_by) -%}\n\n select *\n from {{ relation }}\n qualify\n row_number() over (\n partition by {{ partition_by }}\n order by {{ order_by }}\n ) = 1\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.433175, "supported_languages": null}, "macro.dbt_utils.bigquery__deduplicate": {"name": "bigquery__deduplicate", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/deduplicate.sql", "original_file_path": "macros/sql/deduplicate.sql", "unique_id": "macro.dbt_utils.bigquery__deduplicate", "macro_sql": "\n{%- macro bigquery__deduplicate(relation, partition_by, order_by) -%}\n\n select unique.*\n from (\n select\n array_agg (\n original\n order by {{ order_by }}\n limit 1\n )[offset(0)] unique\n from {{ relation }} original\n group by {{ partition_by }}\n )\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4337778, "supported_languages": null}, "macro.dbt_utils.surrogate_key": {"name": "surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.surrogate_key", "macro_sql": "{%- macro surrogate_key(field_list) -%}\n {% set frustrating_jinja_feature = varargs %}\n {{ return(adapter.dispatch('surrogate_key', 'dbt_utils')(field_list, *varargs)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.435083, "supported_languages": null}, "macro.dbt_utils.default__surrogate_key": {"name": "default__surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/surrogate_key.sql", "original_file_path": "macros/sql/surrogate_key.sql", "unique_id": "macro.dbt_utils.default__surrogate_key", "macro_sql": "\n\n{%- macro default__surrogate_key(field_list) -%}\n\n{%- set error_message = '\nWarning: `dbt_utils.surrogate_key` has been replaced by \\\n`dbt_utils.generate_surrogate_key`. The new macro treats null values \\\ndifferently to empty strings. To restore the behaviour of the original \\\nmacro, add a global variable in dbt_project.yml called \\\n`surrogate_key_treat_nulls_as_empty_strings` to your \\\ndbt_project.yml file with a value of True. \\\nThe {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.raise_compiler_error(error_message) -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.435871, "supported_languages": null}, "macro.dbt_utils.safe_add": {"name": "safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.safe_add", "macro_sql": "{%- macro safe_add(field_list) -%}\n {{ return(adapter.dispatch('safe_add', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__safe_add"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.43699, "supported_languages": null}, "macro.dbt_utils.default__safe_add": {"name": "default__safe_add", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/safe_add.sql", "original_file_path": "macros/sql/safe_add.sql", "unique_id": "macro.dbt_utils.default__safe_add", "macro_sql": "\n\n{%- macro default__safe_add(field_list) -%}\n\n{%- if field_list is not iterable or field_list is string or field_list is mapping -%}\n\n{%- set error_message = '\nWarning: the `safe_add` macro now takes a single list argument instead of \\\nstring arguments. The {}.{} model triggered this warning. \\\n'.format(model.package_name, model.name) -%}\n\n{%- do exceptions.warn(error_message) -%}\n\n{%- endif -%}\n\n{% set fields = [] %}\n\n{%- for field in field_list -%}\n\n {% do fields.append(\"coalesce(\" ~ field ~ \", 0)\") %}\n\n{%- endfor -%}\n\n{{ fields|join(' +\\n ') }}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.438739, "supported_languages": null}, "macro.dbt_utils.nullcheck": {"name": "nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.nullcheck", "macro_sql": "{% macro nullcheck(cols) %}\n {{ return(adapter.dispatch('nullcheck', 'dbt_utils')(cols)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__nullcheck"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.439984, "supported_languages": null}, "macro.dbt_utils.default__nullcheck": {"name": "default__nullcheck", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/nullcheck.sql", "original_file_path": "macros/sql/nullcheck.sql", "unique_id": "macro.dbt_utils.default__nullcheck", "macro_sql": "{% macro default__nullcheck(cols) %}\n{%- for col in cols %}\n\n {% if col.is_string() -%}\n\n nullif({{col.name}},'') as {{col.name}}\n\n {%- else -%}\n\n {{col.name}}\n\n {%- endif -%}\n\n{%- if not loop.last -%} , {%- endif -%}\n\n{%- endfor -%}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.441227, "supported_languages": null}, "macro.dbt_utils.get_tables_by_pattern_sql": {"name": "get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.get_tables_by_pattern_sql", "macro_sql": "{% macro get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(adapter.dispatch('get_tables_by_pattern_sql', 'dbt_utils')\n (schema_pattern, table_pattern, exclude, database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.bigquery__get_tables_by_pattern_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.445586, "supported_languages": null}, "macro.dbt_utils.default__get_tables_by_pattern_sql": {"name": "default__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.default__get_tables_by_pattern_sql", "macro_sql": "{% macro default__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n select distinct\n table_schema as {{ adapter.quote('table_schema') }},\n table_name as {{ adapter.quote('table_name') }},\n {{ dbt_utils.get_table_types_sql() }}\n from {{ database }}.information_schema.tables\n where table_schema ilike '{{ schema_pattern }}'\n and table_name ilike '{{ table_pattern }}'\n and table_name not ilike '{{ exclude }}'\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.446836, "supported_languages": null}, "macro.dbt_utils.bigquery__get_tables_by_pattern_sql": {"name": "bigquery__get_tables_by_pattern_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils.bigquery__get_tables_by_pattern_sql", "macro_sql": "{% macro bigquery__get_tables_by_pattern_sql(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {% if '%' in schema_pattern %}\n {% set schemata=dbt_utils._bigquery__get_matching_schemata(schema_pattern, database) %}\n {% else %}\n {% set schemata=[schema_pattern] %}\n {% endif %}\n\n {% set sql %}\n {% for schema in schemata %}\n select distinct\n table_schema,\n table_name,\n {{ dbt_utils.get_table_types_sql() }}\n\n from {{ adapter.quote(database) }}.{{ schema }}.INFORMATION_SCHEMA.TABLES\n where lower(table_name) like lower ('{{ table_pattern }}')\n and lower(table_name) not like lower ('{{ exclude }}')\n\n {% if not loop.last %} union all {% endif %}\n\n {% endfor %}\n {% endset %}\n\n {{ return(sql) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._bigquery__get_matching_schemata", "macro.dbt_utils.get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.44946, "supported_languages": null}, "macro.dbt_utils._bigquery__get_matching_schemata": {"name": "_bigquery__get_matching_schemata", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_tables_by_pattern_sql.sql", "original_file_path": "macros/sql/get_tables_by_pattern_sql.sql", "unique_id": "macro.dbt_utils._bigquery__get_matching_schemata", "macro_sql": "{% macro _bigquery__get_matching_schemata(schema_pattern, database) %}\n {% if execute %}\n\n {% set sql %}\n select schema_name from {{ adapter.quote(database) }}.INFORMATION_SCHEMA.SCHEMATA\n where lower(schema_name) like lower('{{ schema_pattern }}')\n {% endset %}\n\n {% set results=run_query(sql) %}\n\n {% set schemata=results.columns['schema_name'].values() %}\n\n {{ return(schemata) }}\n\n {% else %}\n\n {{ return([]) }}\n\n {% endif %}\n\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4514718, "supported_languages": null}, "macro.dbt_utils.get_column_values": {"name": "get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.get_column_values", "macro_sql": "{% macro get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {{ return(adapter.dispatch('get_column_values', 'dbt_utils')(table, column, order_by, max_records, default, where)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_column_values"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.454468, "supported_languages": null}, "macro.dbt_utils.default__get_column_values": {"name": "default__get_column_values", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_column_values.sql", "original_file_path": "macros/sql/get_column_values.sql", "unique_id": "macro.dbt_utils.default__get_column_values", "macro_sql": "{% macro default__get_column_values(table, column, order_by='count(*) desc', max_records=none, default=none, where=none) -%}\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {% set default = [] if not default %}\n {{ return(default) }}\n {% endif %}\n\n {%- do dbt_utils._is_ephemeral(table, 'get_column_values') -%}\n\n {# Not all relations are tables. Renaming for internal clarity without breaking functionality for anyone using named arguments #}\n {# TODO: Change the method signature in a future 0.x.0 release #}\n {%- set target_relation = table -%}\n\n {# adapter.load_relation is a convenience wrapper to avoid building a Relation when we already have one #}\n {% set relation_exists = (load_relation(target_relation)) is not none %}\n\n {%- call statement('get_column_values', fetch_result=true) %}\n\n {%- if not relation_exists and default is none -%}\n\n {{ exceptions.raise_compiler_error(\"In get_column_values(): relation \" ~ target_relation ~ \" does not exist and no default value was provided.\") }}\n\n {%- elif not relation_exists and default is not none -%}\n\n {{ log(\"Relation \" ~ target_relation ~ \" does not exist. Returning the default value: \" ~ default) }}\n\n {{ return(default) }}\n\n {%- else -%}\n\n\n select\n {{ column }} as value\n\n from {{ target_relation }}\n\n {% if where is not none %}\n where {{ where }}\n {% endif %}\n\n group by {{ column }}\n order by {{ order_by }}\n\n {% if max_records is not none %}\n limit {{ max_records }}\n {% endif %}\n\n {% endif %}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_column_values') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values) }}\n {%- else -%}\n {{ return(default) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_ephemeral", "macro.dbt.load_relation", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.45984, "supported_languages": null}, "macro.dbt_utils.pivot": {"name": "pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.pivot", "macro_sql": "{% macro pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {{ return(adapter.dispatch('pivot', 'dbt_utils')(column, values, alias, agg, cmp, prefix, suffix, then_value, else_value, quote_identifiers, distinct)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__pivot"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.462937, "supported_languages": null}, "macro.dbt_utils.default__pivot": {"name": "default__pivot", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/pivot.sql", "original_file_path": "macros/sql/pivot.sql", "unique_id": "macro.dbt_utils.default__pivot", "macro_sql": "{% macro default__pivot(column,\n values,\n alias=True,\n agg='sum',\n cmp='=',\n prefix='',\n suffix='',\n then_value=1,\n else_value=0,\n quote_identifiers=True,\n distinct=False) %}\n {% for value in values %}\n {{ agg }}(\n {% if distinct %} distinct {% endif %}\n case\n when {{ column }} {{ cmp }} '{{ dbt.escape_single_quotes(value) }}'\n then {{ then_value }}\n else {{ else_value }}\n end\n )\n {% if alias %}\n {% if quote_identifiers %}\n as {{ adapter.quote(prefix ~ value ~ suffix) }}\n {% else %}\n as {{ dbt_utils.slugify(prefix ~ value ~ suffix) }}\n {% endif %}\n {% endif %}\n {% if not loop.last %},{% endif %}\n {% endfor %}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.escape_single_quotes", "macro.dbt_utils.slugify"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.465924, "supported_languages": null}, "macro.dbt_utils.get_filtered_columns_in_relation": {"name": "get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.get_filtered_columns_in_relation", "macro_sql": "{% macro get_filtered_columns_in_relation(from, except=[]) -%}\n {{ return(adapter.dispatch('get_filtered_columns_in_relation', 'dbt_utils')(from, except)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_filtered_columns_in_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.467396, "supported_languages": null}, "macro.dbt_utils.default__get_filtered_columns_in_relation": {"name": "default__get_filtered_columns_in_relation", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_filtered_columns_in_relation.sql", "original_file_path": "macros/sql/get_filtered_columns_in_relation.sql", "unique_id": "macro.dbt_utils.default__get_filtered_columns_in_relation", "macro_sql": "{% macro default__get_filtered_columns_in_relation(from, except=[]) -%}\n {%- do dbt_utils._is_relation(from, 'get_filtered_columns_in_relation') -%}\n {%- do dbt_utils._is_ephemeral(from, 'get_filtered_columns_in_relation') -%}\n\n {# -- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. #}\n {%- if not execute -%}\n {{ return('') }}\n {% endif %}\n\n {%- set include_cols = [] %}\n {%- set cols = adapter.get_columns_in_relation(from) -%}\n {%- set except = except | map(\"lower\") | list %}\n {%- for col in cols -%}\n {%- if col.column|lower not in except -%}\n {% do include_cols.append(col.column) %}\n {%- endif %}\n {%- endfor %}\n\n {{ return(include_cols) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt_utils._is_ephemeral"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.469919, "supported_languages": null}, "macro.dbt_utils.width_bucket": {"name": "width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.width_bucket", "macro_sql": "{% macro width_bucket(expr, min_value, max_value, num_buckets) %}\n {{ return(adapter.dispatch('width_bucket', 'dbt_utils') (expr, min_value, max_value, num_buckets)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__width_bucket"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.473835, "supported_languages": null}, "macro.dbt_utils.default__width_bucket": {"name": "default__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.default__width_bucket", "macro_sql": "{% macro default__width_bucket(expr, min_value, max_value, num_buckets) -%}\n\n {% set bin_size -%}\n (( {{ max_value }} - {{ min_value }} ) / {{ num_buckets }} )\n {%- endset %}\n (\n -- to break ties when the amount is eaxtly at the bucket egde\n case\n when\n mod(\n {{ dbt.safe_cast(expr, dbt.type_numeric() ) }},\n {{ dbt.safe_cast(bin_size, dbt.type_numeric() ) }}\n ) = 0\n then 1\n else 0\n end\n ) +\n -- Anything over max_value goes the N+1 bucket\n least(\n ceil(\n ({{ expr }} - {{ min_value }})/{{ bin_size }}\n ),\n {{ num_buckets }} + 1\n )\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.safe_cast", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4755242, "supported_languages": null}, "macro.dbt_utils.redshift__width_bucket": {"name": "redshift__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.redshift__width_bucket", "macro_sql": "{% macro redshift__width_bucket(expr, min_value, max_value, num_buckets) -%}\n\n {% set bin_size -%}\n (( {{ max_value }} - {{ min_value }} ) / {{ num_buckets }} )\n {%- endset %}\n (\n -- to break ties when the amount is exactly at the bucket edge\n case\n when\n {{ dbt.safe_cast(expr, dbt.type_numeric() ) }} %\n {{ dbt.safe_cast(bin_size, dbt.type_numeric() ) }}\n = 0\n then 1\n else 0\n end\n ) +\n -- Anything over max_value goes the N+1 bucket\n least(\n ceil(\n ({{ expr }} - {{ min_value }})/{{ bin_size }}\n ),\n {{ num_buckets }} + 1\n )\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.safe_cast", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4770439, "supported_languages": null}, "macro.dbt_utils.snowflake__width_bucket": {"name": "snowflake__width_bucket", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/width_bucket.sql", "original_file_path": "macros/sql/width_bucket.sql", "unique_id": "macro.dbt_utils.snowflake__width_bucket", "macro_sql": "{% macro snowflake__width_bucket(expr, min_value, max_value, num_buckets) %}\n width_bucket({{ expr }}, {{ min_value }}, {{ max_value }}, {{ num_buckets }} )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.477685, "supported_languages": null}, "macro.dbt_utils.get_query_results_as_dict": {"name": "get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.get_query_results_as_dict", "macro_sql": "{% macro get_query_results_as_dict(query) %}\n {{ return(adapter.dispatch('get_query_results_as_dict', 'dbt_utils')(query)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_query_results_as_dict"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.478889, "supported_languages": null}, "macro.dbt_utils.default__get_query_results_as_dict": {"name": "default__get_query_results_as_dict", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_query_results_as_dict.sql", "original_file_path": "macros/sql/get_query_results_as_dict.sql", "unique_id": "macro.dbt_utils.default__get_query_results_as_dict", "macro_sql": "{% macro default__get_query_results_as_dict(query) %}\n\n{# This macro returns a dictionary of the form {column_name: (tuple_of_results)} #}\n\n {%- call statement('get_query_results', fetch_result=True,auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {% set sql_results={} %}\n\n {%- if execute -%}\n {% set sql_results_table = load_result('get_query_results').table.columns %}\n {% for column_name, column in sql_results_table.items() %}\n {% do sql_results.update({column_name: column.values()}) %}\n {% endfor %}\n {%- endif -%}\n\n {{ return(sql_results) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.480843, "supported_languages": null}, "macro.dbt_utils.generate_surrogate_key": {"name": "generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.generate_surrogate_key", "macro_sql": "{%- macro generate_surrogate_key(field_list) -%}\n {{ return(adapter.dispatch('generate_surrogate_key', 'dbt_utils')(field_list)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__generate_surrogate_key"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4821818, "supported_languages": null}, "macro.dbt_utils.default__generate_surrogate_key": {"name": "default__generate_surrogate_key", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/generate_surrogate_key.sql", "original_file_path": "macros/sql/generate_surrogate_key.sql", "unique_id": "macro.dbt_utils.default__generate_surrogate_key", "macro_sql": "\n\n{%- macro default__generate_surrogate_key(field_list) -%}\n\n{% if var('surrogate_key_treat_nulls_as_empty_strings', False) %}\n {% set default_null_value = \"\" %}\n{% else %}\n {% set default_null_value = '_dbt_utils_surrogate_key_null_'%}\n{% endif %}\n\n{%- set fields = [] -%}\n\n{%- for field in field_list -%}\n\n {%- do fields.append(\n \"coalesce(cast(\" ~ field ~ \" as \" ~ dbt.type_string() ~ \"), '\" ~ default_null_value ~\"')\"\n ) -%}\n\n {%- if not loop.last %}\n {%- do fields.append(\"'-'\") -%}\n {%- endif -%}\n\n{%- endfor -%}\n\n{{ dbt.hash(dbt.concat(fields)) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.hash", "macro.dbt.concat"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.484289, "supported_languages": null}, "macro.dbt_utils.get_table_types_sql": {"name": "get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.get_table_types_sql", "macro_sql": "{%- macro get_table_types_sql() -%}\n {{ return(adapter.dispatch('get_table_types_sql', 'dbt_utils')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_utils.default__get_table_types_sql"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4853919, "supported_languages": null}, "macro.dbt_utils.default__get_table_types_sql": {"name": "default__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.default__get_table_types_sql", "macro_sql": "{% macro default__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'EXTERNAL TABLE' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.485866, "supported_languages": null}, "macro.dbt_utils.postgres__get_table_types_sql": {"name": "postgres__get_table_types_sql", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_table_types_sql.sql", "original_file_path": "macros/sql/get_table_types_sql.sql", "unique_id": "macro.dbt_utils.postgres__get_table_types_sql", "macro_sql": "{% macro postgres__get_table_types_sql() %}\n case table_type\n when 'BASE TABLE' then 'table'\n when 'FOREIGN' then 'external'\n when 'MATERIALIZED VIEW' then 'materializedview'\n else lower(table_type)\n end as {{ adapter.quote('table_type') }}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.486316, "supported_languages": null}, "macro.dbt_utils.get_single_value": {"name": "get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.get_single_value", "macro_sql": "{% macro get_single_value(query, default=none) %}\n {{ return(adapter.dispatch('get_single_value', 'dbt_utils')(query, default)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.default__get_single_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.487865, "supported_languages": null}, "macro.dbt_utils.default__get_single_value": {"name": "default__get_single_value", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/get_single_value.sql", "original_file_path": "macros/sql/get_single_value.sql", "unique_id": "macro.dbt_utils.default__get_single_value", "macro_sql": "{% macro default__get_single_value(query, default) %}\n\n{# This macro returns the (0, 0) record in a query, i.e. the first row of the first column #}\n\n {%- call statement('get_query_result', fetch_result=True, auto_begin=false) -%}\n\n {{ query }}\n\n {%- endcall -%}\n\n {%- if execute -%}\n\n {% set r = load_result('get_query_result').table.columns[0].values() %}\n {% if r | length == 0 %}\n {% do print('Query `' ~ query ~ '` returned no rows. Using the default value: ' ~ default) %}\n {% set sql_result = default %}\n {% else %}\n {% set sql_result = r[0] %}\n {% endif %}\n \n {%- else -%}\n \n {% set sql_result = default %}\n \n {%- endif -%}\n\n {% do return(sql_result) %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.490823, "supported_languages": null}, "macro.dbt_utils.degrees_to_radians": {"name": "degrees_to_radians", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.degrees_to_radians", "macro_sql": "{% macro degrees_to_radians(degrees) -%}\n acos(-1) * {{degrees}} / 180\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.493603, "supported_languages": null}, "macro.dbt_utils.haversine_distance": {"name": "haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.haversine_distance", "macro_sql": "{% macro haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n {{ return(adapter.dispatch('haversine_distance', 'dbt_utils')(lat1,lon1,lat2,lon2,unit)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.bigquery__haversine_distance"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.4945111, "supported_languages": null}, "macro.dbt_utils.default__haversine_distance": {"name": "default__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.default__haversine_distance", "macro_sql": "{% macro default__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n\n 2 * 3961 * asin(sqrt(power((sin(radians(({{ lat2 }} - {{ lat1 }}) / 2))), 2) +\n cos(radians({{lat1}})) * cos(radians({{lat2}})) *\n power((sin(radians(({{ lon2 }} - {{ lon1 }}) / 2))), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.496366, "supported_languages": null}, "macro.dbt_utils.bigquery__haversine_distance": {"name": "bigquery__haversine_distance", "resource_type": "macro", "package_name": "dbt_utils", "path": "macros/sql/haversine_distance.sql", "original_file_path": "macros/sql/haversine_distance.sql", "unique_id": "macro.dbt_utils.bigquery__haversine_distance", "macro_sql": "{% macro bigquery__haversine_distance(lat1, lon1, lat2, lon2, unit='mi') -%}\n{% set radians_lat1 = dbt_utils.degrees_to_radians(lat1) %}\n{% set radians_lat2 = dbt_utils.degrees_to_radians(lat2) %}\n{% set radians_lon1 = dbt_utils.degrees_to_radians(lon1) %}\n{% set radians_lon2 = dbt_utils.degrees_to_radians(lon2) %}\n{%- if unit == 'mi' %}\n {% set conversion_rate = 1 %}\n{% elif unit == 'km' %}\n {% set conversion_rate = 1.60934 %}\n{% else %}\n {{ exceptions.raise_compiler_error(\"unit input must be one of 'mi' or 'km'. Got \" ~ unit) }}\n{% endif %}\n 2 * 3961 * asin(sqrt(power(sin(({{ radians_lat2 }} - {{ radians_lat1 }}) / 2), 2) +\n cos({{ radians_lat1 }}) * cos({{ radians_lat2 }}) *\n power(sin(({{ radians_lon2 }} - {{ radians_lon1 }}) / 2), 2))) * {{ conversion_rate }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.degrees_to_radians"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.499199, "supported_languages": null}, "macro.reddit_ads_source.get_account_columns": {"name": "get_account_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_account_columns.sql", "original_file_path": "macros/get_account_columns.sql", "unique_id": "macro.reddit_ads_source.get_account_columns", "macro_sql": "{% macro get_account_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"attribution_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"click_attribution_window\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"time_zone_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"view_attribution_window\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.502653, "supported_languages": null}, "macro.reddit_ads_source.get_campaign_columns": {"name": "get_campaign_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_campaign_columns.sql", "original_file_path": "macros/get_campaign_columns.sql", "unique_id": "macro.reddit_ads_source.get_campaign_columns", "macro_sql": "{% macro get_campaign_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"configured_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"effective_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"funding_instrument_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_processing\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"objective\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.505911, "supported_languages": null}, "macro.reddit_ads_source.get_ad_columns": {"name": "get_ad_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_columns.sql", "original_file_path": "macros/get_ad_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_columns", "macro_sql": "{% macro get_ad_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"click_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"configured_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"effective_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_processing\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"post_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"post_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"rejection_reason\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.51041, "supported_languages": null}, "macro.reddit_ads_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.515263, "supported_languages": null}, "macro.reddit_ads_source.get_ad_report_columns": {"name": "get_ad_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_report_columns.sql", "original_file_path": "macros/get_ad_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_report_columns", "macro_sql": "{% macro get_ad_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": \"date\", \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.520128, "supported_languages": null}, "macro.reddit_ads_source.get_ad_group_report_columns": {"name": "get_ad_group_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_group_report_columns.sql", "original_file_path": "macros/get_ad_group_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_group_report_columns", "macro_sql": "{% macro get_ad_group_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()}, \n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.525483, "supported_languages": null}, "macro.reddit_ads_source.get_account_report_columns": {"name": "get_account_report_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_account_report_columns.sql", "original_file_path": "macros/get_account_report_columns.sql", "unique_id": "macro.reddit_ads_source.get_account_report_columns", "macro_sql": "{% macro get_account_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"region\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()}\n] %}\n\n{% if target.type in ('bigquery', 'spark', 'databricks') %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"quote\": True, \"alias\": \"date_day\" } ) }}\n\n{% else %}\n {{ columns.append( {\"name\": 'date', \"datatype\": \"date\", \"alias\": \"date_day\"} ) }}\n\n{% endif %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('reddit_ads__account_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.5312278, "supported_languages": null}, "macro.reddit_ads_source.get_ad_group_columns": {"name": "get_ad_group_columns", "resource_type": "macro", "package_name": "reddit_ads_source", "path": "macros/get_ad_group_columns.sql", "original_file_path": "macros/get_ad_group_columns.sql", "unique_id": "macro.reddit_ads_source.get_ad_group_columns", "macro_sql": "{% macro get_ad_group_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_value\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"configured_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"effective_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"expand_targeting\", \"datatype\": \"boolean\"},\n {\"name\": \"goal_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"goal_value\", \"datatype\": dbt.type_int()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_processing\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"optimization_strategy_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.536916, "supported_languages": null}, "macro.amazon_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"default_bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_float", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.5404449, "supported_languages": null}, "macro.amazon_ads_source.get_product_ad_history_columns": {"name": "get_product_ad_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_product_ad_history_columns.sql", "original_file_path": "macros/get_product_ad_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_product_ad_history_columns", "macro_sql": "{% macro get_product_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"asin\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"sku\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.543811, "supported_languages": null}, "macro.amazon_ads_source.get_profile_columns": {"name": "get_profile_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_profile_columns.sql", "original_file_path": "macros/get_profile_columns.sql", "unique_id": "macro.amazon_ads_source.get_profile_columns", "macro_sql": "{% macro get_profile_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_marketplace_string_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_sub_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_valid_payment_method\", \"datatype\": dbt.type_boolean()},\n {\"name\": \"country_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_deleted\", \"datatype\": dbt.type_boolean()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_boolean"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.5480058, "supported_languages": null}, "macro.amazon_ads_source.get_advertised_product_report_columns": {"name": "get_advertised_product_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_advertised_product_report_columns.sql", "original_file_path": "macros/get_advertised_product_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_advertised_product_report_columns", "macro_sql": "{% macro get_advertised_product_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"advertised_asin\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertised_sku\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__advertised_product_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.552428, "supported_languages": null}, "macro.amazon_ads_source.get_ad_group_level_report_columns": {"name": "get_ad_group_level_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_ad_group_level_report_columns.sql", "original_file_path": "macros/get_ad_group_level_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_ad_group_level_report_columns", "macro_sql": "{% macro get_ad_group_level_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_bidding_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.555114, "supported_languages": null}, "macro.amazon_ads_source.get_search_term_ad_keyword_report_columns": {"name": "get_search_term_ad_keyword_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_search_term_ad_keyword_report_columns.sql", "original_file_path": "macros/get_search_term_ad_keyword_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_search_term_ad_keyword_report_columns", "macro_sql": "{% macro get_search_term_ad_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_keyword_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"search_term\", \"datatype\": dbt.type_string()},\n {\"name\": \"targeting\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__search_term_ad_keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.560065, "supported_languages": null}, "macro.amazon_ads_source.get_campaign_level_report_columns": {"name": "get_campaign_level_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_campaign_level_report_columns.sql", "original_file_path": "macros/get_campaign_level_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_campaign_level_report_columns", "macro_sql": "{% macro get_campaign_level_report_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_applicable_budget_rule_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_applicable_budget_rule_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_bidding_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_rule_based_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_float", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.564611, "supported_languages": null}, "macro.amazon_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"bidding_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_date\", \"datatype\": \"date\"},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"portfolio_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"premium_bid_adjustment\", \"datatype\": \"boolean\"},\n {\"name\": \"profile_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_date\", \"datatype\": \"date\"},\n {\"name\": \"state\", \"datatype\": dbt.type_string()},\n {\"name\": \"targeting_type\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.5699651, "supported_languages": null}, "macro.amazon_ads_source.get_portfolio_history_columns": {"name": "get_portfolio_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_portfolio_history_columns.sql", "original_file_path": "macros/get_portfolio_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_portfolio_history_columns", "macro_sql": "{% macro get_portfolio_history_columns() %}\n\n{% set columns = [\n {\"name\": \"budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget_end_date\", \"datatype\": \"date\"},\n {\"name\": \"budget_policy\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget_start_date\", \"datatype\": \"date\"},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"in_budget\", \"datatype\": \"boolean\"},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"profile_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_float", "macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.575158, "supported_languages": null}, "macro.amazon_ads_source.get_targeting_keyword_report_columns": {"name": "get_targeting_keyword_report_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_targeting_keyword_report_columns.sql", "original_file_path": "macros/get_targeting_keyword_report_columns.sql", "unique_id": "macro.amazon_ads_source.get_targeting_keyword_report_columns", "macro_sql": "{% macro get_targeting_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_keyword_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_budget_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost\", \"datatype\": dbt.type_float()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"targeting\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('amazon_ads__targeting_keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.580819, "supported_languages": null}, "macro.amazon_ads_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "amazon_ads_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.amazon_ads_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_text\", \"datatype\": dbt.type_string()},\n {\"name\": \"last_updated_date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"native_language_keyword\", \"datatype\": dbt.type_string()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"state\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.584769, "supported_languages": null}, "macro.linkedin_source.get_creative_history_columns": {"name": "get_creative_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_creative_history_columns.sql", "original_file_path": "macros/get_creative_history_columns.sql", "unique_id": "macro.linkedin_source.get_creative_history_columns", "macro_sql": "{% macro get_creative_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"click_uri\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"last_modified_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"intended_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.588183, "supported_languages": null}, "macro.linkedin_source.get_campaign_group_history_columns": {"name": "get_campaign_group_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_campaign_group_history_columns.sql", "original_file_path": "macros/get_campaign_group_history_columns.sql", "unique_id": "macro.linkedin_source.get_campaign_group_history_columns", "macro_sql": "{% macro get_campaign_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"backfilled\", \"datatype\": \"boolean\"},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"run_schedule_end\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"run_schedule_start\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.591701, "supported_languages": null}, "macro.linkedin_source.get_ad_analytics_by_campaign_columns": {"name": "get_ad_analytics_by_campaign_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_ad_analytics_by_campaign_columns.sql", "original_file_path": "macros/get_ad_analytics_by_campaign_columns.sql", "unique_id": "macro.linkedin_source.get_ad_analytics_by_campaign_columns", "macro_sql": "{% macro get_ad_analytics_by_campaign_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_in_local_currency\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"cost_in_usd\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"day\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('linkedin_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.5943959, "supported_languages": null}, "macro.linkedin_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.linkedin_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"audience_expansion_enabled\", \"datatype\": \"boolean\"},\n {\"name\": \"campaign_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_selection\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"daily_budget_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"format\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"locale_country\", \"datatype\": dbt.type_string()},\n {\"name\": \"locale_language\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"objective_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"offsite_delivery_enabled\", \"datatype\": \"boolean\"},\n {\"name\": \"optimization_target_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"run_schedule_end\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"run_schedule_start\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"unit_cost_amount\", \"datatype\": dbt.type_float()},\n {\"name\": \"unit_cost_currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"version_tag\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6024902, "supported_languages": null}, "macro.linkedin_source.get_ad_analytics_by_creative_columns": {"name": "get_ad_analytics_by_creative_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_ad_analytics_by_creative_columns.sql", "original_file_path": "macros/get_ad_analytics_by_creative_columns.sql", "unique_id": "macro.linkedin_source.get_ad_analytics_by_creative_columns", "macro_sql": "{% macro get_ad_analytics_by_creative_columns() %}\n\n{% set columns = [\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_in_local_currency\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"cost_in_usd\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"creative_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"day\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('linkedin_ads__creative_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.60549, "supported_languages": null}, "macro.linkedin_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "linkedin_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.linkedin_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"last_modified_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"version_tag\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.608632, "supported_languages": null}, "macro.spark_utils.get_tables": {"name": "get_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.get_tables", "macro_sql": "{% macro get_tables(table_regex_pattern='.*') %}\n\n {% set tables = [] %}\n {% for database in spark__list_schemas('not_used') %}\n {% for table in spark__list_relations_without_caching(database[0]) %}\n {% set db_tablename = database[0] ~ \".\" ~ table[1] %}\n {% set is_match = modules.re.match(table_regex_pattern, db_tablename) %}\n {% if is_match %}\n {% call statement('table_detail', fetch_result=True) -%}\n describe extended {{ db_tablename }}\n {% endcall %}\n\n {% set table_type = load_result('table_detail').table|reverse|selectattr(0, 'in', ('type', 'TYPE', 'Type'))|first %}\n {% if table_type[1]|lower != 'view' %}\n {{ tables.append(db_tablename) }}\n {% endif %}\n {% endif %}\n {% endfor %}\n {% endfor %}\n {{ return(tables) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.622829, "supported_languages": null}, "macro.spark_utils.get_delta_tables": {"name": "get_delta_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.get_delta_tables", "macro_sql": "{% macro get_delta_tables(table_regex_pattern='.*') %}\n\n {% set delta_tables = [] %}\n {% for db_tablename in get_tables(table_regex_pattern) %}\n {% call statement('table_detail', fetch_result=True) -%}\n describe extended {{ db_tablename }}\n {% endcall %}\n\n {% set table_type = load_result('table_detail').table|reverse|selectattr(0, 'in', ('provider', 'PROVIDER', 'Provider'))|first %}\n {% if table_type[1]|lower == 'delta' %}\n {{ delta_tables.append(db_tablename) }}\n {% endif %}\n {% endfor %}\n {{ return(delta_tables) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_tables", "macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.625283, "supported_languages": null}, "macro.spark_utils.get_statistic_columns": {"name": "get_statistic_columns", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.get_statistic_columns", "macro_sql": "{% macro get_statistic_columns(table) %}\n\n {% call statement('input_columns', fetch_result=True) %}\n SHOW COLUMNS IN {{ table }}\n {% endcall %}\n {% set input_columns = load_result('input_columns').table %}\n\n {% set output_columns = [] %}\n {% for column in input_columns %}\n {% call statement('column_information', fetch_result=True) %}\n DESCRIBE TABLE {{ table }} `{{ column[0] }}`\n {% endcall %}\n {% if not load_result('column_information').table[1][1].startswith('struct') and not load_result('column_information').table[1][1].startswith('array') %}\n {{ output_columns.append('`' ~ column[0] ~ '`') }}\n {% endif %}\n {% endfor %}\n {{ return(output_columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6283178, "supported_languages": null}, "macro.spark_utils.spark_optimize_delta_tables": {"name": "spark_optimize_delta_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.spark_optimize_delta_tables", "macro_sql": "{% macro spark_optimize_delta_tables(table_regex_pattern='.*') %}\n\n {% for table in get_delta_tables(table_regex_pattern) %}\n {% set start=modules.datetime.datetime.now() %}\n {% set message_prefix=loop.index ~ \" of \" ~ loop.length %}\n {{ dbt_utils.log_info(message_prefix ~ \" Optimizing \" ~ table) }}\n {% do run_query(\"optimize \" ~ table) %}\n {% set end=modules.datetime.datetime.now() %}\n {% set total_seconds = (end - start).total_seconds() | round(2) %}\n {{ dbt_utils.log_info(message_prefix ~ \" Finished \" ~ table ~ \" in \" ~ total_seconds ~ \"s\") }}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_delta_tables", "macro.dbt_utils.log_info", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.630823, "supported_languages": null}, "macro.spark_utils.spark_vacuum_delta_tables": {"name": "spark_vacuum_delta_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.spark_vacuum_delta_tables", "macro_sql": "{% macro spark_vacuum_delta_tables(table_regex_pattern='.*') %}\n\n {% for table in get_delta_tables(table_regex_pattern) %}\n {% set start=modules.datetime.datetime.now() %}\n {% set message_prefix=loop.index ~ \" of \" ~ loop.length %}\n {{ dbt_utils.log_info(message_prefix ~ \" Vacuuming \" ~ table) }}\n {% do run_query(\"vacuum \" ~ table) %}\n {% set end=modules.datetime.datetime.now() %}\n {% set total_seconds = (end - start).total_seconds() | round(2) %}\n {{ dbt_utils.log_info(message_prefix ~ \" Finished \" ~ table ~ \" in \" ~ total_seconds ~ \"s\") }}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_delta_tables", "macro.dbt_utils.log_info", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.633285, "supported_languages": null}, "macro.spark_utils.spark_analyze_tables": {"name": "spark_analyze_tables", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/maintenance_operation.sql", "original_file_path": "macros/maintenance_operation.sql", "unique_id": "macro.spark_utils.spark_analyze_tables", "macro_sql": "{% macro spark_analyze_tables(table_regex_pattern='.*') %}\n\n {% for table in get_tables(table_regex_pattern) %}\n {% set start=modules.datetime.datetime.now() %}\n {% set columns = get_statistic_columns(table) | join(',') %}\n {% set message_prefix=loop.index ~ \" of \" ~ loop.length %}\n {{ dbt_utils.log_info(message_prefix ~ \" Analyzing \" ~ table) }}\n {% if columns != '' %}\n {% do run_query(\"analyze table \" ~ table ~ \" compute statistics for columns \" ~ columns) %}\n {% endif %}\n {% set end=modules.datetime.datetime.now() %}\n {% set total_seconds = (end - start).total_seconds() | round(2) %}\n {{ dbt_utils.log_info(message_prefix ~ \" Finished \" ~ table ~ \" in \" ~ total_seconds ~ \"s\") }}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.get_tables", "macro.spark_utils.get_statistic_columns", "macro.dbt_utils.log_info", "macro.dbt.run_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.636277, "supported_languages": null}, "macro.spark_utils.spark__concat": {"name": "spark__concat", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/concat.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/concat.sql", "unique_id": "macro.spark_utils.spark__concat", "macro_sql": "{% macro spark__concat(fields) -%}\n concat({{ fields|join(', ') }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.636896, "supported_languages": null}, "macro.spark_utils.spark__type_numeric": {"name": "spark__type_numeric", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/datatypes.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/datatypes.sql", "unique_id": "macro.spark_utils.spark__type_numeric", "macro_sql": "{% macro spark__type_numeric() %}\n decimal(28, 6)\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6373508, "supported_languages": null}, "macro.spark_utils.spark__dateadd": {"name": "spark__dateadd", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/dateadd.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/dateadd.sql", "unique_id": "macro.spark_utils.spark__dateadd", "macro_sql": "{% macro spark__dateadd(datepart, interval, from_date_or_timestamp) %}\n\n {%- set clock_component -%}\n {# make sure the dates + timestamps are real, otherwise raise an error asap #}\n to_unix_timestamp({{ spark_utils.assert_not_null('to_timestamp', from_date_or_timestamp) }})\n - to_unix_timestamp({{ spark_utils.assert_not_null('date', from_date_or_timestamp) }})\n {%- endset -%}\n\n {%- if datepart in ['day', 'week'] -%}\n \n {%- set multiplier = 7 if datepart == 'week' else 1 -%}\n\n to_timestamp(\n to_unix_timestamp(\n date_add(\n {{ spark_utils.assert_not_null('date', from_date_or_timestamp) }},\n cast({{interval}} * {{multiplier}} as int)\n )\n ) + {{clock_component}}\n )\n\n {%- elif datepart in ['month', 'quarter', 'year'] -%}\n \n {%- set multiplier -%} \n {%- if datepart == 'month' -%} 1\n {%- elif datepart == 'quarter' -%} 3\n {%- elif datepart == 'year' -%} 12\n {%- endif -%}\n {%- endset -%}\n\n to_timestamp(\n to_unix_timestamp(\n add_months(\n {{ spark_utils.assert_not_null('date', from_date_or_timestamp) }},\n cast({{interval}} * {{multiplier}} as int)\n )\n ) + {{clock_component}}\n )\n\n {%- elif datepart in ('hour', 'minute', 'second', 'millisecond', 'microsecond') -%}\n \n {%- set multiplier -%} \n {%- if datepart == 'hour' -%} 3600\n {%- elif datepart == 'minute' -%} 60\n {%- elif datepart == 'second' -%} 1\n {%- elif datepart == 'millisecond' -%} (1/1000000)\n {%- elif datepart == 'microsecond' -%} (1/1000000)\n {%- endif -%}\n {%- endset -%}\n\n to_timestamp(\n {{ spark_utils.assert_not_null('to_unix_timestamp', from_date_or_timestamp) }}\n + cast({{interval}} * {{multiplier}} as int)\n )\n\n {%- else -%}\n\n {{ exceptions.raise_compiler_error(\"macro dateadd not implemented for datepart ~ '\" ~ datepart ~ \"' ~ on Spark\") }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.assert_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.645588, "supported_languages": null}, "macro.spark_utils.spark__datediff": {"name": "spark__datediff", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/datediff.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/datediff.sql", "unique_id": "macro.spark_utils.spark__datediff", "macro_sql": "{% macro spark__datediff(first_date, second_date, datepart) %}\n\n {%- if datepart in ['day', 'week', 'month', 'quarter', 'year'] -%}\n \n {# make sure the dates are real, otherwise raise an error asap #}\n {% set first_date = spark_utils.assert_not_null('date', first_date) %}\n {% set second_date = spark_utils.assert_not_null('date', second_date) %}\n \n {%- endif -%}\n \n {%- if datepart == 'day' -%}\n \n datediff({{second_date}}, {{first_date}})\n \n {%- elif datepart == 'week' -%}\n \n case when {{first_date}} < {{second_date}}\n then floor(datediff({{second_date}}, {{first_date}})/7)\n else ceil(datediff({{second_date}}, {{first_date}})/7)\n end\n \n -- did we cross a week boundary (Sunday)?\n + case\n when {{first_date}} < {{second_date}} and dayofweek({{second_date}}) < dayofweek({{first_date}}) then 1\n when {{first_date}} > {{second_date}} and dayofweek({{second_date}}) > dayofweek({{first_date}}) then -1\n else 0 end\n\n {%- elif datepart == 'month' -%}\n\n case when {{first_date}} < {{second_date}}\n then floor(months_between(date({{second_date}}), date({{first_date}})))\n else ceil(months_between(date({{second_date}}), date({{first_date}})))\n end\n \n -- did we cross a month boundary?\n + case\n when {{first_date}} < {{second_date}} and dayofmonth({{second_date}}) < dayofmonth({{first_date}}) then 1\n when {{first_date}} > {{second_date}} and dayofmonth({{second_date}}) > dayofmonth({{first_date}}) then -1\n else 0 end\n \n {%- elif datepart == 'quarter' -%}\n \n case when {{first_date}} < {{second_date}}\n then floor(months_between(date({{second_date}}), date({{first_date}}))/3)\n else ceil(months_between(date({{second_date}}), date({{first_date}}))/3)\n end\n \n -- did we cross a quarter boundary?\n + case\n when {{first_date}} < {{second_date}} and (\n (dayofyear({{second_date}}) - (quarter({{second_date}}) * 365/4))\n < (dayofyear({{first_date}}) - (quarter({{first_date}}) * 365/4))\n ) then 1\n when {{first_date}} > {{second_date}} and (\n (dayofyear({{second_date}}) - (quarter({{second_date}}) * 365/4))\n > (dayofyear({{first_date}}) - (quarter({{first_date}}) * 365/4))\n ) then -1\n else 0 end\n\n {%- elif datepart == 'year' -%}\n \n year({{second_date}}) - year({{first_date}})\n\n {%- elif datepart in ('hour', 'minute', 'second', 'millisecond', 'microsecond') -%}\n \n {%- set divisor -%} \n {%- if datepart == 'hour' -%} 3600\n {%- elif datepart == 'minute' -%} 60\n {%- elif datepart == 'second' -%} 1\n {%- elif datepart == 'millisecond' -%} (1/1000)\n {%- elif datepart == 'microsecond' -%} (1/1000000)\n {%- endif -%}\n {%- endset -%}\n\n case when {{first_date}} < {{second_date}}\n then ceil((\n {# make sure the timestamps are real, otherwise raise an error asap #}\n {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', second_date)) }}\n - {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', first_date)) }}\n ) / {{divisor}})\n else floor((\n {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', second_date)) }}\n - {{ spark_utils.assert_not_null('to_unix_timestamp', spark_utils.assert_not_null('to_timestamp', first_date)) }}\n ) / {{divisor}})\n end\n \n {% if datepart == 'millisecond' %}\n + cast(date_format({{second_date}}, 'SSS') as int)\n - cast(date_format({{first_date}}, 'SSS') as int)\n {% endif %}\n \n {% if datepart == 'microsecond' %} \n {% set capture_str = '[0-9]{4}-[0-9]{2}-[0-9]{2}.[0-9]{2}:[0-9]{2}:[0-9]{2}.([0-9]{6})' %}\n -- Spark doesn't really support microseconds, so this is a massive hack!\n -- It will only work if the timestamp-string is of the format\n -- 'yyyy-MM-dd-HH mm.ss.SSSSSS'\n + cast(regexp_extract({{second_date}}, '{{capture_str}}', 1) as int)\n - cast(regexp_extract({{first_date}}, '{{capture_str}}', 1) as int) \n {% endif %}\n\n {%- else -%}\n\n {{ exceptions.raise_compiler_error(\"macro datediff not implemented for datepart ~ '\" ~ datepart ~ \"' ~ on Spark\") }}\n\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.assert_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.665313, "supported_languages": null}, "macro.spark_utils.spark__current_timestamp": {"name": "spark__current_timestamp", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "unique_id": "macro.spark_utils.spark__current_timestamp", "macro_sql": "{% macro spark__current_timestamp() %}\n current_timestamp()\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.665837, "supported_languages": null}, "macro.spark_utils.spark__current_timestamp_in_utc": {"name": "spark__current_timestamp_in_utc", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/current_timestamp.sql", "unique_id": "macro.spark_utils.spark__current_timestamp_in_utc", "macro_sql": "{% macro spark__current_timestamp_in_utc() %}\n unix_timestamp()\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6661062, "supported_languages": null}, "macro.spark_utils.spark__split_part": {"name": "spark__split_part", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/cross_db_utils/split_part.sql", "original_file_path": "macros/dbt_utils/cross_db_utils/split_part.sql", "unique_id": "macro.spark_utils.spark__split_part", "macro_sql": "{% macro spark__split_part(string_text, delimiter_text, part_number) %}\n\n {% set delimiter_expr %}\n \n -- escape if starts with a special character\n case when regexp_extract({{ delimiter_text }}, '([^A-Za-z0-9])(.*)', 1) != '_'\n then concat('\\\\', {{ delimiter_text }})\n else {{ delimiter_text }} end\n \n {% endset %}\n\n {% set split_part_expr %}\n \n split(\n {{ string_text }},\n {{ delimiter_expr }}\n )[({{ part_number - 1 }})]\n \n {% endset %}\n \n {{ return(split_part_expr) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.667766, "supported_languages": null}, "macro.spark_utils.spark__get_relations_by_pattern": {"name": "spark__get_relations_by_pattern", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_relations_by_pattern", "macro_sql": "{% macro spark__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n\n {%- call statement('get_tables', fetch_result=True) %}\n\n show table extended in {{ schema_pattern }} like '{{ table_pattern }}'\n\n {%- endcall -%}\n\n {%- set table_list = load_result('get_tables') -%}\n\n {%- if table_list and table_list['table'] -%}\n {%- set tbl_relations = [] -%}\n {%- for row in table_list['table'] -%}\n {%- set tbl_relation = api.Relation.create(\n database=None,\n schema=row[0],\n identifier=row[1],\n type=('view' if 'Type: VIEW' in row[3] else 'table')\n ) -%}\n {%- do tbl_relations.append(tbl_relation) -%}\n {%- endfor -%}\n\n {{ return(tbl_relations) }}\n {%- else -%}\n {{ return([]) }}\n {%- endif -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6727538, "supported_languages": null}, "macro.spark_utils.spark__get_relations_by_prefix": {"name": "spark__get_relations_by_prefix", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_relations_by_prefix", "macro_sql": "{% macro spark__get_relations_by_prefix(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {% set table_pattern = table_pattern ~ '*' %}\n {{ return(spark_utils.spark__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.spark__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.674075, "supported_languages": null}, "macro.spark_utils.spark__get_tables_by_pattern": {"name": "spark__get_tables_by_pattern", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_tables_by_pattern", "macro_sql": "{% macro spark__get_tables_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(spark_utils.spark__get_relations_by_pattern(schema_pattern, table_pattern, exclude='', database=target.database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.spark__get_relations_by_pattern"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6750379, "supported_languages": null}, "macro.spark_utils.spark__get_tables_by_prefix": {"name": "spark__get_tables_by_prefix", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "original_file_path": "macros/dbt_utils/sql/get_relations_by_prefix.sql", "unique_id": "macro.spark_utils.spark__get_tables_by_prefix", "macro_sql": "{% macro spark__get_tables_by_prefix(schema_pattern, table_pattern, exclude='', database=target.database) %}\n {{ return(spark_utils.spark__get_relations_by_prefix(schema_pattern, table_pattern, exclude='', database=target.database)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.spark_utils.spark__get_relations_by_prefix"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.675958, "supported_languages": null}, "macro.spark_utils.assert_not_null": {"name": "assert_not_null", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/etc/assert_not_null.sql", "original_file_path": "macros/etc/assert_not_null.sql", "unique_id": "macro.spark_utils.assert_not_null", "macro_sql": "{% macro assert_not_null(function, arg) -%}\n {{ return(adapter.dispatch('assert_not_null', 'spark_utils')(function, arg)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.spark_utils.default__assert_not_null"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.677013, "supported_languages": null}, "macro.spark_utils.default__assert_not_null": {"name": "default__assert_not_null", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/etc/assert_not_null.sql", "original_file_path": "macros/etc/assert_not_null.sql", "unique_id": "macro.spark_utils.default__assert_not_null", "macro_sql": "{% macro default__assert_not_null(function, arg) %}\n\n coalesce({{function}}({{arg}}), nvl2({{function}}({{arg}}), assert_true({{function}}({{arg}}) is not null), null))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.677702, "supported_languages": null}, "macro.spark_utils.spark__convert_timezone": {"name": "spark__convert_timezone", "resource_type": "macro", "package_name": "spark_utils", "path": "macros/snowplow/convert_timezone.sql", "original_file_path": "macros/snowplow/convert_timezone.sql", "unique_id": "macro.spark_utils.spark__convert_timezone", "macro_sql": "{% macro spark__convert_timezone(in_tz, out_tz, in_timestamp) %}\n from_utc_timestamp(to_utc_timestamp({{in_timestamp}}, {{in_tz}}), {{out_tz}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.678429, "supported_languages": null}, "macro.facebook_ads.get_url_tags_query": {"name": "get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.get_url_tags_query", "macro_sql": "{% macro get_url_tags_query() %}\n {{ return(adapter.dispatch('get_url_tags_query') ()) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.facebook_ads.bigquery__get_url_tags_query"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.68122, "supported_languages": null}, "macro.facebook_ads.bigquery__get_url_tags_query": {"name": "bigquery__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.bigquery__get_url_tags_query", "macro_sql": "{% macro bigquery__get_url_tags_query() %}\n\n cleaned_json as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_array(replace(trim(url_tags, '\"'),'\\\\','')) as cleaned_url_tags\n from required_fields\n ), \n\n unnested as (\n\n select \n _fivetran_id, \n creative_id, \n url_tag_element\n from cleaned_json\n left join unnest(cleaned_url_tags) as url_tag_element\n where cleaned_url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_scalar(url_tag_element, '$.key') as key,\n json_extract_scalar(url_tag_element, '$.value') as value,\n json_extract_scalar(url_tag_element, '$.type') as type\n from unnested\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.681626, "supported_languages": null}, "macro.facebook_ads.postgres__get_url_tags_query": {"name": "postgres__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.postgres__get_url_tags_query", "macro_sql": "{% macro postgres__get_url_tags_query() %}\n\n cleaned_json as (\n\n select\n _fivetran_id,\n creative_id,\n replace(trim(url_tags::text, '\"'),'\\\\','')::json as cleaned_url_tags\n from required_fields\n ), \n\n unnested as (\n\n select \n _fivetran_id, \n creative_id, \n url_tag_element\n from cleaned_json\n left join lateral json_array_elements(cleaned_url_tags) as url_tag_element on True\n where cleaned_url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tag_element->>'key' as key,\n url_tag_element->>'value' as value,\n url_tag_element->>'type' as type\n from unnested\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.6820018, "supported_languages": null}, "macro.facebook_ads.redshift__get_url_tags_query": {"name": "redshift__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.redshift__get_url_tags_query", "macro_sql": "{% macro redshift__get_url_tags_query() %}\n\n numbers as (\n\n {{ dbt_utils.generate_series(upper_bound=1000) }}\n\n ), \n\n flattened_url_tags as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_array_element_text(required_fields.url_tags, numbers.generated_number::int - 1, true) as element\n from required_fields\n inner join numbers\n on json_array_length(required_fields.url_tags) >= numbers.generated_number\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n json_extract_path_text(element,'key') as key,\n json_extract_path_text(element,'value') as value,\n json_extract_path_text(element,'type') as type\n from flattened_url_tags\n )\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_utils.generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.682574, "supported_languages": null}, "macro.facebook_ads.snowflake__get_url_tags_query": {"name": "snowflake__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.snowflake__get_url_tags_query", "macro_sql": "{% macro snowflake__get_url_tags_query() %}\n\n cleaned_fields as (\n\n select\n _fivetran_id,\n creative_id,\n parse_json(url_tags) as url_tags\n from required_fields\n where url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags.value:key::string as key,\n url_tags.value:value::string as value,\n url_tags.value:type::string as type\n from cleaned_fields,\n lateral flatten( input => url_tags ) as url_tags\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.682924, "supported_languages": null}, "macro.facebook_ads.spark__get_url_tags_query": {"name": "spark__get_url_tags_query", "resource_type": "macro", "package_name": "facebook_ads", "path": "macros/get_url_tag_query.sql", "original_file_path": "macros/get_url_tag_query.sql", "unique_id": "macro.facebook_ads.spark__get_url_tags_query", "macro_sql": "{% macro spark__get_url_tags_query() %}\n\n cleaned_fields as (\n\n select\n _fivetran_id,\n creative_id,\n explode(from_json(url_tags, 'array>')) as url_tags\n from required_fields\n where url_tags is not null\n ), \n\n fields as (\n\n select\n _fivetran_id,\n creative_id,\n url_tags.key as key,\n url_tags.value as value,\n url_tags.type as type\n from cleaned_fields\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.683249, "supported_languages": null}, "macro.dbt_date.get_date_dimension": {"name": "get_date_dimension", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_date_dimension.sql", "original_file_path": "macros/get_date_dimension.sql", "unique_id": "macro.dbt_date.get_date_dimension", "macro_sql": "{% macro get_date_dimension(start_date, end_date) %}\n {{ adapter.dispatch('get_date_dimension', 'dbt_date') (start_date, end_date) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_date_dimension"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7030568, "supported_languages": null}, "macro.dbt_date.default__get_date_dimension": {"name": "default__get_date_dimension", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_date_dimension.sql", "original_file_path": "macros/get_date_dimension.sql", "unique_id": "macro.dbt_date.default__get_date_dimension", "macro_sql": "{% macro default__get_date_dimension(start_date, end_date) %}\nwith base_dates as (\n {{ dbt_date.get_base_dates(start_date, end_date) }}\n),\ndates_with_prior_year_dates as (\n\n select\n cast(d.date_day as date) as date_day,\n cast({{ dbt.dateadd('year', -1 , 'd.date_day') }} as date) as prior_year_date_day,\n cast({{ dbt.dateadd('day', -364 , 'd.date_day') }} as date) as prior_year_over_year_date_day\n from\n \tbase_dates d\n\n)\nselect\n d.date_day,\n {{ dbt_date.yesterday('d.date_day') }} as prior_date_day,\n {{ dbt_date.tomorrow('d.date_day') }} as next_date_day,\n d.prior_year_date_day as prior_year_date_day,\n d.prior_year_over_year_date_day,\n {{ dbt_date.day_of_week('d.date_day', isoweek=false) }} as day_of_week,\n {{ dbt_date.day_of_week('d.date_day', isoweek=true) }} as day_of_week_iso,\n {{ dbt_date.day_name('d.date_day', short=false) }} as day_of_week_name,\n {{ dbt_date.day_name('d.date_day', short=true) }} as day_of_week_name_short,\n {{ dbt_date.day_of_month('d.date_day') }} as day_of_month,\n {{ dbt_date.day_of_year('d.date_day') }} as day_of_year,\n\n {{ dbt_date.week_start('d.date_day') }} as week_start_date,\n {{ dbt_date.week_end('d.date_day') }} as week_end_date,\n {{ dbt_date.week_start('d.prior_year_over_year_date_day') }} as prior_year_week_start_date,\n {{ dbt_date.week_end('d.prior_year_over_year_date_day') }} as prior_year_week_end_date,\n {{ dbt_date.week_of_year('d.date_day') }} as week_of_year,\n\n {{ dbt_date.iso_week_start('d.date_day') }} as iso_week_start_date,\n {{ dbt_date.iso_week_end('d.date_day') }} as iso_week_end_date,\n {{ dbt_date.iso_week_start('d.prior_year_over_year_date_day') }} as prior_year_iso_week_start_date,\n {{ dbt_date.iso_week_end('d.prior_year_over_year_date_day') }} as prior_year_iso_week_end_date,\n {{ dbt_date.iso_week_of_year('d.date_day') }} as iso_week_of_year,\n\n {{ dbt_date.week_of_year('d.prior_year_over_year_date_day') }} as prior_year_week_of_year,\n {{ dbt_date.iso_week_of_year('d.prior_year_over_year_date_day') }} as prior_year_iso_week_of_year,\n\n cast({{ dbt_date.date_part('month', 'd.date_day') }} as {{ dbt.type_int() }}) as month_of_year,\n {{ dbt_date.month_name('d.date_day', short=false) }} as month_name,\n {{ dbt_date.month_name('d.date_day', short=true) }} as month_name_short,\n\n cast({{ dbt.date_trunc('month', 'd.date_day') }} as date) as month_start_date,\n cast({{ last_day('d.date_day', 'month') }} as date) as month_end_date,\n\n cast({{ dbt.date_trunc('month', 'd.prior_year_date_day') }} as date) as prior_year_month_start_date,\n cast({{ last_day('d.prior_year_date_day', 'month') }} as date) as prior_year_month_end_date,\n\n cast({{ dbt_date.date_part('quarter', 'd.date_day') }} as {{ dbt.type_int() }}) as quarter_of_year,\n cast({{ dbt.date_trunc('quarter', 'd.date_day') }} as date) as quarter_start_date,\n cast({{ last_day('d.date_day', 'quarter') }} as date) as quarter_end_date,\n\n cast({{ dbt_date.date_part('year', 'd.date_day') }} as {{ dbt.type_int() }}) as year_number,\n cast({{ dbt.date_trunc('year', 'd.date_day') }} as date) as year_start_date,\n cast({{ last_day('d.date_day', 'year') }} as date) as year_end_date\nfrom\n dates_with_prior_year_dates d\norder by 1\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_base_dates", "macro.dbt.dateadd", "macro.dbt_date.yesterday", "macro.dbt_date.tomorrow", "macro.dbt_date.day_of_week", "macro.dbt_date.day_name", "macro.dbt_date.day_of_month", "macro.dbt_date.day_of_year", "macro.dbt_date.week_start", "macro.dbt_date.week_end", "macro.dbt_date.week_of_year", "macro.dbt_date.iso_week_start", "macro.dbt_date.iso_week_end", "macro.dbt_date.iso_week_of_year", "macro.dbt_date.date_part", "macro.dbt.type_int", "macro.dbt_date.month_name", "macro.dbt.date_trunc", "macro.dbt.last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7107358, "supported_languages": null}, "macro.dbt_date.postgres__get_date_dimension": {"name": "postgres__get_date_dimension", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_date_dimension.sql", "original_file_path": "macros/get_date_dimension.sql", "unique_id": "macro.dbt_date.postgres__get_date_dimension", "macro_sql": "{% macro postgres__get_date_dimension(start_date, end_date) %}\nwith base_dates as (\n {{ dbt_date.get_base_dates(start_date, end_date) }}\n),\ndates_with_prior_year_dates as (\n\n select\n cast(d.date_day as date) as date_day,\n cast({{ dbt.dateadd('year', -1 , 'd.date_day') }} as date) as prior_year_date_day,\n cast({{ dbt.dateadd('day', -364 , 'd.date_day') }} as date) as prior_year_over_year_date_day\n from\n \tbase_dates d\n\n)\nselect\n d.date_day,\n {{ dbt_date.yesterday('d.date_day') }} as prior_date_day,\n {{ dbt_date.tomorrow('d.date_day') }} as next_date_day,\n d.prior_year_date_day as prior_year_date_day,\n d.prior_year_over_year_date_day,\n {{ dbt_date.day_of_week('d.date_day', isoweek=true) }} as day_of_week,\n\n {{ dbt_date.day_name('d.date_day', short=false) }} as day_of_week_name,\n {{ dbt_date.day_name('d.date_day', short=true) }} as day_of_week_name_short,\n {{ dbt_date.day_of_month('d.date_day') }} as day_of_month,\n {{ dbt_date.day_of_year('d.date_day') }} as day_of_year,\n\n {{ dbt_date.week_start('d.date_day') }} as week_start_date,\n {{ dbt_date.week_end('d.date_day') }} as week_end_date,\n {{ dbt_date.week_start('d.prior_year_over_year_date_day') }} as prior_year_week_start_date,\n {{ dbt_date.week_end('d.prior_year_over_year_date_day') }} as prior_year_week_end_date,\n {{ dbt_date.week_of_year('d.date_day') }} as week_of_year,\n\n {{ dbt_date.iso_week_start('d.date_day') }} as iso_week_start_date,\n {{ dbt_date.iso_week_end('d.date_day') }} as iso_week_end_date,\n {{ dbt_date.iso_week_start('d.prior_year_over_year_date_day') }} as prior_year_iso_week_start_date,\n {{ dbt_date.iso_week_end('d.prior_year_over_year_date_day') }} as prior_year_iso_week_end_date,\n {{ dbt_date.iso_week_of_year('d.date_day') }} as iso_week_of_year,\n\n {{ dbt_date.week_of_year('d.prior_year_over_year_date_day') }} as prior_year_week_of_year,\n {{ dbt_date.iso_week_of_year('d.prior_year_over_year_date_day') }} as prior_year_iso_week_of_year,\n\n cast({{ dbt_date.date_part('month', 'd.date_day') }} as {{ dbt.type_int() }}) as month_of_year,\n {{ dbt_date.month_name('d.date_day', short=false) }} as month_name,\n {{ dbt_date.month_name('d.date_day', short=true) }} as month_name_short,\n\n cast({{ dbt.date_trunc('month', 'd.date_day') }} as date) as month_start_date,\n cast({{ last_day('d.date_day', 'month') }} as date) as month_end_date,\n\n cast({{ dbt.date_trunc('month', 'd.prior_year_date_day') }} as date) as prior_year_month_start_date,\n cast({{ last_day('d.prior_year_date_day', 'month') }} as date) as prior_year_month_end_date,\n\n cast({{ dbt_date.date_part('quarter', 'd.date_day') }} as {{ dbt.type_int() }}) as quarter_of_year,\n cast({{ dbt.date_trunc('quarter', 'd.date_day') }} as date) as quarter_start_date,\n {# last_day does not support quarter because postgresql does not support quarter interval. #}\n cast({{dbt.dateadd('day', '-1', dbt.dateadd('month', '3', dbt.date_trunc('quarter', 'd.date_day')))}} as date) as quarter_end_date,\n\n cast({{ dbt_date.date_part('year', 'd.date_day') }} as {{ dbt.type_int() }}) as year_number,\n cast({{ dbt.date_trunc('year', 'd.date_day') }} as date) as year_start_date,\n cast({{ last_day('d.date_day', 'year') }} as date) as year_end_date\nfrom\n dates_with_prior_year_dates d\norder by 1\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_base_dates", "macro.dbt.dateadd", "macro.dbt_date.yesterday", "macro.dbt_date.tomorrow", "macro.dbt_date.day_of_week", "macro.dbt_date.day_name", "macro.dbt_date.day_of_month", "macro.dbt_date.day_of_year", "macro.dbt_date.week_start", "macro.dbt_date.week_end", "macro.dbt_date.week_of_year", "macro.dbt_date.iso_week_start", "macro.dbt_date.iso_week_end", "macro.dbt_date.iso_week_of_year", "macro.dbt_date.date_part", "macro.dbt.type_int", "macro.dbt_date.month_name", "macro.dbt.date_trunc", "macro.dbt.last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.718826, "supported_languages": null}, "macro.dbt_date.get_base_dates": {"name": "get_base_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_base_dates.sql", "original_file_path": "macros/get_base_dates.sql", "unique_id": "macro.dbt_date.get_base_dates", "macro_sql": "{% macro get_base_dates(start_date=None, end_date=None, n_dateparts=None, datepart=\"day\") %}\n {{ adapter.dispatch('get_base_dates', 'dbt_date') (start_date, end_date, n_dateparts, datepart) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__get_base_dates"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.721858, "supported_languages": null}, "macro.dbt_date.default__get_base_dates": {"name": "default__get_base_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_base_dates.sql", "original_file_path": "macros/get_base_dates.sql", "unique_id": "macro.dbt_date.default__get_base_dates", "macro_sql": "{% macro default__get_base_dates(start_date, end_date, n_dateparts, datepart) %}\n\n{%- if start_date and end_date -%}\n{%- set start_date=\"cast('\" ~ start_date ~ \"' as \" ~ dbt.type_timestamp() ~ \")\" -%}\n{%- set end_date=\"cast('\" ~ end_date ~ \"' as \" ~ dbt.type_timestamp() ~ \")\" -%}\n\n{%- elif n_dateparts and datepart -%}\n\n{%- set start_date = dbt.dateadd(datepart, -1 * n_dateparts, dbt_date.today()) -%}\n{%- set end_date = dbt_date.tomorrow() -%}\n{%- endif -%}\n\nwith date_spine as\n(\n\n {{ dbt_date.date_spine(\n datepart=datepart,\n start_date=start_date,\n end_date=end_date,\n )\n }}\n\n)\nselect\n cast(d.date_{{ datepart }} as {{ dbt.type_timestamp() }}) as date_{{ datepart }}\nfrom\n date_spine d\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.dateadd", "macro.dbt_date.today", "macro.dbt_date.tomorrow", "macro.dbt_date.date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.724385, "supported_languages": null}, "macro.dbt_date.bigquery__get_base_dates": {"name": "bigquery__get_base_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/get_base_dates.sql", "original_file_path": "macros/get_base_dates.sql", "unique_id": "macro.dbt_date.bigquery__get_base_dates", "macro_sql": "{% macro bigquery__get_base_dates(start_date, end_date, n_dateparts, datepart) %}\n\n{%- if start_date and end_date -%}\n{%- set start_date=\"cast('\" ~ start_date ~ \"' as date )\" -%}\n{%- set end_date=\"cast('\" ~ end_date ~ \"' as date )\" -%}\n\n{%- elif n_dateparts and datepart -%}\n\n{%- set start_date = dbt.dateadd(datepart, -1 * n_dateparts, dbt_date.today()) -%}\n{%- set end_date = dbt_date.tomorrow() -%}\n{%- endif -%}\n\nwith date_spine as\n(\n\n {{ dbt_date.date_spine(\n datepart=datepart,\n start_date=start_date,\n end_date=end_date,\n )\n }}\n\n)\nselect\n cast(d.date_{{ datepart }} as {{ dbt.type_timestamp() }}) as date_{{ datepart }}\nfrom\n date_spine d\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt_date.today", "macro.dbt_date.tomorrow", "macro.dbt_date.date_spine", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.726725, "supported_languages": null}, "macro.dbt_date.get_intervals_between": {"name": "get_intervals_between", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.get_intervals_between", "macro_sql": "{% macro get_intervals_between(start_date, end_date, datepart) -%}\n {{ return(adapter.dispatch('get_intervals_between', 'dbt_date')(start_date, end_date, datepart)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_intervals_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.729045, "supported_languages": null}, "macro.dbt_date.default__get_intervals_between": {"name": "default__get_intervals_between", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.default__get_intervals_between", "macro_sql": "{% macro default__get_intervals_between(start_date, end_date, datepart) -%}\n {%- call statement('get_intervals_between', fetch_result=True) %}\n\n select {{ dbt.datediff(start_date, end_date, datepart) }}\n\n {%- endcall -%}\n\n {%- set value_list = load_result('get_intervals_between') -%}\n\n {%- if value_list and value_list['data'] -%}\n {%- set values = value_list['data'] | map(attribute=0) | list %}\n {{ return(values[0]) }}\n {%- else -%}\n {{ return(1) }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.731088, "supported_languages": null}, "macro.dbt_date.date_spine": {"name": "date_spine", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.date_spine", "macro_sql": "{% macro date_spine(datepart, start_date, end_date) %}\n {{ return(adapter.dispatch('date_spine', 'dbt_date')(datepart, start_date, end_date)) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__date_spine"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.731874, "supported_languages": null}, "macro.dbt_date.default__date_spine": {"name": "default__date_spine", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/date_spine.sql", "original_file_path": "macros/_utils/date_spine.sql", "unique_id": "macro.dbt_date.default__date_spine", "macro_sql": "{% macro default__date_spine(datepart, start_date, end_date) %}\n\n\n{# call as follows:\n\ndate_spine(\n \"day\",\n \"to_date('01/01/2016', 'mm/dd/yyyy')\",\n \"dbt.dateadd(week, 1, current_date)\"\n) #}\n\n\nwith rawdata as (\n\n {{\n dbt_date.generate_series(\n dbt_date.get_intervals_between(start_date, end_date, datepart)\n )\n }}\n\n),\n\nall_periods as (\n\n select (\n {{\n dbt.dateadd(\n datepart,\n \"row_number() over (order by 1) - 1\",\n start_date\n )\n }}\n ) as date_{{datepart}}\n from rawdata\n\n),\n\nfiltered as (\n\n select *\n from all_periods\n where date_{{datepart}} <= {{ end_date }}\n\n)\n\nselect * from filtered\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.generate_series", "macro.dbt_date.get_intervals_between", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.733047, "supported_languages": null}, "macro.dbt_date.get_powers_of_two": {"name": "get_powers_of_two", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.get_powers_of_two", "macro_sql": "{% macro get_powers_of_two(upper_bound) %}\n {{ return(adapter.dispatch('get_powers_of_two', 'dbt_date')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.73563, "supported_languages": null}, "macro.dbt_date.default__get_powers_of_two": {"name": "default__get_powers_of_two", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.default__get_powers_of_two", "macro_sql": "{% macro default__get_powers_of_two(upper_bound) %}\n\n {% if upper_bound <= 0 %}\n {{ exceptions.raise_compiler_error(\"upper bound must be positive\") }}\n {% endif %}\n\n {% for _ in range(1, 100) %}\n {% if upper_bound <= 2 ** loop.index %}{{ return(loop.index) }}{% endif %}\n {% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7370272, "supported_languages": null}, "macro.dbt_date.generate_series": {"name": "generate_series", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.generate_series", "macro_sql": "{% macro generate_series(upper_bound) %}\n {{ return(adapter.dispatch('generate_series', 'dbt_date')(upper_bound)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__generate_series"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.73771, "supported_languages": null}, "macro.dbt_date.default__generate_series": {"name": "default__generate_series", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/_utils/generate_series.sql", "original_file_path": "macros/_utils/generate_series.sql", "unique_id": "macro.dbt_date.default__generate_series", "macro_sql": "{% macro default__generate_series(upper_bound) %}\n\n {% set n = dbt_date.get_powers_of_two(upper_bound) %}\n\n with p as (\n select 0 as generated_number union all select 1\n ), unioned as (\n\n select\n\n {% for i in range(n) %}\n p{{i}}.generated_number * power(2, {{i}})\n {% if not loop.last %} + {% endif %}\n {% endfor %}\n + 1\n as generated_number\n\n from\n\n {% for i in range(n) %}\n p as p{{i}}\n {% if not loop.last %} cross join {% endif %}\n {% endfor %}\n\n )\n\n select *\n from unioned\n where generated_number <= {{upper_bound}}\n order by generated_number\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_powers_of_two"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.73949, "supported_languages": null}, "macro.dbt_date.get_fiscal_year_dates": {"name": "get_fiscal_year_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/fiscal_date/get_fiscal_year_dates.sql", "original_file_path": "macros/fiscal_date/get_fiscal_year_dates.sql", "unique_id": "macro.dbt_date.get_fiscal_year_dates", "macro_sql": "{% macro get_fiscal_year_dates(dates, year_end_month=12, week_start_day=1, shift_year=1) %}\n{{ adapter.dispatch('get_fiscal_year_dates', 'dbt_date') (dates, year_end_month, week_start_day, shift_year) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__get_fiscal_year_dates"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.743676, "supported_languages": null}, "macro.dbt_date.default__get_fiscal_year_dates": {"name": "default__get_fiscal_year_dates", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/fiscal_date/get_fiscal_year_dates.sql", "original_file_path": "macros/fiscal_date/get_fiscal_year_dates.sql", "unique_id": "macro.dbt_date.default__get_fiscal_year_dates", "macro_sql": "{% macro default__get_fiscal_year_dates(dates, year_end_month, week_start_day, shift_year) %}\n-- this gets all the dates within a fiscal year\n-- determined by the given year-end-month\n-- ending on the saturday closest to that month's end date\nwith date_dimension as (\n select * from {{ dates }}\n),\nyear_month_end as (\n\n select\n d.year_number - {{ shift_year }} as fiscal_year_number,\n d.month_end_date\n from\n date_dimension d\n where\n d.month_of_year = {{ year_end_month }}\n group by 1,2\n\n),\nweeks as (\n\n select\n d.year_number,\n d.month_of_year,\n d.date_day as week_start_date,\n cast({{ dbt.dateadd('day', 6, 'd.date_day') }} as date) as week_end_date\n from\n date_dimension d\n where\n d.day_of_week = {{ week_start_day }}\n\n),\n-- get all the weeks that start in the month the year ends\nyear_week_ends as (\n\n select\n d.year_number - {{ shift_year }} as fiscal_year_number,\n d.week_end_date\n from\n weeks d\n where\n d.month_of_year = {{ year_end_month }}\n group by\n 1,2\n\n),\n-- then calculate which Saturday is closest to month end\nweeks_at_month_end as (\n\n select\n d.fiscal_year_number,\n d.week_end_date,\n m.month_end_date,\n rank() over\n (partition by d.fiscal_year_number\n order by\n abs({{ dbt.datediff('d.week_end_date', 'm.month_end_date', 'day') }})\n\n ) as closest_to_month_end\n from\n year_week_ends d\n join\n year_month_end m on d.fiscal_year_number = m.fiscal_year_number\n),\nfiscal_year_range as (\n\n select\n w.fiscal_year_number,\n cast(\n {{ dbt.dateadd('day', 1,\n 'lag(w.week_end_date) over(order by w.week_end_date)') }}\n as date) as fiscal_year_start_date,\n w.week_end_date as fiscal_year_end_date\n from\n weeks_at_month_end w\n where\n w.closest_to_month_end = 1\n\n),\nfiscal_year_dates as (\n\n select\n d.date_day,\n m.fiscal_year_number,\n m.fiscal_year_start_date,\n m.fiscal_year_end_date,\n w.week_start_date,\n w.week_end_date,\n -- we reset the weeks of the year starting with the merch year start date\n dense_rank()\n over(\n partition by m.fiscal_year_number\n order by w.week_start_date\n ) as fiscal_week_of_year\n from\n date_dimension d\n join\n fiscal_year_range m on d.date_day between m.fiscal_year_start_date and m.fiscal_year_end_date\n join\n weeks w on d.date_day between w.week_start_date and w.week_end_date\n\n)\nselect * from fiscal_year_dates order by 1\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7454798, "supported_languages": null}, "macro.dbt_date.get_fiscal_periods": {"name": "get_fiscal_periods", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/fiscal_date/get_fiscal_periods.sql", "original_file_path": "macros/fiscal_date/get_fiscal_periods.sql", "unique_id": "macro.dbt_date.get_fiscal_periods", "macro_sql": "{% macro get_fiscal_periods(dates, year_end_month, week_start_day, shift_year=1) %}\n{#\nThis macro requires you to pass in a ref to a date dimension, created via\ndbt_date.get_date_dimension()s\n#}\nwith fscl_year_dates_for_periods as (\n {{ dbt_date.get_fiscal_year_dates(dates, year_end_month, week_start_day, shift_year) }}\n),\nfscl_year_w13 as (\n\n select\n f.*,\n -- We count the weeks in a 13 week period\n -- and separate the 4-5-4 week sequences\n mod(cast(\n (f.fiscal_week_of_year-1) as {{ dbt.type_int() }}\n ), 13) as w13_number,\n -- Chop weeks into 13 week merch quarters\n cast(\n least(\n floor((f.fiscal_week_of_year-1)/13.0)\n , 3)\n as {{ dbt.type_int() }}) as quarter_number\n from\n fscl_year_dates_for_periods f\n\n),\nfscl_periods as (\n\n select\n f.date_day,\n f.fiscal_year_number,\n f.week_start_date,\n f.week_end_date,\n f.fiscal_week_of_year,\n case\n -- we move week 53 into the 3rd period of the quarter\n when f.fiscal_week_of_year = 53 then 3\n when f.w13_number between 0 and 3 then 1\n when f.w13_number between 4 and 8 then 2\n when f.w13_number between 9 and 12 then 3\n end as period_of_quarter,\n f.quarter_number\n from\n fscl_year_w13 f\n\n),\nfscl_periods_quarters as (\n\n select\n f.*,\n cast((\n (f.quarter_number * 3) + f.period_of_quarter\n ) as {{ dbt.type_int() }}) as fiscal_period_number\n from\n fscl_periods f\n\n)\nselect\n date_day,\n fiscal_year_number,\n week_start_date,\n week_end_date,\n fiscal_week_of_year,\n dense_rank() over(partition by fiscal_period_number order by fiscal_week_of_year) as fiscal_week_of_period,\n fiscal_period_number,\n quarter_number+1 as fiscal_quarter_number,\n period_of_quarter as fiscal_period_of_quarter\nfrom\n fscl_periods_quarters\norder by 1,2\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_date.get_fiscal_year_dates", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.747879, "supported_languages": null}, "macro.dbt_date.tomorrow": {"name": "tomorrow", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/tomorrow.sql", "original_file_path": "macros/calendar_date/tomorrow.sql", "unique_id": "macro.dbt_date.tomorrow", "macro_sql": "{%- macro tomorrow(date=None, tz=None) -%}\n{{ dbt_date.n_days_away(1, date, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7486231, "supported_languages": null}, "macro.dbt_date.next_week": {"name": "next_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_week.sql", "original_file_path": "macros/calendar_date/next_week.sql", "unique_id": "macro.dbt_date.next_week", "macro_sql": "{%- macro next_week(tz=None) -%}\n{{ dbt_date.n_weeks_away(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_weeks_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.749216, "supported_languages": null}, "macro.dbt_date.next_month_name": {"name": "next_month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_month_name.sql", "original_file_path": "macros/calendar_date/next_month_name.sql", "unique_id": "macro.dbt_date.next_month_name", "macro_sql": "{%- macro next_month_name(short=True, tz=None) -%}\n{{ dbt_date.month_name(dbt_date.next_month(tz), short=short) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.month_name", "macro.dbt_date.next_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.749991, "supported_languages": null}, "macro.dbt_date.next_month": {"name": "next_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_month.sql", "original_file_path": "macros/calendar_date/next_month.sql", "unique_id": "macro.dbt_date.next_month", "macro_sql": "{%- macro next_month(tz=None) -%}\n{{ dbt_date.n_months_away(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_months_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.750593, "supported_languages": null}, "macro.dbt_date.day_name": {"name": "day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.day_name", "macro_sql": "{%- macro day_name(date, short=True) -%}\n {{ adapter.dispatch('day_name', 'dbt_date') (date, short) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__day_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.752244, "supported_languages": null}, "macro.dbt_date.default__day_name": {"name": "default__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.default__day_name", "macro_sql": "\n\n{%- macro default__day_name(date, short) -%}\n{%- set f = 'Dy' if short else 'Day' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.753093, "supported_languages": null}, "macro.dbt_date.snowflake__day_name": {"name": "snowflake__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.snowflake__day_name", "macro_sql": "\n\n{%- macro snowflake__day_name(date, short) -%}\n {%- if short -%}\n dayname({{ date }})\n {%- else -%}\n -- long version not implemented on Snowflake so we're doing it manually :/\n case dayname({{ date }})\n when 'Mon' then 'Monday'\n when 'Tue' then 'Tuesday'\n when 'Wed' then 'Wednesday'\n when 'Thu' then 'Thursday'\n when 'Fri' then 'Friday'\n when 'Sat' then 'Saturday'\n when 'Sun' then 'Sunday'\n end\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.753769, "supported_languages": null}, "macro.dbt_date.bigquery__day_name": {"name": "bigquery__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.bigquery__day_name", "macro_sql": "\n\n{%- macro bigquery__day_name(date, short) -%}\n{%- set f = '%a' if short else '%A' -%}\n format_date('{{ f }}', cast({{ date }} as date))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.754457, "supported_languages": null}, "macro.dbt_date.postgres__day_name": {"name": "postgres__day_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_name.sql", "original_file_path": "macros/calendar_date/day_name.sql", "unique_id": "macro.dbt_date.postgres__day_name", "macro_sql": "\n\n{%- macro postgres__day_name(date, short) -%}\n{# FM = Fill mode, which suppresses padding blanks #}\n{%- set f = 'FMDy' if short else 'FMDay' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.755125, "supported_languages": null}, "macro.dbt_date.to_unixtimestamp": {"name": "to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.to_unixtimestamp", "macro_sql": "{%- macro to_unixtimestamp(timestamp) -%}\n {{ adapter.dispatch('to_unixtimestamp', 'dbt_date') (timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__to_unixtimestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.756064, "supported_languages": null}, "macro.dbt_date.default__to_unixtimestamp": {"name": "default__to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.default__to_unixtimestamp", "macro_sql": "\n\n{%- macro default__to_unixtimestamp(timestamp) -%}\n {{ dbt_date.date_part('epoch', timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.756533, "supported_languages": null}, "macro.dbt_date.snowflake__to_unixtimestamp": {"name": "snowflake__to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.snowflake__to_unixtimestamp", "macro_sql": "\n\n{%- macro snowflake__to_unixtimestamp(timestamp) -%}\n {{ dbt_date.date_part('epoch_seconds', timestamp) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7569962, "supported_languages": null}, "macro.dbt_date.bigquery__to_unixtimestamp": {"name": "bigquery__to_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/to_unixtimestamp.sql", "original_file_path": "macros/calendar_date/to_unixtimestamp.sql", "unique_id": "macro.dbt_date.bigquery__to_unixtimestamp", "macro_sql": "\n\n{%- macro bigquery__to_unixtimestamp(timestamp) -%}\n unix_seconds({{ timestamp }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7574852, "supported_languages": null}, "macro.dbt_date.n_days_away": {"name": "n_days_away", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_days_away.sql", "original_file_path": "macros/calendar_date/n_days_away.sql", "unique_id": "macro.dbt_date.n_days_away", "macro_sql": "{%- macro n_days_away(n, date=None, tz=None) -%}\n{{ dbt_date.n_days_ago(-1 * n, date, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_days_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.758293, "supported_languages": null}, "macro.dbt_date.week_start": {"name": "week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.week_start", "macro_sql": "{%- macro week_start(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('week_start', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.759773, "supported_languages": null}, "macro.dbt_date.default__week_start": {"name": "default__week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.default__week_start", "macro_sql": "{%- macro default__week_start(date) -%}\ncast({{ dbt.date_trunc('week', date) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7602859, "supported_languages": null}, "macro.dbt_date.snowflake__week_start": {"name": "snowflake__week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.snowflake__week_start", "macro_sql": "\n\n{%- macro snowflake__week_start(date) -%}\n {#\n Get the day of week offset: e.g. if the date is a Sunday,\n dbt_date.day_of_week returns 1, so we subtract 1 to get a 0 offset\n #}\n {% set off_set = dbt_date.day_of_week(date, isoweek=False) ~ \" - 1\" %}\n cast({{ dbt.dateadd(\"day\", \"-1 * (\" ~ off_set ~ \")\", date) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.day_of_week", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7612438, "supported_languages": null}, "macro.dbt_date.postgres__week_start": {"name": "postgres__week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_start.sql", "original_file_path": "macros/calendar_date/week_start.sql", "unique_id": "macro.dbt_date.postgres__week_start", "macro_sql": "\n\n{%- macro postgres__week_start(date) -%}\n-- Sunday as week start date\ncast({{ dbt.dateadd('day', -1, dbt.date_trunc('week', dbt.dateadd('day', 1, date))) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd", "macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.762105, "supported_languages": null}, "macro.dbt_date.iso_week_start": {"name": "iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.iso_week_start", "macro_sql": "{%- macro iso_week_start(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('iso_week_start', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.763594, "supported_languages": null}, "macro.dbt_date._iso_week_start": {"name": "_iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date._iso_week_start", "macro_sql": "{%- macro _iso_week_start(date, week_type) -%}\ncast({{ dbt.date_trunc(week_type, date) }} as date)\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.date_trunc"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.764117, "supported_languages": null}, "macro.dbt_date.default__iso_week_start": {"name": "default__iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.default__iso_week_start", "macro_sql": "\n\n{%- macro default__iso_week_start(date) -%}\n{{ dbt_date._iso_week_start(date, 'isoweek') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7645922, "supported_languages": null}, "macro.dbt_date.snowflake__iso_week_start": {"name": "snowflake__iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.snowflake__iso_week_start", "macro_sql": "\n\n{%- macro snowflake__iso_week_start(date) -%}\n{{ dbt_date._iso_week_start(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7650602, "supported_languages": null}, "macro.dbt_date.postgres__iso_week_start": {"name": "postgres__iso_week_start", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_start.sql", "original_file_path": "macros/calendar_date/iso_week_start.sql", "unique_id": "macro.dbt_date.postgres__iso_week_start", "macro_sql": "\n\n{%- macro postgres__iso_week_start(date) -%}\n{{ dbt_date._iso_week_start(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_start"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.765552, "supported_languages": null}, "macro.dbt_date.n_days_ago": {"name": "n_days_ago", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_days_ago.sql", "original_file_path": "macros/calendar_date/n_days_ago.sql", "unique_id": "macro.dbt_date.n_days_ago", "macro_sql": "{%- macro n_days_ago(n, date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{%- set n = n|int -%}\ncast({{ dbt.dateadd('day', -1 * n, dt) }} as date)\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.766846, "supported_languages": null}, "macro.dbt_date.last_week": {"name": "last_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_week.sql", "original_file_path": "macros/calendar_date/last_week.sql", "unique_id": "macro.dbt_date.last_week", "macro_sql": "{%- macro last_week(tz=None) -%}\n{{ dbt_date.n_weeks_ago(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_weeks_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.767464, "supported_languages": null}, "macro.dbt_date.now": {"name": "now", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/now.sql", "original_file_path": "macros/calendar_date/now.sql", "unique_id": "macro.dbt_date.now", "macro_sql": "{%- macro now(tz=None) -%}\n{{ dbt_date.convert_timezone(dbt.current_timestamp(), tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.convert_timezone", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.768158, "supported_languages": null}, "macro.dbt_date.periods_since": {"name": "periods_since", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/periods_since.sql", "original_file_path": "macros/calendar_date/periods_since.sql", "unique_id": "macro.dbt_date.periods_since", "macro_sql": "{%- macro periods_since(date_col, period_name='day', tz=None) -%}\n{{ dbt.datediff(date_col, dbt_date.now(tz), period_name) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.datediff", "macro.dbt_date.now"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.769086, "supported_languages": null}, "macro.dbt_date.today": {"name": "today", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/today.sql", "original_file_path": "macros/calendar_date/today.sql", "unique_id": "macro.dbt_date.today", "macro_sql": "{%- macro today(tz=None) -%}\ncast({{ dbt_date.now(tz) }} as date)\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.now"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.770014, "supported_languages": null}, "macro.dbt_date.last_month": {"name": "last_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_month.sql", "original_file_path": "macros/calendar_date/last_month.sql", "unique_id": "macro.dbt_date.last_month", "macro_sql": "{%- macro last_month(tz=None) -%}\n{{ dbt_date.n_months_ago(1, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_months_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.770826, "supported_languages": null}, "macro.dbt_date.day_of_year": {"name": "day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.day_of_year", "macro_sql": "{%- macro day_of_year(date) -%}\n{{ adapter.dispatch('day_of_year', 'dbt_date') (date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.default__day_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.771876, "supported_languages": null}, "macro.dbt_date.default__day_of_year": {"name": "default__day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.default__day_of_year", "macro_sql": "\n\n{%- macro default__day_of_year(date) -%}\n {{ dbt_date.date_part('dayofyear', date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.772403, "supported_languages": null}, "macro.dbt_date.postgres__day_of_year": {"name": "postgres__day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.postgres__day_of_year", "macro_sql": "\n\n{%- macro postgres__day_of_year(date) -%}\n {{ dbt_date.date_part('doy', date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.772901, "supported_languages": null}, "macro.dbt_date.redshift__day_of_year": {"name": "redshift__day_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_year.sql", "original_file_path": "macros/calendar_date/day_of_year.sql", "unique_id": "macro.dbt_date.redshift__day_of_year", "macro_sql": "\n\n{%- macro redshift__day_of_year(date) -%}\n cast({{ dbt_date.date_part('dayofyear', date) }} as {{ dbt.type_bigint() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7735329, "supported_languages": null}, "macro.dbt_date.round_timestamp": {"name": "round_timestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/round_timestamp.sql", "original_file_path": "macros/calendar_date/round_timestamp.sql", "unique_id": "macro.dbt_date.round_timestamp", "macro_sql": "{% macro round_timestamp(timestamp) %}\n {{ dbt.date_trunc(\"day\", dbt.dateadd(\"hour\", 12, timestamp)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.774378, "supported_languages": null}, "macro.dbt_date.from_unixtimestamp": {"name": "from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.from_unixtimestamp", "macro_sql": "{%- macro from_unixtimestamp(epochs, format=\"seconds\") -%}\n {{ adapter.dispatch('from_unixtimestamp', 'dbt_date') (epochs, format) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__from_unixtimestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7776399, "supported_languages": null}, "macro.dbt_date.default__from_unixtimestamp": {"name": "default__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.default__from_unixtimestamp", "macro_sql": "\n\n{%- macro default__from_unixtimestamp(epochs, format=\"seconds\") -%}\n {%- if format != \"seconds\" -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n to_timestamp({{ epochs }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.778552, "supported_languages": null}, "macro.dbt_date.postgres__from_unixtimestamp": {"name": "postgres__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.postgres__from_unixtimestamp", "macro_sql": "\n\n{%- macro postgres__from_unixtimestamp(epochs, format=\"seconds\") -%}\n {%- if format != \"seconds\" -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n cast(to_timestamp({{ epochs }}) at time zone 'UTC' as timestamp)\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.779437, "supported_languages": null}, "macro.dbt_date.snowflake__from_unixtimestamp": {"name": "snowflake__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.snowflake__from_unixtimestamp", "macro_sql": "\n\n{%- macro snowflake__from_unixtimestamp(epochs, format) -%}\n {%- if format == \"seconds\" -%}\n {%- set scale = 0 -%}\n {%- elif format == \"milliseconds\" -%}\n {%- set scale = 3 -%}\n {%- elif format == \"microseconds\" -%}\n {%- set scale = 6 -%}\n {%- else -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n to_timestamp_ntz({{ epochs }}, {{ scale }})\n\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.781146, "supported_languages": null}, "macro.dbt_date.bigquery__from_unixtimestamp": {"name": "bigquery__from_unixtimestamp", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/from_unixtimestamp.sql", "original_file_path": "macros/calendar_date/from_unixtimestamp.sql", "unique_id": "macro.dbt_date.bigquery__from_unixtimestamp", "macro_sql": "\n\n{%- macro bigquery__from_unixtimestamp(epochs, format) -%}\n {%- if format == \"seconds\" -%}\n timestamp_seconds({{ epochs }})\n {%- elif format == \"milliseconds\" -%}\n timestamp_millis({{ epochs }})\n {%- elif format == \"microseconds\" -%}\n timestamp_micros({{ epochs }})\n {%- else -%}\n {{ exceptions.raise_compiler_error(\n \"value \" ~ format ~ \" for `format` for from_unixtimestamp is not supported.\"\n )\n }}\n {% endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7824378, "supported_languages": null}, "macro.dbt_date.n_months_ago": {"name": "n_months_ago", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_months_ago.sql", "original_file_path": "macros/calendar_date/n_months_ago.sql", "unique_id": "macro.dbt_date.n_months_ago", "macro_sql": "{%- macro n_months_ago(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('month',\n dbt.dateadd('month', -1 * n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.7837372, "supported_languages": null}, "macro.dbt_date.date_part": {"name": "date_part", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/date_part.sql", "original_file_path": "macros/calendar_date/date_part.sql", "unique_id": "macro.dbt_date.date_part", "macro_sql": "{% macro date_part(datepart, date) -%}\n {{ adapter.dispatch('date_part', 'dbt_date') (datepart, date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.784698, "supported_languages": null}, "macro.dbt_date.default__date_part": {"name": "default__date_part", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/date_part.sql", "original_file_path": "macros/calendar_date/date_part.sql", "unique_id": "macro.dbt_date.default__date_part", "macro_sql": "{% macro default__date_part(datepart, date) -%}\n date_part('{{ datepart }}', {{ date }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.785147, "supported_languages": null}, "macro.dbt_date.bigquery__date_part": {"name": "bigquery__date_part", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/date_part.sql", "original_file_path": "macros/calendar_date/date_part.sql", "unique_id": "macro.dbt_date.bigquery__date_part", "macro_sql": "{% macro bigquery__date_part(datepart, date) -%}\n extract({{ datepart }} from {{ date }})\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.78558, "supported_languages": null}, "macro.dbt_date.n_weeks_away": {"name": "n_weeks_away", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_weeks_away.sql", "original_file_path": "macros/calendar_date/n_weeks_away.sql", "unique_id": "macro.dbt_date.n_weeks_away", "macro_sql": "{%- macro n_weeks_away(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('week',\n dbt.dateadd('week', n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.78667, "supported_languages": null}, "macro.dbt_date.day_of_month": {"name": "day_of_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_month.sql", "original_file_path": "macros/calendar_date/day_of_month.sql", "unique_id": "macro.dbt_date.day_of_month", "macro_sql": "{%- macro day_of_month(date) -%}\n{{ dbt_date.date_part('day', date) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.787343, "supported_languages": null}, "macro.dbt_date.redshift__day_of_month": {"name": "redshift__day_of_month", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_month.sql", "original_file_path": "macros/calendar_date/day_of_month.sql", "unique_id": "macro.dbt_date.redshift__day_of_month", "macro_sql": "\n\n{%- macro redshift__day_of_month(date) -%}\ncast({{ dbt_date.date_part('day', date) }} as {{ dbt.type_bigint() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.787963, "supported_languages": null}, "macro.dbt_date.yesterday": {"name": "yesterday", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/yesterday.sql", "original_file_path": "macros/calendar_date/yesterday.sql", "unique_id": "macro.dbt_date.yesterday", "macro_sql": "{%- macro yesterday(date=None, tz=None) -%}\n{{ dbt_date.n_days_ago(1, date, tz) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.n_days_ago"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.788681, "supported_languages": null}, "macro.dbt_date.day_of_week": {"name": "day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.day_of_week", "macro_sql": "{%- macro day_of_week(date, isoweek=true) -%}\n{{ adapter.dispatch('day_of_week', 'dbt_date') (date, isoweek) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__day_of_week"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.792976, "supported_languages": null}, "macro.dbt_date.default__day_of_week": {"name": "default__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.default__day_of_week", "macro_sql": "\n\n{%- macro default__day_of_week(date, isoweek) -%}\n\n {%- set dow = dbt_date.date_part('dayofweek', date) -%}\n\n {%- if isoweek -%}\n case\n -- Shift start of week from Sunday (0) to Monday (1)\n when {{ dow }} = 0 then 7\n else {{ dow }}\n end\n {%- else -%}\n {{ dow }} + 1\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.794222, "supported_languages": null}, "macro.dbt_date.snowflake__day_of_week": {"name": "snowflake__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.snowflake__day_of_week", "macro_sql": "\n\n{%- macro snowflake__day_of_week(date, isoweek) -%}\n\n {%- if isoweek -%}\n {%- set dow_part = 'dayofweekiso' -%}\n {{ dbt_date.date_part(dow_part, date) }}\n {%- else -%}\n {%- set dow_part = 'dayofweek' -%}\n case\n when {{ dbt_date.date_part(dow_part, date) }} = 7 then 1\n else {{ dbt_date.date_part(dow_part, date) }} + 1\n end\n {%- endif -%}\n\n\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.795542, "supported_languages": null}, "macro.dbt_date.bigquery__day_of_week": {"name": "bigquery__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.bigquery__day_of_week", "macro_sql": "\n\n{%- macro bigquery__day_of_week(date, isoweek) -%}\n\n {%- set dow = dbt_date.date_part('dayofweek', date) -%}\n\n {%- if isoweek -%}\n case\n -- Shift start of week from Sunday (1) to Monday (2)\n when {{ dow }} = 1 then 7\n else {{ dow }} - 1\n end\n {%- else -%}\n {{ dow }}\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.796515, "supported_languages": null}, "macro.dbt_date.postgres__day_of_week": {"name": "postgres__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.postgres__day_of_week", "macro_sql": "\n\n\n{%- macro postgres__day_of_week(date, isoweek) -%}\n\n {%- if isoweek -%}\n {%- set dow_part = 'isodow' -%}\n -- Monday(1) to Sunday (7)\n cast({{ dbt_date.date_part(dow_part, date) }} as {{ dbt.type_int() }})\n {%- else -%}\n {%- set dow_part = 'dow' -%}\n -- Sunday(1) to Saturday (7)\n cast({{ dbt_date.date_part(dow_part, date) }} + 1 as {{ dbt.type_int() }})\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.797906, "supported_languages": null}, "macro.dbt_date.redshift__day_of_week": {"name": "redshift__day_of_week", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/day_of_week.sql", "original_file_path": "macros/calendar_date/day_of_week.sql", "unique_id": "macro.dbt_date.redshift__day_of_week", "macro_sql": "\n\n\n{%- macro redshift__day_of_week(date, isoweek) -%}\n\n {%- set dow = dbt_date.date_part('dayofweek', date) -%}\n\n {%- if isoweek -%}\n case\n -- Shift start of week from Sunday (0) to Monday (1)\n when {{ dow }} = 0 then 7\n else cast({{ dow }} as {{ dbt.type_bigint() }})\n end\n {%- else -%}\n cast({{ dow }} + 1 as {{ dbt.type_bigint() }})\n {%- endif -%}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_bigint"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.799108, "supported_languages": null}, "macro.dbt_date.iso_week_end": {"name": "iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date.iso_week_end", "macro_sql": "{%- macro iso_week_end(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('iso_week_end', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__iso_week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.80052, "supported_languages": null}, "macro.dbt_date._iso_week_end": {"name": "_iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date._iso_week_end", "macro_sql": "{%- macro _iso_week_end(date, week_type) -%}\n{%- set dt = dbt_date.iso_week_start(date) -%}\n{{ dbt_date.n_days_away(6, dt) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.iso_week_start", "macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8012202, "supported_languages": null}, "macro.dbt_date.default__iso_week_end": {"name": "default__iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date.default__iso_week_end", "macro_sql": "\n\n{%- macro default__iso_week_end(date) -%}\n{{ dbt_date._iso_week_end(date, 'isoweek') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.801693, "supported_languages": null}, "macro.dbt_date.snowflake__iso_week_end": {"name": "snowflake__iso_week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_end.sql", "original_file_path": "macros/calendar_date/iso_week_end.sql", "unique_id": "macro.dbt_date.snowflake__iso_week_end", "macro_sql": "\n\n{%- macro snowflake__iso_week_end(date) -%}\n{{ dbt_date._iso_week_end(date, 'weekiso') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.802165, "supported_languages": null}, "macro.dbt_date.n_weeks_ago": {"name": "n_weeks_ago", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_weeks_ago.sql", "original_file_path": "macros/calendar_date/n_weeks_ago.sql", "unique_id": "macro.dbt_date.n_weeks_ago", "macro_sql": "{%- macro n_weeks_ago(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('week',\n dbt.dateadd('week', -1 * n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8034759, "supported_languages": null}, "macro.dbt_date.month_name": {"name": "month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.month_name", "macro_sql": "{%- macro month_name(date, short=True) -%}\n {{ adapter.dispatch('month_name', 'dbt_date') (date, short) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.bigquery__month_name"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.804907, "supported_languages": null}, "macro.dbt_date.default__month_name": {"name": "default__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.default__month_name", "macro_sql": "\n\n{%- macro default__month_name(date, short) -%}\n{%- set f = 'MON' if short else 'MONTH' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.805582, "supported_languages": null}, "macro.dbt_date.bigquery__month_name": {"name": "bigquery__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.bigquery__month_name", "macro_sql": "\n\n{%- macro bigquery__month_name(date, short) -%}\n{%- set f = '%b' if short else '%B' -%}\n format_date('{{ f }}', cast({{ date }} as date))\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.806237, "supported_languages": null}, "macro.dbt_date.snowflake__month_name": {"name": "snowflake__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.snowflake__month_name", "macro_sql": "\n\n{%- macro snowflake__month_name(date, short) -%}\n{%- set f = 'MON' if short else 'MMMM' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.806904, "supported_languages": null}, "macro.dbt_date.postgres__month_name": {"name": "postgres__month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/month_name.sql", "original_file_path": "macros/calendar_date/month_name.sql", "unique_id": "macro.dbt_date.postgres__month_name", "macro_sql": "\n\n{%- macro postgres__month_name(date, short) -%}\n{# FM = Fill mode, which suppresses padding blanks #}\n{%- set f = 'FMMon' if short else 'FMMonth' -%}\n to_char({{ date }}, '{{ f }}')\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.80762, "supported_languages": null}, "macro.dbt_date.last_month_name": {"name": "last_month_name", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_month_name.sql", "original_file_path": "macros/calendar_date/last_month_name.sql", "unique_id": "macro.dbt_date.last_month_name", "macro_sql": "{%- macro last_month_name(short=True, tz=None) -%}\n{{ dbt_date.month_name(dbt_date.last_month(tz), short=short) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.month_name", "macro.dbt_date.last_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8084512, "supported_languages": null}, "macro.dbt_date.week_of_year": {"name": "week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_of_year.sql", "original_file_path": "macros/calendar_date/week_of_year.sql", "unique_id": "macro.dbt_date.week_of_year", "macro_sql": "{%- macro week_of_year(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('week_of_year', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8098938, "supported_languages": null}, "macro.dbt_date.default__week_of_year": {"name": "default__week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_of_year.sql", "original_file_path": "macros/calendar_date/week_of_year.sql", "unique_id": "macro.dbt_date.default__week_of_year", "macro_sql": "{%- macro default__week_of_year(date) -%}\ncast({{ dbt_date.date_part('week', date) }} as {{ dbt.type_int() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.810554, "supported_languages": null}, "macro.dbt_date.postgres__week_of_year": {"name": "postgres__week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_of_year.sql", "original_file_path": "macros/calendar_date/week_of_year.sql", "unique_id": "macro.dbt_date.postgres__week_of_year", "macro_sql": "\n\n{%- macro postgres__week_of_year(date) -%}\n{# postgresql 'week' returns isoweek. Use to_char instead.\n WW = the first week starts on the first day of the year #}\ncast(to_char({{ date }}, 'WW') as {{ dbt.type_int() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.811063, "supported_languages": null}, "macro.dbt_date.convert_timezone": {"name": "convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.convert_timezone", "macro_sql": "{%- macro convert_timezone(column, target_tz=None, source_tz=None) -%}\n{%- set source_tz = \"UTC\" if not source_tz else source_tz -%}\n{%- set target_tz = var(\"dbt_date:time_zone\") if not target_tz else target_tz -%}\n{{ adapter.dispatch('convert_timezone', 'dbt_date') (column, target_tz, source_tz) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.bigquery__convert_timezone"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.813731, "supported_languages": null}, "macro.dbt_date.default__convert_timezone": {"name": "default__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.default__convert_timezone", "macro_sql": "{% macro default__convert_timezone(column, target_tz, source_tz) -%}\nconvert_timezone('{{ source_tz }}', '{{ target_tz }}',\n cast({{ column }} as {{ dbt.type_timestamp() }})\n)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.814686, "supported_languages": null}, "macro.dbt_date.bigquery__convert_timezone": {"name": "bigquery__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.bigquery__convert_timezone", "macro_sql": "{%- macro bigquery__convert_timezone(column, target_tz, source_tz=None) -%}\ntimestamp(datetime({{ column }}, '{{ target_tz}}'))\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8152142, "supported_languages": null}, "macro.dbt_date.spark__convert_timezone": {"name": "spark__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.spark__convert_timezone", "macro_sql": "{%- macro spark__convert_timezone(column, target_tz, source_tz) -%}\nfrom_utc_timestamp(\n to_utc_timestamp({{ column }}, '{{ source_tz }}'),\n '{{ target_tz }}'\n )\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.815768, "supported_languages": null}, "macro.dbt_date.postgres__convert_timezone": {"name": "postgres__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.postgres__convert_timezone", "macro_sql": "{% macro postgres__convert_timezone(column, target_tz, source_tz) -%}\ncast(\n cast({{ column }} as {{ dbt.type_timestamp() }})\n at time zone '{{ source_tz }}' at time zone '{{ target_tz }}' as {{ dbt.type_timestamp() }}\n)\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.816544, "supported_languages": null}, "macro.dbt_date.redshift__convert_timezone": {"name": "redshift__convert_timezone", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/convert_timezone.sql", "original_file_path": "macros/calendar_date/convert_timezone.sql", "unique_id": "macro.dbt_date.redshift__convert_timezone", "macro_sql": "{%- macro redshift__convert_timezone(column, target_tz, source_tz) -%}\n{{ return(dbt_date.default__convert_timezone(column, target_tz, source_tz)) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.default__convert_timezone"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.81724, "supported_languages": null}, "macro.dbt_date.n_months_away": {"name": "n_months_away", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/n_months_away.sql", "original_file_path": "macros/calendar_date/n_months_away.sql", "unique_id": "macro.dbt_date.n_months_away", "macro_sql": "{%- macro n_months_away(n, tz=None) -%}\n{%- set n = n|int -%}\n{{ dbt.date_trunc('month',\n dbt.dateadd('month', n,\n dbt_date.today(tz)\n )\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt.dateadd", "macro.dbt_date.today"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.818573, "supported_languages": null}, "macro.dbt_date.iso_week_of_year": {"name": "iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.iso_week_of_year", "macro_sql": "{%- macro iso_week_of_year(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('iso_week_of_year', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.82038, "supported_languages": null}, "macro.dbt_date._iso_week_of_year": {"name": "_iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date._iso_week_of_year", "macro_sql": "{%- macro _iso_week_of_year(date, week_type) -%}\ncast({{ dbt_date.date_part(week_type, date) }} as {{ dbt.type_int() }})\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.82108, "supported_languages": null}, "macro.dbt_date.default__iso_week_of_year": {"name": "default__iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.default__iso_week_of_year", "macro_sql": "\n\n{%- macro default__iso_week_of_year(date) -%}\n{{ dbt_date._iso_week_of_year(date, 'isoweek') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.821586, "supported_languages": null}, "macro.dbt_date.snowflake__iso_week_of_year": {"name": "snowflake__iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.snowflake__iso_week_of_year", "macro_sql": "\n\n{%- macro snowflake__iso_week_of_year(date) -%}\n{{ dbt_date._iso_week_of_year(date, 'weekiso') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.822073, "supported_languages": null}, "macro.dbt_date.postgres__iso_week_of_year": {"name": "postgres__iso_week_of_year", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/iso_week_of_year.sql", "original_file_path": "macros/calendar_date/iso_week_of_year.sql", "unique_id": "macro.dbt_date.postgres__iso_week_of_year", "macro_sql": "\n\n{%- macro postgres__iso_week_of_year(date) -%}\n-- postgresql week is isoweek, the first week of a year containing January 4 of that year.\n{{ dbt_date._iso_week_of_year(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date._iso_week_of_year"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8225951, "supported_languages": null}, "macro.dbt_date.week_end": {"name": "week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.week_end", "macro_sql": "{%- macro week_end(date=None, tz=None) -%}\n{%-set dt = date if date else dbt_date.today(tz) -%}\n{{ adapter.dispatch('week_end', 'dbt_date') (dt) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_date.today", "macro.dbt_date.default__week_end"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.824202, "supported_languages": null}, "macro.dbt_date.default__week_end": {"name": "default__week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.default__week_end", "macro_sql": "{%- macro default__week_end(date) -%}\n{{ last_day(date, 'week') }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt.last_day"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.824718, "supported_languages": null}, "macro.dbt_date.snowflake__week_end": {"name": "snowflake__week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.snowflake__week_end", "macro_sql": "\n\n{%- macro snowflake__week_end(date) -%}\n{%- set dt = dbt_date.week_start(date) -%}\n{{ dbt_date.n_days_away(6, dt) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.week_start", "macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.825444, "supported_languages": null}, "macro.dbt_date.postgres__week_end": {"name": "postgres__week_end", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/week_end.sql", "original_file_path": "macros/calendar_date/week_end.sql", "unique_id": "macro.dbt_date.postgres__week_end", "macro_sql": "\n\n{%- macro postgres__week_end(date) -%}\n{%- set dt = dbt_date.week_start(date) -%}\n{{ dbt_date.n_days_away(6, dt) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_date.week_start", "macro.dbt_date.n_days_away"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8261352, "supported_languages": null}, "macro.dbt_date.next_month_number": {"name": "next_month_number", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/next_month_number.sql", "original_file_path": "macros/calendar_date/next_month_number.sql", "unique_id": "macro.dbt_date.next_month_number", "macro_sql": "{%- macro next_month_number(tz=None) -%}\n{{ dbt_date.date_part('month', dbt_date.next_month(tz)) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt_date.next_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.82691, "supported_languages": null}, "macro.dbt_date.last_month_number": {"name": "last_month_number", "resource_type": "macro", "package_name": "dbt_date", "path": "macros/calendar_date/last_month_number.sql", "original_file_path": "macros/calendar_date/last_month_number.sql", "unique_id": "macro.dbt_date.last_month_number", "macro_sql": "{%- macro last_month_number(tz=None) -%}\n{{ dbt_date.date_part('month', dbt_date.last_month(tz)) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_date.date_part", "macro.dbt_date.last_month"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.827657, "supported_languages": null}, "macro.google_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.google_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.830729, "supported_languages": null}, "macro.google_ads_source.get_ad_group_stats_columns": {"name": "get_ad_group_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_group_stats_columns.sql", "original_file_path": "macros/get_ad_group_stats_columns.sql", "unique_id": "macro.google_ads_source.get_ad_group_stats_columns", "macro_sql": "{% macro get_ad_group_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__ad_group_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8351161, "supported_languages": null}, "macro.google_ads_source.spark__regexp_instr": {"name": "spark__regexp_instr", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/regexp_instr.sql", "original_file_path": "macros/regexp_instr.sql", "unique_id": "macro.google_ads_source.spark__regexp_instr", "macro_sql": "{% macro spark__regexp_instr(source_value, regexp, position=1, occurrence=1, is_raw=False, flags=\"\") %}\nregexp_instr({{ source_value }}, '{{ regexp }}')\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8360069, "supported_languages": null}, "macro.google_ads_source.get_campaign_stats_columns": {"name": "get_campaign_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_campaign_stats_columns.sql", "original_file_path": "macros/get_campaign_stats_columns.sql", "unique_id": "macro.google_ads_source.get_campaign_stats_columns", "macro_sql": "{% macro get_campaign_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__campaign_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8399072, "supported_languages": null}, "macro.google_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.google_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"advertising_channel_subtype\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertising_channel_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_date\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"serving_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_date\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"tracking_url_template\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.844196, "supported_languages": null}, "macro.google_ads_source.get_ad_stats_columns": {"name": "get_ad_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_stats_columns.sql", "original_file_path": "macros/get_ad_stats_columns.sql", "unique_id": "macro.google_ads_source.get_ad_stats_columns", "macro_sql": "{% macro get_ad_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_ad_group_criterion\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__ad_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8486211, "supported_languages": null}, "macro.google_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.google_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"auto_tagging_enabled\", \"datatype\": \"boolean\"},\n {\"name\": \"currency_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"descriptive_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.851337, "supported_languages": null}, "macro.google_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.google_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"display_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"final_urls\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.85473, "supported_languages": null}, "macro.google_ads_source.get_ad_group_criterion_history_columns": {"name": "get_ad_group_criterion_history_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_ad_group_criterion_history_columns.sql", "original_file_path": "macros/get_ad_group_criterion_history_columns.sql", "unique_id": "macro.google_ads_source.get_ad_group_criterion_history_columns", "macro_sql": "{% macro get_ad_group_criterion_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"base_campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_text\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8584478, "supported_languages": null}, "macro.google_ads_source.get_keyword_stats_columns": {"name": "get_keyword_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_keyword_stats_columns.sql", "original_file_path": "macros/get_keyword_stats_columns.sql", "unique_id": "macro.google_ads_source.get_keyword_stats_columns", "macro_sql": "{% macro get_keyword_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_criterion_criterion_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__keyword_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.863519, "supported_languages": null}, "macro.google_ads_source.get_account_stats_columns": {"name": "get_account_stats_columns", "resource_type": "macro", "package_name": "google_ads_source", "path": "macros/get_account_stats_columns.sql", "original_file_path": "macros/get_account_stats_columns.sql", "unique_id": "macro.google_ads_source.get_account_stats_columns", "macro_sql": "{% macro get_account_stats_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_network_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"cost_micros\", \"datatype\": dbt.type_int()},\n {\"name\": \"customer_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"device\", \"datatype\": dbt.type_string()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('google_ads__account_stats_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.867274, "supported_languages": null}, "macro.fivetran_utils.enabled_vars": {"name": "enabled_vars", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/enabled_vars.sql", "original_file_path": "macros/enabled_vars.sql", "unique_id": "macro.fivetran_utils.enabled_vars", "macro_sql": "{% macro enabled_vars(vars) %}\n\n{% for v in vars %}\n \n {% if var(v, True) == False %}\n {{ return(False) }}\n {% endif %}\n\n{% endfor %}\n\n{{ return(True) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.868635, "supported_languages": null}, "macro.fivetran_utils.percentile": {"name": "percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.percentile", "macro_sql": "{% macro percentile(percentile_field, partition_field, percent) -%}\n\n{{ adapter.dispatch('percentile', 'fivetran_utils') (percentile_field, partition_field, percent) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__percentile"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.871479, "supported_languages": null}, "macro.fivetran_utils.default__percentile": {"name": "default__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.default__percentile", "macro_sql": "{% macro default__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percent }} )\n within group ( order by {{ percentile_field }} )\n over ( partition by {{ partition_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.872071, "supported_languages": null}, "macro.fivetran_utils.redshift__percentile": {"name": "redshift__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.redshift__percentile", "macro_sql": "{% macro redshift__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percent }} )\n within group ( order by {{ percentile_field }} )\n over ( partition by {{ partition_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.872641, "supported_languages": null}, "macro.fivetran_utils.bigquery__percentile": {"name": "bigquery__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.bigquery__percentile", "macro_sql": "{% macro bigquery__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percentile_field }}, \n {{ percent }}) \n over (partition by {{ partition_field }} \n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.873251, "supported_languages": null}, "macro.fivetran_utils.postgres__percentile": {"name": "postgres__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.postgres__percentile", "macro_sql": "{% macro postgres__percentile(percentile_field, partition_field, percent) %}\n\n percentile_cont( \n {{ percent }} )\n within group ( order by {{ percentile_field }} )\n /* have to group by partition field */\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.873974, "supported_languages": null}, "macro.fivetran_utils.spark__percentile": {"name": "spark__percentile", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/percentile.sql", "original_file_path": "macros/percentile.sql", "unique_id": "macro.fivetran_utils.spark__percentile", "macro_sql": "{% macro spark__percentile(percentile_field, partition_field, percent) %}\n\n percentile( \n {{ percentile_field }}, \n {{ percent }}) \n over (partition by {{ partition_field }} \n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.875036, "supported_languages": null}, "macro.fivetran_utils.pivot_json_extract": {"name": "pivot_json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/pivot_json_extract.sql", "original_file_path": "macros/pivot_json_extract.sql", "unique_id": "macro.fivetran_utils.pivot_json_extract", "macro_sql": "{% macro pivot_json_extract(string, list_of_properties) %}\n\n{%- for property in list_of_properties -%}\n{%- if property is mapping -%}\nreplace( {{ fivetran_utils.json_extract(string, property.name) }}, '\"', '') as {{ property.alias if property.alias else property.name | replace(' ', '_') | replace('.', '_') | lower }}\n\n{%- else -%}\nreplace( {{ fivetran_utils.json_extract(string, property) }}, '\"', '') as {{ property | replace(' ', '_') | lower }}\n\n{%- endif -%}\n{%- if not loop.last -%},{%- endif %}\n{% endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.json_extract"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8777401, "supported_languages": null}, "macro.fivetran_utils.persist_pass_through_columns": {"name": "persist_pass_through_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/persist_pass_through_columns.sql", "original_file_path": "macros/persist_pass_through_columns.sql", "unique_id": "macro.fivetran_utils.persist_pass_through_columns", "macro_sql": "{% macro persist_pass_through_columns(pass_through_variable, identifier=none, transform='') %}\n\n{% if var(pass_through_variable, none) %}\n {% for field in var(pass_through_variable) %}\n , {{ transform ~ '(' ~ (identifier ~ '.' if identifier else '') ~ (field.alias if field.alias else field.name) ~ ')' }} as {{ field.alias if field.alias else field.name }}\n {% endfor %}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.880461, "supported_languages": null}, "macro.fivetran_utils.json_parse": {"name": "json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.json_parse", "macro_sql": "{% macro json_parse(string, string_path) -%}\n\n{{ adapter.dispatch('json_parse', 'fivetran_utils') (string, string_path) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__json_parse"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.883532, "supported_languages": null}, "macro.fivetran_utils.default__json_parse": {"name": "default__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.default__json_parse", "macro_sql": "{% macro default__json_parse(string, string_path) %}\n\n json_extract_path_text({{string}}, {%- for s in string_path -%}'{{ s }}'{%- if not loop.last -%},{%- endif -%}{%- endfor -%} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8844328, "supported_languages": null}, "macro.fivetran_utils.redshift__json_parse": {"name": "redshift__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.redshift__json_parse", "macro_sql": "{% macro redshift__json_parse(string, string_path) %}\n\n json_extract_path_text({{string}}, {%- for s in string_path -%}'{{ s }}'{%- if not loop.last -%},{%- endif -%}{%- endfor -%} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.88541, "supported_languages": null}, "macro.fivetran_utils.bigquery__json_parse": {"name": "bigquery__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.bigquery__json_parse", "macro_sql": "{% macro bigquery__json_parse(string, string_path) %}\n\n \n json_extract_scalar({{string}}, '$.{%- for s in string_path -%}{{ s }}{%- if not loop.last -%}.{%- endif -%}{%- endfor -%} ')\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.886306, "supported_languages": null}, "macro.fivetran_utils.postgres__json_parse": {"name": "postgres__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.postgres__json_parse", "macro_sql": "{% macro postgres__json_parse(string, string_path) %}\n\n {{string}}::json #>> '{ {%- for s in string_path -%}{{ s }}{%- if not loop.last -%},{%- endif -%}{%- endfor -%} }'\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.887151, "supported_languages": null}, "macro.fivetran_utils.snowflake__json_parse": {"name": "snowflake__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.snowflake__json_parse", "macro_sql": "{% macro snowflake__json_parse(string, string_path) %}\n\n parse_json( {{string}} ) {%- for s in string_path -%}{% if s is number %}[{{ s }}]{% else %}['{{ s }}']{% endif %}{%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.888109, "supported_languages": null}, "macro.fivetran_utils.spark__json_parse": {"name": "spark__json_parse", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_parse.sql", "original_file_path": "macros/json_parse.sql", "unique_id": "macro.fivetran_utils.spark__json_parse", "macro_sql": "{% macro spark__json_parse(string, string_path) %}\n\n {{string}} : {%- for s in string_path -%}{% if s is number %}[{{ s }}]{% else %}['{{ s }}']{% endif %}{%- endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.889197, "supported_languages": null}, "macro.fivetran_utils.max_bool": {"name": "max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.max_bool", "macro_sql": "{% macro max_bool(boolean_field) -%}\n\n{{ adapter.dispatch('max_bool', 'fivetran_utils') (boolean_field) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__max_bool"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.890304, "supported_languages": null}, "macro.fivetran_utils.default__max_bool": {"name": "default__max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.default__max_bool", "macro_sql": "{% macro default__max_bool(boolean_field) %}\n\n bool_or( {{ boolean_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8906791, "supported_languages": null}, "macro.fivetran_utils.snowflake__max_bool": {"name": "snowflake__max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.snowflake__max_bool", "macro_sql": "{% macro snowflake__max_bool(boolean_field) %}\n\n max( {{ boolean_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8910332, "supported_languages": null}, "macro.fivetran_utils.bigquery__max_bool": {"name": "bigquery__max_bool", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/max_bool.sql", "original_file_path": "macros/max_bool.sql", "unique_id": "macro.fivetran_utils.bigquery__max_bool", "macro_sql": "{% macro bigquery__max_bool(boolean_field) %}\n\n max( {{ boolean_field }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.891377, "supported_languages": null}, "macro.fivetran_utils.calculated_fields": {"name": "calculated_fields", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/calculated_fields.sql", "original_file_path": "macros/calculated_fields.sql", "unique_id": "macro.fivetran_utils.calculated_fields", "macro_sql": "{% macro calculated_fields(variable) -%}\n\n{% if var(variable, none) %}\n {% for field in var(variable) %}\n , {{ field.transform_sql }} as {{ field.name }} \n {% endfor %}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.892566, "supported_languages": null}, "macro.fivetran_utils.seed_data_helper": {"name": "seed_data_helper", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/seed_data_helper.sql", "original_file_path": "macros/seed_data_helper.sql", "unique_id": "macro.fivetran_utils.seed_data_helper", "macro_sql": "{% macro seed_data_helper(seed_name, warehouses) %}\n\n{% if target.type in warehouses %}\n {% for w in warehouses %}\n {% if target.type == w %}\n {{ return(ref(seed_name ~ \"_\" ~ w ~ \"\")) }}\n {% endif %}\n {% endfor %}\n{% else %}\n{{ return(ref(seed_name)) }}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.894572, "supported_languages": null}, "macro.fivetran_utils.fill_pass_through_columns": {"name": "fill_pass_through_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/fill_pass_through_columns.sql", "original_file_path": "macros/fill_pass_through_columns.sql", "unique_id": "macro.fivetran_utils.fill_pass_through_columns", "macro_sql": "{% macro fill_pass_through_columns(pass_through_variable) %}\n\n{% if var(pass_through_variable) %}\n {% for field in var(pass_through_variable) %}\n {% if field is mapping %}\n {% if field.transform_sql %}\n , {{ field.transform_sql }} as {{ field.alias if field.alias else field.name }}\n {% else %}\n , {{ field.alias if field.alias else field.name }}\n {% endif %}\n {% else %}\n , {{ field }}\n {% endif %}\n {% endfor %}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8970659, "supported_languages": null}, "macro.fivetran_utils.string_agg": {"name": "string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.string_agg", "macro_sql": "{% macro string_agg(field_to_agg, delimiter) -%}\n\n{{ adapter.dispatch('string_agg', 'fivetran_utils') (field_to_agg, delimiter) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__string_agg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.898508, "supported_languages": null}, "macro.fivetran_utils.default__string_agg": {"name": "default__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.default__string_agg", "macro_sql": "{% macro default__string_agg(field_to_agg, delimiter) %}\n string_agg({{ field_to_agg }}, {{ delimiter }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.898974, "supported_languages": null}, "macro.fivetran_utils.snowflake__string_agg": {"name": "snowflake__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.snowflake__string_agg", "macro_sql": "{% macro snowflake__string_agg(field_to_agg, delimiter) %}\n listagg({{ field_to_agg }}, {{ delimiter }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.8994188, "supported_languages": null}, "macro.fivetran_utils.redshift__string_agg": {"name": "redshift__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.redshift__string_agg", "macro_sql": "{% macro redshift__string_agg(field_to_agg, delimiter) %}\n listagg({{ field_to_agg }}, {{ delimiter }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.899869, "supported_languages": null}, "macro.fivetran_utils.spark__string_agg": {"name": "spark__string_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/string_agg.sql", "original_file_path": "macros/string_agg.sql", "unique_id": "macro.fivetran_utils.spark__string_agg", "macro_sql": "{% macro spark__string_agg(field_to_agg, delimiter) %}\n -- collect set will remove duplicates\n replace(replace(replace(cast( collect_set({{ field_to_agg }}) as string), '[', ''), ']', ''), ', ', {{ delimiter }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.900352, "supported_languages": null}, "macro.fivetran_utils.timestamp_diff": {"name": "timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.timestamp_diff", "macro_sql": "{% macro timestamp_diff(first_date, second_date, datepart) %}\n {{ adapter.dispatch('timestamp_diff', 'fivetran_utils')(first_date, second_date, datepart) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__timestamp_diff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.907691, "supported_languages": null}, "macro.fivetran_utils.default__timestamp_diff": {"name": "default__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.default__timestamp_diff", "macro_sql": "{% macro default__timestamp_diff(first_date, second_date, datepart) %}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9085472, "supported_languages": null}, "macro.fivetran_utils.redshift__timestamp_diff": {"name": "redshift__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.redshift__timestamp_diff", "macro_sql": "{% macro redshift__timestamp_diff(first_date, second_date, datepart) %}\n\n datediff(\n {{ datepart }},\n {{ first_date }},\n {{ second_date }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.90912, "supported_languages": null}, "macro.fivetran_utils.bigquery__timestamp_diff": {"name": "bigquery__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.bigquery__timestamp_diff", "macro_sql": "{% macro bigquery__timestamp_diff(first_date, second_date, datepart) %}\n\n timestamp_diff(\n {{second_date}},\n {{first_date}},\n {{datepart}}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.909662, "supported_languages": null}, "macro.fivetran_utils.postgres__timestamp_diff": {"name": "postgres__timestamp_diff", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_diff.sql", "original_file_path": "macros/timestamp_diff.sql", "unique_id": "macro.fivetran_utils.postgres__timestamp_diff", "macro_sql": "{% macro postgres__timestamp_diff(first_date, second_date, datepart) %}\n\n {% if datepart == 'year' %}\n (date_part('year', ({{second_date}})::date) - date_part('year', ({{first_date}})::date))\n {% elif datepart == 'quarter' %}\n ({{ dbt.datediff(first_date, second_date, 'year') }} * 4 + date_part('quarter', ({{second_date}})::date) - date_part('quarter', ({{first_date}})::date))\n {% elif datepart == 'month' %}\n ({{ dbt.datediff(first_date, second_date, 'year') }} * 12 + date_part('month', ({{second_date}})::date) - date_part('month', ({{first_date}})::date))\n {% elif datepart == 'day' %}\n (({{second_date}})::date - ({{first_date}})::date)\n {% elif datepart == 'week' %}\n ({{ dbt.datediff(first_date, second_date, 'day') }} / 7 + case\n when date_part('dow', ({{first_date}})::timestamp) <= date_part('dow', ({{second_date}})::timestamp) then\n case when {{first_date}} <= {{second_date}} then 0 else -1 end\n else\n case when {{first_date}} <= {{second_date}} then 1 else 0 end\n end)\n {% elif datepart == 'hour' %}\n ({{ dbt.datediff(first_date, second_date, 'day') }} * 24 + date_part('hour', ({{second_date}})::timestamp) - date_part('hour', ({{first_date}})::timestamp))\n {% elif datepart == 'minute' %}\n ({{ dbt.datediff(first_date, second_date, 'hour') }} * 60 + date_part('minute', ({{second_date}})::timestamp) - date_part('minute', ({{first_date}})::timestamp))\n {% elif datepart == 'second' %}\n ({{ dbt.datediff(first_date, second_date, 'minute') }} * 60 + floor(date_part('second', ({{second_date}})::timestamp)) - floor(date_part('second', ({{first_date}})::timestamp)))\n {% elif datepart == 'millisecond' %}\n ({{ dbt.datediff(first_date, second_date, 'minute') }} * 60000 + floor(date_part('millisecond', ({{second_date}})::timestamp)) - floor(date_part('millisecond', ({{first_date}})::timestamp)))\n {% elif datepart == 'microsecond' %}\n ({{ dbt.datediff(first_date, second_date, 'minute') }} * 60000000 + floor(date_part('microsecond', ({{second_date}})::timestamp)) - floor(date_part('microsecond', ({{first_date}})::timestamp)))\n {% else %}\n {{ exceptions.raise_compiler_error(\"Unsupported datepart for macro datediff in postgres: {!r}\".format(datepart)) }}\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.datediff"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.915293, "supported_languages": null}, "macro.fivetran_utils.try_cast": {"name": "try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.try_cast", "macro_sql": "{% macro try_cast(field, type) %}\n {{ adapter.dispatch('try_cast', 'fivetran_utils') (field, type) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__try_cast"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.917707, "supported_languages": null}, "macro.fivetran_utils.default__safe_cast": {"name": "default__safe_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.default__safe_cast", "macro_sql": "{% macro default__safe_cast(field, type) %}\n {# most databases don't support this function yet\n so we just need to use cast #}\n cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.918216, "supported_languages": null}, "macro.fivetran_utils.redshift__try_cast": {"name": "redshift__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.redshift__try_cast", "macro_sql": "{% macro redshift__try_cast(field, type) %}\n{%- if type == 'numeric' -%}\n\n case\n when trim({{field}}) ~ '^(0|[1-9][0-9]*)$' then trim({{field}})\n else null\n end::{{type}}\n\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"non-numeric datatypes are not currently supported\") }}\n\n{% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9191859, "supported_languages": null}, "macro.fivetran_utils.postgres__try_cast": {"name": "postgres__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.postgres__try_cast", "macro_sql": "{% macro postgres__try_cast(field, type) %}\n{%- if type == 'numeric' -%}\n\n case\n when replace(cast({{field}} as varchar),cast(' ' as varchar),cast('' as varchar)) ~ '^(0|[1-9][0-9]*)$' \n then replace(cast({{field}} as varchar),cast(' ' as varchar),cast('' as varchar))\n else null\n end::{{type}}\n\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"non-numeric datatypes are not currently supported\") }}\n\n{% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.920179, "supported_languages": null}, "macro.fivetran_utils.snowflake__try_cast": {"name": "snowflake__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.snowflake__try_cast", "macro_sql": "{% macro snowflake__try_cast(field, type) %}\n try_cast(cast({{field}} as varchar) as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.920667, "supported_languages": null}, "macro.fivetran_utils.bigquery__try_cast": {"name": "bigquery__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.bigquery__try_cast", "macro_sql": "{% macro bigquery__try_cast(field, type) %}\n safe_cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.921238, "supported_languages": null}, "macro.fivetran_utils.spark__try_cast": {"name": "spark__try_cast", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/try_cast.sql", "original_file_path": "macros/try_cast.sql", "unique_id": "macro.fivetran_utils.spark__try_cast", "macro_sql": "{% macro spark__try_cast(field, type) %}\n try_cast({{field}} as {{type}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.921716, "supported_languages": null}, "macro.fivetran_utils.source_relation": {"name": "source_relation", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/source_relation.sql", "original_file_path": "macros/source_relation.sql", "unique_id": "macro.fivetran_utils.source_relation", "macro_sql": "{% macro source_relation(union_schema_variable='union_schemas', union_database_variable='union_databases') -%}\n\n{{ adapter.dispatch('source_relation', 'fivetran_utils') (union_schema_variable, union_database_variable) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__source_relation"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9232268, "supported_languages": null}, "macro.fivetran_utils.default__source_relation": {"name": "default__source_relation", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/source_relation.sql", "original_file_path": "macros/source_relation.sql", "unique_id": "macro.fivetran_utils.default__source_relation", "macro_sql": "{% macro default__source_relation(union_schema_variable, union_database_variable) %}\n\n{% if var(union_schema_variable, none) %}\n, case\n {% for schema in var(union_schema_variable) %}\n when lower(replace(replace(_dbt_source_relation,'\"',''),'`','')) like '%.{{ schema|lower }}.%' then '{{ schema|lower }}'\n {% endfor %}\n end as source_relation\n{% elif var(union_database_variable, none) %}\n, case\n {% for database in var(union_database_variable) %}\n when lower(replace(replace(_dbt_source_relation,'\"',''),'`','')) like '%{{ database|lower }}.%' then '{{ database|lower }}'\n {% endfor %}\n end as source_relation\n{% else %}\n, cast('' as {{ dbt.type_string() }}) as source_relation\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.925445, "supported_languages": null}, "macro.fivetran_utils.first_value": {"name": "first_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/first_value.sql", "original_file_path": "macros/first_value.sql", "unique_id": "macro.fivetran_utils.first_value", "macro_sql": "{% macro first_value(first_value_field, partition_field, order_by_field, order=\"asc\") -%}\n\n{{ adapter.dispatch('first_value', 'fivetran_utils') (first_value_field, partition_field, order_by_field, order) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__first_value"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9270039, "supported_languages": null}, "macro.fivetran_utils.default__first_value": {"name": "default__first_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/first_value.sql", "original_file_path": "macros/first_value.sql", "unique_id": "macro.fivetran_utils.default__first_value", "macro_sql": "{% macro default__first_value(first_value_field, partition_field, order_by_field, order=\"asc\") %}\n\n first_value( {{ first_value_field }} ignore nulls ) over (partition by {{ partition_field }} order by {{ order_by_field }} {{ order }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9277282, "supported_languages": null}, "macro.fivetran_utils.redshift__first_value": {"name": "redshift__first_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/first_value.sql", "original_file_path": "macros/first_value.sql", "unique_id": "macro.fivetran_utils.redshift__first_value", "macro_sql": "{% macro redshift__first_value(first_value_field, partition_field, order_by_field, order=\"asc\") %}\n\n first_value( {{ first_value_field }} ignore nulls ) over (partition by {{ partition_field }} order by {{ order_by_field }} {{ order }} , {{ partition_field }} rows unbounded preceding )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9285, "supported_languages": null}, "macro.fivetran_utils.add_dbt_source_relation": {"name": "add_dbt_source_relation", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/add_dbt_source_relation.sql", "original_file_path": "macros/add_dbt_source_relation.sql", "unique_id": "macro.fivetran_utils.add_dbt_source_relation", "macro_sql": "{% macro add_dbt_source_relation() %}\n\n{% if var('union_schemas', none) or var('union_databases', none) %}\n, _dbt_source_relation\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.929516, "supported_languages": null}, "macro.fivetran_utils.add_pass_through_columns": {"name": "add_pass_through_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/add_pass_through_columns.sql", "original_file_path": "macros/add_pass_through_columns.sql", "unique_id": "macro.fivetran_utils.add_pass_through_columns", "macro_sql": "{% macro add_pass_through_columns(base_columns, pass_through_var) %}\n\n {% if pass_through_var %}\n\n {% for column in pass_through_var %}\n\n {% if column is mapping %}\n\n {% if column.alias %}\n\n {% do base_columns.append({ \"name\": column.name, \"alias\": column.alias, \"datatype\": column.datatype if column.datatype else dbt.type_string()}) %}\n\n {% else %}\n\n {% do base_columns.append({ \"name\": column.name, \"datatype\": column.datatype if column.datatype else dbt.type_string()}) %}\n \n {% endif %}\n\n {% else %}\n\n {% do base_columns.append({ \"name\": column, \"datatype\": dbt.type_string()}) %}\n\n {% endif %}\n\n {% endfor %}\n\n {% endif %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.933485, "supported_languages": null}, "macro.fivetran_utils.union_relations": {"name": "union_relations", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_relations.sql", "original_file_path": "macros/union_relations.sql", "unique_id": "macro.fivetran_utils.union_relations", "macro_sql": "{%- macro union_relations(relations, aliases=none, column_override=none, include=[], exclude=[], source_column_name=none) -%}\n\n {%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided to the `union` macro. Only one is allowed\") }}\n {%- endif -%}\n\n {#-- Prevent querying of db in parsing mode. This works because this macro does not create any new refs. -#}\n {%- if not execute %}\n {{ return('') }}\n {% endif -%}\n\n {%- set column_override = column_override if column_override is not none else {} -%}\n {%- set source_column_name = source_column_name if source_column_name is not none else '_dbt_source_relation' -%}\n\n {%- set relation_columns = {} -%}\n {%- set column_superset = {} -%}\n\n {%- for relation in relations -%}\n\n {%- do relation_columns.update({relation: []}) -%}\n\n {%- do dbt_utils._is_relation(relation, 'union_relations') -%}\n {%- set cols = adapter.get_columns_in_relation(relation) -%}\n {%- for col in cols -%}\n\n {#- If an exclude list was provided and the column is in the list, do nothing -#}\n {%- if exclude and col.column in exclude -%}\n\n {#- If an include list was provided and the column is not in the list, do nothing -#}\n {%- elif include and col.column not in include -%}\n\n {#- Otherwise add the column to the column superset -#}\n {%- else -%}\n\n {#- update the list of columns in this relation -#}\n {%- do relation_columns[relation].append(col.column) -%}\n\n {%- if col.column in column_superset -%}\n\n {%- set stored = column_superset[col.column] -%}\n {%- if col.is_string() and stored.is_string() and col.string_size() > stored.string_size() -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif %}\n\n {%- else -%}\n\n {%- do column_superset.update({col.column: col}) -%}\n\n {%- endif -%}\n\n {%- endif -%}\n\n {%- endfor -%}\n {%- endfor -%}\n\n {%- set ordered_column_names = column_superset.keys() -%}\n\n {%- for relation in relations %}\n\n (\n select\n\n cast({{ dbt.string_literal(relation) }} as {{ dbt.type_string() }}) as {{ source_column_name }},\n {% for col_name in ordered_column_names -%}\n\n {%- set col = column_superset[col_name] %}\n {%- set col_type = column_override.get(col.column, col.data_type) %}\n {%- set col_name = adapter.quote(col_name) if col_name in relation_columns[relation] else 'null' %}\n cast({{ col_name }} as {{ col_type }}) as {{ col.quoted }} {% if not loop.last %},{% endif -%}\n\n {%- endfor %}\n\n from {{ aliases[loop.index0] if aliases else relation }}\n )\n\n {% if not loop.last -%}\n union all\n {% endif -%}\n\n {%- endfor -%}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_utils._is_relation", "macro.dbt.string_literal", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.945486, "supported_languages": null}, "macro.fivetran_utils.union_tables": {"name": "union_tables", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_relations.sql", "original_file_path": "macros/union_relations.sql", "unique_id": "macro.fivetran_utils.union_tables", "macro_sql": "{%- macro union_tables(tables, column_override=none, include=[], exclude=[], source_column_name='_dbt_source_table') -%}\n\n {%- do exceptions.warn(\"Warning: the `union_tables` macro is no longer supported and will be deprecated in a future release of dbt-utils. Use the `union_relations` macro instead\") -%}\n\n {{ return(dbt_utils.union_relations(tables, column_override, include, exclude, source_column_name)) }}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils.union_relations"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.94679, "supported_languages": null}, "macro.fivetran_utils.snowflake_seed_data": {"name": "snowflake_seed_data", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/snowflake_seed_data.sql", "original_file_path": "macros/snowflake_seed_data.sql", "unique_id": "macro.fivetran_utils.snowflake_seed_data", "macro_sql": "{% macro snowflake_seed_data(seed_name) %}\n\n{% if target.type == 'snowflake' %}\n{{ return(ref(seed_name ~ '_snowflake')) }}\n{% else %}\n{{ return(ref(seed_name)) }}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9480581, "supported_languages": null}, "macro.fivetran_utils.fill_staging_columns": {"name": "fill_staging_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/fill_staging_columns.sql", "original_file_path": "macros/fill_staging_columns.sql", "unique_id": "macro.fivetran_utils.fill_staging_columns", "macro_sql": "{% macro fill_staging_columns(source_columns, staging_columns) -%}\n\n{%- set source_column_names = source_columns|map(attribute='name')|map('lower')|list -%}\n\n{%- for column in staging_columns %}\n {% if column.name|lower in source_column_names -%}\n {{ fivetran_utils.quote_column(column) }} as \n {%- if 'alias' in column %} {{ column.alias }} {% else %} {{ fivetran_utils.quote_column(column) }} {%- endif -%}\n {%- else -%}\n cast(null as {{ column.datatype }})\n {%- if 'alias' in column %} as {{ column.alias }} {% else %} as {{ fivetran_utils.quote_column(column) }} {% endif -%}\n {%- endif -%}\n {%- if not loop.last -%} , {% endif -%}\n{% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.quote_column"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.952585, "supported_languages": null}, "macro.fivetran_utils.quote_column": {"name": "quote_column", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/fill_staging_columns.sql", "original_file_path": "macros/fill_staging_columns.sql", "unique_id": "macro.fivetran_utils.quote_column", "macro_sql": "{% macro quote_column(column) %}\n {% if 'quote' in column %}\n {% if column.quote %}\n {% if target.type in ('bigquery', 'spark', 'databricks') %}\n `{{ column.name }}`\n {% elif target.type == 'snowflake' %}\n \"{{ column.name | upper }}\"\n {% else %}\n \"{{ column.name }}\"\n {% endif %}\n {% else %}\n {{ column.name }}\n {% endif %}\n {% else %}\n {{ column.name }}\n {% endif %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.954599, "supported_languages": null}, "macro.fivetran_utils.json_extract": {"name": "json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.json_extract", "macro_sql": "{% macro json_extract(string, string_path) -%}\n\n{{ adapter.dispatch('json_extract', 'fivetran_utils') (string, string_path) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__json_extract"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.956377, "supported_languages": null}, "macro.fivetran_utils.default__json_extract": {"name": "default__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.default__json_extract", "macro_sql": "{% macro default__json_extract(string, string_path) %}\n\n json_extract_path_text({{string}}, {{ \"'\" ~ string_path ~ \"'\" }} )\n \n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.956944, "supported_languages": null}, "macro.fivetran_utils.snowflake__json_extract": {"name": "snowflake__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.snowflake__json_extract", "macro_sql": "{% macro snowflake__json_extract(string, string_path) %}\n\n json_extract_path_text(try_parse_json( {{string}} ), {{ \"'\" ~ string_path ~ \"'\" }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.957512, "supported_languages": null}, "macro.fivetran_utils.redshift__json_extract": {"name": "redshift__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.redshift__json_extract", "macro_sql": "{% macro redshift__json_extract(string, string_path) %}\n\n case when is_valid_json( {{string}} ) then json_extract_path_text({{string}}, {{ \"'\" ~ string_path ~ \"'\" }} ) else null end\n \n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.958107, "supported_languages": null}, "macro.fivetran_utils.bigquery__json_extract": {"name": "bigquery__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.bigquery__json_extract", "macro_sql": "{% macro bigquery__json_extract(string, string_path) %}\n\n json_extract_scalar({{string}}, {{ \"'$.\" ~ string_path ~ \"'\" }} )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.958621, "supported_languages": null}, "macro.fivetran_utils.postgres__json_extract": {"name": "postgres__json_extract", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/json_extract.sql", "original_file_path": "macros/json_extract.sql", "unique_id": "macro.fivetran_utils.postgres__json_extract", "macro_sql": "{% macro postgres__json_extract(string, string_path) %}\n\n {{string}}::json->>{{\"'\" ~ string_path ~ \"'\" }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9591238, "supported_languages": null}, "macro.fivetran_utils.collect_freshness": {"name": "collect_freshness", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/collect_freshness.sql", "original_file_path": "macros/collect_freshness.sql", "unique_id": "macro.fivetran_utils.collect_freshness", "macro_sql": "{% macro collect_freshness(source, loaded_at_field, filter) %}\n {{ return(adapter.dispatch('collect_freshness')(source, loaded_at_field, filter))}}\n{% endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__collect_freshness"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.961121, "supported_languages": null}, "macro.fivetran_utils.default__collect_freshness": {"name": "default__collect_freshness", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/collect_freshness.sql", "original_file_path": "macros/collect_freshness.sql", "unique_id": "macro.fivetran_utils.default__collect_freshness", "macro_sql": "{% macro default__collect_freshness(source, loaded_at_field, filter) %}\n {% call statement('collect_freshness', fetch_result=True, auto_begin=False) -%}\n\n {%- set enabled_array = [] -%}\n {% for node in graph.sources.values() %}\n {% if node.identifier == source.identifier %}\n {% if (node.meta['is_enabled'] | default(true)) %}\n {%- do enabled_array.append(1) -%}\n {% endif %}\n {% endif %}\n {% endfor %}\n {% set is_enabled = (enabled_array != []) %}\n\n select\n {% if is_enabled %}\n max({{ loaded_at_field }})\n {% else %} \n {{ current_timestamp() }} {% endif %} as max_loaded_at,\n {{ current_timestamp() }} as snapshotted_at\n\n {% if is_enabled %}\n from {{ source }}\n {% if filter %}\n where {{ filter }}\n {% endif %}\n {% endif %}\n\n {% endcall %}\n {{ return(load_result('collect_freshness').table) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.statement", "macro.dbt.current_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.964514, "supported_languages": null}, "macro.fivetran_utils.timestamp_add": {"name": "timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.timestamp_add", "macro_sql": "{% macro timestamp_add(datepart, interval, from_timestamp) -%}\n\n{{ adapter.dispatch('timestamp_add', 'fivetran_utils') (datepart, interval, from_timestamp) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.bigquery__timestamp_add"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9664772, "supported_languages": null}, "macro.fivetran_utils.default__timestamp_add": {"name": "default__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.default__timestamp_add", "macro_sql": "{% macro default__timestamp_add(datepart, interval, from_timestamp) %}\n\n timestampadd(\n {{ datepart }},\n {{ interval }},\n {{ from_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.967049, "supported_languages": null}, "macro.fivetran_utils.bigquery__timestamp_add": {"name": "bigquery__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.bigquery__timestamp_add", "macro_sql": "{% macro bigquery__timestamp_add(datepart, interval, from_timestamp) %}\n\n timestamp_add({{ from_timestamp }}, interval {{ interval }} {{ datepart }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9675992, "supported_languages": null}, "macro.fivetran_utils.redshift__timestamp_add": {"name": "redshift__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.redshift__timestamp_add", "macro_sql": "{% macro redshift__timestamp_add(datepart, interval, from_timestamp) %}\n\n dateadd(\n {{ datepart }},\n {{ interval }},\n {{ from_timestamp }}\n )\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.968142, "supported_languages": null}, "macro.fivetran_utils.postgres__timestamp_add": {"name": "postgres__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.postgres__timestamp_add", "macro_sql": "{% macro postgres__timestamp_add(datepart, interval, from_timestamp) %}\n\n {{ from_timestamp }} + ((interval '1 {{ datepart }}') * ({{ interval }}))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9686852, "supported_languages": null}, "macro.fivetran_utils.spark__timestamp_add": {"name": "spark__timestamp_add", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/timestamp_add.sql", "original_file_path": "macros/timestamp_add.sql", "unique_id": "macro.fivetran_utils.spark__timestamp_add", "macro_sql": "{% macro spark__timestamp_add(datepart, interval, from_timestamp) %}\n\n {{ dbt.dateadd(datepart, interval, from_timestamp) }}\n \n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.9692779, "supported_languages": null}, "macro.fivetran_utils.ceiling": {"name": "ceiling", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/ceiling.sql", "original_file_path": "macros/ceiling.sql", "unique_id": "macro.fivetran_utils.ceiling", "macro_sql": "{% macro ceiling(num) -%}\n\n{{ adapter.dispatch('ceiling', 'fivetran_utils') (num) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__ceiling"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.970305, "supported_languages": null}, "macro.fivetran_utils.default__ceiling": {"name": "default__ceiling", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/ceiling.sql", "original_file_path": "macros/ceiling.sql", "unique_id": "macro.fivetran_utils.default__ceiling", "macro_sql": "{% macro default__ceiling(num) %}\n ceiling({{ num }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.970929, "supported_languages": null}, "macro.fivetran_utils.snowflake__ceiling": {"name": "snowflake__ceiling", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/ceiling.sql", "original_file_path": "macros/ceiling.sql", "unique_id": "macro.fivetran_utils.snowflake__ceiling", "macro_sql": "{% macro snowflake__ceiling(num) %}\n ceil({{ num }})\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.971312, "supported_languages": null}, "macro.fivetran_utils.remove_prefix_from_columns": {"name": "remove_prefix_from_columns", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/remove_prefix_from_columns.sql", "original_file_path": "macros/remove_prefix_from_columns.sql", "unique_id": "macro.fivetran_utils.remove_prefix_from_columns", "macro_sql": "{% macro remove_prefix_from_columns(columns, prefix='', exclude=[]) %}\n\n {%- for col in columns if col.name not in exclude -%}\n {%- if col.name[:prefix|length]|lower == prefix -%}\n {{ col.name }} as {{ col.name[prefix|length:] }}\n {%- else -%}\n {{ col.name }}\n {%- endif -%}\n {%- if not loop.last -%},{%- endif %}\n {% endfor -%}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.97357, "supported_languages": null}, "macro.fivetran_utils.union_data": {"name": "union_data", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_data.sql", "original_file_path": "macros/union_data.sql", "unique_id": "macro.fivetran_utils.union_data", "macro_sql": "{%- macro union_data(table_identifier, database_variable, schema_variable, default_database, default_schema, default_variable, union_schema_variable='union_schemas', union_database_variable='union_databases') -%}\n\n{{ adapter.dispatch('union_data', 'fivetran_utils') (\n table_identifier, \n database_variable, \n schema_variable, \n default_database, \n default_schema, \n default_variable,\n union_schema_variable,\n union_database_variable\n ) }}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.fivetran_utils.default__union_data"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.983298, "supported_languages": null}, "macro.fivetran_utils.default__union_data": {"name": "default__union_data", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/union_data.sql", "original_file_path": "macros/union_data.sql", "unique_id": "macro.fivetran_utils.default__union_data", "macro_sql": "{%- macro default__union_data(\n table_identifier, \n database_variable, \n schema_variable, \n default_database, \n default_schema, \n default_variable,\n union_schema_variable,\n union_database_variable\n ) -%}\n\n{%- if var(union_schema_variable, none) -%}\n\n {%- set relations = [] -%}\n \n {%- if var(union_schema_variable) is string -%}\n {%- set trimmed = var(union_schema_variable)|trim('[')|trim(']') -%}\n {%- set schemas = trimmed.split(',')|map('trim',\" \")|map('trim','\"')|map('trim',\"'\") -%}\n {%- else -%}\n {%- set schemas = var(union_schema_variable) -%}\n {%- endif -%}\n\n {%- for schema in var(union_schema_variable) -%}\n {%- set relation=adapter.get_relation(\n database=source(schema, table_identifier).database if var('has_defined_sources', false) else var(database_variable, default_database),\n schema=source(schema, table_identifier).schema if var('has_defined_sources', false) else schema,\n identifier=source(schema, table_identifier).identifier if var('has_defined_sources', false) else table_identifier\n ) -%}\n \n {%- set relation_exists=relation is not none -%}\n\n {%- if relation_exists -%}\n {%- do relations.append(relation) -%}\n {%- endif -%}\n\n {%- endfor -%}\n \n {%- if relations != [] -%}\n {{ dbt_utils.union_relations(relations) }}\n {%- else -%}\n {% if execute and not var('fivetran__remove_empty_table_warnings', false) -%}\n {{ exceptions.warn(\"\\n\\nPlease be aware: The \" ~ table_identifier|upper ~ \" table was not found in your \" ~ default_schema|upper ~ \" schema(s). The Fivetran dbt package will create a completely empty \" ~ table_identifier|upper ~ \" staging model as to not break downstream transformations. To turn off these warnings, set the `fivetran__remove_empty_table_warnings` variable to TRUE (see https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source for details).\\n\") }}\n {% endif -%}\n select \n cast(null as {{ dbt.type_string() }}) as _dbt_source_relation\n limit 0\n {%- endif -%}\n\n{%- elif var(union_database_variable, none) -%}\n\n {%- set relations = [] -%}\n\n {%- for database in var(union_database_variable) -%}\n {%- set relation=adapter.get_relation(\n database=source(schema, table_identifier).database if var('has_defined_sources', false) else database,\n schema=source(schema, table_identifier).schema if var('has_defined_sources', false) else var(schema_variable, default_schema),\n identifier=source(schema, table_identifier).identifier if var('has_defined_sources', false) else table_identifier\n ) -%}\n\n {%- set relation_exists=relation is not none -%}\n\n {%- if relation_exists -%}\n {%- do relations.append(relation) -%}\n {%- endif -%}\n\n {%- endfor -%}\n\n {%- if relations != [] -%}\n {{ dbt_utils.union_relations(relations) }}\n {%- else -%}\n {% if execute and not var('fivetran__remove_empty_table_warnings', false) -%}\n {{ exceptions.warn(\"\\n\\nPlease be aware: The \" ~ table_identifier|upper ~ \" table was not found in your \" ~ default_schema|upper ~ \" schema(s). The Fivetran dbt package will create a completely empty \" ~ table_identifier|upper ~ \" staging model as to not break downstream transformations. To turn off these warnings, set the `fivetran__remove_empty_table_warnings` variable to TRUE (see https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source for details).\\n\") }}\n {% endif -%}\n select \n cast(null as {{ dbt.type_string() }}) as _dbt_source_relation\n limit 0\n {%- endif -%}\n\n{%- else -%}\n {%- set relation=adapter.get_relation(\n database=var(database_variable, default_database),\n schema=var(schema_variable, default_schema),\n identifier=var(default_schema ~ '_' ~ table_identifier ~ '_' ~ 'identifier', table_identifier)) -%}\n\n{%- set table_exists=relation is not none -%}\n\n{%- if table_exists -%}\n select * \n from {{ var(default_variable) }}\n{%- else -%}\n {% if execute and not var('fivetran__remove_empty_table_warnings', false) -%}\n {{ exceptions.warn(\"\\n\\nPlease be aware: The \" ~ table_identifier|upper ~ \" table was not found in your \" ~ default_schema|upper ~ \" schema(s). The Fivetran dbt package will create a completely empty \" ~ table_identifier|upper ~ \" staging model as to not break downstream transformations. To turn off these warnings, set the `fivetran__remove_empty_table_warnings` variable to TRUE (see https://github.com/fivetran/dbt_fivetran_utils/tree/releases/v0.4.latest#union_data-source for details).\\n\") }}\n {% endif -%}\n select \n cast(null as {{ dbt.type_string() }}) as _dbt_source_relation\n limit 0\n{%- endif -%}\n{%- endif -%}\n\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_utils.union_relations", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.995361, "supported_languages": null}, "macro.fivetran_utils.dummy_coalesce_value": {"name": "dummy_coalesce_value", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/dummy_coalesce_value.sql", "original_file_path": "macros/dummy_coalesce_value.sql", "unique_id": "macro.fivetran_utils.dummy_coalesce_value", "macro_sql": "{% macro dummy_coalesce_value(column) %}\n\n{% set coalesce_value = {\n 'STRING': \"'DUMMY_STRING'\",\n 'BOOLEAN': 'null',\n 'INT': 999999999,\n 'FLOAT': 999999999.99,\n 'TIMESTAMP': 'cast(\"2099-12-31\" as timestamp)',\n 'DATE': 'cast(\"2099-12-31\" as date)',\n} %}\n\n{% if column.is_float() %}\n{{ return(coalesce_value['FLOAT']) }}\n\n{% elif column.is_numeric() %}\n{{ return(coalesce_value['INT']) }}\n\n{% elif column.is_string() %}\n{{ return(coalesce_value['STRING']) }}\n\n{% elif column.data_type|lower == 'boolean' %}\n{{ return(coalesce_value['BOOLEAN']) }}\n\n{% elif 'timestamp' in column.data_type|lower %}\n{{ return(coalesce_value['TIMESTAMP']) }}\n\n{% elif 'date' in column.data_type|lower %}\n{{ return(coalesce_value['DATE']) }}\n\n{% elif 'int' in column.data_type|lower %}\n{{ return(coalesce_value['INT']) }}\n\n{% endif %}\n\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592097.999893, "supported_languages": null}, "macro.fivetran_utils.array_agg": {"name": "array_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/array_agg.sql", "original_file_path": "macros/array_agg.sql", "unique_id": "macro.fivetran_utils.array_agg", "macro_sql": "{% macro array_agg(field_to_agg) -%}\n\n{{ adapter.dispatch('array_agg', 'fivetran_utils') (field_to_agg) }}\n\n{%- endmacro %}", "depends_on": {"macros": ["macro.fivetran_utils.default__array_agg"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.000829, "supported_languages": null}, "macro.fivetran_utils.default__array_agg": {"name": "default__array_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/array_agg.sql", "original_file_path": "macros/array_agg.sql", "unique_id": "macro.fivetran_utils.default__array_agg", "macro_sql": "{% macro default__array_agg(field_to_agg) %}\n array_agg({{ field_to_agg }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.001227, "supported_languages": null}, "macro.fivetran_utils.redshift__array_agg": {"name": "redshift__array_agg", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/array_agg.sql", "original_file_path": "macros/array_agg.sql", "unique_id": "macro.fivetran_utils.redshift__array_agg", "macro_sql": "{% macro redshift__array_agg(field_to_agg) %}\n listagg({{ field_to_agg }}, ',')\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.001585, "supported_languages": null}, "macro.fivetran_utils.empty_variable_warning": {"name": "empty_variable_warning", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/empty_variable_warning.sql", "original_file_path": "macros/empty_variable_warning.sql", "unique_id": "macro.fivetran_utils.empty_variable_warning", "macro_sql": "{% macro empty_variable_warning(variable, downstream_model) %}\n\n{% if not var(variable) %}\n{{ log(\n \"\"\"\n Warning: You have passed an empty list to the \"\"\" ~ variable ~ \"\"\".\n As a result, you won't see the history of any columns in the \"\"\" ~ downstream_model ~ \"\"\" model.\n \"\"\",\n info=True\n) }}\n{% endif %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.002832, "supported_languages": null}, "macro.fivetran_utils.enabled_vars_one_true": {"name": "enabled_vars_one_true", "resource_type": "macro", "package_name": "fivetran_utils", "path": "macros/enabled_vars_one_true.sql", "original_file_path": "macros/enabled_vars_one_true.sql", "unique_id": "macro.fivetran_utils.enabled_vars_one_true", "macro_sql": "{% macro enabled_vars_one_true(vars) %}\n\n{% for v in vars %}\n \n {% if var(v, False) == True %}\n {{ return(True) }}\n {% endif %}\n\n{% endfor %}\n\n{{ return(False) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.004114, "supported_languages": null}, "macro.ad_reporting.is_enabled": {"name": "is_enabled", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/is_enabled.sql", "original_file_path": "macros/is_enabled.sql", "unique_id": "macro.ad_reporting.is_enabled", "macro_sql": "{% macro is_enabled(enabled_packages) %}\n\n{% if enabled_packages != [] %}\n {% set is_enabled = True %}\n{% else %}\n {% set is_enabled = False %}\n{% endif %}\n{{ return(is_enabled) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "This macro takes in a list of packages and determines if there is at least one package, if there is, it returns True, else false.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "enabled_packages", "type": "list", "description": "List of packages enabled where each package name is a string."}], "created_at": 1679592111.8524349, "supported_languages": null}, "macro.ad_reporting.get_date_from_timestamp": {"name": "get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.get_date_from_timestamp", "macro_sql": "{% macro get_date_from_timestamp(column) %}\n {{ return(adapter.dispatch('get_date_from_timestamp') (column)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.ad_reporting.bigquery__get_date_from_timestamp"]}, "description": "This macro takes a column of type timestamp or forces the column into a timestamp (depending on the data warehouse) and extracts the date in the format of e.g. 2022-01-01.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "column", "type": "string", "description": "Specifies the column of type timestamp to extract the date from."}], "created_at": 1679592111.843668, "supported_languages": null}, "macro.ad_reporting.default__get_date_from_timestamp": {"name": "default__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.default__get_date_from_timestamp", "macro_sql": "{% macro default__get_date_from_timestamp(column) %}\n date({{column}})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.00683, "supported_languages": null}, "macro.ad_reporting.bigquery__get_date_from_timestamp": {"name": "bigquery__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.bigquery__get_date_from_timestamp", "macro_sql": "{% macro bigquery__get_date_from_timestamp(column) %}\n\n cast({{column}} as date)\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.007195, "supported_languages": null}, "macro.ad_reporting.spark__get_date_from_timestamp": {"name": "spark__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.spark__get_date_from_timestamp", "macro_sql": "{% macro spark__get_date_from_timestamp(column) %}\n\n to_date(to_timestamp({{ column }}),'yyyyMMdd')\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.00755, "supported_languages": null}, "macro.ad_reporting.snowflake__get_date_from_timestamp": {"name": "snowflake__get_date_from_timestamp", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_date_from_timestamp.sql", "original_file_path": "macros/get_date_from_timestamp.sql", "unique_id": "macro.ad_reporting.snowflake__get_date_from_timestamp", "macro_sql": "{% macro snowflake__get_date_from_timestamp(column) %}\n\n to_date(to_timestamp({{ column }}))\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.007906, "supported_languages": null}, "macro.ad_reporting.union_ctes": {"name": "union_ctes", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/union_ctes.sql", "original_file_path": "macros/union_ctes.sql", "unique_id": "macro.ad_reporting.union_ctes", "macro_sql": "{% macro union_ctes(ctes=[]) %}\n\n{% for cte in ctes %}\nselect * from {{ cte }}\n\n{% if not loop.last -%}\n union all\n{% endif -%}\n\n{% endfor %}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "This macro allows for the unioning (union all) of specified CTEs.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "ctes", "type": "list", "description": "List of strings for CTE names"}], "created_at": 1679592111.854377, "supported_languages": null}, "macro.ad_reporting.get_query": {"name": "get_query", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_query.sql", "original_file_path": "macros/get_query.sql", "unique_id": "macro.ad_reporting.get_query", "macro_sql": "{% macro get_query(platform=None, report_type=None, field_mapping=None, relation=None) %}\n\n{%- set consistent_fields = ['spend', 'impressions', 'clicks'] -%}\n{%- set account_fields = ['account_id', 'account_name'] -%}\n{%- set campaign_fields = ['campaign_id', 'campaign_name'] -%}\n{%- set ad_group_fields = ['ad_group_id', 'ad_group_name'] -%}\n{%- set ad_fields = ['ad_id', 'ad_name'] -%}\n{%- set url_fields = ['base_url', 'url_host', 'url_path', 'utm_source', 'utm_medium', 'utm_campaign', 'utm_content', 'utm_term'] -%}\n{%- set keyword_fields = ['keyword_id','keyword_text','keyword_match_type'] -%}\n{%- set search_fields = ['keyword_id', 'keyword_text', 'search_match_type', 'search_query'] -%}\n\n{%- if field_mapping is not none -%}\n{%- set fields = field_mapping.keys() -%}\n{%- endif -%}\n\n{%- set final_fields_superset={} -%}\n\n{#- Add the consistent_fields and account_fields to all reports regardless of type -#}\n{%- if report_type -%}\n {%- for consistent_field in consistent_fields -%}\n {%- do final_fields_superset.update({consistent_field: consistent_field}) -%}\n {%- endfor -%}\n {%- for account_field in account_fields -%}\n {%- do final_fields_superset.update({account_field: account_field}) -%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For campaign level reports and lower, add campaign_fields -#}\n{%- if report_type in ['campaign', 'ad_group', 'ad', 'url', 'keyword', 'search'] -%}\n {%- for campaign_field in campaign_fields -%}\n {%- do final_fields_superset.update({campaign_field: campaign_field}) -%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For ad_group level reports, equivalent and lower, add ad_group_fields -#}\n{%- if report_type in ['ad_group', 'ad', 'url', 'keyword', 'search'] -%}\n {%- for ad_group_field in ad_group_fields -%}\n {%- do final_fields_superset.update({ad_group_field: ad_group_field}) -%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For ad level reports, add ad_fields -#}\n{%- if report_type == 'ad' -%}\n {%- for ad_field in ad_fields -%}\n {%- do final_fields_superset.update({ad_field: ad_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For url level reports, add url_fields -#}\n{%- if report_type == 'url' -%}\n {%- for url_field in url_fields -%}\n {%- do final_fields_superset.update({url_field: url_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For keyword level reports, add keyword_fields -#}\n{%- if report_type == 'keyword' -%}\n {%- for keyword_field in keyword_fields -%}\n {%- do final_fields_superset.update({keyword_field: keyword_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{#- For search level reports, add search_fields -#}\n{%- if report_type == 'search' -%}\n {%- for search_field in search_fields -%}\n {%- do final_fields_superset.update({search_field: search_field})-%}\n {%- endfor -%}\n{%- endif -%}\n\n{%- if field_mapping is not none -%}\n {%- for field in fields -%}\n {%- do final_fields_superset.update({field:field_mapping[field]}) -%}\n {%- endfor -%}\n{%- endif -%}\n\nselect \n {{ get_date_from_timestamp('date_day') }} as date_day,\n cast( '{{ platform }}' as {{ dbt.type_string() }}) as platform,\n\n {% for field in final_fields_superset.keys()|sort() -%}\n {% if field in ['clicks', 'impressions'] -%}\n cast({{ final_fields_superset[field] }} as {{ dbt.type_int() }}) as {{ field }}\n\n {% elif field == 'spend' -%}\n cast({{ final_fields_superset[field] }} as {{ dbt.type_float() }}) as {{ field }}\n\n {% elif '_id' in field or '_name' in field or 'url' in field or 'utm' in field or field in ['keyword_match_type', 'keyword_text', 'search_match_type', 'search_query'] -%}\n cast({{ final_fields_superset[field] }} as {{ dbt.type_string() }}) as {{ field }} \n {% endif -%}\n {%- if not loop.last -%},{%- endif -%}\n {%- endfor %}\nfrom {{ relation }}\n{% endmacro %}", "depends_on": {"macros": ["macro.ad_reporting.get_date_from_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_float"]}, "description": "This macro compiles the final query with all aliasing and casting incorporated.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "platform", "type": "string", "description": "Specifies the platform for the CTE; this value should match exactly one value for the `all_packages` variable within `macros/get_enabled_packages.sql`.\n"}, {"name": "report_type", "type": "string", "description": "Specifies the report type and should map to the respective model; could take on one of the following values ['account', 'campaign', 'ad_group', 'ad', 'url', 'keyword', 'search'].\n"}, {"name": "field_mapping", "type": null, "description": "A dictionary that specifies any column name overriding as necessary since standard names in Ad Reporting may map to a different name as it appears natively within each platform. Each key will have exactly one corresponding string value; if a value is NULL then it will map to the string 'null'.\n"}, {"name": "relation", "type": null, "description": "This is a reference to the upstream model that the query will be selecting from; an example argument would look like this: relation=ref('tiktok_ads__advertiser_report').\n"}], "created_at": 1679592111.850713, "supported_languages": null}, "macro.ad_reporting.get_enabled_packages": {"name": "get_enabled_packages", "resource_type": "macro", "package_name": "ad_reporting", "path": "macros/get_enabled_packages.sql", "original_file_path": "macros/get_enabled_packages.sql", "unique_id": "macro.ad_reporting.get_enabled_packages", "macro_sql": "{% macro get_enabled_packages(exclude=[], include=[]) %}\n\n{%- if exclude and include -%}\n {{ exceptions.raise_compiler_error(\"Both an exclude and include list were provided `get_enabled_packages` macro. Only one is allowed\") }}\n{%- endif -%}\n\n{% set all_packages = [\n 'amazon_ads',\n 'apple_search_ads', \n 'facebook_ads', \n 'google_ads', \n 'linkedin_ads',\n 'microsoft_ads', \n 'pinterest_ads',\n 'snapchat_ads',\n 'tiktok_ads',\n 'twitter_ads',\n 'reddit_ads'] %}\n\n{% set enabled_packages = [] %}\n\n{% if include != [] %}\n {% for package in include %}\n {% if var('ad_reporting__' ~ package ~ '_enabled', True) %}\n {{ enabled_packages.append(package) }}\n {% endif %}\n {% endfor %}\n\n{% elif exclude != [] %}\n {% for package in all_packages %}\n {% if var('ad_reporting__' ~ package ~ '_enabled', True) and package not in exclude %}\n {{ enabled_packages.append(package) }}\n {% endif %}\n {% endfor %}\n\n{% else %}\n {% for package in all_packages %}\n {% if var('ad_reporting__' ~ package ~ '_enabled', True) %}\n {{ enabled_packages.append(package) }}\n {% endif %}\n {% endfor %}\n{% endif %}\n\n{{ return(enabled_packages) }}\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "This macro evaluates all `ad_reporting___enabled` variables in the user's `dbt_project.yml` and returns a list of packages that are enabled.", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "ad_reporting://macros/macros_docs.yml", "arguments": [{"name": "exclude", "type": "list", "description": "This argument is optional and is the list of platforms to exclude in the enabled package evaluation."}, {"name": "include", "type": "list", "description": "This argument is optional and is the list of platforms to include in the enabled package evaluation."}], "created_at": 1679592111.846497, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"organization_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.03488, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_level_report_columns": {"name": "get_ad_level_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_level_report_columns.sql", "original_file_path": "macros/get_ad_level_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_level_report_columns", "macro_sql": "{% macro get_ad_level_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.0390332, "supported_languages": null}, "macro.apple_search_ads_source.get_search_term_report_columns": {"name": "get_search_term_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_search_term_report_columns.sql", "original_file_path": "macros/get_search_term_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_search_term_report_columns", "macro_sql": "{% macro get_search_term_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_group_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_amount_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"bid_amount_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_display_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"search_term_source\", \"datatype\": dbt.type_string()},\n {\"name\": \"search_term_text\", \"datatype\": dbt.type_string()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ return(columns) }}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__search_term_passthrough_metrics')) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_numeric", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.0466702, "supported_languages": null}, "macro.apple_search_ads_source.get_keyword_report_columns": {"name": "get_keyword_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_keyword_report_columns.sql", "original_file_path": "macros/get_keyword_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_keyword_report_columns", "macro_sql": "{% macro get_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__keyword_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.050097, "supported_languages": null}, "macro.apple_search_ads_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__campaign_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.054116, "supported_languages": null}, "macro.apple_search_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"organization_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.057269, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creation_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"org_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.060755, "supported_languages": null}, "macro.apple_search_ads_source.get_ad_group_report_columns": {"name": "get_ad_group_report_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_ad_group_report_columns.sql", "original_file_path": "macros/get_ad_group_report_columns.sql", "unique_id": "macro.apple_search_ads_source.get_ad_group_report_columns", "macro_sql": "{% macro get_ad_group_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"local_spend_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"local_spend_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"new_downloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"redownloads\", \"datatype\": dbt.type_int()},\n {\"name\": \"taps\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('apple_search_ads__ad_group_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.064975, "supported_languages": null}, "macro.apple_search_ads_source.get_organization_columns": {"name": "get_organization_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_organization_columns.sql", "original_file_path": "macros/get_organization_columns.sql", "unique_id": "macro.apple_search_ads_source.get_organization_columns", "macro_sql": "{% macro get_organization_columns() %}\n\n{% set columns = [\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"payment_model\", \"datatype\": dbt.type_string()},\n {\"name\": \"time_zone\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.067392, "supported_languages": null}, "macro.apple_search_ads_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "apple_search_ads_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.apple_search_ads_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_amount\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"bid_currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"modification_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"text\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.071135, "supported_languages": null}, "macro.pinterest_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.pinterest_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.074613, "supported_languages": null}, "macro.pinterest_source.get_pin_promotion_history_columns": {"name": "get_pin_promotion_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_pin_promotion_history_columns.sql", "original_file_path": "macros/get_pin_promotion_history_columns.sql", "unique_id": "macro.pinterest_source.get_pin_promotion_history_columns", "macro_sql": "{% macro get_pin_promotion_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"android_deep_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"click_tracking_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"destination_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ios_deep_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"is_pin_deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"is_removable\", \"datatype\": \"boolean\"},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"pin_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"review_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"view_tracking_url\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.081627, "supported_languages": null}, "macro.pinterest_source.get_keyword_report_columns": {"name": "get_keyword_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_keyword_report_columns.sql", "original_file_path": "macros/get_keyword_report_columns.sql", "unique_id": "macro.pinterest_source.get_keyword_report_columns", "macro_sql": "{% macro get_keyword_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"keyword_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"pin_promotion_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__keyword_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.088319, "supported_languages": null}, "macro.pinterest_source.get_pin_promotion_report_columns": {"name": "get_pin_promotion_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_pin_promotion_report_columns.sql", "original_file_path": "macros/get_pin_promotion_report_columns.sql", "unique_id": "macro.pinterest_source.get_pin_promotion_report_columns", "macro_sql": "{% macro get_pin_promotion_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"pin_promotion_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__pin_promotion_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_numeric", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.0932539, "supported_languages": null}, "macro.pinterest_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.pinterest_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__campaign_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.097883, "supported_languages": null}, "macro.pinterest_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.pinterest_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.101196, "supported_languages": null}, "macro.pinterest_source.get_advertiser_history_columns": {"name": "get_advertiser_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_advertiser_history_columns.sql", "original_file_path": "macros/get_advertiser_history_columns.sql", "unique_id": "macro.pinterest_source.get_advertiser_history_columns", "macro_sql": "{% macro get_advertiser_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"billing_profile_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"billing_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"country\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"merchant_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"owner_user_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.106602, "supported_languages": null}, "macro.pinterest_source.get_ad_group_report_columns": {"name": "get_ad_group_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_ad_group_report_columns.sql", "original_file_path": "macros/get_ad_group_report_columns.sql", "unique_id": "macro.pinterest_source.get_ad_group_report_columns", "macro_sql": "{% macro get_ad_group_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_group_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__ad_group_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.1111958, "supported_languages": null}, "macro.pinterest_source.get_keyword_history_columns": {"name": "get_keyword_history_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_keyword_history_columns.sql", "original_file_path": "macros/get_keyword_history_columns.sql", "unique_id": "macro.pinterest_source.get_keyword_history_columns", "macro_sql": "{% macro get_keyword_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_group_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"archived\", \"datatype\": \"boolean\"},\n {\"name\": \"bid\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"match_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"parent_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"value\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.115513, "supported_languages": null}, "macro.pinterest_source.get_advertiser_report_columns": {"name": "get_advertiser_report_columns", "resource_type": "macro", "package_name": "pinterest_source", "path": "macros/get_advertiser_report_columns.sql", "original_file_path": "macros/get_advertiser_report_columns.sql", "unique_id": "macro.pinterest_source.get_advertiser_report_columns", "macro_sql": "{% macro get_advertiser_report_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clickthrough_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"clickthrough_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impression_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"impression_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend_in_micro_dollar\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('pinterest__advertiser_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string", "macro.dbt.type_int", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.118906, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_group_history_columns": {"name": "get_ad_group_history_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_group_history_columns.sql", "original_file_path": "macros/get_ad_group_history_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_group_history_columns", "macro_sql": "{% macro get_ad_group_history_columns() %}\n\n{% set columns = [\n {\"name\": \"action_days\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"adgroup_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"adgroup_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"audience_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"budget\", \"datatype\": dbt.type_float()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"category\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"display_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"frequency\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"frequency_schedule\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"gender\", \"datatype\": dbt.type_string()},\n {\"name\": \"landing_page_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"interest_category_v_2\", \"datatype\": dbt.type_string()},\n {\"name\": \"action_categories\", \"datatype\": dbt.type_string()},\n {\"name\": \"age\", \"datatype\": dbt.type_string()},\n {\"name\": \"languages\", \"datatype\": dbt.type_string()}\n\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_float", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.126451, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_group_report_hourly_columns": {"name": "get_ad_group_report_hourly_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_group_report_hourly_columns.sql", "original_file_path": "macros/get_ad_group_report_hourly_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_group_report_hourly_columns", "macro_sql": "{% macro get_ad_group_report_hourly_columns() %}\n\n{% set columns = [\n {\"name\": \"adgroup_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"average_video_play\", \"datatype\": dbt.type_float()},\n {\"name\": \"average_video_play_per_user\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"comments\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion_rate\", \"datatype\": dbt.type_float()},\n {\"name\": \"cost_per_conversion\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpc\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpm\", \"datatype\": dbt.type_float()},\n {\"name\": \"ctr\", \"datatype\": dbt.type_float()},\n {\"name\": \"follows\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"likes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"profile_visits\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"reach\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"stat_time_hour\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"video_play_actions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_25\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_50\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_75\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_2_s\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_6_s\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('tiktok_ads__ad_group_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.137147, "supported_languages": null}, "macro.tiktok_ads_source.get_advertiser_columns": {"name": "get_advertiser_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_advertiser_columns.sql", "original_file_path": "macros/get_advertiser_columns.sql", "unique_id": "macro.tiktok_ads_source.get_advertiser_columns", "macro_sql": "{% macro get_advertiser_columns() %}\n\n{% set columns = [\n {\"name\": \"address\", \"datatype\": dbt.type_string()},\n {\"name\": \"balance\", \"datatype\": dbt.type_float()},\n {\"name\": \"company\", \"datatype\": dbt.type_string()},\n {\"name\": \"contacter\", \"datatype\": dbt.type_string()},\n {\"name\": \"country\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"description\", \"datatype\": dbt.type_string()},\n {\"name\": \"email\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"industry\", \"datatype\": dbt.type_string()},\n {\"name\": \"language\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"phone_number\", \"datatype\": dbt.type_string()},\n {\"name\": \"telephone\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_float", "macro.dbt.type_numeric"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.142205, "supported_languages": null}, "macro.tiktok_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.tiktok_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"campaign_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"split_test_variable\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.145008, "supported_languages": null}, "macro.tiktok_ads_source.get_campaign_report_hourly_columns": {"name": "get_campaign_report_hourly_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_campaign_report_hourly_columns.sql", "original_file_path": "macros/get_campaign_report_hourly_columns.sql", "unique_id": "macro.tiktok_ads_source.get_campaign_report_hourly_columns", "macro_sql": "{% macro get_campaign_report_hourly_columns() %}\n\n{% set columns = [\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"average_video_play\", \"datatype\": dbt.type_float()},\n {\"name\": \"average_video_play_per_user\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"comments\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion_rate\", \"datatype\": dbt.type_float()},\n {\"name\": \"cost_per_conversion\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpc\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpm\", \"datatype\": dbt.type_float()},\n {\"name\": \"ctr\", \"datatype\": dbt.type_float()},\n {\"name\": \"follows\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"likes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"profile_visits\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"reach\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"stat_time_hour\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"video_play_actions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_25\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_50\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_75\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_2_s\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_6_s\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('tiktok_ads__campaign_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.153898, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"ad_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"adgroup_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"advertiser_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"call_to_action\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"click_tracking_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"impression_tracking_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"landing_page_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.158071, "supported_languages": null}, "macro.tiktok_ads_source.get_ad_report_hourly_columns": {"name": "get_ad_report_hourly_columns", "resource_type": "macro", "package_name": "tiktok_ads_source", "path": "macros/get_ad_report_hourly_columns.sql", "original_file_path": "macros/get_ad_report_hourly_columns.sql", "unique_id": "macro.tiktok_ads_source.get_ad_report_hourly_columns", "macro_sql": "{% macro get_ad_report_hourly_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"average_video_play\", \"datatype\": dbt.type_float()},\n {\"name\": \"average_video_play_per_user\", \"datatype\": dbt.type_float()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"comments\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"conversion_rate\", \"datatype\": dbt.type_float()},\n {\"name\": \"cost_per_conversion\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpc\", \"datatype\": dbt.type_float()},\n {\"name\": \"cpm\", \"datatype\": dbt.type_float()},\n {\"name\": \"ctr\", \"datatype\": dbt.type_float()},\n {\"name\": \"follows\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"likes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"profile_visits\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"reach\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"stat_time_hour\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"video_play_actions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_25\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_50\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views_p_75\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_2_s\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_watched_6_s\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('tiktok_ads__ad_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_numeric", "macro.dbt.type_float", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.167757, "supported_languages": null}, "macro.facebook_ads_source.get_ad_set_history_columns": {"name": "get_ad_set_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_ad_set_history_columns.sql", "original_file_path": "macros/get_ad_set_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_ad_set_history_columns", "macro_sql": "{% macro get_ad_set_history_columns() %}\n\n{% set columns = [\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"bid_strategy\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"budget_remaining\", \"datatype\": dbt.type_int()},\n {\"name\": \"status\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.172211, "supported_languages": null}, "macro.facebook_ads_source.get_creative_history_columns": {"name": "get_creative_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_creative_history_columns.sql", "original_file_path": "macros/get_creative_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_creative_history_columns", "macro_sql": "{% macro get_creative_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"page_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_page_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_tags\", \"datatype\": dbt.type_string()},\n {\"name\": \"asset_feed_spec_link_urls\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_child_attachments\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_caption\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_description\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_link\", \"datatype\": dbt.type_string()},\n {\"name\": \"object_story_link_data_message\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_android\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_ios\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_ipad\", \"datatype\": dbt.type_string()},\n {\"name\": \"template_app_link_spec_iphone\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.1792488, "supported_languages": null}, "macro.facebook_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"stop_time\", \"datatype\": dbt.type_timestamp()}, \n {\"name\": \"status\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"lifetime_budget\", \"datatype\": dbt.type_int()},\n {\"name\": \"budget_remaining\", \"datatype\": dbt.type_float()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_float"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.183298, "supported_languages": null}, "macro.facebook_ads_source.get_basic_ad_columns": {"name": "get_basic_ad_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_basic_ad_columns.sql", "original_file_path": "macros/get_basic_ad_columns.sql", "unique_id": "macro.facebook_ads_source.get_basic_ad_columns", "macro_sql": "{% macro get_basic_ad_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"ad_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"adset_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": \"date\"},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"inline_link_clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend\", \"datatype\": dbt.type_float()},\n {\"name\": \"reach\", \"datatype\": dbt.type_int()},\n {\"name\": \"frequency\", \"datatype\": dbt.type_float()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('facebook_ads__basic_ad_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_float", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.187078, "supported_languages": null}, "macro.facebook_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_account_history_columns.sql", "original_file_path": "macros/get_account_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"business_country_code\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone_name\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.1904268, "supported_languages": null}, "macro.facebook_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "facebook_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.facebook_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"updated_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_int()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"account_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"ad_set_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"creative_id\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_int", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.193203, "supported_languages": null}, "macro.snapchat_ads_source.get_campaign_hourly_report_columns": {"name": "get_campaign_hourly_report_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_campaign_hourly_report_columns.sql", "original_file_path": "macros/get_campaign_hourly_report_columns.sql", "unique_id": "macro.snapchat_ads_source.get_campaign_hourly_report_columns", "macro_sql": "{% macro get_campaign_hourly_report_columns() %}\n\n{% set columns = [\n {\"name\": \"attachment_quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_total_view_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"saves\", \"datatype\": dbt.type_int()},\n {\"name\": \"screen_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"shares\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()},\n {\"name\": \"swipes\", \"datatype\": dbt.type_int()},\n {\"name\": \"video_views\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_time_millis\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('snapchat_ads__campaign_hourly_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_int", "macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.200518, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_squad_history_columns": {"name": "get_ad_squad_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_squad_history_columns.sql", "original_file_path": "macros/get_ad_squad_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_squad_history_columns", "macro_sql": "{% macro get_ad_squad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.203098, "supported_languages": null}, "macro.snapchat_ads_source.get_creative_history_columns": {"name": "get_creative_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_creative_history_columns.sql", "original_file_path": "macros/get_creative_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_creative_history_columns", "macro_sql": "{% macro get_creative_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"web_view_url\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2060459, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_hourly_report_columns": {"name": "get_ad_hourly_report_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_hourly_report_columns.sql", "original_file_path": "macros/get_ad_hourly_report_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_hourly_report_columns", "macro_sql": "{% macro get_ad_hourly_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"attachment_quartile_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_quartile_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_quartile_3\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_total_view_time_millis\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"attachment_view_completion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"quartile_1\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"quartile_2\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"quartile_3\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"saves\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"screen_time_millis\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"shares\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"spend\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"swipes\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"video_views\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"view_completion\", \"datatype\": dbt.type_numeric()},\n {\"name\": \"view_time_millis\", \"datatype\": dbt.type_numeric()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('snapchat_ads__ad_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_numeric", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.213055, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_squad_hourly_report_columns": {"name": "get_ad_squad_hourly_report_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_squad_hourly_report_columns.sql", "original_file_path": "macros/get_ad_squad_hourly_report_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_squad_hourly_report_columns", "macro_sql": "{% macro get_ad_squad_hourly_report_columns() %}\n\n{% set columns = [\n {\"name\": \"ad_squad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"attachment_quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_total_view_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"attachment_view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_1\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_2\", \"datatype\": dbt.type_int()},\n {\"name\": \"quartile_3\", \"datatype\": dbt.type_int()},\n {\"name\": \"saves\", \"datatype\": dbt.type_int()},\n {\"name\": \"screen_time_millis\", \"datatype\": dbt.type_int()},\n {\"name\": \"shares\", \"datatype\": dbt.type_int()},\n {\"name\": \"spend\", \"datatype\": dbt.type_int()},\n {\"name\": \"swipes\", \"datatype\": dbt.type_int()},\n {\"name\": \"video_views\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_completion\", \"datatype\": dbt.type_int()},\n {\"name\": \"view_time_millis\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('snapchat_ads__ad_squad_hourly_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.219927, "supported_languages": null}, "macro.snapchat_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_campaign_history_columns.sql", "original_file_path": "macros/get_campaign_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.222774, "supported_languages": null}, "macro.snapchat_ads_source.get_creative_url_tag_history_columns": {"name": "get_creative_url_tag_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_creative_url_tag_history_columns.sql", "original_file_path": "macros/get_creative_url_tag_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_creative_url_tag_history_columns", "macro_sql": "{% macro get_creative_url_tag_history_columns() %}\n\n{% set columns = [\n {\"name\": \"creative_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"key\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"value\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.224971, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_history_columns": {"name": "get_ad_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_history_columns.sql", "original_file_path": "macros/get_ad_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_history_columns", "macro_sql": "{% macro get_ad_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"ad_squad_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.228182, "supported_languages": null}, "macro.snapchat_ads_source.get_ad_account_history_columns": {"name": "get_ad_account_history_columns", "resource_type": "macro", "package_name": "snapchat_ads_source", "path": "macros/get_ad_account_history_columns.sql", "original_file_path": "macros/get_ad_account_history_columns.sql", "unique_id": "macro.snapchat_ads_source.get_ad_account_history_columns", "macro_sql": "{% macro get_ad_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"_fivetran_synced\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"advertiser\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()},\n {\"name\": \"type\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_timestamp", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.231969, "supported_languages": null}, "macro.twitter_ads_source.get_tweet_columns": {"name": "get_tweet_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_tweet_columns.sql", "original_file_path": "macros/get_tweet_columns.sql", "unique_id": "macro.twitter_ads_source.get_tweet_columns", "macro_sql": "{% macro get_tweet_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"full_text\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"lang\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2344651, "supported_languages": null}, "macro.twitter_ads_source.get_line_item_keywords_report_columns": {"name": "get_line_item_keywords_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_line_item_keywords_report_columns.sql", "original_file_path": "macros/get_line_item_keywords_report_columns.sql", "unique_id": "macro.twitter_ads_source.get_line_item_keywords_report_columns", "macro_sql": "{% macro get_line_item_keywords_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"line_item_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"segment\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__line_item_keywords_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2383518, "supported_languages": null}, "macro.twitter_ads_source.get_line_item_report_columns": {"name": "get_line_item_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_line_item_report_columns.sql", "original_file_path": "macros/get_line_item_report_columns.sql", "unique_id": "macro.twitter_ads_source.get_line_item_report_columns", "macro_sql": "{% macro get_line_item_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"line_item_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()},\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__line_item_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2420192, "supported_languages": null}, "macro.twitter_ads_source.get_campaign_report_columns": {"name": "get_campaign_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/get_campaign_report_columns.sql", "original_file_path": "macros/get_campaign_report_columns.sql", "unique_id": "macro.twitter_ads_source.get_campaign_report_columns", "macro_sql": "{% macro get_campaign_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__campaign_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.24557, "supported_languages": null}, "macro.twitter_ads_source.get_account_history_columns": {"name": "get_account_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_account_history_columns", "macro_sql": "{% macro get_account_history_columns() %}\n\n{% set columns = [\n {\"name\": \"approval_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"business_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"business_name\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"industry_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"salt\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone\", \"datatype\": dbt.type_string()},\n {\"name\": \"timezone_switch_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.255029, "supported_languages": null}, "macro.twitter_ads_source.get_campaign_history_columns": {"name": "get_campaign_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_campaign_history_columns", "macro_sql": "{% macro get_campaign_history_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"daily_budget_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"duration_in_days\", \"datatype\": dbt.type_int()},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"entity_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"frequency_cap\", \"datatype\": dbt.type_int()},\n {\"name\": \"funding_instrument_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"servable\", \"datatype\": \"boolean\"},\n {\"name\": \"standard_delivery\", \"datatype\": \"boolean\"},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"total_budget_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.260191, "supported_languages": null}, "macro.twitter_ads_source.get_line_item_history_columns": {"name": "get_line_item_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_line_item_history_columns", "macro_sql": "{% macro get_line_item_history_columns() %}\n\n{% set columns = [\n {\"name\": \"advertiser_domain\", \"datatype\": dbt.type_string()},\n {\"name\": \"advertiser_user_id\", \"datatype\": dbt.type_int()},\n {\"name\": \"automatically_select_bid\", \"datatype\": \"boolean\"},\n {\"name\": \"bid_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"bid_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"bid_unit\", \"datatype\": dbt.type_string()},\n {\"name\": \"campaign_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"charge_by\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"creative_source\", \"datatype\": dbt.type_string()},\n {\"name\": \"currency\", \"datatype\": dbt.type_string()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"end_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"entity_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"name\", \"datatype\": dbt.type_string()},\n {\"name\": \"objective\", \"datatype\": dbt.type_string()},\n {\"name\": \"optimization\", \"datatype\": dbt.type_string()},\n {\"name\": \"primary_web_event_tag\", \"datatype\": dbt.type_string()},\n {\"name\": \"product_type\", \"datatype\": dbt.type_string()},\n {\"name\": \"start_time\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"target_cpa_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"total_budget_amount_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.266881, "supported_languages": null}, "macro.twitter_ads_source.get_promoted_tweet_history_columns": {"name": "get_promoted_tweet_history_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_promoted_tweet_history_columns", "macro_sql": "{% macro get_promoted_tweet_history_columns() %}\n\n{% set columns = [\n {\"name\": \"approval_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"created_at\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"deleted\", \"datatype\": \"boolean\"},\n {\"name\": \"entity_status\", \"datatype\": dbt.type_string()},\n {\"name\": \"id\", \"datatype\": dbt.type_string()},\n {\"name\": \"line_item_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"tweet_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"updated_at\", \"datatype\": dbt.type_timestamp()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.26962, "supported_languages": null}, "macro.twitter_ads_source.get_tweet_url_columns": {"name": "get_tweet_url_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_tweet_url_columns", "macro_sql": "{% macro get_tweet_url_columns() %}\n\n{% set columns = [\n {\"name\": \"display_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"expanded_url\", \"datatype\": dbt.type_string()},\n {\"name\": \"index\", \"datatype\": dbt.type_int()},\n {\"name\": \"indices\", \"datatype\": dbt.type_string()},\n {\"name\": \"tweet_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"url\", \"datatype\": dbt.type_string()}\n] %}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.271955, "supported_languages": null}, "macro.twitter_ads_source.get_promoted_tweet_report_columns": {"name": "get_promoted_tweet_report_columns", "resource_type": "macro", "package_name": "twitter_ads_source", "path": "macros/staging_columns.sql", "original_file_path": "macros/staging_columns.sql", "unique_id": "macro.twitter_ads_source.get_promoted_tweet_report_columns", "macro_sql": "{% macro get_promoted_tweet_report_columns() %}\n\n{% set columns = [\n {\"name\": \"account_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"billed_charge_local_micro\", \"datatype\": dbt.type_int()},\n {\"name\": \"clicks\", \"datatype\": dbt.type_int()},\n {\"name\": \"date\", \"datatype\": dbt.type_timestamp()},\n {\"name\": \"impressions\", \"datatype\": dbt.type_int()},\n {\"name\": \"placement\", \"datatype\": dbt.type_string()},\n {\"name\": \"promoted_tweet_id\", \"datatype\": dbt.type_string()},\n {\"name\": \"url_clicks\", \"datatype\": dbt.type_int()}\n] %}\n\n{{ fivetran_utils.add_pass_through_columns(columns, var('twitter_ads__promoted_tweet_report_passthrough_metrics')) }}\n\n{{ return(columns) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt.type_string", "macro.dbt.type_int", "macro.dbt.type_timestamp", "macro.fivetran_utils.add_pass_through_columns"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2750359, "supported_languages": null}, "macro.dbt_expectations.type_timestamp": {"name": "type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.type_timestamp", "macro_sql": "\n{%- macro type_timestamp() -%}\n {{ return(adapter.dispatch('type_timestamp', 'dbt_expectations')()) }}\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_expectations.default__type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.276279, "supported_languages": null}, "macro.dbt_expectations.default__type_timestamp": {"name": "default__type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.default__type_timestamp", "macro_sql": "{% macro default__type_timestamp() -%}\n timestamp\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.27657, "supported_languages": null}, "macro.dbt_expectations.snowflake__type_timestamp": {"name": "snowflake__type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.snowflake__type_timestamp", "macro_sql": "{% macro snowflake__type_timestamp() -%}\n timestamp_ntz\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.276835, "supported_languages": null}, "macro.dbt_expectations.postgres__type_timestamp": {"name": "postgres__type_timestamp", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.postgres__type_timestamp", "macro_sql": "{% macro postgres__type_timestamp() -%}\n timestamp without time zone\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.277096, "supported_languages": null}, "macro.dbt_expectations.type_datetime": {"name": "type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.type_datetime", "macro_sql": "{% macro type_datetime() -%}\n {{ return(adapter.dispatch('type_datetime', 'dbt_expectations')()) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__type_datetime"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.277635, "supported_languages": null}, "macro.dbt_expectations.default__type_datetime": {"name": "default__type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.default__type_datetime", "macro_sql": "{% macro default__type_datetime() -%}\n datetime\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2779, "supported_languages": null}, "macro.dbt_expectations.snowflake__type_datetime": {"name": "snowflake__type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.snowflake__type_datetime", "macro_sql": "{% macro snowflake__type_datetime() -%}\n timestamp_ntz\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2781591, "supported_languages": null}, "macro.dbt_expectations.postgres__type_datetime": {"name": "postgres__type_datetime", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/datatypes.sql", "original_file_path": "macros/utils/datatypes.sql", "unique_id": "macro.dbt_expectations.postgres__type_datetime", "macro_sql": "{% macro postgres__type_datetime() -%}\n timestamp without time zone\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2784178, "supported_languages": null}, "macro.dbt_expectations.group_by": {"name": "group_by", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/groupby.sql", "original_file_path": "macros/utils/groupby.sql", "unique_id": "macro.dbt_expectations.group_by", "macro_sql": "{%- macro group_by(n) -%}\n {{ return(adapter.dispatch('group_by', 'dbt_expectations')(n)) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.279362, "supported_languages": null}, "macro.dbt_expectations.default__group_by": {"name": "default__group_by", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/utils/groupby.sql", "original_file_path": "macros/utils/groupby.sql", "unique_id": "macro.dbt_expectations.default__group_by", "macro_sql": "\n\n{%- macro default__group_by(n) -%}\n\n group by {% for i in range(1, n + 1) -%}\n {{ i }}{{ ',' if not loop.last }}\n {%- endfor -%}\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2804852, "supported_languages": null}, "macro.dbt_expectations.regexp_instr": {"name": "regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.regexp_instr", "macro_sql": "{% macro regexp_instr(source_value, regexp, position=1, occurrence=1, is_raw=False, flags=\"\") %}\n\n {{ adapter.dispatch('regexp_instr', 'dbt_expectations')(\n source_value, regexp, position, occurrence, is_raw, flags\n ) }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__regexp_instr"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2832909, "supported_languages": null}, "macro.dbt_expectations.default__regexp_instr": {"name": "default__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.default__regexp_instr", "macro_sql": "{% macro default__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{# unclear if other databases support raw strings or flags #}\n{% if is_raw or flags %}\n {{ exceptions.warn(\n \"is_raw and flags options are not supported for this adapter \"\n ~ \"and are being ignored.\"\n ) }}\n{% endif %}\nregexp_instr({{ source_value }}, '{{ regexp }}', {{ position }}, {{ occurrence }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.284462, "supported_languages": null}, "macro.dbt_expectations.snowflake__regexp_instr": {"name": "snowflake__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.snowflake__regexp_instr", "macro_sql": "{% macro snowflake__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{%- set regexp = \"$$\" ~ regexp ~ \"$$\" if is_raw else \"'\" ~ regexp ~ \"'\" -%}\n{% if flags %}{{ dbt_expectations._validate_flags(flags, 'cimes') }}{% endif %}\nregexp_instr({{ source_value }}, {{ regexp }}, {{ position }}, {{ occurrence }}, 0, '{{ flags }}')\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations._validate_flags"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2859142, "supported_languages": null}, "macro.dbt_expectations.bigquery__regexp_instr": {"name": "bigquery__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.bigquery__regexp_instr", "macro_sql": "{% macro bigquery__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{% if flags %}\n {{ exceptions.warn(\n \"The flags option is not supported for BigQuery and is being ignored.\"\n ) }}\n{% endif %}\n{%- set regexp = \"r'\" ~ regexp ~ \"'\" if is_raw else \"'\" ~ regexp ~ \"'\" -%}\nregexp_instr({{ source_value }}, {{ regexp }}, {{ position }}, {{ occurrence }})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.287293, "supported_languages": null}, "macro.dbt_expectations.postgres__regexp_instr": {"name": "postgres__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.postgres__regexp_instr", "macro_sql": "{% macro postgres__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{% if flags %}{{ dbt_expectations._validate_flags(flags, 'bcegimnpqstwx') }}{% endif %}\narray_length((select regexp_matches({{ source_value }}, '{{ regexp }}', '{{ flags }}')), 1)\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations._validate_flags"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2883, "supported_languages": null}, "macro.dbt_expectations.redshift__regexp_instr": {"name": "redshift__regexp_instr", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations.redshift__regexp_instr", "macro_sql": "{% macro redshift__regexp_instr(source_value, regexp, position, occurrence, is_raw, flags) %}\n{% if flags %}{{ dbt_expectations._validate_flags(flags, 'ciep') }}{% endif %}\nregexp_instr({{ source_value }}, '{{ regexp }}', {{ position }}, {{ occurrence }}, 0, '{{ flags }}')\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations._validate_flags"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.289388, "supported_languages": null}, "macro.dbt_expectations._validate_flags": {"name": "_validate_flags", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/regex/regexp_instr.sql", "original_file_path": "macros/regex/regexp_instr.sql", "unique_id": "macro.dbt_expectations._validate_flags", "macro_sql": "{% macro _validate_flags(flags, alphabet) %}\n{% for flag in flags %}\n {% if flag not in alphabet %}\n {{ exceptions.raise_compiler_error(\n \"flag \" ~ flag ~ \" not in list of allowed flags for this adapter: \" ~ alphabet | join(\", \")\n ) }}\n {% endif %}\n{% endfor %}\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.290802, "supported_languages": null}, "macro.dbt_expectations.log_natural": {"name": "log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.log_natural", "macro_sql": "{% macro log_natural(x) -%}\n {{ adapter.dispatch('log_natural', 'dbt_expectations') (x) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__log_natural"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.291733, "supported_languages": null}, "macro.dbt_expectations.default__log_natural": {"name": "default__log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.default__log_natural", "macro_sql": "{% macro default__log_natural(x) -%}\n\n ln({{ x }})\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.292095, "supported_languages": null}, "macro.dbt_expectations.bigquery__log_natural": {"name": "bigquery__log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.bigquery__log_natural", "macro_sql": "{% macro bigquery__log_natural(x) -%}\n\n ln({{ x }})\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2924411, "supported_languages": null}, "macro.dbt_expectations.snowflake__log_natural": {"name": "snowflake__log_natural", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/log_natural.sql", "original_file_path": "macros/math/log_natural.sql", "unique_id": "macro.dbt_expectations.snowflake__log_natural", "macro_sql": "{% macro snowflake__log_natural(x) -%}\n\n ln({{ x }})\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2927868, "supported_languages": null}, "macro.dbt_expectations.rand": {"name": "rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.rand", "macro_sql": "{% macro rand() -%}\n {{ adapter.dispatch('rand', 'dbt_expectations') () }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__rand"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.293708, "supported_languages": null}, "macro.dbt_expectations.default__rand": {"name": "default__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.default__rand", "macro_sql": "{% macro default__rand() -%}\n\n rand()\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2939782, "supported_languages": null}, "macro.dbt_expectations.bigquery__rand": {"name": "bigquery__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.bigquery__rand", "macro_sql": "{% macro bigquery__rand() -%}\n\n rand()\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.294239, "supported_languages": null}, "macro.dbt_expectations.snowflake__rand": {"name": "snowflake__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.snowflake__rand", "macro_sql": "{% macro snowflake__rand(seed) -%}\n\n uniform(0::float, 1::float, random())\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2945201, "supported_languages": null}, "macro.dbt_expectations.postgres__rand": {"name": "postgres__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.postgres__rand", "macro_sql": "{% macro postgres__rand() -%}\n\n random()\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.294772, "supported_languages": null}, "macro.dbt_expectations.redshift__rand": {"name": "redshift__rand", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/rand.sql", "original_file_path": "macros/math/rand.sql", "unique_id": "macro.dbt_expectations.redshift__rand", "macro_sql": "{% macro redshift__rand() -%}\n\n random()\n\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2950242, "supported_languages": null}, "macro.dbt_expectations.median": {"name": "median", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/median.sql", "original_file_path": "macros/math/median.sql", "unique_id": "macro.dbt_expectations.median", "macro_sql": "{% macro median(field) %}\n{{ dbt_expectations.percentile_cont(field, 0.5) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.percentile_cont"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.295645, "supported_languages": null}, "macro.dbt_expectations.percentile_cont": {"name": "percentile_cont", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/percentile_cont.sql", "original_file_path": "macros/math/percentile_cont.sql", "unique_id": "macro.dbt_expectations.percentile_cont", "macro_sql": "{% macro percentile_cont(field, quantile, partition=None) %}\n {{ adapter.dispatch('quantile', 'dbt_expectations') (field, quantile, partition) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.bigquery__quantile"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.296892, "supported_languages": null}, "macro.dbt_expectations.default__quantile": {"name": "default__quantile", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/percentile_cont.sql", "original_file_path": "macros/math/percentile_cont.sql", "unique_id": "macro.dbt_expectations.default__quantile", "macro_sql": "{% macro default__quantile(field, quantile, partition) -%}\n percentile_cont({{ quantile }}) within group (order by {{ field }})\n {%- if partition %}over(partition by {{ partition }}){% endif -%}\n{%- endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.2975821, "supported_languages": null}, "macro.dbt_expectations.bigquery__quantile": {"name": "bigquery__quantile", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/math/percentile_cont.sql", "original_file_path": "macros/math/percentile_cont.sql", "unique_id": "macro.dbt_expectations.bigquery__quantile", "macro_sql": "{% macro bigquery__quantile(field, quantile, partition) -%}\n percentile_cont({{ field }}, {{ quantile }})\n over({%- if partition %}partition by {{ partition }}{% endif -%})\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.298261, "supported_languages": null}, "macro.dbt_expectations.ignore_row_if_expression": {"name": "ignore_row_if_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "unique_id": "macro.dbt_expectations.ignore_row_if_expression", "macro_sql": "{% macro ignore_row_if_expression(ignore_row_if, columns) %}\n {{ adapter.dispatch('ignore_row_if_expression', 'dbt_expectations') (ignore_row_if, columns) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__ignore_row_if_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.299575, "supported_languages": null}, "macro.dbt_expectations.default__ignore_row_if_expression": {"name": "default__ignore_row_if_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_ignore_row_if_expression.sql", "unique_id": "macro.dbt_expectations.default__ignore_row_if_expression", "macro_sql": "{% macro default__ignore_row_if_expression(ignore_row_if, columns) %}\n {%- set ignore_row_if_values = [\"all_values_are_missing\", \"any_value_is_missing\"] -%}\n {% if ignore_row_if not in ignore_row_if_values %}\n {{ exceptions.raise_compiler_error(\n \"`ignore_row_if` must be one of \" ~ (ignore_row_if_values | join(\", \")) ~ \". Got: '\" ~ ignore_row_if ~\"'.'\"\n ) }}\n {% endif %}\n\n {%- set op = \"and\" if ignore_row_if == \"all_values_are_missing\" else \"or\" -%}\n not (\n {% for column in columns -%}\n {{ column }} is null{% if not loop.last %} {{ op }} {% endif %}\n {% endfor %}\n )\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3015318, "supported_languages": null}, "macro.dbt_expectations.test_expression_between": {"name": "test_expression_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_between.sql", "original_file_path": "macros/schema_tests/_generalized/expression_between.sql", "unique_id": "macro.dbt_expectations.test_expression_between", "macro_sql": "{% test expression_between(model,\n expression,\n min_value=None,\n max_value=None,\n group_by_columns=None,\n row_condition=None,\n strictly=False\n ) %}\n\n {{ dbt_expectations.expression_between(model, expression, min_value, max_value, group_by_columns, row_condition, strictly) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.304551, "supported_languages": null}, "macro.dbt_expectations.expression_between": {"name": "expression_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_between.sql", "original_file_path": "macros/schema_tests/_generalized/expression_between.sql", "unique_id": "macro.dbt_expectations.expression_between", "macro_sql": "{% macro expression_between(model,\n expression,\n min_value,\n max_value,\n group_by_columns,\n row_condition,\n strictly\n ) %}\n\n{%- if min_value is none and max_value is none -%}\n{{ exceptions.raise_compiler_error(\n \"You have to provide either a min_value, max_value or both.\"\n) }}\n{%- endif -%}\n\n{%- set strict_operator = \"\" if strictly else \"=\" -%}\n\n{% set expression_min_max %}\n( 1=1\n{%- if min_value is not none %} and {{ expression | trim }} >{{ strict_operator }} {{ min_value }}{% endif %}\n{%- if max_value is not none %} and {{ expression | trim }} <{{ strict_operator }} {{ max_value }}{% endif %}\n)\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression_min_max,\n group_by_columns=group_by_columns,\n row_condition=row_condition)\n }}\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3074281, "supported_languages": null}, "macro.dbt_expectations.test_expression_is_true": {"name": "test_expression_is_true", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_is_true.sql", "original_file_path": "macros/schema_tests/_generalized/expression_is_true.sql", "unique_id": "macro.dbt_expectations.test_expression_is_true", "macro_sql": "{% test expression_is_true(model,\n expression,\n test_condition=\"= true\",\n group_by_columns=None,\n row_condition=None\n ) %}\n\n {{ dbt_expectations.expression_is_true(model, expression, test_condition, group_by_columns, row_condition) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.309991, "supported_languages": null}, "macro.dbt_expectations.expression_is_true": {"name": "expression_is_true", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_is_true.sql", "original_file_path": "macros/schema_tests/_generalized/expression_is_true.sql", "unique_id": "macro.dbt_expectations.expression_is_true", "macro_sql": "{% macro expression_is_true(model,\n expression,\n test_condition=\"= true\",\n group_by_columns=None,\n row_condition=None\n ) %}\n {{ adapter.dispatch('expression_is_true', 'dbt_expectations') (model, expression, test_condition, group_by_columns, row_condition) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.310931, "supported_languages": null}, "macro.dbt_expectations.default__expression_is_true": {"name": "default__expression_is_true", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/expression_is_true.sql", "original_file_path": "macros/schema_tests/_generalized/expression_is_true.sql", "unique_id": "macro.dbt_expectations.default__expression_is_true", "macro_sql": "{% macro default__expression_is_true(model, expression, test_condition, group_by_columns, row_condition) -%}\nwith grouped_expression as (\n select\n {% if group_by_columns %}\n {% for group_by_column in group_by_columns -%}\n {{ group_by_column }} as col_{{ loop.index }},\n {% endfor -%}\n {% endif %}\n {{ dbt_expectations.truth_expression(expression) }}\n from {{ model }}\n {%- if row_condition %}\n where\n {{ row_condition }}\n {% endif %}\n {% if group_by_columns %}\n group by\n {% for group_by_column in group_by_columns -%}\n {{ group_by_column }}{% if not loop.last %},{% endif %}\n {% endfor %}\n {% endif %}\n\n),\nvalidation_errors as (\n\n select\n *\n from\n grouped_expression\n where\n not(expression {{ test_condition }})\n\n)\n\nselect *\nfrom validation_errors\n\n\n{% endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.truth_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3128939, "supported_languages": null}, "macro.dbt_expectations.get_select": {"name": "get_select", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.get_select", "macro_sql": "{% macro get_select(model, expression, row_condition, group_by) -%}\n {{ adapter.dispatch('get_select', 'dbt_expectations') (model, expression, row_condition, group_by) }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__get_select"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3253062, "supported_languages": null}, "macro.dbt_expectations.default__get_select": {"name": "default__get_select", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.default__get_select", "macro_sql": "\n\n{%- macro default__get_select(model, expression, row_condition, group_by) %}\n select\n {% if group_by %}\n {% for g in group_by -%}\n {{ g }} as col_{{ loop.index }},\n {% endfor -%}\n {% endif %}\n {{ expression }} as expression\n from\n {{ model }}\n {%- if row_condition %}\n where\n {{ row_condition }}\n {% endif %}\n {% if group_by %}\n group by\n {% for g in group_by -%}\n {{ loop.index }}{% if not loop.last %},{% endif %}\n {% endfor %}\n {% endif %}\n{% endmacro -%}\n\n\n", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.327202, "supported_languages": null}, "macro.dbt_expectations.test_equal_expression": {"name": "test_equal_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.test_equal_expression", "macro_sql": "{% test equal_expression(model, expression,\n compare_model=None,\n compare_expression=None,\n group_by=None,\n compare_group_by=None,\n row_condition=None,\n compare_row_condition=None,\n tolerance=0.0,\n tolerance_percent=None\n ) -%}\n\n {{ adapter.dispatch('test_equal_expression', 'dbt_expectations') (\n model,\n expression,\n compare_model,\n compare_expression,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition,\n tolerance,\n tolerance_percent) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.32882, "supported_languages": null}, "macro.dbt_expectations.default__test_equal_expression": {"name": "default__test_equal_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/equal_expression.sql", "original_file_path": "macros/schema_tests/_generalized/equal_expression.sql", "unique_id": "macro.dbt_expectations.default__test_equal_expression", "macro_sql": "\n\n{%- macro default__test_equal_expression(\n model,\n expression,\n compare_model,\n compare_expression,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition,\n tolerance,\n tolerance_percent) -%}\n\n {%- set compare_model = model if not compare_model else compare_model -%}\n {%- set compare_expression = expression if not compare_expression else compare_expression -%}\n {%- set compare_row_condition = row_condition if not compare_row_condition else compare_row_condition -%}\n {%- set compare_group_by = group_by if not compare_group_by else compare_group_by -%}\n\n {%- set n_cols = (group_by|length) if group_by else 0 %}\n with a as (\n {{ dbt_expectations.get_select(model, expression, row_condition, group_by) }}\n ),\n b as (\n {{ dbt_expectations.get_select(compare_model, compare_expression, compare_row_condition, compare_group_by) }}\n ),\n final as (\n\n select\n {% for i in range(1, n_cols + 1) -%}\n coalesce(a.col_{{ i }}, b.col_{{ i }}) as col_{{ i }},\n {% endfor %}\n a.expression,\n b.expression as compare_expression,\n abs(coalesce(a.expression, 0) - coalesce(b.expression, 0)) as expression_difference,\n abs(coalesce(a.expression, 0) - coalesce(b.expression, 0))/\n nullif(a.expression * 1.0, 0) as expression_difference_percent\n from\n {% if n_cols > 0 %}\n a\n full outer join\n b on\n {% for i in range(1, n_cols + 1) -%}\n a.col_{{ i }} = b.col_{{ i }} {% if not loop.last %}and{% endif %}\n {% endfor -%}\n {% else %}\n a cross join b\n {% endif %}\n )\n -- DEBUG:\n -- select * from final\n select\n *\n from final\n where\n {% if tolerance_percent %}\n expression_difference_percent > {{ tolerance_percent }}\n {% else %}\n expression_difference > {{ tolerance }}\n {% endif %}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.get_select"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3329852, "supported_languages": null}, "macro.dbt_expectations.truth_expression": {"name": "truth_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_truth_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_truth_expression.sql", "unique_id": "macro.dbt_expectations.truth_expression", "macro_sql": "{% macro truth_expression(expression) %}\n {{ adapter.dispatch('truth_expression', 'dbt_expectations') (expression) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.default__truth_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.333855, "supported_languages": null}, "macro.dbt_expectations.default__truth_expression": {"name": "default__truth_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/_generalized/_truth_expression.sql", "original_file_path": "macros/schema_tests/_generalized/_truth_expression.sql", "unique_id": "macro.dbt_expectations.default__truth_expression", "macro_sql": "{% macro default__truth_expression(expression) %}\n {{ expression }} as expression\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.334236, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern": {"name": "test_expect_column_values_to_match_like_pattern", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern", "macro_sql": "{% test expect_column_values_to_match_like_pattern(model, column_name,\n like_pattern,\n row_condition=None\n ) %}\n\n{% set expression = dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=True) %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.335807, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern_list": {"name": "test_expect_column_values_to_match_like_pattern_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_like_pattern_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_like_pattern_list", "macro_sql": "{% test expect_column_values_to_match_like_pattern_list(model, column_name,\n like_pattern_list,\n match_on=\"any\",\n row_condition=None\n ) %}\n\n{% set expression %}\n {% for like_pattern in like_pattern_list %}\n {{ dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=True) }}\n {%- if not loop.last %}\n {{ \" and \" if match_on == \"all\" else \" or \"}}\n {% endif -%}\n {% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3387241, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_regex": {"name": "test_expect_column_values_to_match_regex", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_regex", "macro_sql": "{% test expect_column_values_to_match_regex(model, column_name,\n regex,\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} > 0\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.340818, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_value_lengths_to_equal": {"name": "test_expect_column_value_lengths_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_equal.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_column_value_lengths_to_equal", "macro_sql": "{% test expect_column_value_lengths_to_equal(model, column_name,\n value,\n row_condition=None\n ) %}\n\n{% set expression = dbt.length(column_name) ~ \" = \" ~ value %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.length", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.342328, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_value_lengths_to_be_between": {"name": "test_expect_column_value_lengths_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_be_between.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_value_lengths_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_value_lengths_to_be_between", "macro_sql": "{% test expect_column_value_lengths_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\n{{ dbt.length(column_name) }}\n{% endset %}\n\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=None,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.length", "macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.344503, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_regex": {"name": "test_expect_column_values_to_not_match_regex", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_regex", "macro_sql": "{% test expect_column_values_to_not_match_regex(model, column_name,\n regex,\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} = 0\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.346476, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_regex_list": {"name": "test_expect_column_values_to_not_match_regex_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_regex_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_regex_list", "macro_sql": "{% test expect_column_values_to_not_match_regex_list(model, column_name,\n regex_list,\n match_on=\"any\",\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n{% for regex in regex_list %}\n{{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} = 0\n{%- if not loop.last %}\n{{ \" and \" if match_on == \"all\" else \" or \"}}\n{% endif -%}\n{% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.349556, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_match_regex_list": {"name": "test_expect_column_values_to_match_regex_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_match_regex_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_match_regex_list", "macro_sql": "{% test expect_column_values_to_match_regex_list(model, column_name,\n regex_list,\n match_on=\"any\",\n row_condition=None,\n is_raw=False,\n flags=\"\"\n ) %}\n\n{% set expression %}\n {% for regex in regex_list %}\n {{ dbt_expectations.regexp_instr(column_name, regex, is_raw=is_raw, flags=flags) }} > 0\n {%- if not loop.last %}\n {{ \" and \" if match_on == \"all\" else \" or \"}}\n {% endif -%}\n {% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.regexp_instr", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.352832, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern_list": {"name": "test_expect_column_values_to_not_match_like_pattern_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern_list.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern_list", "macro_sql": "{% test expect_column_values_to_not_match_like_pattern_list(model, column_name,\n like_pattern_list,\n match_on=\"any\",\n row_condition=None\n ) %}\n\n{% set expression %}\n {% for like_pattern in like_pattern_list %}\n {{ dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=False) }}\n {%- if not loop.last %}\n {{ \" and \" if match_on == \"all\" else \" or \"}}\n {% endif -%}\n {% endfor %}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3557382, "supported_languages": null}, "macro.dbt_expectations._get_like_pattern_expression": {"name": "_get_like_pattern_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/_get_like_pattern_expression.sql", "original_file_path": "macros/schema_tests/string_matching/_get_like_pattern_expression.sql", "unique_id": "macro.dbt_expectations._get_like_pattern_expression", "macro_sql": "{% macro _get_like_pattern_expression(column_name, like_pattern, positive) %}\n{{ column_name }} {{ \"not\" if not positive else \"\" }} like '{{ like_pattern }}'\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.356582, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern": {"name": "test_expect_column_values_to_not_match_like_pattern", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern.sql", "original_file_path": "macros/schema_tests/string_matching/expect_column_values_to_not_match_like_pattern.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_match_like_pattern", "macro_sql": "{% test expect_column_values_to_not_match_like_pattern(model, column_name,\n like_pattern,\n row_condition=None\n ) %}\n\n{% set expression = dbt_expectations._get_like_pattern_expression(column_name, like_pattern, positive=False) %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations._get_like_pattern_expression", "macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.358133, "supported_languages": null}, "macro.dbt_expectations.test_expect_row_values_to_have_recent_data": {"name": "test_expect_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.test_expect_row_values_to_have_recent_data", "macro_sql": "{% test expect_row_values_to_have_recent_data(model,\n column_name,\n datepart,\n interval,\n row_condition=None) %}\n\n {{ adapter.dispatch('test_expect_row_values_to_have_recent_data', 'dbt_expectations') (model,\n column_name,\n datepart,\n interval,\n row_condition) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_row_values_to_have_recent_data"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3610098, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_row_values_to_have_recent_data": {"name": "default__test_expect_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.default__test_expect_row_values_to_have_recent_data", "macro_sql": "{% macro default__test_expect_row_values_to_have_recent_data(model, column_name, datepart, interval, row_condition) %}\n{%- set default_start_date = '1970-01-01' -%}\nwith max_recency as (\n\n select max(cast({{ column_name }} as {{ dbt_expectations.type_timestamp() }})) as max_timestamp\n from\n {{ model }}\n where\n -- to exclude erroneous future dates\n cast({{ column_name }} as {{ dbt_expectations.type_timestamp() }}) <= {{ dbt_date.now() }}\n {% if row_condition %}\n and {{ row_condition }}\n {% endif %}\n)\nselect\n *\nfrom\n max_recency\nwhere\n -- if the row_condition excludes all rows, we need to compare against a default date\n -- to avoid false negatives\n coalesce(max_timestamp, cast('{{ default_start_date }}' as {{ dbt_expectations.type_timestamp() }}))\n <\n cast({{ dbt.dateadd(datepart, interval * -1, dbt_date.now()) }} as {{ dbt_expectations.type_timestamp() }})\n\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.type_timestamp", "macro.dbt_date.now", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.362972, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_contain_set": {"name": "test_expect_table_columns_to_contain_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_contain_set.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_contain_set.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_contain_set", "macro_sql": "{%- test expect_table_columns_to_contain_set(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n select *\n from\n input_columns i\n left join\n relation_columns r on r.relation_column = i.input_column\n where\n -- catch any column in input list that is not in the list of table columns\n r.relation_column is null\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.36638, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table": {"name": "test_expect_table_row_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table", "macro_sql": "{%- test expect_table_row_count_to_equal_other_table(model,\n compare_model,\n group_by=None,\n compare_group_by=None,\n factor=1,\n row_condition=None,\n compare_row_condition=None\n ) -%}\n\n {{ adapter.dispatch('test_expect_table_row_count_to_equal_other_table',\n 'dbt_expectations') (model,\n compare_model,\n group_by,\n compare_group_by,\n factor,\n row_condition,\n compare_row_condition\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.369038, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table": {"name": "default__test_expect_table_row_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table", "macro_sql": "\n\n{%- macro default__test_expect_table_row_count_to_equal_other_table(model,\n compare_model,\n group_by,\n compare_group_by,\n factor,\n row_condition,\n compare_row_condition\n ) -%}\n{{ dbt_expectations.test_equal_expression(model, \"count(*)\",\n compare_model=compare_model,\n compare_expression=\"count(*) * \" + factor|string,\n group_by=group_by,\n compare_group_by=compare_group_by,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition\n) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.370291, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_not_contain_set": {"name": "test_expect_table_columns_to_not_contain_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_not_contain_set.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_not_contain_set.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_not_contain_set", "macro_sql": "{%- test expect_table_columns_to_not_contain_set(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n -- catch any column in input list that is in the list of table columns\n select *\n from\n input_columns i\n inner join\n relation_columns r on r.relation_column = i.input_column\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.37413, "supported_languages": null}, "macro.dbt_expectations.test_expect_grouped_row_values_to_have_recent_data": {"name": "test_expect_grouped_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.test_expect_grouped_row_values_to_have_recent_data", "macro_sql": "{% test expect_grouped_row_values_to_have_recent_data(model,\n group_by,\n timestamp_column,\n datepart,\n interval,\n row_condition=None) %}\n\n {{ adapter.dispatch('test_expect_grouped_row_values_to_have_recent_data', 'dbt_expectations') (model,\n group_by,\n timestamp_column,\n datepart,\n interval,\n row_condition) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_grouped_row_values_to_have_recent_data"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3804202, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_grouped_row_values_to_have_recent_data": {"name": "default__test_expect_grouped_row_values_to_have_recent_data", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "original_file_path": "macros/schema_tests/table_shape/expect_grouped_row_values_to_have_recent_data.sql", "unique_id": "macro.dbt_expectations.default__test_expect_grouped_row_values_to_have_recent_data", "macro_sql": "{% macro default__test_expect_grouped_row_values_to_have_recent_data(model,\n group_by,\n timestamp_column,\n datepart,\n interval,\n row_condition) %}\nwith latest_grouped_timestamps as (\n\n select\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n max(1) as join_key,\n max(cast({{ timestamp_column }} as {{ dbt_expectations.type_timestamp() }})) as latest_timestamp_column\n from\n {{ model }}\n where\n -- to exclude erroneous future dates\n cast({{ timestamp_column }} as {{ dbt_expectations.type_timestamp() }}) <= {{ dbt_date.now() }}\n {% if row_condition %}\n and {{ row_condition }}\n {% endif %}\n\n {% if group_by -%}\n {{ dbt_expectations.group_by(group_by | length) }}\n {%- endif %}\n),\ntotal_row_counts as (\n\n select\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n max(1) as join_key,\n count(*) as row_count\n from\n latest_grouped_timestamps\n {% if group_by -%}\n {{ dbt_expectations.group_by(group_by | length) }}\n {%- endif %}\n\n\n),\noutdated_grouped_timestamps as (\n\n select *\n from\n latest_grouped_timestamps\n where\n -- are the max timestamps per group older than the specified cutoff?\n latest_timestamp_column <\n cast(\n {{ dbt.dateadd(datepart, interval * -1, dbt_date.now()) }}\n as {{ dbt_expectations.type_timestamp() }}\n )\n\n),\nvalidation_errors as (\n\n select\n r.row_count,\n t.*\n from\n total_row_counts r\n left join\n outdated_grouped_timestamps t\n on\n {% for g in group_by %}\n r.{{ g }} = t.{{ g }} and\n {% endfor %}\n r.join_key = t.join_key\n where\n -- fail if either no rows were returned due to row_condition,\n -- or the recency test returned failed rows\n r.row_count = 0\n or\n t.join_key is not null\n\n)\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.type_timestamp", "macro.dbt_date.now", "macro.dbt_expectations.group_by", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.383771, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_to_exist": {"name": "test_expect_column_to_exist", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_column_to_exist.sql", "original_file_path": "macros/schema_tests/table_shape/expect_column_to_exist.sql", "unique_id": "macro.dbt_expectations.test_expect_column_to_exist", "macro_sql": "{%- test expect_column_to_exist(model, column_name, column_index=None, transform=\"upper\") -%}\n{%- if execute -%}\n\n {%- set column_name = column_name | map(transform) | join -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n\n {%- set matching_column_index = relation_column_names.index(column_name) if column_name in relation_column_names else -1 %}\n\n {%- if column_index -%}\n\n {%- set column_index_0 = column_index - 1 if column_index > 0 else 0 -%}\n\n {%- set column_index_matches = true if matching_column_index == column_index_0 else false %}\n\n {%- else -%}\n\n {%- set column_index_matches = true -%}\n\n {%- endif %}\n\n with test_data as (\n\n select\n cast('{{ column_name }}' as {{ dbt.type_string() }}) as column_name,\n {{ matching_column_index }} as matching_column_index,\n {{ column_index_matches }} as column_index_matches\n\n )\n select *\n from test_data\n where\n not(matching_column_index >= 0 and column_index_matches)\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.387327, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_equal": {"name": "test_expect_table_row_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_equal", "macro_sql": "{%- test expect_table_row_count_to_equal(model,\n value,\n group_by=None,\n row_condition=None\n ) -%}\n {{ adapter.dispatch('test_expect_table_row_count_to_equal',\n 'dbt_expectations') (model,\n value,\n group_by,\n row_condition\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_equal"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.389181, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_equal": {"name": "default__test_expect_table_row_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_equal", "macro_sql": "\n\n\n\n{%- macro default__test_expect_table_row_count_to_equal(model,\n value,\n group_by,\n row_condition\n ) -%}\n{% set expression %}\ncount(*) = {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.390229, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_be_between": {"name": "test_expect_table_row_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_be_between", "macro_sql": "{%- test expect_table_row_count_to_be_between(model,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) -%}\n {{ adapter.dispatch('test_expect_table_row_count_to_be_between',\n 'dbt_expectations') (model,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_be_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.392669, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_be_between": {"name": "default__test_expect_table_row_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_be_between", "macro_sql": "\n\n{%- macro default__test_expect_table_row_count_to_be_between(model,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) -%}\n{% set expression %}\ncount(*)\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3939788, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table_times_factor": {"name": "test_expect_table_row_count_to_equal_other_table_times_factor", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "unique_id": "macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table_times_factor", "macro_sql": "{%- test expect_table_row_count_to_equal_other_table_times_factor(model,\n compare_model,\n factor,\n group_by=None,\n compare_group_by=None,\n row_condition=None,\n compare_row_condition=None\n ) -%}\n {{ adapter.dispatch('test_expect_table_row_count_to_equal_other_table_times_factor',\n 'dbt_expectations') (model,\n compare_model,\n factor,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table_times_factor"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.3969731, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table_times_factor": {"name": "default__test_expect_table_row_count_to_equal_other_table_times_factor", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_row_count_to_equal_other_table_times_factor.sql", "unique_id": "macro.dbt_expectations.default__test_expect_table_row_count_to_equal_other_table_times_factor", "macro_sql": "\n\n{%- macro default__test_expect_table_row_count_to_equal_other_table_times_factor(model,\n compare_model,\n factor,\n group_by,\n compare_group_by,\n row_condition,\n compare_row_condition\n ) -%}\n\n{{ dbt_expectations.test_expect_table_row_count_to_equal_other_table(model,\n compare_model,\n group_by=group_by,\n compare_group_by=compare_group_by,\n factor=factor,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition\n) }}\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_expect_table_row_count_to_equal_other_table"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.397986, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_match_set": {"name": "test_expect_table_columns_to_match_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_match_set.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_match_set.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_match_set", "macro_sql": "{%- test expect_table_columns_to_match_set(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n select *\n from\n relation_columns r\n full outer join\n input_columns i on r.relation_column = i.input_column\n where\n -- catch any column in input list that is not in the list of table columns\n -- or any table column that is not in the input list\n r.relation_column is null or\n i.input_column is null\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.401995, "supported_languages": null}, "macro.dbt_expectations._get_column_list": {"name": "_get_column_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/_get_column_list.sql", "original_file_path": "macros/schema_tests/table_shape/_get_column_list.sql", "unique_id": "macro.dbt_expectations._get_column_list", "macro_sql": "{%- macro _get_column_list(model, transform=\"upper\") -%}\n{%- set relation_columns = adapter.get_columns_in_relation(model) -%}\n{%- set relation_column_names = relation_columns | map(attribute=\"name\") | map(transform) | list -%}\n{%- do return(relation_column_names) -%}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4033878, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_columns_to_match_ordered_list": {"name": "test_expect_table_columns_to_match_ordered_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_columns_to_match_ordered_list.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_columns_to_match_ordered_list.sql", "unique_id": "macro.dbt_expectations.test_expect_table_columns_to_match_ordered_list", "macro_sql": "{%- test expect_table_columns_to_match_ordered_list(model, column_list, transform=\"upper\") -%}\n{%- if execute -%}\n {%- set column_list = column_list | map(transform) | list -%}\n {%- set relation_column_names = dbt_expectations._get_column_list(model, transform) -%}\n {%- set matching_columns = dbt_expectations._list_intersect(column_list, relation_column_names) -%}\n with relation_columns as (\n\n {% for col_name in relation_column_names %}\n select\n {{ loop.index }} as relation_column_idx,\n cast('{{ col_name }}' as {{ dbt.type_string() }}) as relation_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n input_columns as (\n\n {% for col_name in column_list %}\n select\n {{ loop.index }} as input_column_idx,\n cast('{{ col_name }}' as {{ dbt.type_string() }}) as input_column\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n )\n select *\n from\n relation_columns r\n full outer join\n input_columns i on r.relation_column = i.input_column and r.relation_column_idx = i.input_column_idx\n where\n -- catch any column in input list that is not in the sequence of table columns\n -- or any table column that is not in the input sequence\n r.relation_column is null or\n i.input_column is null\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations._get_column_list", "macro.dbt_expectations._list_intersect", "macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.407661, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_aggregation_to_equal_other_table": {"name": "test_expect_table_aggregation_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_aggregation_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_aggregation_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_table_aggregation_to_equal_other_table", "macro_sql": "{%- test expect_table_aggregation_to_equal_other_table(model,\n expression,\n compare_model,\n compare_expression=None,\n group_by=None,\n compare_group_by=None,\n row_condition=None,\n compare_row_condition=None,\n tolerance=0.0,\n tolerance_percent=None\n ) -%}\n\n\n{{ dbt_expectations.test_equal_expression(\n model,\n expression=expression,\n compare_model=compare_model,\n compare_expression=compare_expression,\n group_by=group_by,\n compare_group_by=compare_group_by,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition,\n tolerance=tolerance,\n tolerance_percent=tolerance_percent\n) }}\n\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.409628, "supported_languages": null}, "macro.dbt_expectations._list_intersect": {"name": "_list_intersect", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/_list_intersect.sql", "original_file_path": "macros/schema_tests/table_shape/_list_intersect.sql", "unique_id": "macro.dbt_expectations._list_intersect", "macro_sql": "{%- macro _list_intersect(list1, list2) -%}\n{%- set matching_items = [] -%}\n{%- for itm in list1 -%}\n {%- if itm in list2 -%}\n {%- do matching_items.append(itm) -%}\n {%- endif -%}\n{%- endfor -%}\n{%- do return(matching_items) -%}\n{%- endmacro -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.411144, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_column_count_to_equal_other_table": {"name": "test_expect_table_column_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_table_column_count_to_equal_other_table", "macro_sql": "{%- test expect_table_column_count_to_equal_other_table(model, compare_model) -%}\n{%- if execute -%}\n{%- set number_columns = (adapter.get_columns_in_relation(model) | length) -%}\n{%- set compare_number_columns = (adapter.get_columns_in_relation(compare_model) | length) -%}\nwith test_data as (\n\n select\n {{ number_columns }} as number_columns,\n {{ compare_number_columns }} as compare_number_columns\n\n)\nselect *\nfrom test_data\nwhere\n number_columns != compare_number_columns\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4127, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_column_count_to_equal": {"name": "test_expect_table_column_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_column_count_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_table_column_count_to_equal", "macro_sql": "{%- test expect_table_column_count_to_equal(model, value) -%}\n{%- if execute -%}\n{%- set number_actual_columns = (adapter.get_columns_in_relation(model) | length) -%}\nwith test_data as (\n\n select\n {{ number_actual_columns }} as number_actual_columns,\n {{ value }} as value\n\n)\nselect *\nfrom test_data\nwhere\n number_actual_columns != value\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.41387, "supported_languages": null}, "macro.dbt_expectations.test_expect_table_column_count_to_be_between": {"name": "test_expect_table_column_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/table_shape/expect_table_column_count_to_be_between.sql", "original_file_path": "macros/schema_tests/table_shape/expect_table_column_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_table_column_count_to_be_between", "macro_sql": "{%- test expect_table_column_count_to_be_between(model,\n min_value=None,\n max_value=None\n ) -%}\n{%- if min_value is none and max_value is none -%}\n{{ exceptions.raise_compiler_error(\n \"You have to provide either a min_value, max_value or both.\"\n) }}\n{%- endif -%}\n{%- if execute -%}\n{%- set number_actual_columns = (adapter.get_columns_in_relation(model) | length) -%}\n\n{%- set expression %}\n( 1=1\n{%- if min_value %} and number_actual_columns >= min_value{% endif %}\n{%- if max_value %} and number_actual_columns <= max_value{% endif %}\n)\n{% endset -%}\n\nwith test_data as (\n\n select\n {{ number_actual_columns }} as number_actual_columns,\n {{ min_value if min_value else 0 }} as min_value,\n {{ max_value if max_value else 0 }} as max_value\n\n)\nselect *\nfrom test_data\nwhere\n not {{ expression }}\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4167721, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_be_in_set": {"name": "test_expect_column_values_to_not_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_in_set.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_be_in_set", "macro_sql": "{% test expect_column_values_to_not_be_in_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n cast('{{ value }}' as {{ dbt.type_string() }})\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n),\nvalidation_errors as (\n -- values from the model that match the set\n select\n v.value_field\n from\n all_values v\n join\n set_values s on v.value_field = s.value_field\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.419712, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_in_set": {"name": "test_expect_column_values_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_set.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_in_set", "macro_sql": "{% test expect_column_values_to_be_in_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n cast('{{ value }}' as {{ dbt.type_string() }})\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n),\nvalidation_errors as (\n -- values from the model that are not in the set\n select\n v.value_field\n from\n all_values v\n left join\n set_values s on v.value_field = s.value_field\n where\n s.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.422564, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_increasing": {"name": "test_expect_column_values_to_be_increasing", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_increasing.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_increasing.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_increasing", "macro_sql": "{% test expect_column_values_to_be_increasing(model, column_name,\n sort_column=None,\n strictly=True,\n row_condition=None,\n group_by=None) %}\n\n{%- set sort_column = column_name if not sort_column else sort_column -%}\n{%- set operator = \">\" if strictly else \">=\" -%}\nwith all_values as (\n\n select\n {{ sort_column }} as sort_column,\n {%- if group_by -%}\n {{ group_by | join(\", \") }},\n {%- endif %}\n {{ column_name }} as value_field\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nadd_lag_values as (\n\n select\n sort_column,\n {%- if group_by -%}\n {{ group_by | join(\", \") }},\n {%- endif %}\n value_field,\n lag(value_field) over\n {%- if not group_by -%}\n (order by sort_column)\n {%- else -%}\n (partition by {{ group_by | join(\", \") }} order by sort_column)\n {%- endif %} as value_field_lag\n from\n all_values\n\n),\nvalidation_errors as (\n select\n *\n from\n add_lag_values\n where\n value_field_lag is not null\n and\n not (value_field {{ operator }} value_field_lag)\n\n)\nselect *\nfrom validation_errors\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.427582, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_null": {"name": "test_expect_column_values_to_be_null", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_null.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_null.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_null", "macro_sql": "{% test expect_column_values_to_be_null(model, column_name, row_condition=None) %}\n\n{% set expression = column_name ~ \" is null\" %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.429145, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_unique": {"name": "test_expect_column_values_to_be_unique", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_unique.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_unique.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_unique", "macro_sql": "{% test expect_column_values_to_be_unique(model, column_name, row_condition=None) %}\n{{ dbt_expectations.test_expect_compound_columns_to_be_unique(model, [column_name], row_condition=row_condition) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.test_expect_compound_columns_to_be_unique"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.430045, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_between": {"name": "test_expect_column_values_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_between.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_between", "macro_sql": "{% test expect_column_values_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n row_condition=None,\n strictly=False\n ) %}\n\n{% set expression %}\n{{ column_name }}\n{% endset %}\n\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=None,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.432235, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_decreasing": {"name": "test_expect_column_values_to_be_decreasing", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_decreasing.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_decreasing.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_decreasing", "macro_sql": "{% test expect_column_values_to_be_decreasing(model, column_name,\n sort_column=None,\n strictly=True,\n row_condition=None,\n group_by=None) %}\n\n{%- set sort_column = column_name if not sort_column else sort_column -%}\n{%- set operator = \"<\" if strictly else \"<=\" %}\nwith all_values as (\n\n select\n {{ sort_column }} as sort_column,\n {%- if group_by -%}\n {{ group_by | join(\", \") }},\n {%- endif %}\n {{ column_name }} as value_field\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nadd_lag_values as (\n\n select\n sort_column,\n value_field,\n lag(value_field) over\n {%- if not group_by -%}\n (order by sort_column)\n {%- else -%}\n (partition by {{ group_by | join(\", \") }} order by sort_column)\n {%- endif %} as value_field_lag\n from\n all_values\n\n),\nvalidation_errors as (\n\n select\n *\n from\n add_lag_values\n where\n value_field_lag is not null\n and\n not (value_field {{ operator }} value_field_lag)\n\n)\nselect *\nfrom validation_errors\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.435769, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_in_type_list": {"name": "test_expect_column_values_to_be_in_type_list", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_type_list.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_in_type_list.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_in_type_list", "macro_sql": "{%- test expect_column_values_to_be_in_type_list(model, column_name, column_type_list) -%}\n{%- if execute -%}\n\n {%- set column_name = column_name | upper -%}\n {%- set columns_in_relation = adapter.get_columns_in_relation(model) -%}\n {%- set column_type_list = column_type_list| map(\"upper\") | list -%}\n with relation_columns as (\n\n {% for column in columns_in_relation %}\n select\n cast('{{ column.name | upper }}' as {{ dbt.type_string() }}) as relation_column,\n cast('{{ column.dtype | upper }}' as {{ dbt.type_string() }}) as relation_column_type\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n ),\n test_data as (\n\n select\n *\n from\n relation_columns\n where\n relation_column = '{{ column_name }}'\n and\n relation_column_type not in ('{{ column_type_list | join(\"', '\") }}')\n\n )\n select *\n from test_data\n\n{%- endif -%}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt.type_string"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.438977, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_of_type": {"name": "test_expect_column_values_to_be_of_type", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_of_type.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_be_of_type.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_of_type", "macro_sql": "{%- test expect_column_values_to_be_of_type(model, column_name, column_type) -%}\n{{ dbt_expectations.test_expect_column_values_to_be_in_type_list(model, column_name, [column_type]) }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_expect_column_values_to_be_in_type_list"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.440033, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_have_consistent_casing": {"name": "test_expect_column_values_to_have_consistent_casing", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_have_consistent_casing.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_have_consistent_casing.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_have_consistent_casing", "macro_sql": "{% test expect_column_values_to_have_consistent_casing(model, column_name, display_inconsistent_columns=False) %}\n\nwith test_data as (\n\n select\n distinct {{ column_name }} as distinct_values\n from\n {{ model }}\n\n ),\n {% if display_inconsistent_columns %}\n validation_errors as (\n\n select\n lower(distinct_values) as inconsistent_columns,\n count(distinct_values) as set_count_case_insensitive\n from\n test_data\n group by 1\n having\n count(distinct_values) > 1\n\n )\n select * from validation_errors\n {% else %}\n validation_errors as (\n\n select\n count(1) as set_count,\n count(distinct lower(distinct_values)) as set_count_case_insensitive\n from\n test_data\n\n )\n select *\n from\n validation_errors\n where\n set_count != set_count_case_insensitive\n {% endif %}\n {%- endtest -%}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.441802, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_not_be_null": {"name": "test_expect_column_values_to_not_be_null", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_null.sql", "original_file_path": "macros/schema_tests/column_values_basic/expect_column_values_to_not_be_null.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_not_be_null", "macro_sql": "{% test expect_column_values_to_not_be_null(model, column_name, row_condition=None) %}\n\n{% set expression = column_name ~ \" is not null\" %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.443674, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_min_to_be_between": {"name": "test_expect_column_min_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_min_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_min_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_min_to_be_between", "macro_sql": "{% test expect_column_min_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\nmin({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.446204, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_unique_value_count_to_be_between": {"name": "test_expect_column_unique_value_count_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_unique_value_count_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_unique_value_count_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_unique_value_count_to_be_between", "macro_sql": "{% test expect_column_unique_value_count_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.448504, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_quantile_values_to_be_between": {"name": "test_expect_column_quantile_values_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_quantile_values_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_quantile_values_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_quantile_values_to_be_between", "macro_sql": "{% test expect_column_quantile_values_to_be_between(model, column_name,\n quantile,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.percentile_cont(column_name, quantile) }}\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.percentile_cont", "macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4511611, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_median_to_be_between": {"name": "test_expect_column_median_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_median_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_median_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_median_to_be_between", "macro_sql": "{% test expect_column_median_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n\n{% set expression %}\n{{ dbt_expectations.median(column_name) }}\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.median", "macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.453634, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_proportion_of_unique_values_to_be_between": {"name": "test_expect_column_proportion_of_unique_values_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_proportion_of_unique_values_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_proportion_of_unique_values_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_proportion_of_unique_values_to_be_between", "macro_sql": "{% test expect_column_proportion_of_unique_values_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }})*1.0/count({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.456125, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_values_to_equal_set": {"name": "test_expect_column_distinct_values_to_equal_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_equal_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_equal_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_values_to_equal_set", "macro_sql": "{% test expect_column_distinct_values_to_equal_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select distinct\n {{ column_name }} as column_value\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n\n select\n *\n from\n all_values v\n full outer join\n unique_set_values s on v.column_value = s.value_field\n where\n v.column_value is null or\n s.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.45897, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_most_common_value_to_be_in_set": {"name": "test_expect_column_most_common_value_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_most_common_value_to_be_in_set", "macro_sql": "{% test expect_column_most_common_value_to_be_in_set(model,\n column_name,\n value_set,\n top_n,\n quote_values=True,\n data_type=\"decimal\",\n row_condition=None\n ) -%}\n\n {{ adapter.dispatch('test_expect_column_most_common_value_to_be_in_set', 'dbt_expectations') (\n model, column_name, value_set, top_n, quote_values, data_type, row_condition\n ) }}\n\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_most_common_value_to_be_in_set"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4637141, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_most_common_value_to_be_in_set": {"name": "default__test_expect_column_most_common_value_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_most_common_value_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_most_common_value_to_be_in_set", "macro_sql": "{% macro default__test_expect_column_most_common_value_to_be_in_set(model,\n column_name,\n value_set,\n top_n,\n quote_values,\n data_type,\n row_condition\n ) %}\n\nwith value_counts as (\n\n select\n {% if quote_values -%}\n {{ column_name }}\n {%- else -%}\n cast({{ column_name }} as {{ data_type }})\n {%- endif %} as value_field,\n count(*) as value_count\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n group by {% if quote_values -%}\n {{ column_name }}\n {%- else -%}\n cast({{ column_name }} as {{ data_type }})\n {%- endif %}\n\n),\nvalue_counts_ranked as (\n\n select\n *,\n row_number() over(order by value_count desc) as value_count_rank\n from\n value_counts\n\n),\nvalue_count_top_n as (\n\n select\n value_field\n from\n value_counts_ranked\n where\n value_count_rank = {{ top_n }}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n cast({{ value }} as {{ data_type }})\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n -- values from the model that are not in the set\n select\n value_field\n from\n value_count_top_n\n where\n value_field not in (select value_field from unique_set_values)\n\n)\n\nselect *\nfrom validation_errors\n\n{% endmacro %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4662411, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_values_to_contain_set": {"name": "test_expect_column_distinct_values_to_contain_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_contain_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_contain_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_values_to_contain_set", "macro_sql": "{% test expect_column_distinct_values_to_contain_set(model, column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n -- values in set that are not in the list of values from the model\n select\n s.value_field\n from\n unique_set_values s\n left join\n all_values v on s.value_field = v.value_field\n where\n v.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.468891, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_equal": {"name": "test_expect_column_distinct_count_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_equal", "macro_sql": "{% test expect_column_distinct_count_to_equal(model,\n column_name,\n value,\n group_by=None,\n row_condition=None\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }}) = {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.470927, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_be_less_than": {"name": "test_expect_column_distinct_count_to_be_less_than", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_less_than.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_less_than.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_be_less_than", "macro_sql": "{% test expect_column_distinct_count_to_be_less_than(model,\n column_name,\n value,\n group_by=None,\n row_condition=None\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }}) < {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.472808, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_sum_to_be_between": {"name": "test_expect_column_sum_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_sum_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_sum_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_sum_to_be_between", "macro_sql": "{% test expect_column_sum_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\nsum({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.475523, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_stdev_to_be_between": {"name": "test_expect_column_stdev_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_stdev_to_be_between", "macro_sql": "{% test expect_column_stdev_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) -%}\n {{ adapter.dispatch('test_expect_column_stdev_to_be_between', 'dbt_expectations') (\n model, column_name,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_stdev_to_be_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.479382, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_stdev_to_be_between": {"name": "default__test_expect_column_stdev_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_stdev_to_be_between.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_stdev_to_be_between", "macro_sql": "{% macro default__test_expect_column_stdev_to_be_between(\n model, column_name,\n min_value,\n max_value,\n group_by,\n row_condition,\n strictly\n ) %}\n\n{% set expression %}\nstddev({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.480821, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_mean_to_be_between": {"name": "test_expect_column_mean_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_mean_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_mean_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_mean_to_be_between", "macro_sql": "{% test expect_column_mean_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\navg({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.483118, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_max_to_be_between": {"name": "test_expect_column_max_to_be_between", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_max_to_be_between.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_max_to_be_between.sql", "unique_id": "macro.dbt_expectations.test_expect_column_max_to_be_between", "macro_sql": "{% test expect_column_max_to_be_between(model, column_name,\n min_value=None,\n max_value=None,\n group_by=None,\n row_condition=None,\n strictly=False\n ) %}\n{% set expression %}\nmax({{ column_name }})\n{% endset %}\n{{ dbt_expectations.expression_between(model,\n expression=expression,\n min_value=min_value,\n max_value=max_value,\n group_by_columns=group_by,\n row_condition=row_condition,\n strictly=strictly\n ) }}\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_between"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.485472, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_be_greater_than": {"name": "test_expect_column_distinct_count_to_be_greater_than", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_greater_than.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_be_greater_than.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_be_greater_than", "macro_sql": "{% test expect_column_distinct_count_to_be_greater_than(model,\n column_name,\n value,\n group_by=None,\n row_condition=None\n ) %}\n{% set expression %}\ncount(distinct {{ column_name }}) > {{ value }}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition)\n }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.4873102, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_values_to_be_in_set": {"name": "test_expect_column_distinct_values_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_be_in_set.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_values_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_values_to_be_in_set", "macro_sql": "{% test expect_column_distinct_values_to_be_in_set(model,\n column_name,\n value_set,\n quote_values=True,\n row_condition=None\n ) %}\n\nwith all_values as (\n\n select distinct\n {{ column_name }} as value_field\n\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n),\nset_values as (\n\n {% for value in value_set -%}\n select\n {% if quote_values -%}\n '{{ value }}'\n {%- else -%}\n {{ value }}\n {%- endif %} as value_field\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n\n),\nunique_set_values as (\n\n select distinct value_field\n from\n set_values\n\n),\nvalidation_errors as (\n -- values from the model that are not in the set\n select\n v.value_field\n from\n all_values v\n left join\n unique_set_values s on v.value_field = s.value_field\n where\n s.value_field is null\n\n)\n\nselect *\nfrom validation_errors\n\n{% endtest %}", "depends_on": {"macros": []}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.490153, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_distinct_count_to_equal_other_table": {"name": "test_expect_column_distinct_count_to_equal_other_table", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal_other_table.sql", "original_file_path": "macros/schema_tests/aggregate_functions/expect_column_distinct_count_to_equal_other_table.sql", "unique_id": "macro.dbt_expectations.test_expect_column_distinct_count_to_equal_other_table", "macro_sql": "{% test expect_column_distinct_count_to_equal_other_table(model,\n compare_model,\n column_name,\n compare_column_name,\n row_condition=None,\n compare_row_condition=None\n ) %}\n{%- set expression -%}\ncount(distinct {{ column_name }})\n{%- endset -%}\n{%- set compare_expression -%}\n{%- if compare_column_name -%}\ncount(distinct {{ compare_column_name }})\n{%- else -%}\n{{ expression }}\n{%- endif -%}\n{%- endset -%}\n{{ dbt_expectations.test_equal_expression(\n model,\n expression=expression,\n compare_model=compare_model,\n compare_expression=compare_expression,\n row_condition=row_condition,\n compare_row_condition=compare_row_condition\n) }}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt_expectations.test_equal_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.492652, "supported_languages": null}, "macro.dbt_expectations.test_expect_row_values_to_have_data_for_every_n_datepart": {"name": "test_expect_row_values_to_have_data_for_every_n_datepart", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_row_values_to_have_data_for_every_n_datepart.sql", "original_file_path": "macros/schema_tests/distributional/expect_row_values_to_have_data_for_every_n_datepart.sql", "unique_id": "macro.dbt_expectations.test_expect_row_values_to_have_data_for_every_n_datepart", "macro_sql": "{%- test expect_row_values_to_have_data_for_every_n_datepart(model,\n date_col,\n date_part=\"day\",\n interval=None,\n row_condition=None,\n exclusion_condition=None,\n test_start_date=None,\n test_end_date=None) -%}\n{% if not execute %}\n {{ return('') }}\n{% endif %}\n\n{% if not test_start_date or not test_end_date %}\n {% set sql %}\n\n select\n min({{ date_col }}) as start_{{ date_part }},\n max({{ date_col }}) as end_{{ date_part }}\n from {{ model }}\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n\n {% endset %}\n\n {%- set dr = run_query(sql) -%}\n {%- set db_start_date = dr.columns[0].values()[0].strftime('%Y-%m-%d') -%}\n {%- set db_end_date = dr.columns[1].values()[0].strftime('%Y-%m-%d') -%}\n\n{% endif %}\n\n{% if not test_start_date %}\n{% set start_date = db_start_date %}\n{% else %}\n{% set start_date = test_start_date %}\n{% endif %}\n\n\n{% if not test_end_date %}\n{% set end_date = db_end_date %}\n{% else %}\n{% set end_date = test_end_date %}\n{% endif %}\nwith base_dates as (\n\n {{ dbt_date.get_base_dates(start_date=start_date, end_date=end_date, datepart=date_part) }}\n {% if interval %}\n {#\n Filter the date spine created above down to the interval granularity using a modulo operation.\n The number of date_parts after the start_date divided by the integer interval will produce no remainder for the desired intervals,\n e.g. for 2-day interval from a starting Jan 1, 2020:\n params: start_date = '2020-01-01', date_part = 'day', interval = 2\n date spine created above: [2020-01-01, 2020-01-02, 2020-01-03, 2020-01-04, 2020-01-05, ...]\n The first parameter to the `mod` function would be the number of days between the start_date and the spine date, i.e. [0, 1, 2, 3, 4 ...]\n The second parameter to the `mod` function would be the integer interval, i.e. 2\n This modulo operation produces the following remainders: [0, 1, 0, 1, 0, ...]\n Filtering the spine only where this remainder == 0 will return a spine with every other day as desired, i.e. [2020-01-01, 2020-01-03, 2020-01-05, ...]\n #}\n where mod(\n cast({{ dbt.datediff(\"'\" ~ start_date ~ \"'\", 'date_' ~ date_part, date_part) }} as {{ dbt.type_int() }}),\n cast({{interval}} as {{ dbt.type_int() }})\n ) = 0\n {% endif %}\n\n),\nmodel_data as (\n\n select\n {% if not interval %}\n\n cast({{ dbt.date_trunc(date_part, date_col) }} as {{ dbt_expectations.type_datetime() }}) as date_{{ date_part }},\n\n {% else %}\n {#\n Use a modulo operator to determine the number of intervals that a date_col is away from the interval-date spine\n and subtracts that amount to effectively slice each date_col record into its corresponding spine bucket,\n e.g. given a date_col of with records [2020-01-01, 2020-01-02, 2020-01-03, 2020-01-11, 2020-01-12]\n if we want to slice these dates into their 2-day buckets starting Jan 1, 2020 (start_date = '2020-01-01', date_part='day', interval=2),\n the modulo operation described above will produce these remainders: [0, 1, 0, 0, 1]\n subtracting that number of days from the observations will produce records [2020-01-01, 2020-01-01, 2020-01-03, 2020-01-11, 2020-01-11],\n all of which align with records from the interval-date spine\n #}\n {{ dbt.dateadd(\n date_part,\n \"mod(\n cast(\" ~ dbt.datediff(\"'\" ~ start_date ~ \"'\", date_col, date_part) ~ \" as \" ~ dbt.type_int() ~ \" ),\n cast(\" ~ interval ~ \" as \" ~ dbt.type_int() ~ \" )\n ) * (-1)\",\n \"cast( \" ~ dbt.date_trunc(date_part, date_col) ~ \" as \" ~ dbt_expectations.type_datetime() ~ \")\"\n )}} as date_{{ date_part }},\n\n {% endif %}\n\n count(*) as row_cnt\n from\n {{ model }} f\n {% if row_condition %}\n where {{ row_condition }}\n {% endif %}\n group by\n date_{{date_part}}\n\n),\n\nfinal as (\n\n select\n cast(d.date_{{ date_part }} as {{ dbt_expectations.type_datetime() }}) as date_{{ date_part }},\n case when f.date_{{ date_part }} is null then true else false end as is_missing,\n coalesce(f.row_cnt, 0) as row_cnt\n from\n base_dates d\n left join\n model_data f on cast(d.date_{{ date_part }} as {{ dbt_expectations.type_datetime() }}) = f.date_{{ date_part }}\n)\nselect\n *\nfrom final\nwhere row_cnt = 0\n{% if exclusion_condition %}\n and {{ exclusion_condition }}\n{% endif %}\n{%- endtest -%}", "depends_on": {"macros": ["macro.dbt.run_query", "macro.dbt_date.get_base_dates", "macro.dbt.datediff", "macro.dbt.type_int", "macro.dbt.date_trunc", "macro.dbt_expectations.type_datetime", "macro.dbt.dateadd"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.504467, "supported_languages": null}, "macro.dbt_expectations._get_metric_expression": {"name": "_get_metric_expression", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "unique_id": "macro.dbt_expectations._get_metric_expression", "macro_sql": "{%- macro _get_metric_expression(metric_column, take_logs) -%}\n\n{%- if take_logs %}\n{%- set expr = \"nullif(\" ~ metric_column ~ \", 0)\" -%}\ncoalesce({{ dbt_expectations.log_natural(expr) }}, 0)\n{%- else -%}\ncoalesce({{ metric_column }}, 0)\n{%- endif %}\n\n{%- endmacro -%}\n\n", "depends_on": {"macros": ["macro.dbt_expectations.log_natural"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.514703, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_within_n_moving_stdevs": {"name": "test_expect_column_values_to_be_within_n_moving_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_within_n_moving_stdevs", "macro_sql": "{% test expect_column_values_to_be_within_n_moving_stdevs(model,\n column_name,\n date_column_name,\n group_by=None,\n period='day',\n lookback_periods=1,\n trend_periods=7,\n test_periods=14,\n sigma_threshold=3,\n sigma_threshold_upper=None,\n sigma_threshold_lower=None,\n take_diffs=true,\n take_logs=true\n ) -%}\n {{ adapter.dispatch('test_expect_column_values_to_be_within_n_moving_stdevs', 'dbt_expectations') (model,\n column_name,\n date_column_name,\n group_by,\n period,\n lookback_periods,\n trend_periods,\n test_periods,\n sigma_threshold,\n sigma_threshold_upper,\n sigma_threshold_lower,\n take_diffs,\n take_logs\n ) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_moving_stdevs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.516507, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_moving_stdevs": {"name": "default__test_expect_column_values_to_be_within_n_moving_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_moving_stdevs.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_moving_stdevs", "macro_sql": "{% macro default__test_expect_column_values_to_be_within_n_moving_stdevs(model,\n column_name,\n date_column_name,\n group_by,\n period,\n lookback_periods,\n trend_periods,\n test_periods,\n sigma_threshold,\n sigma_threshold_upper,\n sigma_threshold_lower,\n take_diffs,\n take_logs\n ) %}\n\n{%- set sigma_threshold_upper = sigma_threshold_upper if sigma_threshold_upper else sigma_threshold -%}\n{%- set sigma_threshold_lower = sigma_threshold_lower if sigma_threshold_lower else -1 * sigma_threshold -%}\n{%- set partition_by = \"partition by \" ~ (group_by | join(\",\")) if group_by -%}\n{%- set group_by_length = (group_by | length ) if group_by else 0 -%}\n\nwith metric_values as (\n\n with grouped_metric_values as (\n\n select\n {{ dbt.date_trunc(period, date_column_name) }} as metric_period,\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n sum({{ column_name }}) as agg_metric_value\n from\n {{ model }}\n {{ dbt_expectations.group_by(1 + group_by_length) }}\n\n )\n {%- if take_diffs %}\n , grouped_metric_values_with_priors as (\n\n select\n *,\n lag(agg_metric_value, {{ lookback_periods }}) over(\n {{ partition_by }}\n order by metric_period) as prior_agg_metric_value\n from\n grouped_metric_values d\n\n )\n select\n *,\n {{ dbt_expectations._get_metric_expression(\"agg_metric_value\", take_logs) }}\n -\n {{ dbt_expectations._get_metric_expression(\"prior_agg_metric_value\", take_logs) }}\n as metric_test_value\n from\n grouped_metric_values_with_priors d\n\n {%- else %}\n\n select\n *,\n {{ dbt_expectations._get_metric_expression(\"agg_metric_value\", take_logs) }}\n as metric_test_value\n from\n grouped_metric_values\n\n {%- endif %}\n\n),\nmetric_moving_calcs as (\n\n select\n *,\n avg(metric_test_value)\n over({{ partition_by }}\n order by metric_period rows\n between {{ trend_periods }} preceding and 1 preceding) as metric_test_rolling_average,\n stddev(metric_test_value)\n over({{ partition_by }}\n order by metric_period rows\n between {{ trend_periods }} preceding and 1 preceding) as metric_test_rolling_stddev\n from\n metric_values\n\n),\nmetric_sigma as (\n\n select\n *,\n (metric_test_value - metric_test_rolling_average) as metric_test_delta,\n (metric_test_value - metric_test_rolling_average)/\n nullif(metric_test_rolling_stddev, 0) as metric_test_sigma\n from\n metric_moving_calcs\n\n)\nselect\n *\nfrom\n metric_sigma\nwhere\n\n metric_period >= cast(\n {{ dbt.dateadd(period, -test_periods, dbt.date_trunc(period, dbt_date.now())) }}\n as {{ dbt_expectations.type_timestamp() }})\n and\n metric_period < {{ dbt.date_trunc(period, dbt_date.now()) }}\n and\n\n not (\n metric_test_sigma >= {{ sigma_threshold_lower }} and\n metric_test_sigma <= {{ sigma_threshold_upper }}\n )\n{%- endmacro -%}", "depends_on": {"macros": ["macro.dbt.date_trunc", "macro.dbt_expectations.group_by", "macro.dbt_expectations._get_metric_expression", "macro.dbt.dateadd", "macro.dbt_date.now", "macro.dbt_expectations.type_timestamp"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.522166, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_values_to_be_within_n_stdevs": {"name": "test_expect_column_values_to_be_within_n_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "unique_id": "macro.dbt_expectations.test_expect_column_values_to_be_within_n_stdevs", "macro_sql": "{% test expect_column_values_to_be_within_n_stdevs(model,\n column_name,\n group_by=None,\n sigma_threshold=3\n ) -%}\n {{\n adapter.dispatch('test_expect_column_values_to_be_within_n_stdevs', 'dbt_expectations') (\n model, column_name, group_by, sigma_threshold\n )\n }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_stdevs"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.52509, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_stdevs": {"name": "default__test_expect_column_values_to_be_within_n_stdevs", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "original_file_path": "macros/schema_tests/distributional/expect_column_values_to_be_within_n_stdevs.sql", "unique_id": "macro.dbt_expectations.default__test_expect_column_values_to_be_within_n_stdevs", "macro_sql": "{% macro default__test_expect_column_values_to_be_within_n_stdevs(model,\n column_name,\n group_by,\n sigma_threshold\n ) %}\n\nwith metric_values as (\n\n select\n {{ group_by | join(\",\") ~ \",\" if group_by }}\n sum({{ column_name }}) as {{ column_name }}\n from\n {{ model }}\n {% if group_by -%}\n {{ dbt_expectations.group_by(group_by | length) }}\n {%- endif %}\n\n),\nmetric_values_with_statistics as (\n\n select\n *,\n avg({{ column_name }}) over() as {{ column_name }}_average,\n stddev({{ column_name }}) over() as {{ column_name }}_stddev\n from\n metric_values\n\n),\nmetric_values_z_scores as (\n\n select\n *,\n ({{ column_name }} - {{ column_name }}_average)/\n nullif({{ column_name }}_stddev, 0) as {{ column_name }}_sigma\n from\n metric_values_with_statistics\n\n)\nselect\n *\nfrom\n metric_values_z_scores\nwhere\n abs({{ column_name }}_sigma) > {{ sigma_threshold }}\n{%- endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.group_by"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.5274591, "supported_languages": null}, "macro.dbt_expectations.test_expect_select_column_values_to_be_unique_within_record": {"name": "test_expect_select_column_values_to_be_unique_within_record", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "original_file_path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "unique_id": "macro.dbt_expectations.test_expect_select_column_values_to_be_unique_within_record", "macro_sql": "{% test expect_select_column_values_to_be_unique_within_record(model,\n column_list,\n quote_columns=False,\n ignore_row_if=\"all_values_are_missing\",\n row_condition=None\n ) -%}\n {{ adapter.dispatch('test_expect_select_column_values_to_be_unique_within_record', 'dbt_expectations') (model, column_list, quote_columns, ignore_row_if, row_condition) }}\n{%- endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.default__test_expect_select_column_values_to_be_unique_within_record"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.531452, "supported_languages": null}, "macro.dbt_expectations.default__test_expect_select_column_values_to_be_unique_within_record": {"name": "default__test_expect_select_column_values_to_be_unique_within_record", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "original_file_path": "macros/schema_tests/multi-column/expect_select_column_values_to_be_unique_within_record.sql", "unique_id": "macro.dbt_expectations.default__test_expect_select_column_values_to_be_unique_within_record", "macro_sql": "{% macro default__test_expect_select_column_values_to_be_unique_within_record(model,\n column_list,\n quote_columns,\n ignore_row_if,\n row_condition\n ) %}\n\n{% if not quote_columns %}\n {%- set columns=column_list %}\n{% elif quote_columns %}\n {%- set columns=[] %}\n {% for column in column_list -%}\n {% set columns = columns.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for unique_combination_of_columns test must be one of [True, False] Got: '\" ~ quote_columns ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set row_condition_ext -%}\n\n {%- if row_condition %}\n {{ row_condition }} and\n {% endif -%}\n\n {{ dbt_expectations.ignore_row_if_expression(ignore_row_if, columns) }}\n\n{%- endset -%}\n\nwith column_values as (\n\n select\n row_number() over(order by 1) as row_index,\n {% for column in columns -%}\n {{ column }}{% if not loop.last %},{% endif %}\n {%- endfor %}\n from {{ model }}\n where\n 1=1\n {%- if row_condition_ext %}\n and {{ row_condition_ext }}\n {% endif %}\n\n),\nunpivot_columns as (\n\n {% for column in columns %}\n select row_index, '{{ column }}' as column_name, {{ column }} as column_value from column_values\n {% if not loop.last %}union all{% endif %}\n {% endfor %}\n),\nvalidation_errors as (\n\n select\n row_index,\n count(distinct column_value) as column_values\n from unpivot_columns\n group by 1\n having count(distinct column_value) < {{ columns | length }}\n\n)\nselect * from validation_errors\n{% endmacro %}", "depends_on": {"macros": ["macro.dbt_expectations.ignore_row_if_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.535042, "supported_languages": null}, "macro.dbt_expectations.test_expect_compound_columns_to_be_unique": {"name": "test_expect_compound_columns_to_be_unique", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_compound_columns_to_be_unique.sql", "original_file_path": "macros/schema_tests/multi-column/expect_compound_columns_to_be_unique.sql", "unique_id": "macro.dbt_expectations.test_expect_compound_columns_to_be_unique", "macro_sql": "{% test expect_compound_columns_to_be_unique(model,\n column_list,\n quote_columns=False,\n ignore_row_if=\"all_values_are_missing\",\n row_condition=None\n ) %}\n{% if not column_list %}\n {{ exceptions.raise_compiler_error(\n \"`column_list` must be specified as a list of columns. Got: '\" ~ column_list ~\"'.'\"\n ) }}\n{% endif %}\n\n{% if not quote_columns %}\n {%- set columns=column_list %}\n{% elif quote_columns %}\n {%- set columns=[] %}\n {% for column in column_list -%}\n {% set columns = columns.append( adapter.quote(column) ) %}\n {%- endfor %}\n{% else %}\n {{ exceptions.raise_compiler_error(\n \"`quote_columns` argument for expect_compound_columns_to_be_unique test must be one of [True, False] Got: '\" ~ quote_columns ~\"'.'\"\n ) }}\n{% endif %}\n\n{%- set row_condition_ext -%}\n\n {%- if row_condition %}\n {{ row_condition }} and\n {% endif -%}\n\n {{ dbt_expectations.ignore_row_if_expression(ignore_row_if, columns) }}\n\n{%- endset -%}\n\nwith validation_errors as (\n\n select\n {% for column in columns -%}\n {{ column }}{% if not loop.last %},{% endif %}\n {%- endfor %}\n from {{ model }}\n where\n 1=1\n {%- if row_condition_ext %}\n and {{ row_condition_ext }}\n {% endif %}\n group by\n {% for column in columns -%}\n {{ column }}{% if not loop.last %},{% endif %}\n {%- endfor %}\n having count(*) > 1\n\n)\nselect * from validation_errors\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.ignore_row_if_expression"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.541395, "supported_languages": null}, "macro.dbt_expectations.test_expect_multicolumn_sum_to_equal": {"name": "test_expect_multicolumn_sum_to_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_multicolumn_sum_to_equal.sql", "original_file_path": "macros/schema_tests/multi-column/expect_multicolumn_sum_to_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_multicolumn_sum_to_equal", "macro_sql": "{% test expect_multicolumn_sum_to_equal(model,\n column_list,\n sum_total,\n group_by=None,\n row_condition=None\n ) %}\n\n{% set expression %}\n{% for column in column_list %}\nsum({{ column }}){% if not loop.last %} + {% endif %}\n{% endfor %} = {{ sum_total }}\n{% endset %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=group_by,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.544041, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_pair_values_to_be_equal": {"name": "test_expect_column_pair_values_to_be_equal", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_equal.sql", "original_file_path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_equal.sql", "unique_id": "macro.dbt_expectations.test_expect_column_pair_values_to_be_equal", "macro_sql": "{% test expect_column_pair_values_to_be_equal(model,\n column_A,\n column_B,\n row_condition=None\n ) %}\n\n{% set operator = \"=\" %}\n{% set expression = column_A ~ \" \" ~ operator ~ \" \" ~ column_B %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.5459158, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_pair_values_A_to_be_greater_than_B": {"name": "test_expect_column_pair_values_A_to_be_greater_than_B", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_column_pair_values_A_to_be_greater_than_B.sql", "original_file_path": "macros/schema_tests/multi-column/expect_column_pair_values_A_to_be_greater_than_B.sql", "unique_id": "macro.dbt_expectations.test_expect_column_pair_values_A_to_be_greater_than_B", "macro_sql": "{% test expect_column_pair_values_A_to_be_greater_than_B(model,\n column_A,\n column_B,\n or_equal=False,\n row_condition=None\n ) %}\n\n{% set operator = \">=\" if or_equal else \">\" %}\n{% set expression = column_A ~ \" \" ~ operator ~ \" \" ~ column_B %}\n\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.548105, "supported_languages": null}, "macro.dbt_expectations.test_expect_column_pair_values_to_be_in_set": {"name": "test_expect_column_pair_values_to_be_in_set", "resource_type": "macro", "package_name": "dbt_expectations", "path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_in_set.sql", "original_file_path": "macros/schema_tests/multi-column/expect_column_pair_values_to_be_in_set.sql", "unique_id": "macro.dbt_expectations.test_expect_column_pair_values_to_be_in_set", "macro_sql": "{% test expect_column_pair_values_to_be_in_set(model,\n column_A,\n column_B,\n value_pairs_set,\n row_condition=None\n ) %}\n\n{% set expression %}\n{% for pair in value_pairs_set %}\n{%- if (pair | length) == 2 %}\n({{ column_A }} = {{ pair[0] }} and {{ column_B }} = {{ pair[1] }}){% if not loop.last %} or {% endif %}\n{% else %}\n{{ exceptions.raise_compiler_error(\n \"`value_pairs_set` argument for expect_column_pair_values_to_be_in_set test cannot have more than 2 item per element.\n Got: '\" ~ pair ~ \"'.'\"\n ) }}\n{% endif %}\n{% endfor %}\n{% endset %}\n{{ dbt_expectations.expression_is_true(model,\n expression=expression,\n group_by_columns=None,\n row_condition=row_condition\n )\n }}\n\n{% endtest %}", "depends_on": {"macros": ["macro.dbt_expectations.expression_is_true"]}, "description": "", "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "arguments": [], "created_at": 1679592098.552077, "supported_languages": null}}, "docs": {"doc.dbt.__overview__": {"name": "__overview__", "resource_type": "doc", "package_name": "dbt", "path": "overview.md", "original_file_path": "docs/overview.md", "unique_id": "doc.dbt.__overview__", "block_contents": "### Welcome!\n\nWelcome to the auto-generated documentation for your dbt project!\n\n### Navigation\n\nYou can use the `Project` and `Database` navigation tabs on the left side of the window to explore the models\nin your project.\n\n#### Project Tab\nThe `Project` tab mirrors the directory structure of your dbt project. In this tab, you can see all of the\nmodels defined in your dbt project, as well as models imported from dbt packages.\n\n#### Database Tab\nThe `Database` tab also exposes your models, but in a format that looks more like a database explorer. This view\nshows relations (tables and views) grouped into database schemas. Note that ephemeral models are _not_ shown\nin this interface, as they do not exist in the database.\n\n### Graph Exploration\nYou can click the blue icon on the bottom-right corner of the page to view the lineage graph of your models.\n\nOn model pages, you'll see the immediate parents and children of the model you're exploring. By clicking the `Expand`\nbutton at the top-right of this lineage pane, you'll be able to see all of the models that are used to build,\nor are built from, the model you're exploring.\n\nOnce expanded, you'll be able to use the `--select` and `--exclude` model selection syntax to filter the\nmodels in the graph. For more information on model selection, check out the [dbt docs](https://docs.getdbt.com/docs/model-selection-syntax).\n\nNote that you can also right-click on models to interactively filter and explore the graph.\n\n---\n\n### More information\n\n- [What is dbt](https://docs.getdbt.com/docs/introduction)?\n- Read the [dbt viewpoint](https://docs.getdbt.com/docs/viewpoint)\n- [Installation](https://docs.getdbt.com/docs/installation)\n- Join the [dbt Community](https://www.getdbt.com/community/) for questions and discussion"}, "doc.microsoft_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.account_id", "block_contents": "The ID of the account."}, "doc.microsoft_ads_source.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.account_name", "block_contents": "The name of the account."}, "doc.microsoft_ads_source.account_timezone": {"name": "account_timezone", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.account_timezone", "block_contents": "The time zone associated with this account."}, "doc.microsoft_ads_source.ad_distribution": {"name": "ad_distribution", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_distribution", "block_contents": "The distribution medium associated with this record."}, "doc.microsoft_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_id", "block_contents": "The ID of the corresponding ad."}, "doc.microsoft_ads_source.ad_group_status": {"name": "ad_group_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_group_status", "block_contents": "The status of this ad group; see the following [documentation](https://help.ads.microsoft.com/apex/index/3/en/53094) for more information on values and definitions."}, "doc.microsoft_ads_source.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_name", "block_contents": "The name of the corresponding ad; `title_part_1` is used as the ad name as a proxy as one is not provided by the data source."}, "doc.microsoft_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_group_id", "block_contents": "The ID of the corresponding ad group."}, "doc.microsoft_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_group_name", "block_contents": "The name of the corresponding ad group."}, "doc.microsoft_ads_source.ad_status": {"name": "ad_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_status", "block_contents": "The status of this ad; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adstatus?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.ad_type": {"name": "ad_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.ad_type", "block_contents": "The ad type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/adtype?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.bid_match_type": {"name": "bid_match_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.bid_match_type", "block_contents": "The bid match type associated with this record; values include 'Broad', 'Exact', 'Phrase'."}, "doc.microsoft_ads_source.budget_association_status": {"name": "budget_association_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.budget_association_status", "block_contents": "The status of the campaign's budget."}, "doc.microsoft_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_id", "block_contents": "The ID of the campaign."}, "doc.microsoft_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_name", "block_contents": "The name of the campaign."}, "doc.microsoft_ads_source.campaign_status": {"name": "campaign_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_status", "block_contents": "The status of this campaign; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaignstatus?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.campaign_timezone": {"name": "campaign_timezone", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_timezone", "block_contents": "The time zone associated with this campaign."}, "doc.microsoft_ads_source.campaign_type": {"name": "campaign_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.campaign_type", "block_contents": "The campaign type associated with this record; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/campaigntype?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.clicks", "block_contents": "The number of clicks that occurred by the grain of the report."}, "doc.microsoft_ads_source.currency_code": {"name": "currency_code", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.currency_code", "block_contents": "The currency code associated with spend and, if applicable, other metrics associated with currency."}, "doc.microsoft_ads_source.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.date_day", "block_contents": "The date of the performance report."}, "doc.microsoft_ads_source.delivered_match_type": {"name": "delivered_match_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.delivered_match_type", "block_contents": "The delivered match type associated with this record; values include 'Broad', 'Exact', 'Phrase'."}, "doc.microsoft_ads_source.device_os": {"name": "device_os", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.device_os", "block_contents": "The device operating system associated with this record; values include but may not be limited to 'Windows', 'iOS', 'Android', 'Other', 'BlackBerry' and 'Unknown'."}, "doc.microsoft_ads_source.device_type": {"name": "device_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.device_type", "block_contents": "The device type associated with this record; values include but may not be limited to 'Computer', 'Smartphone', 'Tablet' and 'Unknown'."}, "doc.microsoft_ads_source.end_date": {"name": "end_date", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.end_date", "block_contents": "The date in which this ad group will no longer run."}, "doc.microsoft_ads_source.final_url": {"name": "final_url", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.final_url", "block_contents": "The full URL that the ad links to."}, "doc.microsoft_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.impressions", "block_contents": "The number of impressions that occurred by the grain of the report."}, "doc.microsoft_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether a record is the most recent version of that record."}, "doc.microsoft_ads_source.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.keyword_id", "block_contents": "The ID of the keyword."}, "doc.microsoft_ads_source.keyword_name": {"name": "keyword_name", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.keyword_name", "block_contents": "The keyword(s) associated with this record."}, "doc.microsoft_ads_source.keyword_status": {"name": "keyword_status", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.keyword_status", "block_contents": "The status of this keyword; see the following [documentation](https://docs.microsoft.com/en-us/advertising/campaign-management-service/keywordstatus?view=bingads-13) for more information on values and definitions."}, "doc.microsoft_ads_source.language": {"name": "language", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.language", "block_contents": "The language that the associated ad was viewed in."}, "doc.microsoft_ads_source.match_type": {"name": "match_type", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.match_type", "block_contents": "The match type associated with this record; values contain but may not be limited to 'Broad', 'Exact', 'Phrase'. Please refer to Microsoft Ad's [documentation](https://help.ads.microsoft.com/#apex/ads/en/50822/1)."}, "doc.microsoft_ads_source.modified_at": {"name": "modified_at", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.modified_at", "block_contents": "The time each version of the object was last modified, i.e. when that version of the object was 'created'."}, "doc.microsoft_ads_source.network": {"name": "network", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.network", "block_contents": "The network associated with this record."}, "doc.microsoft_ads_source.search_query": {"name": "search_query", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.search_query", "block_contents": "The search query string associated with this record."}, "doc.microsoft_ads_source.spend": {"name": "spend", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.spend", "block_contents": "The amount of spend that occurred by the grain of the report."}, "doc.microsoft_ads_source.start_date": {"name": "start_date", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.start_date", "block_contents": "The date in which an ad group starts running."}, "doc.microsoft_ads_source.time_zone": {"name": "time_zone", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.time_zone", "block_contents": "The time zone associated with this record."}, "doc.microsoft_ads_source.top_vs_other": {"name": "top_vs_other", "resource_type": "doc", "package_name": "microsoft_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.microsoft_ads_source.top_vs_other", "block_contents": "The position of the ad associated with this record. For more information, refer to Microsoft [documentation](https://help.ads.microsoft.com/apex/index/22/en/14009)."}, "doc.reddit_ads._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads._fivetran_synced", "block_contents": "Timestamp of when Fivetran synced a record."}, "doc.reddit_ads.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.account_id", "block_contents": "The ID of the account."}, "doc.reddit_ads.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_id", "block_contents": "The ID of the ad."}, "doc.reddit_ads.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_group_id", "block_contents": "The ID of the ad group."}, "doc.reddit_ads.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.campaign_id", "block_contents": "The ID of the campaign."}, "doc.reddit_ads.post_id": {"name": "post_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.post_id", "block_contents": "The ID of the post."}, "doc.reddit_ads.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_name", "block_contents": "Name of ad."}, "doc.reddit_ads.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.ad_group_name", "block_contents": "Name of ad group."}, "doc.reddit_ads.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.campaign_name", "block_contents": "Name of campaign."}, "doc.reddit_ads.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.created_at", "block_contents": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp."}, "doc.reddit_ads.currency": {"name": "currency", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.currency", "block_contents": "The currency this account uses (ISO-4217)"}, "doc.reddit_ads.status": {"name": "status", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.status", "block_contents": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\""}, "doc.reddit_ads.time_zone_id": {"name": "time_zone_id", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.time_zone_id", "block_contents": "The time zone id preference for this account"}, "doc.reddit_ads.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.clicks", "block_contents": "The number of clicks detected for this report period"}, "doc.reddit_ads.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.date_day", "block_contents": "YYYY-MM-DD formatted date"}, "doc.reddit_ads.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.impressions", "block_contents": "The number of impressions served for this report period"}, "doc.reddit_ads.spend": {"name": "spend", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.spend", "block_contents": "The amount (in microcurrency) spent for this report period in Ad Account's currency"}, "doc.reddit_ads.click_url": {"name": "click_url", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.click_url", "block_contents": "The destination url, or the website address, that a visitor goes to when they click on the ad"}, "doc.reddit_ads.post_url": {"name": "post_url", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.post_url", "block_contents": "The URL belonging to the post."}, "doc.reddit_ads.attribution_type": {"name": "attribution_type", "resource_type": "doc", "package_name": "reddit_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads.attribution_type", "block_contents": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both."}, "doc.reddit_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source._fivetran_synced", "block_contents": "Timestamp of when Fivetran synced a record."}, "doc.reddit_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.account_id", "block_contents": "The ID of the account."}, "doc.reddit_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_id", "block_contents": "The ID of the ad."}, "doc.reddit_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_group_id", "block_contents": "The ID of the ad group."}, "doc.reddit_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.campaign_id", "block_contents": "The ID of the campaign."}, "doc.reddit_ads_source.post_id": {"name": "post_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.post_id", "block_contents": "The ID of the post."}, "doc.reddit_ads_source.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_name", "block_contents": "Name of ad."}, "doc.reddit_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ad_group_name", "block_contents": "Name of ad group."}, "doc.reddit_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.campaign_name", "block_contents": "Name of campaign."}, "doc.reddit_ads_source.attribution_type": {"name": "attribution_type", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.attribution_type", "block_contents": "Attribution type: \"CLICK_THROUGH_CONVERSION\", \"VIEW_THROUGH_CONVERSION\", or \"ALL_CONVERSION\".\nCLICK_THROUGH_CONVERSION: A user clicked on your ad and then completed the conversion action on your site. \nVIEW_THROUGH_CONVERSION: A user saw your ad and did not click it, but did complete the conversion action on your site.\nALL_CONVERSION: Combination of both."}, "doc.reddit_ads_source.click_attribution_window": {"name": "click_attribution_window", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.click_attribution_window", "block_contents": "Determines how long after clicking on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\""}, "doc.reddit_ads_source.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.created_at", "block_contents": "Time that the respective record (ad, ad group, campaign, post, etc) was created. ISO-8601 timestamp."}, "doc.reddit_ads_source.currency": {"name": "currency", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.currency", "block_contents": "The currency this account uses (ISO-4217)"}, "doc.reddit_ads_source.status": {"name": "status", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.status", "block_contents": "The current state of the advertiser. \"PENDING_BILLING\", \"VALID\", \"TRUSTED\", \"ADMIN\", \"FAILED_BILLING\", \"SUSPICIOUS\", \"SUSPENDED\", or \"BANNED\""}, "doc.reddit_ads_source.time_zone_id": {"name": "time_zone_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.time_zone_id", "block_contents": "The time zone id preference for this account"}, "doc.reddit_ads_source.view_attribution_window": {"name": "view_attribution_window", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.view_attribution_window", "block_contents": "Determines how long after viewing on your ad you count that user\u2019s actions as a conversion. \"DAY\", \"WEEK\", or \"MONTH\""}, "doc.reddit_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.clicks", "block_contents": "The number of clicks detected for this report period"}, "doc.reddit_ads_source.comment_downvotes": {"name": "comment_downvotes", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.comment_downvotes", "block_contents": "The number comment downvotes for this report period"}, "doc.reddit_ads_source.comment_upvotes": {"name": "comment_upvotes", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.comment_upvotes", "block_contents": "The number comment upvotes for this report period"}, "doc.reddit_ads_source.comments_page_views": {"name": "comments_page_views", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.comments_page_views", "block_contents": "The number of times the comments page was viewed for this report period"}, "doc.reddit_ads_source.conversion_roas": {"name": "conversion_roas", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.conversion_roas", "block_contents": "Return on ad spend for purchases for this period"}, "doc.reddit_ads_source.cpc": {"name": "cpc", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.cpc", "block_contents": "The cost-per-click for this period"}, "doc.reddit_ads_source.ctr": {"name": "ctr", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ctr", "block_contents": "The click-through-rate for this period"}, "doc.reddit_ads_source.date": {"name": "date", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.date", "block_contents": "YYYY-MM-DD formatted date"}, "doc.reddit_ads_source.ecpm": {"name": "ecpm", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.ecpm", "block_contents": "The effective CPM for this period"}, "doc.reddit_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.impressions", "block_contents": "The number of impressions served for this report period"}, "doc.reddit_ads_source.region": {"name": "region", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.region", "block_contents": "The region (US state or UK country) targeted for the reports"}, "doc.reddit_ads_source.spend": {"name": "spend", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.spend", "block_contents": "The amount (in microcurrency) spent for this report period in Ad Account's currency, as defined [here](https://ads-api.reddit.com/docs/#tag/Reporting/paths/~1api~1v2.0~1accounts~1{account_id}~1reports/get)"}, "doc.reddit_ads_source.video_started": {"name": "video_started", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_started", "block_contents": "The number of times the ad was served and the video began playing"}, "doc.reddit_ads_source.video_watched_25_percent": {"name": "video_watched_25_percent", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_25_percent", "block_contents": "The number of times the ad was served and at least 25% of the video has played"}, "doc.reddit_ads_source.video_watched_3_seconds": {"name": "video_watched_3_seconds", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_3_seconds", "block_contents": "The number of times the ad was served and at least 3 seconds of the video has played"}, "doc.reddit_ads_source.video_watched_50_percent": {"name": "video_watched_50_percent", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_50_percent", "block_contents": "The number of times the ad was served and at least 50% of the video has played"}, "doc.reddit_ads_source.video_watched_5_seconds": {"name": "video_watched_5_seconds", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_5_seconds", "block_contents": "The number of times the ad was served and at least 5 seconds of the video has played"}, "doc.reddit_ads_source.video_watched_75_percent": {"name": "video_watched_75_percent", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.video_watched_75_percent", "block_contents": "The number of times the ad was served and at least 75% of the video has played"}, "doc.reddit_ads_source.viewer_comments": {"name": "viewer_comments", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.viewer_comments", "block_contents": "The number of times a user saw the post, and also commented on it. We count per view + comment combination (similar to a conversion)"}, "doc.reddit_ads_source.click_url": {"name": "click_url", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.click_url", "block_contents": "The destination url, or the website address, that a visitor goes to when they click on the ad"}, "doc.reddit_ads_source.configured_status": {"name": "configured_status", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.configured_status", "block_contents": "The status configured by the account owner. \"ACTIVE\", \"PAUSED\", \"ARCHIVED\", \"DELETED\""}, "doc.reddit_ads_source.effective_status": {"name": "effective_status", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.effective_status", "block_contents": "The calculated status determining the real status of this entity."}, "doc.reddit_ads_source.is_processing": {"name": "is_processing", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.is_processing", "block_contents": "Whether or not effective status is processing"}, "doc.reddit_ads_source.post_url": {"name": "post_url", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.post_url", "block_contents": "The URL belonging to the post."}, "doc.reddit_ads_source.rejection_reason": {"name": "rejection_reason", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.rejection_reason", "block_contents": "Reason why entity was rejected."}, "doc.reddit_ads_source.bid_strategy": {"name": "bid_strategy", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.bid_strategy", "block_contents": "The bid strategy for this entity. \"MAXIMIZE_VOLUME\", \"MANUAL_BIDDING\", or \"BIDLESS\""}, "doc.reddit_ads_source.bid_value": {"name": "bid_value", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.bid_value", "block_contents": "The amount to pay in microcurrency per bidding event."}, "doc.reddit_ads_source.end_time": {"name": "end_time", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.end_time", "block_contents": "When the entity will stop delivering."}, "doc.reddit_ads_source.expand_targeting": {"name": "expand_targeting", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.expand_targeting", "block_contents": "Boolean that when selected, allows Reddit to expand your targeting to maximize your results."}, "doc.reddit_ads_source.goal_type": {"name": "goal_type", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.goal_type", "block_contents": "The type of goal for the entity. \"IMPRESSIONS\", \"PERCENTAGE\", \"CLICKS\", \"CONVERSIONS\", \"LIFETIME_SPEND\", \"DAILY_SPEND\", or \"VIDEO_VIEWABLE_IMPRESSIONS\""}, "doc.reddit_ads_source.goal_value": {"name": "goal_value", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.goal_value", "block_contents": "The value used to determine the goal has been met. This is measured in microcurrency for monetary goals types."}, "doc.reddit_ads_source.optimization_strategy_type": {"name": "optimization_strategy_type", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.optimization_strategy_type", "block_contents": "The strategy to use when optimizing the delivery of an ad. \"DOWNSTREAM_CONVERSIONS\" or \"APP_INSTALLS\""}, "doc.reddit_ads_source.start_time": {"name": "start_time", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.start_time", "block_contents": "When the entity will begin to deliver."}, "doc.reddit_ads_source.funding_instrument_id": {"name": "funding_instrument_id", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.funding_instrument_id", "block_contents": "Campaign level funding instrument id"}, "doc.reddit_ads_source.objective": {"name": "objective", "resource_type": "doc", "package_name": "reddit_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.reddit_ads_source.objective", "block_contents": "The objective type of a campaign."}, "doc.amazon_ads_source._fivetran_deleted": {"name": "_fivetran_deleted", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source._fivetran_deleted", "block_contents": "Boolean created by Fivetran to indicate whether the record has been deleted."}, "doc.amazon_ads_source._fivetran_id": {"name": "_fivetran_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source._fivetran_id", "block_contents": "Unique ID used by Fivetran to sync and dedupe data."}, "doc.amazon_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.amazon_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.account_id", "block_contents": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces."}, "doc.amazon_ads_source.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.account_name", "block_contents": "Account Name. Not currently populated for sellers."}, "doc.amazon_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_group_id", "block_contents": "The ID of the AdGroup."}, "doc.amazon_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_group_name", "block_contents": "The name of the AdGroup."}, "doc.amazon_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_id", "block_contents": "The ID of the Ad."}, "doc.amazon_ads_source.ad_keyword_status": {"name": "ad_keyword_status", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.ad_keyword_status", "block_contents": "Current status of a keyword."}, "doc.amazon_ads_source.advertised_asin": {"name": "advertised_asin", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.advertised_asin", "block_contents": "The ASIN associated to an advertised product."}, "doc.amazon_ads_source.advertised_sku": {"name": "advertised_sku", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.advertised_sku", "block_contents": "The SKU being advertised."}, "doc.amazon_ads_source.bid_keyword": {"name": "bid_keyword", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.bid_keyword", "block_contents": "Bid associated with this keyword."}, "doc.amazon_ads_source.campaign_applicable_budget_rule_id": {"name": "campaign_applicable_budget_rule_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_applicable_budget_rule_id", "block_contents": "The ID associated to the active budget rule for a campaign."}, "doc.amazon_ads_source.campaign_applicable_budget_rule_name": {"name": "campaign_applicable_budget_rule_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_applicable_budget_rule_name", "block_contents": "The name associated to the active budget rule for a campaign."}, "doc.amazon_ads_source.campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_bidding_strategy", "block_contents": "The bidding strategy associated with a campaign."}, "doc.amazon_ads_source.campaign_budget_amount": {"name": "campaign_budget_amount", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_budget_amount", "block_contents": "Total budget allocated to the campaign."}, "doc.amazon_ads_source.campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_budget_currency_code", "block_contents": "The currency code associated with the campaign."}, "doc.amazon_ads_source.campaign_budget_type": {"name": "campaign_budget_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_budget_type", "block_contents": "One of: daily or lifetime."}, "doc.amazon_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_id", "block_contents": "The ID of the Campaign."}, "doc.amazon_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_name", "block_contents": "The name of the Campaign."}, "doc.amazon_ads_source.campaign_rule_based_budget_amount": {"name": "campaign_rule_based_budget_amount", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.campaign_rule_based_budget_amount", "block_contents": "The value of the rule-based budget for a campaign."}, "doc.amazon_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.clicks", "block_contents": "Total number of ad clicks."}, "doc.amazon_ads_source.cost": {"name": "cost", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.cost", "block_contents": "Total cost of ad clicks."}, "doc.amazon_ads_source.country_code": {"name": "country_code", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.country_code", "block_contents": "The code for a given country."}, "doc.amazon_ads_source.creation_date": {"name": "creation_date", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.creation_date", "block_contents": "The date of creation of the record."}, "doc.amazon_ads_source.currency_code": {"name": "currency_code", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.currency_code", "block_contents": "The currency used for all monetary values for entities under this profile."}, "doc.amazon_ads_source.default_bid": {"name": "default_bid", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.default_bid", "block_contents": "The date of creation of the record."}, "doc.amazon_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.impressions", "block_contents": "Total number of ad impressions."}, "doc.amazon_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.is_most_recent_record", "block_contents": "Boolean indicating whether record was the most recent instance."}, "doc.amazon_ads_source.keyword_bid": {"name": "keyword_bid", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_bid", "block_contents": "Bid associated with a keyword or targeting expression."}, "doc.amazon_ads_source.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_id", "block_contents": "The ID of the keyword."}, "doc.amazon_ads_source.keyword_match_type": {"name": "keyword_match_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_match_type", "block_contents": "One of (broad, exact, or phrase.)"}, "doc.amazon_ads_source.keyword_type": {"name": "keyword_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.keyword_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads_source.last_updated_date": {"name": "last_updated_date", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.last_updated_date", "block_contents": "Date of last update to record."}, "doc.amazon_ads_source.match_type": {"name": "match_type", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.match_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads_source.negative_keyword_id": {"name": "negative_keyword_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.negative_keyword_id", "block_contents": "The ID of the negative keyword."}, "doc.amazon_ads_source.portfolio_id": {"name": "portfolio_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.portfolio_id", "block_contents": "The ID of the Portfolio."}, "doc.amazon_ads_source.portfolio_name": {"name": "portfolio_name", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.portfolio_name", "block_contents": "The name of the Portfolio."}, "doc.amazon_ads_source.profile_id": {"name": "profile_id", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.profile_id", "block_contents": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace."}, "doc.amazon_ads_source.report_date": {"name": "report_date", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.report_date", "block_contents": "The date of the report."}, "doc.amazon_ads_source.search_term": {"name": "search_term", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.search_term", "block_contents": "The search term used by the customer."}, "doc.amazon_ads_source.serving_status": {"name": "serving_status", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.serving_status", "block_contents": "The current serving status of the record."}, "doc.amazon_ads_source.state": {"name": "state", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.state", "block_contents": "The state of the record (enabled, paused, or archived)."}, "doc.amazon_ads_source.targeting": {"name": "targeting", "resource_type": "doc", "package_name": "amazon_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads_source.targeting", "block_contents": "A string representation of the expression object used in the targeting clause."}, "doc.amazon_ads._fivetran_deleted": {"name": "_fivetran_deleted", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads._fivetran_deleted", "block_contents": "Boolean created by Fivetran to indicate whether the record has been deleted."}, "doc.amazon_ads._fivetran_id": {"name": "_fivetran_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads._fivetran_id", "block_contents": "Unique ID used by Fivetran to sync and dedupe data."}, "doc.amazon_ads._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.amazon_ads.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.account_id", "block_contents": "Identifier for sellers and vendors. Note that this value is not unique and may be the same across marketplaces."}, "doc.amazon_ads.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.account_name", "block_contents": "Account Name. Not currently populated for sellers."}, "doc.amazon_ads.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_group_id", "block_contents": "The ID of the AdGroup."}, "doc.amazon_ads.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_group_name", "block_contents": "The name of the AdGroup."}, "doc.amazon_ads.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_id", "block_contents": "The ID of the Ad."}, "doc.amazon_ads.ad_keyword_status": {"name": "ad_keyword_status", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.ad_keyword_status", "block_contents": "Current status of a keyword."}, "doc.amazon_ads.advertised_asin": {"name": "advertised_asin", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.advertised_asin", "block_contents": "The ASIN associated to an advertised product."}, "doc.amazon_ads.advertised_sku": {"name": "advertised_sku", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.advertised_sku", "block_contents": "The SKU being advertised."}, "doc.amazon_ads.bid_keyword": {"name": "bid_keyword", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.bid_keyword", "block_contents": "Bid associated with this keyword."}, "doc.amazon_ads.campaign_applicable_budget_rule_id": {"name": "campaign_applicable_budget_rule_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_applicable_budget_rule_id", "block_contents": "The ID associated to the active budget rule for a campaign."}, "doc.amazon_ads.campaign_applicable_budget_rule_name": {"name": "campaign_applicable_budget_rule_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_applicable_budget_rule_name", "block_contents": "The name associated to the active budget rule for a campaign."}, "doc.amazon_ads.campaign_bidding_strategy": {"name": "campaign_bidding_strategy", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_bidding_strategy", "block_contents": "The bidding strategy associated with a campaign."}, "doc.amazon_ads.campaign_budget_amount": {"name": "campaign_budget_amount", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_budget_amount", "block_contents": "Total budget allocated to the campaign."}, "doc.amazon_ads.campaign_budget_currency_code": {"name": "campaign_budget_currency_code", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_budget_currency_code", "block_contents": "The currency code associated with the campaign."}, "doc.amazon_ads.campaign_budget_type": {"name": "campaign_budget_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_budget_type", "block_contents": "One of: daily or lifetime."}, "doc.amazon_ads.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_id", "block_contents": "The ID of the Campaign."}, "doc.amazon_ads.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_name", "block_contents": "The name of the Campaign."}, "doc.amazon_ads.campaign_rule_based_budget_amount": {"name": "campaign_rule_based_budget_amount", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.campaign_rule_based_budget_amount", "block_contents": "The value of the rule-based budget for a campaign."}, "doc.amazon_ads.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.clicks", "block_contents": "Total number of ad clicks."}, "doc.amazon_ads.cost": {"name": "cost", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.cost", "block_contents": "Total cost of ad clicks."}, "doc.amazon_ads.country_code": {"name": "country_code", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.country_code", "block_contents": "The code for a given country."}, "doc.amazon_ads.creation_date": {"name": "creation_date", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.creation_date", "block_contents": "The date of creation of the record."}, "doc.amazon_ads.currency_code": {"name": "currency_code", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.currency_code", "block_contents": "The currency used for all monetary values for entities under this profile."}, "doc.amazon_ads.default_bid": {"name": "default_bid", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.default_bid", "block_contents": "The date of creation of the record."}, "doc.amazon_ads.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.impressions", "block_contents": "Total number of ad impressions."}, "doc.amazon_ads.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.is_most_recent_record", "block_contents": "Boolean indicating whether record was the most recent instance."}, "doc.amazon_ads.keyword_bid": {"name": "keyword_bid", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_bid", "block_contents": "Bid associated with a keyword or targeting expression."}, "doc.amazon_ads.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_id", "block_contents": "The ID of the keyword."}, "doc.amazon_ads.keyword_match_type": {"name": "keyword_match_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_match_type", "block_contents": "One of (broad, exact, or phrase.)"}, "doc.amazon_ads.keyword_text": {"name": "keyword_text", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_text", "block_contents": "The exact text for the keyword."}, "doc.amazon_ads.keyword_type": {"name": "keyword_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.keyword_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads.last_updated_date": {"name": "last_updated_date", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.last_updated_date", "block_contents": "Date of last update to record."}, "doc.amazon_ads.match_type": {"name": "match_type", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.match_type", "block_contents": "Type of matching for the keyword used in bid. One of: BROAD, PHRASE, or EXACT."}, "doc.amazon_ads.negative_keyword_id": {"name": "negative_keyword_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.negative_keyword_id", "block_contents": "The ID of the negative keyword."}, "doc.amazon_ads.portfolio_id": {"name": "portfolio_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.portfolio_id", "block_contents": "The ID of the Portfolio."}, "doc.amazon_ads.portfolio_name": {"name": "portfolio_name", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.portfolio_name", "block_contents": "The name of the Portfolio."}, "doc.amazon_ads.profile_id": {"name": "profile_id", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.profile_id", "block_contents": "The profile ID associated with your Amazon Ads account. Advertisers who operate in more than one marketplace (for example, Amazon.com, Amazon.co.uk, Amazon.co.jp) will have one profile associated with each marketplace."}, "doc.amazon_ads.report_date": {"name": "report_date", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.report_date", "block_contents": "The date of the report."}, "doc.amazon_ads.search_term": {"name": "search_term", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.search_term", "block_contents": "The search term used by the customer."}, "doc.amazon_ads.serving_status": {"name": "serving_status", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.serving_status", "block_contents": "The current serving status of the record."}, "doc.amazon_ads.state": {"name": "state", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.state", "block_contents": "The state of the record (enabled, paused, or archived)."}, "doc.amazon_ads.targeting": {"name": "targeting", "resource_type": "doc", "package_name": "amazon_ads", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.amazon_ads.targeting", "block_contents": "A string representation of the expression object used in the targeting clause."}, "doc.google_ads_source._fivetran_id": {"name": "_fivetran_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source._fivetran_id", "block_contents": "Unique ID used by Fivetran to sync and dedupe data."}, "doc.google_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.google_ads_source.account_descriptive_name": {"name": "account_descriptive_name", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.account_descriptive_name", "block_contents": "The descriptive name of the Customer account."}, "doc.google_ads_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_id", "block_contents": "The ID of the AdGroup."}, "doc.google_ads_source.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_name", "block_contents": "The name of the AdGroup."}, "doc.google_ads_source.ad_group_status": {"name": "ad_group_status", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_status", "block_contents": "Status of the ad group."}, "doc.google_ads_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.campaign_id", "block_contents": "The ID of the Campaign."}, "doc.google_ads_source.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_id", "block_contents": "The ID of the Ad."}, "doc.google_ads_source.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.account_id", "block_contents": "The ID of the Account."}, "doc.google_ads_source.ad_status": {"name": "ad_status", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_status", "block_contents": "Status of the Ad."}, "doc.google_ads_source.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.campaign_name", "block_contents": "The name of the Campaign."}, "doc.google_ads_source.campaign_status": {"name": "campaign_status", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.campaign_status", "block_contents": "Status of the Campaign."}, "doc.google_ads_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.clicks", "block_contents": "The number of clicks."}, "doc.google_ads_source.cost": {"name": "cost", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.cost", "block_contents": "The sum of your cost-per-click (CPC) and cost-per-thousand impressions (CPM) costs during this period."}, "doc.google_ads_source.date": {"name": "date", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.date", "block_contents": "The date being reported on."}, "doc.google_ads_source.effective_final_url": {"name": "effective_final_url", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.effective_final_url", "block_contents": "Effective final URL of the impressions."}, "doc.google_ads_source.external_customer_id": {"name": "external_customer_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.external_customer_id", "block_contents": "The Customer ID."}, "doc.google_ads_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.impressions", "block_contents": "Count of how often your ad has appeared on a search results page or website on the Google Network."}, "doc.google_ads_source.criteria_id": {"name": "criteria_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria_id", "block_contents": "The Criterion ID."}, "doc.google_ads_source.gcl_id": {"name": "gcl_id", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.gcl_id", "block_contents": "The Google Click ID."}, "doc.google_ads_source.criteria": {"name": "criteria", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria", "block_contents": "Descriptive string for the Criterion."}, "doc.google_ads_source.criteria_destination_url": {"name": "criteria_destination_url", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria_destination_url", "block_contents": "Destination URL of the criterion that triggered ads."}, "doc.google_ads_source.criteria_type": {"name": "criteria_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.criteria_type", "block_contents": "The type of the Criterion."}, "doc.google_ads_source.base_url": {"name": "base_url", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.base_url", "block_contents": "The base URL of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.url_host": {"name": "url_host", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.url_host", "block_contents": "The URL host of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.url_path": {"name": "url_path", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.url_path", "block_contents": "The URL path of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_source": {"name": "utm_source", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_source", "block_contents": "The utm_source parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_medium": {"name": "utm_medium", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_medium", "block_contents": "The utm_medium parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_campaign": {"name": "utm_campaign", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_campaign", "block_contents": "The utm_campaign parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_content": {"name": "utm_content", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_content", "block_contents": "The utm_content parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.utm_term": {"name": "utm_term", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.utm_term", "block_contents": "The utm_term parameter of the ad, extracted from the `final_urls`."}, "doc.google_ads_source.updated_at": {"name": "updated_at", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.updated_at", "block_contents": "Timestamp of when the record was last updated in Google Ads."}, "doc.google_ads_source.ad_type": {"name": "ad_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_type", "block_contents": "The type of the ad in Google Ads."}, "doc.google_ads_source.ad_group_type": {"name": "ad_group_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_group_type", "block_contents": "The type of the ad group in Google Ads."}, "doc.google_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether the record is the most recent version of the object."}, "doc.google_ads_source.ad_network_type": {"name": "ad_network_type", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.ad_network_type", "block_contents": "The Google Ad network type used across the account."}, "doc.google_ads_source.device": {"name": "device", "resource_type": "doc", "package_name": "google_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.google_ads_source.device", "block_contents": "Account ad performance per unique device where the ads were served."}, "doc.ad_reporting.account_id": {"name": "account_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.account_id", "block_contents": "The ID representing the account."}, "doc.ad_reporting.account_name": {"name": "account_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.account_name", "block_contents": "The name of the account, if present in the source data."}, "doc.ad_reporting.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_group_id", "block_contents": "The ID representing the ad group, if present in the source data."}, "doc.ad_reporting.ad_group_name": {"name": "ad_group_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_group_name", "block_contents": "The name of the ad group, if present in the source data."}, "doc.ad_reporting.ad_id": {"name": "ad_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_id", "block_contents": "The ID representing the ad, if present in the source data."}, "doc.ad_reporting.ad_name": {"name": "ad_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.ad_name", "block_contents": "The name of the ad, if present in the source data."}, "doc.ad_reporting.base_url": {"name": "base_url", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.base_url", "block_contents": "The base url of the ad."}, "doc.ad_reporting.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.campaign_id", "block_contents": "The ID representing the campaign, if present in the source data."}, "doc.ad_reporting.campaign_name": {"name": "campaign_name", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.campaign_name", "block_contents": "The name of the campaign, if present in the source data."}, "doc.ad_reporting.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.clicks", "block_contents": "The count of clicks."}, "doc.ad_reporting.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.date_day", "block_contents": "The date of the report."}, "doc.ad_reporting.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.impressions", "block_contents": "The count of impressions."}, "doc.ad_reporting.keyword_id": {"name": "keyword_id", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.keyword_id", "block_contents": "The ID representing the keyword, if present in the source data."}, "doc.ad_reporting.keyword_match_type": {"name": "keyword_match_type", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.keyword_match_type", "block_contents": "The keyword match type associated with this record."}, "doc.ad_reporting.keyword_text": {"name": "keyword_text", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.keyword_text", "block_contents": "The keyword text."}, "doc.ad_reporting.platform": {"name": "platform", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.platform", "block_contents": "The ad platform associated with this record."}, "doc.ad_reporting.search_match_type": {"name": "search_match_type", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.search_match_type", "block_contents": "The search match type associated with this record."}, "doc.ad_reporting.search_query": {"name": "search_query", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.search_query", "block_contents": "The search query text."}, "doc.ad_reporting.spend": {"name": "spend", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.spend", "block_contents": "The cost of the ads."}, "doc.ad_reporting.url_host": {"name": "url_host", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.url_host", "block_contents": "The URL host of the ad."}, "doc.ad_reporting.url_path": {"name": "url_path", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.url_path", "block_contents": "The URL path of the ad."}, "doc.ad_reporting.utm_campaign": {"name": "utm_campaign", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_campaign", "block_contents": "The utm_campaign parameter of the ad."}, "doc.ad_reporting.utm_content": {"name": "utm_content", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_content", "block_contents": "The utm_content parameter of the ad."}, "doc.ad_reporting.utm_medium": {"name": "utm_medium", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_medium", "block_contents": "The utm_medium parameter of the ad."}, "doc.ad_reporting.utm_source": {"name": "utm_source", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_source", "block_contents": "The utm_source parameter of the ad."}, "doc.ad_reporting.utm_term": {"name": "utm_term", "resource_type": "doc", "package_name": "ad_reporting", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.ad_reporting.utm_term", "block_contents": "The utm_term parameter of the ad."}, "doc.pinterest_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source._fivetran_synced", "block_contents": "Timestamp of when a record was last synced."}, "doc.pinterest_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.is_most_recent_record", "block_contents": "Boolean representing whether the record is the most recent version of the object."}, "doc.pinterest_source.date_day": {"name": "date_day", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.date_day", "block_contents": "The performance date of the record."}, "doc.pinterest_source.ad_group_id": {"name": "ad_group_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.ad_group_id", "block_contents": "The ID of the related Ad group."}, "doc.pinterest_source.pin_promotion_id": {"name": "pin_promotion_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.pin_promotion_id", "block_contents": "The ID of the related Pin promotion."}, "doc.pinterest_source.campaign_id": {"name": "campaign_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.campaign_id", "block_contents": "The ID of the related Campaign."}, "doc.pinterest_source.advertiser_id": {"name": "advertiser_id", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.advertiser_id", "block_contents": "The ID of the related Advertiser."}, "doc.pinterest_source.impressions": {"name": "impressions", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.impressions", "block_contents": "The number of paid and earned impressions that occurred on the day of the record."}, "doc.pinterest_source.clicks": {"name": "clicks", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.clicks", "block_contents": "The number of paid and earned clicks that occurred on the day of the record."}, "doc.pinterest_source.spend": {"name": "spend", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.spend", "block_contents": "The amount of spend that occurred on the day of the record."}, "doc.pinterest_source.updated_at": {"name": "updated_at", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.updated_at", "block_contents": "Timestamp of when a record was last updated."}, "doc.pinterest_source.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.created_at", "block_contents": "Timestamp of when a record was created."}, "doc.pinterest_source.spend_in_micro_dollar": {"name": "spend_in_micro_dollar", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.spend_in_micro_dollar", "block_contents": "The amount of spend in micro dollars that occurred on the day of the record."}, "doc.pinterest_source.clickthrough_1": {"name": "clickthrough_1", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.clickthrough_1", "block_contents": "The number of paid pin clicks that occurred on the day of the record."}, "doc.pinterest_source.clickthrough_2": {"name": "clickthrough_2", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.clickthrough_2", "block_contents": "The number of earned outbound clicks that occurred on the day of the record."}, "doc.pinterest_source.impression_1": {"name": "impression_1", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.impression_1", "block_contents": "The number of paid pin impressions that occurred on the day of the record."}, "doc.pinterest_source.impression_2": {"name": "impression_2", "resource_type": "doc", "package_name": "pinterest_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.pinterest_source.impression_2", "block_contents": "The number of earned pin impressions that occurred on the day of the record."}, "doc.facebook_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "facebook_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.facebook_ads_source._fivetran_synced", "block_contents": "When the record was last synced by Fivetran."}, "doc.facebook_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "facebook_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.facebook_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether a record is the most recent version of that record. All records should have this value set to True given we filter on it."}, "doc.facebook_ads_source.updated_time": {"name": "updated_time", "resource_type": "doc", "package_name": "facebook_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.facebook_ads_source.updated_time", "block_contents": "The timestamp of the last update of a record."}, "doc.snapchat_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "snapchat_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.snapchat_ads_source._fivetran_synced", "block_contents": "When the record was last synced by Fivetran."}, "doc.snapchat_ads_source.is_most_recent_record": {"name": "is_most_recent_record", "resource_type": "doc", "package_name": "snapchat_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.snapchat_ads_source.is_most_recent_record", "block_contents": "Boolean representing whether a record is the most recent version of that record."}, "doc.twitter_ads_source._fivetran_synced": {"name": "_fivetran_synced", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source._fivetran_synced", "block_contents": "When the record was last synced by Fivetran."}, "doc.twitter_ads_source.created_at": {"name": "created_at", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source.created_at", "block_contents": "The timestamp the account was created."}, "doc.twitter_ads_source.updated_at": {"name": "updated_at", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source.updated_at", "block_contents": "The timestamp the account was last updated."}, "doc.twitter_ads_source.deleted": {"name": "deleted", "resource_type": "doc", "package_name": "twitter_ads_source", "path": "docs.md", "original_file_path": "models/docs.md", "unique_id": "doc.twitter_ads_source.deleted", "block_contents": "Whether the record has been deleted or not."}}, "exposures": {}, "metrics": {"metric.ad_reporting.spend": {"name": "spend", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.spend", "fqn": ["ad_reporting", "spend"], "description": "Total spend (in currency of individual platforms)", "label": "Ad spend (Fivetran)", "calculation_method": "sum", "expression": "spend", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679592111.59819}, "metric.ad_reporting.clicks": {"name": "clicks", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.clicks", "fqn": ["ad_reporting", "clicks"], "description": "Total clicks", "label": "Ad clicks (Fivetran)", "calculation_method": "sum", "expression": "clicks", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679592111.6079092}, "metric.ad_reporting.impressions": {"name": "impressions", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.impressions", "fqn": ["ad_reporting", "impressions"], "description": "Total impressions", "label": "Ad impressions (Fivetran)", "calculation_method": "sum", "expression": "impressions", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679592111.618149}, "metric.ad_reporting.cost_per_click": {"name": "cost_per_click", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.cost_per_click", "fqn": ["ad_reporting", "cost_per_click"], "description": "The ratio of spend to clicks", "label": "Average ad cost per click (Fivetran)", "calculation_method": "derived", "expression": "spend / clicks", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": null, "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["metric.ad_reporting.spend", "metric.ad_reporting.clicks"]}, "refs": [], "metrics": [["spend"], ["clicks"]], "created_at": 1679592111.6278589}, "metric.ad_reporting.bounce_rate": {"name": "bounce_rate", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.bounce_rate", "fqn": ["ad_reporting", "bounce_rate"], "description": "Percentage of impressions that did not convert into clicks.", "label": "Average Ad Bounce Rate (Fivetran)", "calculation_method": "derived", "expression": "(impressions - clicks) / impressions", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": null, "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["metric.ad_reporting.impressions", "metric.ad_reporting.clicks", "metric.ad_reporting.impressions"]}, "refs": [], "metrics": [["impressions"], ["clicks"], ["impressions"]], "created_at": 1679592111.638399}, "metric.ad_reporting.clickthrough_rate": {"name": "clickthrough_rate", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.clickthrough_rate", "fqn": ["ad_reporting", "clickthrough_rate"], "description": "Percentage of impressions that did convert into clicks.", "label": "Ad Clickthrough Rate (Fivetran)", "calculation_method": "derived", "expression": "clicks / impressions", "filters": [], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "ad_id", "ad_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": null, "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["metric.ad_reporting.clicks", "metric.ad_reporting.impressions"]}, "refs": [], "metrics": [["clicks"], ["impressions"]], "created_at": 1679592111.64848}, "metric.ad_reporting.active_ads": {"name": "active_ads", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.active_ads", "fqn": ["ad_reporting", "active_ads"], "description": "Count of ads witth spend > 0.", "label": "Count of Active Ads (Fivetran)", "calculation_method": "count_distinct", "expression": "ad_id", "filters": [{"field": "spend", "operator": ">", "value": "0"}], "time_grains": ["day", "week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679592111.659531}, "metric.ad_reporting.avg_spend_nonzero": {"name": "avg_spend_nonzero", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.avg_spend_nonzero", "fqn": ["ad_reporting", "avg_spend_nonzero"], "description": "Average ad spend, ignores zero-spend days.", "label": "Average Spend, Ignore Zeros (Fivetran)", "calculation_method": "average", "expression": "spend", "filters": [{"field": "spend", "operator": ">", "value": "0"}], "time_grains": ["week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679592111.669546}, "metric.ad_reporting.avg_spend": {"name": "avg_spend", "resource_type": "metric", "package_name": "ad_reporting", "path": "ad_reporting_metrics.yml", "original_file_path": "models/ad_reporting_metrics.yml", "unique_id": "metric.ad_reporting.avg_spend", "fqn": ["ad_reporting", "avg_spend"], "description": "Average ad spend, does not ignore zero-spend days.", "label": "Average Spend (Fivetran)", "calculation_method": "average", "expression": "spend", "filters": [], "time_grains": ["week", "month"], "dimensions": ["platform", "campaign_id", "campaign_name", "ad_group_id", "ad_group_name", "account_id", "account_name"], "timestamp": "date_day", "window": null, "model": "ref('ad_reporting__ad_report')", "model_unique_id": null, "meta": {}, "tags": [], "config": {"enabled": true}, "unrendered_config": {}, "sources": [], "depends_on": {"macros": [], "nodes": ["model.ad_reporting.ad_reporting__ad_report"]}, "refs": [["ad_reporting__ad_report"]], "metrics": [], "created_at": 1679592111.678157}}, "selectors": {}, "disabled": {"model.twitter_ads.twitter_ads__keyword_report": [{"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads", "name": "twitter_ads__keyword_report", "resource_type": "model", "package_name": "twitter_ads", "path": "twitter_ads__keyword_report.sql", "original_file_path": "models/twitter_ads__keyword_report.sql", "unique_id": "model.twitter_ads.twitter_ads__keyword_report", "fqn": ["twitter_ads", "twitter_ads__keyword_report"], "alias": "twitter_ads__keyword_report", "checksum": {"name": "sha256", "checksum": "0ddfaeac37414648fe3241b0c879c7162ed91f6345ef8687c23c903a19149705"}, "config": {"enabled": false, "alias": null, "schema": "twitter_ads", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record in this table represents the daily performance of ads at the account, campaign, line item (ad group), and keyword level, within a placement in Twitter.\n", "columns": {"account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the line item + keyword on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the line item + keyword on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item + keyword on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "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.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the related line item (ad group).", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item + keyword on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword": {"name": "keyword", "description": "The keyword whose performance is being tracked.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword_id": {"name": "keyword_id", "description": "Unique key of the table built from the combination of 'account_id', 'line_item_id', 'segment', and 'placement' fields.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_name": {"name": "account_name", "description": "Name of the associated account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_id": {"name": "campaign_id", "description": "The ID of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "campaign_name": {"name": "campaign_name", "description": "The name of the related campaign.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_name": {"name": "line_item_name", "description": "The ID of the related line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "currency": {"name": "currency", "description": "The currency all metrics for the account are set to.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads://models/twitter.yml", "build_path": null, "deferred": false, "unrendered_config": {"schema": "twitter_ads", "materialized": "table", "enabled": false}, "created_at": 1679592108.934259, "config_call_dict": {"enabled": false}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads`.`twitter_ads__keyword_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__twitter_ads_enabled','twitter_ads__using_keywords'])) }}\n\nwith report as (\n\n select *\n from {{ var('line_item_keywords_report') }}\n),\n\nline_items as (\n\n select *\n from {{ var('line_item_history') }}\n where is_latest_version\n),\n\ncampaigns as (\n\n select *\n from {{ var('campaign_history') }}\n where is_latest_version\n),\n\naccounts as (\n\n select *\n from {{ var('account_history') }}\n where is_latest_version\n),\n\nfinal as (\n\n select \n report.date_day,\n report.placement, \n report.account_id,\n accounts.name as account_name,\n line_items.campaign_id,\n campaigns.campaign_name,\n report.line_item_id,\n line_items.name as line_item_name,\n report.keyword_id,\n report.keyword,\n line_items.currency,\n sum(report.clicks) as clicks, \n sum(report.impressions) as impressions,\n sum(report.spend) as spend,\n sum(report.spend_micro) as spend_micro,\n sum(report.url_clicks) as url_clicks\n\n {{ fivetran_utils.persist_pass_through_columns('twitter_ads__line_item_keywords_report_passthrough_metrics', transform='sum')}}\n\n from report \n left join line_items\n on report.line_item_id = line_items.line_item_id\n left join campaigns \n on line_items.campaign_id = campaigns.campaign_id\n left join accounts\n on report.account_id = accounts.account_id\n\n {{ dbt_utils.group_by(n=11) }}\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report"], ["stg_twitter_ads__line_item_history"], ["stg_twitter_ads__campaign_history"], ["stg_twitter_ads__account_history"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.fivetran_utils.persist_pass_through_columns", "macro.dbt_utils.group_by"], "nodes": []}, "compiled_path": null}], "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report": [{"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_keywords_report", "resource_type": "model", "package_name": "twitter_ads_source", "path": "stg_twitter_ads__line_item_keywords_report.sql", "original_file_path": "models/stg_twitter_ads__line_item_keywords_report.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report", "fqn": ["twitter_ads_source", "stg_twitter_ads__line_item_keywords_report"], "alias": "stg_twitter_ads__line_item_keywords_report", "checksum": {"name": "sha256", "checksum": "b980b624c4483406f75c6c3f69c6ad4579616881539ba383f96f6e1b001df09a"}, "config": {"enabled": false, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "table", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "Each record represents the performance of a line item (ad group) and keyword combination on a given day, for its placement in Twitter.", "columns": {"keyword_id": {"name": "keyword_id", "description": "Unique key of the table built from the combination of 'account_id', 'line_item_id','segment', and 'placement' fields.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend_micro": {"name": "spend_micro", "description": "The spend for the line item + keyword on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "spend": {"name": "spend", "description": "The spend for the line item + keyword on that day in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item + keyword on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date_day": {"name": "date_day", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "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.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item + keyword on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "keyword": {"name": "keyword", "description": "The keyword whose performance is being tracked.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": "twitter_ads_source://models/stg_twitter_ads.yml", "build_path": null, "deferred": false, "unrendered_config": {"materialized": "table", "schema": "twitter_ads_source", "enabled": false}, "created_at": 1679592113.694567, "config_call_dict": {"enabled": false}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__twitter_ads_enabled','twitter_ads__using_keywords'])) }}\n\nwith base as (\n\n select * \n from {{ ref('stg_twitter_ads__line_item_keywords_report_tmp') }}\n),\n\nfields as (\n\n select\n {{\n fivetran_utils.fill_staging_columns(\n source_columns=adapter.get_columns_in_relation(ref('stg_twitter_ads__line_item_keywords_report_tmp')),\n staging_columns=get_line_item_keywords_report_columns()\n )\n }}\n from base\n),\n\nfinal as (\n \n select \n {{ dbt.date_trunc('day', 'date') }} as date_day,\n {{ dbt_utils.generate_surrogate_key(['account_id', 'line_item_id','segment','placement']) }} as keyword_id,\n account_id,\n line_item_id,\n segment as keyword,\n placement,\n clicks,\n impressions,\n billed_charge_local_micro as spend_micro,\n round(billed_charge_local_micro / 1000000.0,2) as spend,\n url_clicks\n\n {{ fivetran_utils.fill_pass_through_columns('twitter_ads__line_item_keywords_report_passthrough_metrics') }}\n\n from fields\n)\n\nselect *\nfrom final", "language": "sql", "refs": [["stg_twitter_ads__line_item_keywords_report_tmp"], ["stg_twitter_ads__line_item_keywords_report_tmp"]], "sources": [], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars", "macro.twitter_ads_source.get_line_item_keywords_report_columns", "macro.fivetran_utils.fill_staging_columns", "macro.dbt.date_trunc", "macro.dbt_utils.generate_surrogate_key", "macro.fivetran_utils.fill_pass_through_columns"], "nodes": []}, "compiled_path": null}], "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp": [{"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5_twitter_ads_source", "name": "stg_twitter_ads__line_item_keywords_report_tmp", "resource_type": "model", "package_name": "twitter_ads_source", "path": "tmp/stg_twitter_ads__line_item_keywords_report_tmp.sql", "original_file_path": "models/tmp/stg_twitter_ads__line_item_keywords_report_tmp.sql", "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp", "fqn": ["twitter_ads_source", "tmp", "stg_twitter_ads__line_item_keywords_report_tmp"], "alias": "stg_twitter_ads__line_item_keywords_report_tmp", "checksum": {"name": "sha256", "checksum": "114060cd4737b070ccbc5aef04da886811de6b4bec7e6246e7e36df4f115d55e"}, "config": {"enabled": false, "alias": null, "schema": "twitter_ads_source", "database": null, "tags": [], "meta": {}, "materialized": "view", "incremental_strategy": null, "persist_docs": {}, "quoting": {}, "column_types": {}, "full_refresh": null, "unique_key": null, "on_schema_change": "ignore", "grants": {}, "packages": [], "docs": {"show": true, "node_color": null}, "post-hook": [], "pre-hook": []}, "tags": [], "description": "", "columns": {}, "meta": {}, "docs": {"show": true, "node_color": null}, "patch_path": null, "build_path": null, "deferred": false, "unrendered_config": {"materialized": "view", "schema": "twitter_ads_source", "enabled": false}, "created_at": 1679592107.9272199, "config_call_dict": {"enabled": false}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5_twitter_ads_source`.`stg_twitter_ads__line_item_keywords_report_tmp`", "raw_code": "{{ config(enabled=fivetran_utils.enabled_vars(['ad_reporting__twitter_ads_enabled','twitter_ads__using_keywords'])) }}\n\nselect * \nfrom {{ var('line_item_keywords_report') }}", "language": "sql", "refs": [], "sources": [["twitter_ads", "line_item_keywords_report"]], "metrics": [], "depends_on": {"macros": ["macro.fivetran_utils.enabled_vars"], "nodes": []}, "compiled_path": null}], "source.twitter_ads_source.twitter_ads.line_item_keywords_report": [{"database": "dbt-package-testing", "schema": "ad_reporting_integration_tests_5", "name": "line_item_keywords_report", "resource_type": "source", "package_name": "twitter_ads_source", "path": "models/src_twitter_ads.yml", "original_file_path": "models/src_twitter_ads.yml", "unique_id": "source.twitter_ads_source.twitter_ads.line_item_keywords_report", "fqn": ["twitter_ads_source", "twitter_ads", "line_item_keywords_report"], "source_name": "twitter_ads", "source_description": "", "loader": "fivetran", "identifier": "twitter_line_item_keywords_report_data", "quoting": {"database": null, "schema": null, "identifier": null, "column": null}, "loaded_at_field": "_fivetran_synced", "freshness": {"warn_after": {"count": 48, "period": "hour"}, "error_after": {"count": 168, "period": "hour"}, "filter": null}, "external": null, "description": "Each record represents the performance of a line item (ad group) and keyword combination on a given day.", "columns": {"_fivetran_synced": {"name": "_fivetran_synced", "description": "{{ doc('_fivetran_synced') }}", "meta": {}, "data_type": null, "quote": null, "tags": []}, "account_id": {"name": "account_id", "description": "The ID of the related account.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "billed_charge_local_micro": {"name": "billed_charge_local_micro", "description": "The spend for the line item + keyword on that day, in micros and in whichever currency was selected during account creation.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "clicks": {"name": "clicks", "description": "The clicks for the line item + keyword on that day. Includes clicks on the URL (shortened or regular links), profile pic, screen name, username, detail, hashtags, and likes.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "date": {"name": "date", "description": "The date of the performance.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "impressions": {"name": "impressions", "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.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "line_item_id": {"name": "line_item_id", "description": "The ID of the line item.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "url_clicks": {"name": "url_clicks", "description": "The url clicks for the line item + keyword on that day.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "segment": {"name": "segment", "description": "The keyword whose performance is being tracked.", "meta": {}, "data_type": null, "quote": null, "tags": []}, "placement": {"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`.", "meta": {}, "data_type": null, "quote": null, "tags": []}}, "meta": {}, "source_meta": {}, "tags": [], "config": {"enabled": false}, "patch_path": null, "unrendered_config": {"enabled": false}, "relation_name": "`dbt-package-testing`.`ad_reporting_integration_tests_5`.`twitter_line_item_keywords_report_data`", "created_at": 1679592114.1824481}]}, "parent_map": {"seed.ad_reporting_integration_tests.twitter_line_item_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data": [], "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_account_report_data": [], "seed.ad_reporting_integration_tests.twitter_line_item_report_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data": [], "seed.ad_reporting_integration_tests.apple_search_campaign_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.twitter_account_report_data": [], "seed.ad_reporting_integration_tests.reddit_ads_campaign_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data": [], "seed.ad_reporting_integration_tests.twitter_campaign_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data": [], "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.tiktok_ad_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data": [], "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data": [], "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data": [], "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data": [], "seed.ad_reporting_integration_tests.apple_search_organization_data": [], "seed.ad_reporting_integration_tests.tiktok_campaign_history_data": [], "seed.ad_reporting_integration_tests.tiktok_advertiser_data": [], "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_stats_data": [], "seed.ad_reporting_integration_tests.twitter_campaign_report_data": [], "seed.ad_reporting_integration_tests.google_ads_account_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_profile_data": [], "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data": [], "seed.ad_reporting_integration_tests.twitter_tweet_url_data": [], "seed.ad_reporting_integration_tests.apple_search_keyword_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.google_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_account_history_data": [], "seed.ad_reporting_integration_tests.apple_search_campaign_report_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.snapchat_campaign_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data": [], "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.apple_search_search_term_report_data": [], "seed.ad_reporting_integration_tests.reddit_ads_account_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data": [], "seed.ad_reporting_integration_tests.twitter_account_history_data": [], "seed.ad_reporting_integration_tests.snapchat_creative_history_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data": [], "seed.ad_reporting_integration_tests.apple_search_keyword_report_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data": [], "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.twitter_tweet_data": [], "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data": [], "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_report_data": [], "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data": [], "seed.ad_reporting_integration_tests.google_ads_account_stats_data": [], "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data": [], "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_history_data": [], "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data": [], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__account_history": ["model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_group_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": ["source.microsoft_ads_source.microsoft_ads.account_history"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": ["source.microsoft_ads_source.microsoft_ads.keyword_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": ["source.microsoft_ads_source.microsoft_ads.campaign_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": ["source.microsoft_ads_source.microsoft_ads.account_performance_daily_report"], "model.tiktok_ads.tiktok_ads__ad_group_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads.tiktok_ads__url_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads.tiktok_ads__campaign_report": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "model.tiktok_ads.tiktok_ads__ad_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads.tiktok_ads__advertiser_report": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "model.twitter_ads.twitter_ads__account_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "model.twitter_ads.twitter_ads__campaign_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__campaign_report"], "model.twitter_ads.twitter_ads__url_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__tweet", "model.twitter_ads_source.stg_twitter_ads__tweet_url"], "model.twitter_ads.twitter_ads__promoted_tweet_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__tweet"], "model.twitter_ads.twitter_ads__line_item_report": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__line_item_report"], "model.reddit_ads.reddit_ads__campaign_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__campaign_report"], "model.reddit_ads.reddit_ads__url_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.reddit_ads.reddit_ads__account_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__account_report"], "model.reddit_ads.reddit_ads__ad_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.reddit_ads.reddit_ads__ad_group_report": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_group_report", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.pinterest.pinterest_ads__url_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "model.pinterest.pinterest_ads__campaign_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__campaign_report"], "model.pinterest.pinterest_ads__keyword_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__keyword_history", "model.pinterest_source.stg_pinterest_ads__keyword_report"], "model.pinterest.pinterest_ads__advertiser_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__advertiser_report"], "model.pinterest.pinterest_ads__pin_promotion_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "model.pinterest.pinterest_ads__ad_group_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__ad_group_report", "model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__campaign_history"], "model.reddit_ads_source.stg_reddit_ads__ad_group": ["model.reddit_ads_source.stg_reddit_ads__ad_group_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"], "model.reddit_ads_source.stg_reddit_ads__ad": ["model.reddit_ads_source.stg_reddit_ads__ad_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_tmp"], "model.reddit_ads_source.stg_reddit_ads__campaign_report": ["model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__account": ["model.reddit_ads_source.stg_reddit_ads__account_tmp", "model.reddit_ads_source.stg_reddit_ads__account_tmp"], "model.reddit_ads_source.stg_reddit_ads__account_report": ["model.reddit_ads_source.stg_reddit_ads__account_report_tmp", "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__ad_report": ["model.reddit_ads_source.stg_reddit_ads__ad_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__campaign": ["model.reddit_ads_source.stg_reddit_ads__campaign_tmp", "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp", "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"], "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": ["source.reddit_ads_source.reddit_ads.campaign"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": ["source.reddit_ads_source.reddit_ads.ad_group_report"], "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": ["source.reddit_ads_source.reddit_ads.campaign_report"], "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": ["source.reddit_ads_source.reddit_ads.account_report"], "model.reddit_ads_source.stg_reddit_ads__account_tmp": ["source.reddit_ads_source.reddit_ads.account"], "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": ["source.reddit_ads_source.reddit_ads.ad_group"], "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": ["source.reddit_ads_source.reddit_ads.ad_report"], "model.reddit_ads_source.stg_reddit_ads__ad_tmp": ["source.reddit_ads_source.reddit_ads.ad"], "model.google_ads.google_ads__keyword_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_criterion_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__keyword_stats"], "model.google_ads.google_ads__campaign_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__campaign_stats"], "model.google_ads.google_ads__url_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history", "model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads.google_ads__ad_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_history", "model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads.google_ads__ad_group_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_group_stats", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads.google_ads__account_report": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__account_stats"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp", "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__campaign_history": ["model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp", "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp", "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__profile": ["model.amazon_ads_source.stg_amazon_ads__profile_tmp", "model.amazon_ads_source.stg_amazon_ads__profile_tmp"], "model.amazon_ads_source.stg_amazon_ads__keyword_history": ["model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp", "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp", "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"], "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": ["source.amazon_ads_source.amazon_ads.keyword_history"], "model.amazon_ads_source.stg_amazon_ads__profile_tmp": ["source.amazon_ads_source.amazon_ads.profile"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": ["source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": ["source.amazon_ads_source.amazon_ads.product_ad_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": ["source.amazon_ads_source.amazon_ads.ad_group_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": ["source.amazon_ads_source.amazon_ads.campaign_level_report"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": ["source.amazon_ads_source.amazon_ads.targeting_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": ["source.amazon_ads_source.amazon_ads.portfolio_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": ["source.amazon_ads_source.amazon_ads.campaign_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": ["source.amazon_ads_source.amazon_ads.ad_group_level_report"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": ["source.amazon_ads_source.amazon_ads.advertised_product_report"], "model.linkedin_source.stg_linkedin_ads__creative_history": ["model.linkedin_source.stg_linkedin_ads__creative_history_tmp", "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"], "model.linkedin_source.stg_linkedin_ads__campaign_history": ["model.linkedin_source.stg_linkedin_ads__campaign_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp", "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"], "model.linkedin_source.stg_linkedin_ads__account_history": ["model.linkedin_source.stg_linkedin_ads__account_history_tmp", "model.linkedin_source.stg_linkedin_ads__account_history_tmp"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": ["source.linkedin_source.linkedin.ad_analytics_by_creative"], "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": ["source.linkedin_source.linkedin.campaign_history"], "model.linkedin_source.stg_linkedin_ads__account_history_tmp": ["source.linkedin_source.linkedin.account_history"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": ["source.linkedin_source.linkedin.campaign_group_history"], "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": ["source.linkedin_source.linkedin.creative_history"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": ["source.linkedin_source.linkedin.ad_analytics_by_campaign"], "model.amazon_ads.amazon_ads__portfolio_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__search_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "model.amazon_ads.amazon_ads__ad_group_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__keyword_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history", "model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "model.amazon_ads.amazon_ads__campaign_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__account_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.amazon_ads__ad_report": ["model.amazon_ads.int_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__product_ad_history", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads.int_amazon_ads__portfolio_history": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "model.facebook_ads.facebook_ads__url_report": ["model.facebook_ads.int_facebook_ads__creative_history", "model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.facebook_ads__url_tags": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "model.facebook_ads.facebook_ads__campaign_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.facebook_ads__account_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad"], "model.facebook_ads.facebook_ads__ad_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.facebook_ads__ad_set_report": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads.int_facebook_ads__creative_history": ["model.facebook_ads.facebook_ads__url_tags", "model.facebook_ads_source.stg_facebook_ads__creative_history"], "model.snapchat_ads.snapchat_ads__ad_report": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "model.snapchat_ads.snapchat_ads__url_report": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads.snapchat_ads__account_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads.snapchat_ads__ad_squad_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads.snapchat_ads__campaign_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "model.snapchat_ads.snapchat_ads__creative_history_prep": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "model.google_ads_source.stg_google_ads__ad_group_stats": ["model.google_ads_source.stg_google_ads__ad_group_stats_tmp", "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"], "model.google_ads_source.stg_google_ads__account_stats": ["model.google_ads_source.stg_google_ads__account_stats_tmp", "model.google_ads_source.stg_google_ads__account_stats_tmp"], "model.google_ads_source.stg_google_ads__ad_group_history": ["model.google_ads_source.stg_google_ads__ad_group_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_history_tmp"], "model.google_ads_source.stg_google_ads__ad_history": ["model.google_ads_source.stg_google_ads__ad_history_tmp", "model.google_ads_source.stg_google_ads__ad_history_tmp"], "model.google_ads_source.stg_google_ads__keyword_stats": ["model.google_ads_source.stg_google_ads__keyword_stats_tmp", "model.google_ads_source.stg_google_ads__keyword_stats_tmp"], "model.google_ads_source.stg_google_ads__ad_stats": ["model.google_ads_source.stg_google_ads__ad_stats_tmp", "model.google_ads_source.stg_google_ads__ad_stats_tmp"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp", "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"], "model.google_ads_source.stg_google_ads__campaign_stats": ["model.google_ads_source.stg_google_ads__campaign_stats_tmp", "model.google_ads_source.stg_google_ads__campaign_stats_tmp"], "model.google_ads_source.stg_google_ads__campaign_history": ["model.google_ads_source.stg_google_ads__campaign_history_tmp", "model.google_ads_source.stg_google_ads__campaign_history_tmp"], "model.google_ads_source.stg_google_ads__account_history": ["model.google_ads_source.stg_google_ads__account_history_tmp", "model.google_ads_source.stg_google_ads__account_history_tmp"], "model.google_ads_source.stg_google_ads__account_stats_tmp": ["source.google_ads_source.google_ads.account_stats"], "model.google_ads_source.stg_google_ads__ad_group_history_tmp": ["source.google_ads_source.google_ads.ad_group_history"], "model.google_ads_source.stg_google_ads__campaign_stats_tmp": ["source.google_ads_source.google_ads.campaign_stats"], "model.google_ads_source.stg_google_ads__ad_stats_tmp": ["source.google_ads_source.google_ads.ad_stats"], "model.google_ads_source.stg_google_ads__campaign_history_tmp": ["source.google_ads_source.google_ads.campaign_history"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": ["source.google_ads_source.google_ads.ad_group_criterion_history"], "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": ["source.google_ads_source.google_ads.ad_group_stats"], "model.google_ads_source.stg_google_ads__keyword_stats_tmp": ["source.google_ads_source.google_ads.keyword_stats"], "model.google_ads_source.stg_google_ads__ad_history_tmp": ["source.google_ads_source.google_ads.ad_history"], "model.google_ads_source.stg_google_ads__account_history_tmp": ["source.google_ads_source.google_ads.account_history"], "model.apple_search_ads.apple_search_ads__ad_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__ad_group_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__keyword_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__search_term_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__organization", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "model.apple_search_ads.apple_search_ads__campaign_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads.apple_search_ads__organization_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.ad_reporting.ad_reporting__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report"], "model.ad_reporting.ad_reporting__account_report": ["model.ad_reporting.int_ad_reporting__account_report"], "model.ad_reporting.ad_reporting__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report"], "model.ad_reporting.ad_reporting__search_report": ["model.ad_reporting.int_ad_reporting__search_report"], "model.ad_reporting.ad_reporting__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report"], "model.ad_reporting.ad_reporting__url_report": ["model.ad_reporting.int_ad_reporting__url_report"], "model.ad_reporting.ad_reporting__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report"], "model.ad_reporting.int_ad_reporting__campaign_report": ["model.amazon_ads.amazon_ads__campaign_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.facebook_ads.facebook_ads__campaign_report", "model.google_ads.google_ads__campaign_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.pinterest.pinterest_ads__campaign_report", "model.reddit_ads.reddit_ads__campaign_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.twitter_ads.twitter_ads__campaign_report"], "model.ad_reporting.int_ad_reporting__keyword_report": ["model.amazon_ads.amazon_ads__keyword_report", "model.apple_search_ads.apple_search_ads__keyword_report", "model.google_ads.google_ads__keyword_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.pinterest.pinterest_ads__keyword_report"], "model.ad_reporting.int_ad_reporting__ad_report": ["model.amazon_ads.amazon_ads__ad_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.facebook_ads.facebook_ads__ad_report", "model.google_ads.google_ads__ad_report", "model.linkedin.linkedin_ads__creative_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.reddit_ads.reddit_ads__ad_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.twitter_ads.twitter_ads__promoted_tweet_report"], "model.ad_reporting.int_ad_reporting__account_report": ["model.amazon_ads.amazon_ads__account_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.facebook_ads.facebook_ads__account_report", "model.google_ads.google_ads__account_report", "model.linkedin.linkedin_ads__account_report", "model.microsoft_ads.microsoft_ads__account_report", "model.pinterest.pinterest_ads__advertiser_report", "model.reddit_ads.reddit_ads__account_report", "model.snapchat_ads.snapchat_ads__account_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.twitter_ads.twitter_ads__account_report"], "model.ad_reporting.int_ad_reporting__url_report": ["model.facebook_ads.facebook_ads__url_report", "model.google_ads.google_ads__url_report", "model.linkedin.linkedin_ads__url_report", "model.microsoft_ads.microsoft_ads__url_report", "model.pinterest.pinterest_ads__url_report", "model.reddit_ads.reddit_ads__url_report", "model.snapchat_ads.snapchat_ads__url_report", "model.tiktok_ads.tiktok_ads__url_report", "model.twitter_ads.twitter_ads__url_report"], "model.ad_reporting.int_ad_reporting__search_report": ["model.amazon_ads.amazon_ads__search_report", "model.apple_search_ads.apple_search_ads__search_term_report", "model.microsoft_ads.microsoft_ads__search_report"], "model.ad_reporting.int_ad_reporting__ad_group_report": ["model.amazon_ads.amazon_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_group_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.google_ads.google_ads__ad_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.microsoft_ads.microsoft_ads__ad_group_report", "model.pinterest.pinterest_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_group_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.tiktok_ads.tiktok_ads__ad_group_report", "model.twitter_ads.twitter_ads__line_item_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__organization": ["model.apple_search_ads_source.stg_apple_search_ads__organization_tmp", "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": ["source.apple_search_ads_source.apple_search_ads.search_term_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": ["source.apple_search_ads_source.apple_search_ads.campaign_history"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": ["source.apple_search_ads_source.apple_search_ads.keyword_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_group_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_group_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_history"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": ["source.apple_search_ads_source.apple_search_ads.campaign_report"], "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": ["source.apple_search_ads_source.apple_search_ads.organization"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": ["source.apple_search_ads_source.apple_search_ads.keyword_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": ["source.apple_search_ads_source.apple_search_ads.ad_level_report"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"], "model.pinterest_source.stg_pinterest_ads__keyword_report": ["model.pinterest_source.stg_pinterest_ads__keyword_report_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"], "model.pinterest_source.stg_pinterest_ads__ad_group_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"], "model.pinterest_source.stg_pinterest_ads__campaign_history": ["model.pinterest_source.stg_pinterest_ads__campaign_history_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"], "model.pinterest_source.stg_pinterest_ads__advertiser_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"], "model.pinterest_source.stg_pinterest_ads__advertiser_history": ["model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp", "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"], "model.pinterest_source.stg_pinterest_ads__campaign_report": ["model.pinterest_source.stg_pinterest_ads__campaign_report_tmp", "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"], "model.pinterest_source.stg_pinterest_ads__keyword_history": ["model.pinterest_source.stg_pinterest_ads__keyword_history_tmp", "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"], "model.pinterest_source.stg_pinterest_ads__ad_group_history": ["model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp", "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"], "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": ["source.pinterest_source.pinterest_ads.advertiser_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": ["source.pinterest_source.pinterest_ads.pin_promotion_report"], "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": ["source.pinterest_source.pinterest_ads.campaign_report"], "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": ["source.pinterest_source.pinterest_ads.advertiser_report"], "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": ["source.pinterest_source.pinterest_ads.keyword_report"], "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": ["source.pinterest_source.pinterest_ads.ad_group_report"], "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": ["source.pinterest_source.pinterest_ads.keyword_history"], "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": ["source.pinterest_source.pinterest_ads.campaign_history"], "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": ["source.pinterest_source.pinterest_ads.ad_group_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": ["source.pinterest_source.pinterest_ads.pin_promotion_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp", "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": ["source.tiktok_ads_source.tiktok_ads.ad_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": ["source.tiktok_ads_source.tiktok_ads.ad_history"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": ["source.tiktok_ads_source.tiktok_ads.adgroup_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": ["source.tiktok_ads_source.tiktok_ads.campaign_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": ["source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": ["source.tiktok_ads_source.tiktok_ads.campaign_history"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": ["source.tiktok_ads_source.tiktok_ads.advertiser"], "model.facebook_ads_source.stg_facebook_ads__basic_ad": ["model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp", "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"], "model.facebook_ads_source.stg_facebook_ads__creative_history": ["model.facebook_ads_source.stg_facebook_ads__creative_history_tmp", "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__campaign_history": ["model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp", "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__account_history": ["model.facebook_ads_source.stg_facebook_ads__account_history_tmp", "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__ad_history": ["model.facebook_ads_source.stg_facebook_ads__ad_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp", "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": ["source.facebook_ads_source.facebook_ads.ad_set_history"], "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": ["source.facebook_ads_source.facebook_ads.basic_ad"], "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": ["source.facebook_ads_source.facebook_ads.ad_history"], "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": ["source.facebook_ads_source.facebook_ads.campaign_history"], "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": ["source.facebook_ads_source.facebook_ads.creative_history"], "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": ["source.facebook_ads_source.facebook_ads.account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": ["source.snapchat_ads_source.snapchat_ads.creative_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": ["source.snapchat_ads_source.snapchat_ads.creative_url_tag_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": ["source.snapchat_ads_source.snapchat_ads.campaign_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": ["source.snapchat_ads_source.snapchat_ads.ad_squad_history"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": ["source.snapchat_ads_source.snapchat_ads.campaign_hourly_report"], "model.microsoft_ads.microsoft_ads__ad_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads.microsoft_ads__ad_group_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads.microsoft_ads__keyword_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "model.microsoft_ads.microsoft_ads__url_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads.microsoft_ads__account_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__account_history"], "model.microsoft_ads.microsoft_ads__search_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "model.microsoft_ads.microsoft_ads__campaign_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.twitter_ads_source.stg_twitter_ads__campaign_report": ["model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__line_item_history": ["model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__line_item_report": ["model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp", "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__campaign_history": ["model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp", "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"], "model.twitter_ads_source.stg_twitter_ads__tweet": ["model.twitter_ads_source.stg_twitter_ads__tweet_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"], "model.twitter_ads_source.stg_twitter_ads__account_history": ["model.twitter_ads_source.stg_twitter_ads__account_history_tmp", "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__tweet_url": ["model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp", "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"], "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": ["source.twitter_ads_source.twitter_ads.tweet_url"], "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": ["source.twitter_ads_source.twitter_ads.tweet"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": ["source.twitter_ads_source.twitter_ads.promoted_tweet_report"], "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": ["source.twitter_ads_source.twitter_ads.line_item_history"], "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": ["source.twitter_ads_source.twitter_ads.campaign_report"], "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": ["source.twitter_ads_source.twitter_ads.campaign_history"], "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": ["source.twitter_ads_source.twitter_ads.line_item_report"], "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": ["source.twitter_ads_source.twitter_ads.account_history"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": ["source.twitter_ads_source.twitter_ads.promoted_tweet_history"], "model.linkedin.linkedin_ads__campaign_group_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin.linkedin_ads__creative_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__creative_history"], "model.linkedin.linkedin_ads__campaign_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin.linkedin_ads__account_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin.linkedin_ads__url_report": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__creative_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479": ["model.microsoft_ads_source.stg_microsoft_ads__account_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99": ["model.tiktok_ads.tiktok_ads__advertiser_report"], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce": ["model.tiktok_ads.tiktok_ads__advertiser_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9": ["model.tiktok_ads.tiktok_ads__advertiser_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed": ["model.tiktok_ads.tiktok_ads__ad_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707": ["model.tiktok_ads.tiktok_ads__ad_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb": ["model.tiktok_ads.tiktok_ads__ad_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e": ["model.tiktok_ads.tiktok_ads__ad_group_report"], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4": ["model.tiktok_ads.tiktok_ads__ad_group_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e": ["model.tiktok_ads.tiktok_ads__ad_group_report"], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836": ["model.tiktok_ads.tiktok_ads__campaign_report"], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8": ["model.tiktok_ads.tiktok_ads__campaign_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19": ["model.tiktok_ads.tiktok_ads__campaign_report"], "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff": ["model.tiktok_ads.tiktok_ads__url_report"], "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0": ["model.tiktok_ads.tiktok_ads__url_report"], "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b": ["model.tiktok_ads.tiktok_ads__url_report"], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47": ["model.tiktok_ads.tiktok_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421": ["model.twitter_ads.twitter_ads__campaign_report"], "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a": ["model.twitter_ads.twitter_ads__line_item_report"], "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f": ["model.twitter_ads.twitter_ads__account_report"], "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec": [], "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39": [], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5": ["model.twitter_ads.twitter_ads__promoted_tweet_report"], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e": ["model.twitter_ads.twitter_ads__promoted_tweet_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082": ["model.twitter_ads.twitter_ads__promoted_tweet_report"], "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e": ["model.twitter_ads.twitter_ads__url_report"], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff": ["model.twitter_ads.twitter_ads__url_report"], "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90": ["model.reddit_ads.reddit_ads__account_report"], "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5": ["model.reddit_ads.reddit_ads__account_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6": ["model.reddit_ads.reddit_ads__account_report"], "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7": ["model.reddit_ads.reddit_ads__ad_group_report"], "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604": ["model.reddit_ads.reddit_ads__ad_group_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191": ["model.reddit_ads.reddit_ads__ad_group_report"], "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a": ["model.reddit_ads.reddit_ads__ad_report"], "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e": ["model.reddit_ads.reddit_ads__ad_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d": ["model.reddit_ads.reddit_ads__ad_report"], "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131": ["model.reddit_ads.reddit_ads__campaign_report"], "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49": ["model.reddit_ads.reddit_ads__campaign_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af": ["model.reddit_ads.reddit_ads__campaign_report"], "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da": ["model.reddit_ads.reddit_ads__url_report"], "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0": ["model.reddit_ads.reddit_ads__url_report"], "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb": ["model.reddit_ads.reddit_ads__url_report"], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958": ["model.reddit_ads.reddit_ads__url_report"], "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8": ["model.pinterest.pinterest_ads__url_report"], "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7": ["model.pinterest.pinterest_ads__ad_group_report"], "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2": ["model.pinterest.pinterest_ads__ad_group_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d": ["model.pinterest.pinterest_ads__ad_group_report"], "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf": ["model.pinterest.pinterest_ads__campaign_report"], "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2": ["model.pinterest.pinterest_ads__campaign_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279": ["model.pinterest.pinterest_ads__campaign_report"], "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca": ["model.pinterest.pinterest_ads__advertiser_report"], "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672": ["model.pinterest.pinterest_ads__advertiser_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11": ["model.pinterest.pinterest_ads__advertiser_report"], "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba": ["model.pinterest.pinterest_ads__keyword_report"], "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198": ["model.pinterest.pinterest_ads__keyword_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d": ["model.pinterest.pinterest_ads__keyword_report"], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd": ["model.pinterest.pinterest_ads__pin_promotion_report"], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561": ["model.pinterest.pinterest_ads__pin_promotion_report"], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3": ["model.pinterest.pinterest_ads__pin_promotion_report"], "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e": ["model.reddit_ads_source.stg_reddit_ads__account"], "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078": ["model.reddit_ads_source.stg_reddit_ads__account"], "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de": ["model.reddit_ads_source.stg_reddit_ads__account_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be": ["model.reddit_ads_source.stg_reddit_ads__account_report"], "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652": ["model.reddit_ads_source.stg_reddit_ads__ad"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd": ["model.reddit_ads_source.stg_reddit_ads__ad"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857": ["model.reddit_ads_source.stg_reddit_ads__ad_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a": ["model.reddit_ads_source.stg_reddit_ads__ad_report"], "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503": ["model.reddit_ads_source.stg_reddit_ads__ad_group"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2": ["model.reddit_ads_source.stg_reddit_ads__ad_group"], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report"], "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4": ["model.reddit_ads_source.stg_reddit_ads__campaign"], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682": ["model.reddit_ads_source.stg_reddit_ads__campaign"], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d": ["model.reddit_ads_source.stg_reddit_ads__campaign_report"], "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72": ["model.google_ads.google_ads__url_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f": ["model.google_ads.google_ads__url_report"], "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422": ["model.google_ads.google_ads__account_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e": ["model.google_ads.google_ads__account_report"], "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c": ["model.google_ads.google_ads__ad_group_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f": ["model.google_ads.google_ads__ad_group_report"], "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad": ["model.google_ads.google_ads__ad_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b": ["model.google_ads.google_ads__ad_report"], "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e": ["model.google_ads.google_ads__campaign_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469": ["model.google_ads.google_ads__campaign_report"], "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055": ["model.google_ads.google_ads__keyword_report"], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d": ["model.google_ads.google_ads__keyword_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382": ["model.amazon_ads_source.stg_amazon_ads__campaign_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197": ["model.amazon_ads_source.stg_amazon_ads__keyword_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history"], "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b": ["model.amazon_ads_source.stg_amazon_ads__profile"], "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474": ["model.linkedin_source.stg_linkedin_ads__creative_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2": ["model.linkedin_source.stg_linkedin_ads__campaign_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469": ["model.linkedin_source.stg_linkedin_ads__campaign_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793": ["model.linkedin_source.stg_linkedin_ads__campaign_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0": ["model.linkedin_source.stg_linkedin_ads__account_history"], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81": ["model.linkedin_source.stg_linkedin_ads__account_history"], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce": ["model.linkedin_source.stg_linkedin_ads__account_history"], "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66": ["model.amazon_ads.amazon_ads__account_report"], "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061": ["model.amazon_ads.amazon_ads__account_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2": ["model.amazon_ads.amazon_ads__account_report"], "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a": ["model.amazon_ads.amazon_ads__ad_group_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1": ["model.amazon_ads.amazon_ads__ad_group_report"], "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3": ["model.amazon_ads.amazon_ads__ad_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7": ["model.amazon_ads.amazon_ads__ad_report"], "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c": ["model.amazon_ads.amazon_ads__campaign_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0": ["model.amazon_ads.amazon_ads__campaign_report"], "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6": ["model.amazon_ads.amazon_ads__portfolio_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6": ["model.amazon_ads.amazon_ads__portfolio_report"], "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a": ["model.amazon_ads.amazon_ads__keyword_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80": ["model.amazon_ads.amazon_ads__keyword_report"], "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a": ["model.amazon_ads.amazon_ads__search_report"], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f": ["model.amazon_ads.amazon_ads__search_report"], "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be": ["model.facebook_ads.facebook_ads__url_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7": ["model.facebook_ads.facebook_ads__url_report"], "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238": ["model.facebook_ads.facebook_ads__ad_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738": ["model.facebook_ads.facebook_ads__ad_report"], "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4": ["model.facebook_ads.facebook_ads__ad_set_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f": ["model.facebook_ads.facebook_ads__ad_set_report"], "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21": ["model.facebook_ads.facebook_ads__campaign_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6": ["model.facebook_ads.facebook_ads__campaign_report"], "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024": ["model.facebook_ads.facebook_ads__account_report"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40": ["model.facebook_ads.facebook_ads__account_report"], "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3": ["model.facebook_ads.facebook_ads__url_tags"], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3": ["model.facebook_ads.facebook_ads__url_tags"], "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260": ["model.snapchat_ads.snapchat_ads__account_report"], "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b": ["model.snapchat_ads.snapchat_ads__account_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6": ["model.snapchat_ads.snapchat_ads__account_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe": ["model.snapchat_ads.snapchat_ads__ad_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744": ["model.snapchat_ads.snapchat_ads__ad_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57": ["model.snapchat_ads.snapchat_ads__ad_report"], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b": ["model.snapchat_ads.snapchat_ads__campaign_report"], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac": ["model.snapchat_ads.snapchat_ads__campaign_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e": ["model.snapchat_ads.snapchat_ads__campaign_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639": ["model.snapchat_ads.snapchat_ads__ad_squad_report"], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe": ["model.snapchat_ads.snapchat_ads__ad_squad_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c": ["model.snapchat_ads.snapchat_ads__ad_squad_report"], "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6": ["model.snapchat_ads.snapchat_ads__url_report"], "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78": ["model.snapchat_ads.snapchat_ads__url_report"], "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de": ["model.snapchat_ads.snapchat_ads__url_report"], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be": ["model.snapchat_ads.snapchat_ads__url_report"], "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f": ["model.google_ads_source.stg_google_ads__account_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1": ["model.google_ads_source.stg_google_ads__account_history"], "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be": ["model.google_ads_source.stg_google_ads__ad_group_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd": ["model.google_ads_source.stg_google_ads__ad_group_history"], "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248": ["model.google_ads_source.stg_google_ads__ad_history"], "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7": ["model.google_ads_source.stg_google_ads__ad_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b": ["model.google_ads_source.stg_google_ads__ad_history"], "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4": ["model.google_ads_source.stg_google_ads__ad_stats"], "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8": ["model.google_ads_source.stg_google_ads__ad_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451": ["model.google_ads_source.stg_google_ads__ad_stats"], "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75": ["model.google_ads_source.stg_google_ads__campaign_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86": ["model.google_ads_source.stg_google_ads__campaign_history"], "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history"], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786": ["model.google_ads_source.stg_google_ads__ad_group_stats"], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077": ["model.google_ads_source.stg_google_ads__ad_group_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020": ["model.google_ads_source.stg_google_ads__ad_group_stats"], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b": ["model.google_ads_source.stg_google_ads__campaign_stats"], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f": ["model.google_ads_source.stg_google_ads__campaign_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45": ["model.google_ads_source.stg_google_ads__campaign_stats"], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d": ["model.google_ads_source.stg_google_ads__keyword_stats"], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0": ["model.google_ads_source.stg_google_ads__keyword_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68": ["model.google_ads_source.stg_google_ads__keyword_stats"], "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b": ["model.google_ads_source.stg_google_ads__account_stats"], "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5": ["model.google_ads_source.stg_google_ads__account_stats"], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860": ["model.google_ads_source.stg_google_ads__account_stats"], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5": ["model.apple_search_ads.apple_search_ads__ad_group_report"], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c": ["model.apple_search_ads.apple_search_ads__ad_group_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9": ["model.apple_search_ads.apple_search_ads__ad_group_report"], "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c": ["model.apple_search_ads.apple_search_ads__ad_report"], "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17": ["model.apple_search_ads.apple_search_ads__ad_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1": ["model.apple_search_ads.apple_search_ads__ad_report"], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146": ["model.apple_search_ads.apple_search_ads__campaign_report"], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a": ["model.apple_search_ads.apple_search_ads__campaign_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f": ["model.apple_search_ads.apple_search_ads__campaign_report"], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db": ["model.apple_search_ads.apple_search_ads__keyword_report"], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82": ["model.apple_search_ads.apple_search_ads__keyword_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13": ["model.apple_search_ads.apple_search_ads__keyword_report"], "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8": ["model.apple_search_ads.apple_search_ads__organization_report"], "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523": ["model.apple_search_ads.apple_search_ads__organization_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3": ["model.apple_search_ads.apple_search_ads__organization_report"], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c": ["model.apple_search_ads.apple_search_ads__search_term_report"], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7": ["model.apple_search_ads.apple_search_ads__search_term_report"], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4": ["model.apple_search_ads.apple_search_ads__search_term_report"], "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022": ["model.ad_reporting.ad_reporting__account_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583": ["model.ad_reporting.ad_reporting__account_report"], "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842": ["model.ad_reporting.ad_reporting__ad_group_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a": ["model.ad_reporting.ad_reporting__ad_group_report"], "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152": ["model.ad_reporting.ad_reporting__ad_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55": ["model.ad_reporting.ad_reporting__ad_report"], "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b": ["model.ad_reporting.ad_reporting__campaign_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f": ["model.ad_reporting.ad_reporting__campaign_report"], "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334": ["model.ad_reporting.ad_reporting__keyword_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6": ["model.ad_reporting.ad_reporting__keyword_report"], "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb": ["model.ad_reporting.ad_reporting__search_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf": ["model.ad_reporting.ad_reporting__search_report"], "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6": ["model.ad_reporting.ad_reporting__url_report"], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424": ["model.ad_reporting.ad_reporting__url_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb": ["model.apple_search_ads_source.stg_apple_search_ads__organization"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a": ["model.apple_search_ads_source.stg_apple_search_ads__organization"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339": ["model.pinterest_source.stg_pinterest_ads__ad_group_history"], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341": ["model.pinterest_source.stg_pinterest_ads__campaign_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87": ["model.pinterest_source.stg_pinterest_ads__campaign_history"], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history"], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e": ["model.pinterest_source.stg_pinterest_ads__ad_group_report"], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b": ["model.pinterest_source.stg_pinterest_ads__advertiser_history"], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0": ["model.pinterest_source.stg_pinterest_ads__advertiser_report"], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238": ["model.pinterest_source.stg_pinterest_ads__campaign_report"], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc": ["model.pinterest_source.stg_pinterest_ads__campaign_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc": ["model.pinterest_source.stg_pinterest_ads__campaign_report"], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a": ["model.pinterest_source.stg_pinterest_ads__keyword_history"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877": ["model.pinterest_source.stg_pinterest_ads__keyword_history"], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300": ["model.pinterest_source.stg_pinterest_ads__keyword_report"], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48": ["model.pinterest_source.stg_pinterest_ads__keyword_report"], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6": ["model.pinterest_source.stg_pinterest_ads__keyword_report"], "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f": ["model.facebook_ads_source.stg_facebook_ads__account_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f": ["model.facebook_ads_source.stg_facebook_ads__account_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2": ["model.facebook_ads_source.stg_facebook_ads__account_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064": ["model.facebook_ads_source.stg_facebook_ads__ad_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4": ["model.facebook_ads_source.stg_facebook_ads__ad_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58": ["model.facebook_ads_source.stg_facebook_ads__ad_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2": ["model.facebook_ads_source.stg_facebook_ads__campaign_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562": ["model.facebook_ads_source.stg_facebook_ads__creative_history"], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7": ["model.facebook_ads_source.stg_facebook_ads__basic_ad"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e": ["model.microsoft_ads.microsoft_ads__account_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f": ["model.microsoft_ads.microsoft_ads__account_report"], "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9": ["model.microsoft_ads.microsoft_ads__ad_group_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3": ["model.microsoft_ads.microsoft_ads__ad_group_report"], "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125": ["model.microsoft_ads.microsoft_ads__ad_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686": ["model.microsoft_ads.microsoft_ads__ad_report"], "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8": ["model.microsoft_ads.microsoft_ads__campaign_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b": ["model.microsoft_ads.microsoft_ads__campaign_report"], "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b": ["model.microsoft_ads.microsoft_ads__keyword_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9": ["model.microsoft_ads.microsoft_ads__keyword_report"], "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d": ["model.microsoft_ads.microsoft_ads__search_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3": ["model.microsoft_ads.microsoft_ads__search_report"], "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a": ["model.microsoft_ads.microsoft_ads__url_report"], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7": ["model.microsoft_ads.microsoft_ads__url_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2": ["model.twitter_ads_source.stg_twitter_ads__account_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40": ["model.twitter_ads_source.stg_twitter_ads__account_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55": ["model.twitter_ads_source.stg_twitter_ads__campaign_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022": ["model.twitter_ads_source.stg_twitter_ads__line_item_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74": ["model.twitter_ads_source.stg_twitter_ads__tweet_url"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb": ["model.twitter_ads_source.stg_twitter_ads__campaign_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b": ["model.twitter_ads_source.stg_twitter_ads__line_item_report"], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd": ["model.twitter_ads_source.stg_twitter_ads__tweet"], "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95": ["model.twitter_ads_source.stg_twitter_ads__tweet"], "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842": ["model.linkedin.linkedin_ads__account_report"], "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53": ["model.linkedin.linkedin_ads__account_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c": ["model.linkedin.linkedin_ads__account_report"], "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1": ["model.linkedin.linkedin_ads__campaign_report"], "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15": ["model.linkedin.linkedin_ads__campaign_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3": ["model.linkedin.linkedin_ads__campaign_report"], "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b": ["model.linkedin.linkedin_ads__campaign_group_report"], "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf": ["model.linkedin.linkedin_ads__campaign_group_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6": ["model.linkedin.linkedin_ads__campaign_group_report"], "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020": ["model.linkedin.linkedin_ads__creative_report"], "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889": ["model.linkedin.linkedin_ads__creative_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f": ["model.linkedin.linkedin_ads__creative_report"], "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315": ["model.linkedin.linkedin_ads__url_report"], "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2": ["model.linkedin.linkedin_ads__url_report"], "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb": ["model.linkedin.linkedin_ads__url_report"], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d": ["model.linkedin.linkedin_ads__url_report"], "source.microsoft_ads_source.microsoft_ads.account_history": [], "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.ad_group_history": [], "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.ad_history": [], "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.campaign_history": [], "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.keyword_history": [], "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": [], "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": [], "source.reddit_ads_source.reddit_ads.account": [], "source.reddit_ads_source.reddit_ads.account_report": [], "source.reddit_ads_source.reddit_ads.ad": [], "source.reddit_ads_source.reddit_ads.ad_report": [], "source.reddit_ads_source.reddit_ads.ad_group": [], "source.reddit_ads_source.reddit_ads.ad_group_report": [], "source.reddit_ads_source.reddit_ads.campaign": [], "source.reddit_ads_source.reddit_ads.campaign_report": [], "source.amazon_ads_source.amazon_ads.ad_group_history": [], "source.amazon_ads_source.amazon_ads.ad_group_level_report": [], "source.amazon_ads_source.amazon_ads.advertised_product_report": [], "source.amazon_ads_source.amazon_ads.campaign_history": [], "source.amazon_ads_source.amazon_ads.campaign_level_report": [], "source.amazon_ads_source.amazon_ads.keyword_history": [], "source.amazon_ads_source.amazon_ads.portfolio_history": [], "source.amazon_ads_source.amazon_ads.product_ad_history": [], "source.amazon_ads_source.amazon_ads.profile": [], "source.amazon_ads_source.amazon_ads.targeting_keyword_report": [], "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": [], "source.linkedin_source.linkedin.ad_analytics_by_creative": [], "source.linkedin_source.linkedin.creative_history": [], "source.linkedin_source.linkedin.campaign_history": [], "source.linkedin_source.linkedin.campaign_group_history": [], "source.linkedin_source.linkedin.account_history": [], "source.linkedin_source.linkedin.ad_analytics_by_campaign": [], "source.google_ads_source.google_ads.ad_stats": [], "source.google_ads_source.google_ads.ad_history": [], "source.google_ads_source.google_ads.ad_group_history": [], "source.google_ads_source.google_ads.campaign_history": [], "source.google_ads_source.google_ads.account_history": [], "source.google_ads_source.google_ads.ad_group_criterion_history": [], "source.google_ads_source.google_ads.ad_group_stats": [], "source.google_ads_source.google_ads.campaign_stats": [], "source.google_ads_source.google_ads.keyword_stats": [], "source.google_ads_source.google_ads.account_stats": [], "source.apple_search_ads_source.apple_search_ads.ad_group_history": [], "source.apple_search_ads_source.apple_search_ads.ad_group_report": [], "source.apple_search_ads_source.apple_search_ads.ad_history": [], "source.apple_search_ads_source.apple_search_ads.ad_level_report": [], "source.apple_search_ads_source.apple_search_ads.campaign_history": [], "source.apple_search_ads_source.apple_search_ads.campaign_report": [], "source.apple_search_ads_source.apple_search_ads.keyword_history": [], "source.apple_search_ads_source.apple_search_ads.keyword_report": [], "source.apple_search_ads_source.apple_search_ads.organization": [], "source.apple_search_ads_source.apple_search_ads.search_term_report": [], "source.pinterest_source.pinterest_ads.pin_promotion_report": [], "source.pinterest_source.pinterest_ads.pin_promotion_history": [], "source.pinterest_source.pinterest_ads.campaign_history": [], "source.pinterest_source.pinterest_ads.ad_group_history": [], "source.pinterest_source.pinterest_ads.ad_group_report": [], "source.pinterest_source.pinterest_ads.advertiser_history": [], "source.pinterest_source.pinterest_ads.advertiser_report": [], "source.pinterest_source.pinterest_ads.campaign_report": [], "source.pinterest_source.pinterest_ads.keyword_history": [], "source.pinterest_source.pinterest_ads.keyword_report": [], "source.tiktok_ads_source.tiktok_ads.advertiser": [], "source.tiktok_ads_source.tiktok_ads.campaign_history": [], "source.tiktok_ads_source.tiktok_ads.adgroup_history": [], "source.tiktok_ads_source.tiktok_ads.ad_history": [], "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": [], "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": [], "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": [], "source.facebook_ads_source.facebook_ads.account_history": [], "source.facebook_ads_source.facebook_ads.ad_history": [], "source.facebook_ads_source.facebook_ads.ad_set_history": [], "source.facebook_ads_source.facebook_ads.basic_ad": [], "source.facebook_ads_source.facebook_ads.campaign_history": [], "source.facebook_ads_source.facebook_ads.creative_history": [], "source.snapchat_ads_source.snapchat_ads.ad_account_history": [], "source.snapchat_ads_source.snapchat_ads.ad_history": [], "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": [], "source.snapchat_ads_source.snapchat_ads.ad_squad_history": [], "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": [], "source.snapchat_ads_source.snapchat_ads.campaign_history": [], "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": [], "source.snapchat_ads_source.snapchat_ads.creative_history": [], "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": [], "source.twitter_ads_source.twitter_ads.account_history": [], "source.twitter_ads_source.twitter_ads.campaign_history": [], "source.twitter_ads_source.twitter_ads.line_item_history": [], "source.twitter_ads_source.twitter_ads.promoted_tweet_history": [], "source.twitter_ads_source.twitter_ads.tweet_url": [], "source.twitter_ads_source.twitter_ads.promoted_tweet_report": [], "source.twitter_ads_source.twitter_ads.tweet": [], "source.twitter_ads_source.twitter_ads.campaign_report": [], "source.twitter_ads_source.twitter_ads.line_item_report": [], "metric.ad_reporting.spend": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.clicks": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.impressions": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.cost_per_click": ["metric.ad_reporting.clicks", "metric.ad_reporting.spend"], "metric.ad_reporting.bounce_rate": ["metric.ad_reporting.clicks", "metric.ad_reporting.impressions", "metric.ad_reporting.impressions"], "metric.ad_reporting.clickthrough_rate": ["metric.ad_reporting.clicks", "metric.ad_reporting.impressions"], "metric.ad_reporting.active_ads": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.avg_spend_nonzero": ["model.ad_reporting.ad_reporting__ad_report"], "metric.ad_reporting.avg_spend": ["model.ad_reporting.ad_reporting__ad_report"]}, "child_map": {"seed.ad_reporting_integration_tests.twitter_line_item_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data": [], "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_account_report_data": [], "seed.ad_reporting_integration_tests.twitter_line_item_report_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data": [], "seed.ad_reporting_integration_tests.apple_search_campaign_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.twitter_account_report_data": [], "seed.ad_reporting_integration_tests.reddit_ads_campaign_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data": [], "seed.ad_reporting_integration_tests.twitter_campaign_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data": [], "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.tiktok_ad_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data": [], "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data": [], "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data": [], "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data": [], "seed.ad_reporting_integration_tests.apple_search_organization_data": [], "seed.ad_reporting_integration_tests.tiktok_campaign_history_data": [], "seed.ad_reporting_integration_tests.tiktok_advertiser_data": [], "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_stats_data": [], "seed.ad_reporting_integration_tests.twitter_campaign_report_data": [], "seed.ad_reporting_integration_tests.google_ads_account_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_profile_data": [], "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data": [], "seed.ad_reporting_integration_tests.twitter_tweet_url_data": [], "seed.ad_reporting_integration_tests.apple_search_keyword_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.google_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_account_history_data": [], "seed.ad_reporting_integration_tests.apple_search_campaign_report_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.snapchat_campaign_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data": [], "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.apple_search_search_term_report_data": [], "seed.ad_reporting_integration_tests.reddit_ads_account_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data": [], "seed.ad_reporting_integration_tests.twitter_account_history_data": [], "seed.ad_reporting_integration_tests.snapchat_creative_history_data": [], "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_history_data": [], "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data": [], "seed.ad_reporting_integration_tests.apple_search_keyword_report_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data": [], "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.twitter_tweet_data": [], "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data": [], "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data": [], "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data": [], "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data": [], "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_report_data": [], "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data": [], "seed.ad_reporting_integration_tests.google_ads_account_stats_data": [], "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data": [], "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data": [], "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data": [], "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data": [], "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data": [], "seed.ad_reporting_integration_tests.apple_search_ad_history_data": [], "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data": [], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report": ["model.microsoft_ads.microsoft_ads__account_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a", "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report": ["model.microsoft_ads.microsoft_ads__search_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c", "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report": ["model.microsoft_ads.microsoft_ads__keyword_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a", "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report": ["model.microsoft_ads.microsoft_ads__campaign_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762", "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history": ["model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c", "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report": ["model.microsoft_ads.microsoft_ads__ad_group_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history": ["model.microsoft_ads.microsoft_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history": ["model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report": ["model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841", "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8"], "model.microsoft_ads_source.stg_microsoft_ads__account_history": ["model.microsoft_ads.microsoft_ads__account_report", "model.microsoft_ads.microsoft_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479", "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history": ["model.microsoft_ads.microsoft_ads__ad_group_report", "model.microsoft_ads.microsoft_ads__ad_report", "model.microsoft_ads.microsoft_ads__campaign_report", "model.microsoft_ads.microsoft_ads__keyword_report", "model.microsoft_ads.microsoft_ads__search_report", "model.microsoft_ads.microsoft_ads__url_report", "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427", "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122"], "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history", "model.microsoft_ads_source.stg_microsoft_ads__ad_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__account_history", "model.microsoft_ads_source.stg_microsoft_ads__account_history"], "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"], "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history", "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"], "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history", "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"], "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report", "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"], "model.tiktok_ads.tiktok_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e", "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4", "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e"], "model.tiktok_ads.tiktok_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47", "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0", "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b", "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff"], "model.tiktok_ads.tiktok_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19", "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8", "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836"], "model.tiktok_ads.tiktok_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb", "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707", "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed"], "model.tiktok_ads.tiktok_ads__advertiser_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9", "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce", "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99"], "model.twitter_ads.twitter_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f", "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908", "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846", "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194"], "model.twitter_ads.twitter_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421", "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8", "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0", "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82"], "model.twitter_ads.twitter_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff", "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e", "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b", "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e", "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143"], "model.twitter_ads.twitter_ads__promoted_tweet_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082", "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5", "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e"], "model.twitter_ads.twitter_ads__line_item_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a", "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce", "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211", "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312"], "model.reddit_ads.reddit_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af", "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49", "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131"], "model.reddit_ads.reddit_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958", "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0", "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb", "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da"], "model.reddit_ads.reddit_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6", "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5", "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90"], "model.reddit_ads.reddit_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d", "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e", "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a"], "model.reddit_ads.reddit_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191", "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604", "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7"], "model.pinterest.pinterest_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8", "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e", "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502", "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a"], "model.pinterest.pinterest_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279", "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2", "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf"], "model.pinterest.pinterest_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d", "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba", "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198"], "model.pinterest.pinterest_ads__advertiser_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11", "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672", "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca"], "model.pinterest.pinterest_ads__pin_promotion_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3", "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd", "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561"], "model.pinterest.pinterest_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d", "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2", "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7"], "model.reddit_ads_source.stg_reddit_ads__ad_group": ["model.reddit_ads.reddit_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2", "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503"], "model.reddit_ads_source.stg_reddit_ads__ad": ["model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd", "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652"], "model.reddit_ads_source.stg_reddit_ads__campaign_report": ["model.reddit_ads.reddit_ads__campaign_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d", "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f"], "model.reddit_ads_source.stg_reddit_ads__account": ["model.reddit_ads.reddit_ads__account_report", "model.reddit_ads.reddit_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__campaign_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078", "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e"], "model.reddit_ads_source.stg_reddit_ads__account_report": ["model.reddit_ads.reddit_ads__account_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be", "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de"], "model.reddit_ads_source.stg_reddit_ads__ad_report": ["model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857"], "model.reddit_ads_source.stg_reddit_ads__campaign": ["model.reddit_ads.reddit_ads__ad_group_report", "model.reddit_ads.reddit_ads__ad_report", "model.reddit_ads.reddit_ads__campaign_report", "model.reddit_ads.reddit_ads__url_report", "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682", "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report": ["model.reddit_ads.reddit_ads__ad_group_report", "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788", "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d"], "model.reddit_ads_source.stg_reddit_ads__campaign_tmp": ["model.reddit_ads_source.stg_reddit_ads__campaign", "model.reddit_ads_source.stg_reddit_ads__campaign"], "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report", "model.reddit_ads_source.stg_reddit_ads__ad_group_report"], "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__campaign_report", "model.reddit_ads_source.stg_reddit_ads__campaign_report"], "model.reddit_ads_source.stg_reddit_ads__account_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__account_report", "model.reddit_ads_source.stg_reddit_ads__account_report"], "model.reddit_ads_source.stg_reddit_ads__account_tmp": ["model.reddit_ads_source.stg_reddit_ads__account", "model.reddit_ads_source.stg_reddit_ads__account"], "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad_group", "model.reddit_ads_source.stg_reddit_ads__ad_group"], "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad_report", "model.reddit_ads_source.stg_reddit_ads__ad_report"], "model.reddit_ads_source.stg_reddit_ads__ad_tmp": ["model.reddit_ads_source.stg_reddit_ads__ad", "model.reddit_ads_source.stg_reddit_ads__ad"], "model.google_ads.google_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d", "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055"], "model.google_ads.google_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469", "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e"], "model.google_ads.google_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f", "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72"], "model.google_ads.google_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b", "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad"], "model.google_ads.google_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f", "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c"], "model.google_ads.google_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e", "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report": ["model.amazon_ads.amazon_ads__account_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__portfolio_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313", "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report": ["model.amazon_ads.amazon_ads__ad_group_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94", "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report": ["model.amazon_ads.amazon_ads__ad_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d", "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history": ["model.amazon_ads.amazon_ads__portfolio_report", "model.amazon_ads.int_amazon_ads__portfolio_history", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050", "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02"], "model.amazon_ads_source.stg_amazon_ads__campaign_history": ["model.amazon_ads.amazon_ads__account_report", "model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__portfolio_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382", "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history": ["model.amazon_ads.amazon_ads__ad_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4", "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report": ["model.amazon_ads.amazon_ads__keyword_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb", "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7"], "model.amazon_ads_source.stg_amazon_ads__profile": ["model.amazon_ads.amazon_ads__account_report", "model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__portfolio_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b"], "model.amazon_ads_source.stg_amazon_ads__keyword_history": ["model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197", "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history": ["model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9", "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report": ["model.amazon_ads.amazon_ads__search_report", "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693", "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06"], "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__keyword_history", "model.amazon_ads_source.stg_amazon_ads__keyword_history"], "model.amazon_ads_source.stg_amazon_ads__profile_tmp": ["model.amazon_ads_source.stg_amazon_ads__profile", "model.amazon_ads_source.stg_amazon_ads__profile"], "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report", "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history", "model.amazon_ads_source.stg_amazon_ads__product_ad_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history", "model.amazon_ads_source.stg_amazon_ads__ad_group_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report", "model.amazon_ads_source.stg_amazon_ads__campaign_level_report"], "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report", "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"], "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history", "model.amazon_ads_source.stg_amazon_ads__portfolio_history"], "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp": ["model.amazon_ads_source.stg_amazon_ads__campaign_history", "model.amazon_ads_source.stg_amazon_ads__campaign_history"], "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report", "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"], "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report", "model.amazon_ads_source.stg_amazon_ads__advertised_product_report"], "model.linkedin_source.stg_linkedin_ads__creative_history": ["model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474"], "model.linkedin_source.stg_linkedin_ads__campaign_history": ["model.linkedin.linkedin_ads__account_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign": ["model.linkedin.linkedin_ads__account_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history": ["model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d", "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea"], "model.linkedin_source.stg_linkedin_ads__account_history": ["model.linkedin.linkedin_ads__account_report", "model.linkedin.linkedin_ads__campaign_group_report", "model.linkedin.linkedin_ads__campaign_report", "model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce", "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0", "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative": ["model.linkedin.linkedin_ads__creative_report", "model.linkedin.linkedin_ads__url_report", "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b", "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"], "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp": ["model.linkedin_source.stg_linkedin_ads__campaign_history", "model.linkedin_source.stg_linkedin_ads__campaign_history"], "model.linkedin_source.stg_linkedin_ads__account_history_tmp": ["model.linkedin_source.stg_linkedin_ads__account_history", "model.linkedin_source.stg_linkedin_ads__account_history"], "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history", "model.linkedin_source.stg_linkedin_ads__campaign_group_history"], "model.linkedin_source.stg_linkedin_ads__creative_history_tmp": ["model.linkedin_source.stg_linkedin_ads__creative_history", "model.linkedin_source.stg_linkedin_ads__creative_history"], "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign", "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"], "model.amazon_ads.amazon_ads__portfolio_report": ["test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6", "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6"], "model.amazon_ads.amazon_ads__search_report": ["model.ad_reporting.int_ad_reporting__search_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f", "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a"], "model.amazon_ads.amazon_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1", "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a"], "model.amazon_ads.amazon_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80", "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a"], "model.amazon_ads.amazon_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0", "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c"], "model.amazon_ads.amazon_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2", "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061", "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66"], "model.amazon_ads.amazon_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7", "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3"], "model.amazon_ads.int_amazon_ads__portfolio_history": ["model.amazon_ads.amazon_ads__ad_group_report", "model.amazon_ads.amazon_ads__ad_report", "model.amazon_ads.amazon_ads__campaign_report", "model.amazon_ads.amazon_ads__keyword_report", "model.amazon_ads.amazon_ads__search_report"], "model.facebook_ads.facebook_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7", "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be"], "model.facebook_ads.facebook_ads__url_tags": ["model.facebook_ads.int_facebook_ads__creative_history", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3", "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3"], "model.facebook_ads.facebook_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6", "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21"], "model.facebook_ads.facebook_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40", "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024"], "model.facebook_ads.facebook_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738", "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238"], "model.facebook_ads.facebook_ads__ad_set_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f", "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4"], "model.facebook_ads.int_facebook_ads__creative_history": ["model.facebook_ads.facebook_ads__url_report"], "model.snapchat_ads.snapchat_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57", "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744", "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe"], "model.snapchat_ads.snapchat_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be", "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78", "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de", "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6"], "model.snapchat_ads.snapchat_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6", "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b", "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260"], "model.snapchat_ads.snapchat_ads__ad_squad_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c", "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe", "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639"], "model.snapchat_ads.snapchat_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e", "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac", "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b"], "model.snapchat_ads.snapchat_ads__creative_history_prep": ["model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__url_report"], "model.google_ads_source.stg_google_ads__ad_group_stats": ["model.google_ads.google_ads__ad_group_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020", "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077", "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786"], "model.google_ads_source.stg_google_ads__account_stats": ["model.google_ads.google_ads__account_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860", "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b", "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5"], "model.google_ads_source.stg_google_ads__ad_group_history": ["model.google_ads.google_ads__ad_group_report", "model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__keyword_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd", "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be"], "model.google_ads_source.stg_google_ads__ad_history": ["model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b", "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248"], "model.google_ads_source.stg_google_ads__keyword_stats": ["model.google_ads.google_ads__keyword_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68", "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d", "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0"], "model.google_ads_source.stg_google_ads__ad_stats": ["model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451", "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8", "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history": ["model.google_ads.google_ads__keyword_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816", "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476"], "model.google_ads_source.stg_google_ads__campaign_stats": ["model.google_ads.google_ads__campaign_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45", "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f", "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b"], "model.google_ads_source.stg_google_ads__campaign_history": ["model.google_ads.google_ads__ad_group_report", "model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__campaign_report", "model.google_ads.google_ads__keyword_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86", "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75"], "model.google_ads_source.stg_google_ads__account_history": ["model.google_ads.google_ads__account_report", "model.google_ads.google_ads__ad_group_report", "model.google_ads.google_ads__ad_report", "model.google_ads.google_ads__campaign_report", "model.google_ads.google_ads__keyword_report", "model.google_ads.google_ads__url_report", "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1", "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f"], "model.google_ads_source.stg_google_ads__account_stats_tmp": ["model.google_ads_source.stg_google_ads__account_stats", "model.google_ads_source.stg_google_ads__account_stats"], "model.google_ads_source.stg_google_ads__ad_group_history_tmp": ["model.google_ads_source.stg_google_ads__ad_group_history", "model.google_ads_source.stg_google_ads__ad_group_history"], "model.google_ads_source.stg_google_ads__campaign_stats_tmp": ["model.google_ads_source.stg_google_ads__campaign_stats", "model.google_ads_source.stg_google_ads__campaign_stats"], "model.google_ads_source.stg_google_ads__ad_stats_tmp": ["model.google_ads_source.stg_google_ads__ad_stats", "model.google_ads_source.stg_google_ads__ad_stats"], "model.google_ads_source.stg_google_ads__campaign_history_tmp": ["model.google_ads_source.stg_google_ads__campaign_history", "model.google_ads_source.stg_google_ads__campaign_history"], "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history", "model.google_ads_source.stg_google_ads__ad_group_criterion_history"], "model.google_ads_source.stg_google_ads__ad_group_stats_tmp": ["model.google_ads_source.stg_google_ads__ad_group_stats", "model.google_ads_source.stg_google_ads__ad_group_stats"], "model.google_ads_source.stg_google_ads__keyword_stats_tmp": ["model.google_ads_source.stg_google_ads__keyword_stats", "model.google_ads_source.stg_google_ads__keyword_stats"], "model.google_ads_source.stg_google_ads__ad_history_tmp": ["model.google_ads_source.stg_google_ads__ad_history", "model.google_ads_source.stg_google_ads__ad_history"], "model.google_ads_source.stg_google_ads__account_history_tmp": ["model.google_ads_source.stg_google_ads__account_history", "model.google_ads_source.stg_google_ads__account_history"], "model.apple_search_ads.apple_search_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1", "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c", "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17"], "model.apple_search_ads.apple_search_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9", "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5", "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c"], "model.apple_search_ads.apple_search_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13", "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82", "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db"], "model.apple_search_ads.apple_search_ads__search_term_report": ["model.ad_reporting.int_ad_reporting__search_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4", "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c", "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7"], "model.apple_search_ads.apple_search_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f", "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146", "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a"], "model.apple_search_ads.apple_search_ads__organization_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3", "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523", "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8"], "model.ad_reporting.ad_reporting__campaign_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f", "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b"], "model.ad_reporting.ad_reporting__account_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583", "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022"], "model.ad_reporting.ad_reporting__ad_group_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a", "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842"], "model.ad_reporting.ad_reporting__search_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf", "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb"], "model.ad_reporting.ad_reporting__ad_report": ["metric.ad_reporting.active_ads", "metric.ad_reporting.avg_spend", "metric.ad_reporting.avg_spend_nonzero", "metric.ad_reporting.clicks", "metric.ad_reporting.impressions", "metric.ad_reporting.spend", "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55", "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152"], "model.ad_reporting.ad_reporting__url_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424", "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6"], "model.ad_reporting.ad_reporting__keyword_report": ["test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6", "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334"], "model.ad_reporting.int_ad_reporting__campaign_report": ["model.ad_reporting.ad_reporting__campaign_report"], "model.ad_reporting.int_ad_reporting__keyword_report": ["model.ad_reporting.ad_reporting__keyword_report"], "model.ad_reporting.int_ad_reporting__ad_report": ["model.ad_reporting.ad_reporting__ad_report"], "model.ad_reporting.int_ad_reporting__account_report": ["model.ad_reporting.ad_reporting__account_report"], "model.ad_reporting.int_ad_reporting__url_report": ["model.ad_reporting.ad_reporting__url_report"], "model.ad_reporting.int_ad_reporting__search_report": ["model.ad_reporting.ad_reporting__search_report"], "model.ad_reporting.int_ad_reporting__ad_group_report": ["model.ad_reporting.ad_reporting__ad_group_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history": ["model.apple_search_ads.apple_search_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.apple_search_ads.apple_search_ads__keyword_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.apple_search_ads.apple_search_ads__search_term_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report": ["model.apple_search_ads.apple_search_ads__ad_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report": ["model.apple_search_ads.apple_search_ads__campaign_report", "model.apple_search_ads.apple_search_ads__organization_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728", "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3"], "model.apple_search_ads_source.stg_apple_search_ads__organization": ["model.apple_search_ads.apple_search_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.apple_search_ads.apple_search_ads__campaign_report", "model.apple_search_ads.apple_search_ads__keyword_report", "model.apple_search_ads.apple_search_ads__organization_report", "model.apple_search_ads.apple_search_ads__search_term_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a", "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report": ["model.apple_search_ads.apple_search_ads__keyword_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history": ["model.apple_search_ads.apple_search_ads__keyword_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2", "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report": ["model.apple_search_ads.apple_search_ads__search_term_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344", "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad", "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history": ["model.apple_search_ads.apple_search_ads__ad_group_report", "model.apple_search_ads.apple_search_ads__ad_report", "model.apple_search_ads.apple_search_ads__keyword_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history": ["model.apple_search_ads.apple_search_ads__ad_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report": ["model.apple_search_ads.apple_search_ads__ad_group_report", "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1", "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b"], "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report", "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history", "model.apple_search_ads_source.stg_apple_search_ads__campaign_history"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history", "model.apple_search_ads_source.stg_apple_search_ads__keyword_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"], "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history", "model.apple_search_ads_source.stg_apple_search_ads__ad_history"], "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report", "model.apple_search_ads_source.stg_apple_search_ads__campaign_report"], "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__organization", "model.apple_search_ads_source.stg_apple_search_ads__organization"], "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report", "model.apple_search_ads_source.stg_apple_search_ads__keyword_report"], "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report", "model.apple_search_ads_source.stg_apple_search_ads__ad_report"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history": ["model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9", "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34"], "model.pinterest_source.stg_pinterest_ads__keyword_report": ["model.pinterest.pinterest_ads__keyword_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6", "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300", "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48"], "model.pinterest_source.stg_pinterest_ads__ad_group_report": ["model.pinterest.pinterest_ads__ad_group_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e", "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471", "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c"], "model.pinterest_source.stg_pinterest_ads__campaign_history": ["model.pinterest.pinterest_ads__ad_group_report", "model.pinterest.pinterest_ads__campaign_report", "model.pinterest.pinterest_ads__keyword_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87", "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341"], "model.pinterest_source.stg_pinterest_ads__advertiser_report": ["model.pinterest.pinterest_ads__advertiser_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0", "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff", "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95"], "model.pinterest_source.stg_pinterest_ads__advertiser_history": ["model.pinterest.pinterest_ads__ad_group_report", "model.pinterest.pinterest_ads__advertiser_report", "model.pinterest.pinterest_ads__campaign_report", "model.pinterest.pinterest_ads__keyword_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b", "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb"], "model.pinterest_source.stg_pinterest_ads__campaign_report": ["model.pinterest.pinterest_ads__campaign_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc", "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc", "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238"], "model.pinterest_source.stg_pinterest_ads__keyword_history": ["model.pinterest.pinterest_ads__keyword_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877", "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report": ["model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024", "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1", "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab"], "model.pinterest_source.stg_pinterest_ads__ad_group_history": ["model.pinterest.pinterest_ads__ad_group_report", "model.pinterest.pinterest_ads__keyword_report", "model.pinterest.pinterest_ads__pin_promotion_report", "model.pinterest.pinterest_ads__url_report", "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339", "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be"], "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp": ["model.pinterest_source.stg_pinterest_ads__advertiser_history", "model.pinterest_source.stg_pinterest_ads__advertiser_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report", "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"], "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp": ["model.pinterest_source.stg_pinterest_ads__campaign_report", "model.pinterest_source.stg_pinterest_ads__campaign_report"], "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp": ["model.pinterest_source.stg_pinterest_ads__advertiser_report", "model.pinterest_source.stg_pinterest_ads__advertiser_report"], "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp": ["model.pinterest_source.stg_pinterest_ads__keyword_report", "model.pinterest_source.stg_pinterest_ads__keyword_report"], "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp": ["model.pinterest_source.stg_pinterest_ads__ad_group_report", "model.pinterest_source.stg_pinterest_ads__ad_group_report"], "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp": ["model.pinterest_source.stg_pinterest_ads__keyword_history", "model.pinterest_source.stg_pinterest_ads__keyword_history"], "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp": ["model.pinterest_source.stg_pinterest_ads__campaign_history", "model.pinterest_source.stg_pinterest_ads__campaign_history"], "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp": ["model.pinterest_source.stg_pinterest_ads__ad_group_history", "model.pinterest_source.stg_pinterest_ads__ad_group_history"], "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history", "model.pinterest_source.stg_pinterest_ads__pin_promotion_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly": ["model.tiktok_ads.tiktok_ads__campaign_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34", "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb", "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly": ["model.tiktok_ads.tiktok_ads__ad_group_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history": ["model.tiktok_ads.tiktok_ads__ad_group_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly": ["model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser": ["model.tiktok_ads.tiktok_ads__ad_group_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def", "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history": ["model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__advertiser_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1", "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history": ["model.tiktok_ads.tiktok_ads__ad_group_report", "model.tiktok_ads.tiktok_ads__ad_report", "model.tiktok_ads.tiktok_ads__campaign_report", "model.tiktok_ads.tiktok_ads__url_report", "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b", "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1"], "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_history"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly", "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"], "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history", "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"], "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser", "model.tiktok_ads_source.stg_tiktok_ads__advertiser"], "model.facebook_ads_source.stg_facebook_ads__basic_ad": ["model.facebook_ads.facebook_ads__account_report", "model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7", "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b", "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc"], "model.facebook_ads_source.stg_facebook_ads__creative_history": ["model.facebook_ads.facebook_ads__url_tags", "model.facebook_ads.int_facebook_ads__creative_history", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562", "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f", "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261"], "model.facebook_ads_source.stg_facebook_ads__campaign_history": ["model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2", "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852", "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270"], "model.facebook_ads_source.stg_facebook_ads__account_history": ["model.facebook_ads.facebook_ads__account_report", "model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2", "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f", "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f"], "model.facebook_ads_source.stg_facebook_ads__ad_history": ["model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__campaign_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history": ["model.facebook_ads.facebook_ads__ad_report", "model.facebook_ads.facebook_ads__ad_set_report", "model.facebook_ads.facebook_ads__url_report", "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb", "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa"], "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history", "model.facebook_ads_source.stg_facebook_ads__ad_set_history"], "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp": ["model.facebook_ads_source.stg_facebook_ads__basic_ad", "model.facebook_ads_source.stg_facebook_ads__basic_ad"], "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__ad_history", "model.facebook_ads_source.stg_facebook_ads__ad_history"], "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__campaign_history", "model.facebook_ads_source.stg_facebook_ads__campaign_history"], "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__creative_history", "model.facebook_ads_source.stg_facebook_ads__creative_history"], "model.facebook_ads_source.stg_facebook_ads__account_history_tmp": ["model.facebook_ads_source.stg_facebook_ads__account_history", "model.facebook_ads_source.stg_facebook_ads__account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report": ["model.snapchat_ads.snapchat_ads__ad_squad_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99", "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380", "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history": ["model.snapchat_ads.snapchat_ads__creative_history_prep", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe", "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824", "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report": ["model.snapchat_ads.snapchat_ads__campaign_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history": ["model.snapchat_ads.snapchat_ads__account_report", "model.snapchat_ads.snapchat_ads__ad_squad_report", "model.snapchat_ads.snapchat_ads__campaign_report", "model.snapchat_ads.snapchat_ads__url_report", "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec", "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0"], "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history", "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history", "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_history"], "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history", "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"], "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report", "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"], "model.microsoft_ads.microsoft_ads__ad_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686", "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125"], "model.microsoft_ads.microsoft_ads__ad_group_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3", "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9"], "model.microsoft_ads.microsoft_ads__keyword_report": ["model.ad_reporting.int_ad_reporting__keyword_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9", "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b"], "model.microsoft_ads.microsoft_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7", "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a"], "model.microsoft_ads.microsoft_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f", "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e"], "model.microsoft_ads.microsoft_ads__search_report": ["model.ad_reporting.int_ad_reporting__search_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3", "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d"], "model.microsoft_ads.microsoft_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b", "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8"], "model.twitter_ads_source.stg_twitter_ads__campaign_report": ["model.twitter_ads.twitter_ads__campaign_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4"], "model.twitter_ads_source.stg_twitter_ads__line_item_history": ["model.twitter_ads.twitter_ads__line_item_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809"], "model.twitter_ads_source.stg_twitter_ads__line_item_report": ["model.twitter_ads.twitter_ads__line_item_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7", "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb"], "model.twitter_ads_source.stg_twitter_ads__campaign_history": ["model.twitter_ads.twitter_ads__campaign_report", "model.twitter_ads.twitter_ads__line_item_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55", "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report": ["model.twitter_ads.twitter_ads__account_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598"], "model.twitter_ads_source.stg_twitter_ads__tweet": ["model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd", "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95"], "model.twitter_ads_source.stg_twitter_ads__account_history": ["model.twitter_ads.twitter_ads__account_report", "model.twitter_ads.twitter_ads__campaign_report", "model.twitter_ads.twitter_ads__line_item_report", "model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40", "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2"], "model.twitter_ads_source.stg_twitter_ads__tweet_url": ["model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74", "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be", "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history": ["model.twitter_ads.twitter_ads__promoted_tweet_report", "model.twitter_ads.twitter_ads__url_report", "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef", "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09"], "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp": ["model.twitter_ads_source.stg_twitter_ads__tweet_url", "model.twitter_ads_source.stg_twitter_ads__tweet_url"], "model.twitter_ads_source.stg_twitter_ads__tweet_tmp": ["model.twitter_ads_source.stg_twitter_ads__tweet", "model.twitter_ads_source.stg_twitter_ads__tweet"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"], "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__line_item_history", "model.twitter_ads_source.stg_twitter_ads__line_item_history"], "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__campaign_report", "model.twitter_ads_source.stg_twitter_ads__campaign_report"], "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__campaign_history", "model.twitter_ads_source.stg_twitter_ads__campaign_history"], "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp": ["model.twitter_ads_source.stg_twitter_ads__line_item_report", "model.twitter_ads_source.stg_twitter_ads__line_item_report"], "model.twitter_ads_source.stg_twitter_ads__account_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__account_history", "model.twitter_ads_source.stg_twitter_ads__account_history"], "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history", "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"], "model.linkedin.linkedin_ads__campaign_group_report": ["model.ad_reporting.int_ad_reporting__campaign_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6", "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf", "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b"], "model.linkedin.linkedin_ads__creative_report": ["model.ad_reporting.int_ad_reporting__ad_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f", "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889", "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020"], "model.linkedin.linkedin_ads__campaign_report": ["model.ad_reporting.int_ad_reporting__ad_group_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3", "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15", "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1"], "model.linkedin.linkedin_ads__account_report": ["model.ad_reporting.int_ad_reporting__account_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c", "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842", "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53"], "model.linkedin.linkedin_ads__url_report": ["model.ad_reporting.int_ad_reporting__url_report", "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d", "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb", "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2", "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315"], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a": [], "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc": [], "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c": [], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99": [], "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9": [], "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed": [], "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb": [], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e": [], "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e": [], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836": [], "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19": [], "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff": [], "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0": [], "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b": [], "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47": [], "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8": [], "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0": [], "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421": [], "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce": [], "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211": [], "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a": [], "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846": [], "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194": [], "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f": [], "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec": [], "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39": [], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5": [], "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082": [], "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b": [], "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e": [], "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143": [], "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e": [], "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff": [], "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90": [], "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6": [], "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7": [], "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191": [], "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a": [], "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d": [], "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131": [], "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af": [], "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da": [], "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0": [], "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb": [], "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958": [], "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e": [], "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502": [], "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8": [], "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7": [], "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d": [], "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf": [], "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279": [], "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca": [], "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11": [], "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba": [], "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d": [], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd": [], "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561": [], "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3": [], "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e": [], "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078": [], "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be": [], "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a": [], "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2": [], "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788": [], "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4": [], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682": [], "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f": [], "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d": [], "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f": [], "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e": [], "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f": [], "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b": [], "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469": [], "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055": [], "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d": [], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9": [], "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94": [], "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d": [], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382": [], "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313": [], "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197": [], "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050": [], "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4": [], "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b": [], "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb": [], "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06": [], "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a": [], "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d": [], "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d": [], "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da": [], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0": [], "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81": [], "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce": [], "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66": [], "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2": [], "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1": [], "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7": [], "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0": [], "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6": [], "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80": [], "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a": [], "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f": [], "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7": [], "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738": [], "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f": [], "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6": [], "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40": [], "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3": [], "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3": [], "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260": [], "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6": [], "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe": [], "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57": [], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b": [], "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e": [], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639": [], "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c": [], "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6": [], "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78": [], "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de": [], "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be": [], "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd": [], "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248": [], "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b": [], "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4": [], "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451": [], "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786": [], "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020": [], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b": [], "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45": [], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d": [], "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68": [], "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b": [], "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5": [], "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860": [], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5": [], "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9": [], "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c": [], "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1": [], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146": [], "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f": [], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db": [], "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13": [], "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8": [], "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3": [], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c": [], "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7": [], "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4": [], "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583": [], "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a": [], "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55": [], "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f": [], "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6": [], "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf": [], "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6": [], "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad": [], "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302": [], "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344": [], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339": [], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87": [], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9": [], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1": [], "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024": [], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c": [], "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e": [], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b": [], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95": [], "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0": [], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238": [], "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc": [], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877": [], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300": [], "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48": [], "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6": [], "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb": [], "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c": [], "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34": [], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f": [], "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb": [], "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef": [], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852": [], "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2": [], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f": [], "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562": [], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc": [], "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b": [], "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99": [], "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b": [], "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe": [], "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f": [], "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3": [], "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686": [], "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b": [], "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9": [], "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3": [], "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a": [], "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7": [], "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598": [], "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f": [], "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec": [], "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13": [], "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6": [], "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd": [], "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95": [], "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842": [], "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c": [], "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1": [], "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3": [], "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b": [], "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6": [], "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020": [], "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f": [], "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315": [], "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2": [], "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb": [], "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d": [], "source.microsoft_ads_source.microsoft_ads.account_history": ["model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"], "source.microsoft_ads_source.microsoft_ads.account_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_group_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_group_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_history": ["model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"], "source.microsoft_ads_source.microsoft_ads.ad_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.campaign_history": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"], "source.microsoft_ads_source.microsoft_ads.campaign_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.keyword_history": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"], "source.microsoft_ads_source.microsoft_ads.keyword_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"], "source.microsoft_ads_source.microsoft_ads.search_query_performance_daily_report": ["model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"], "source.reddit_ads_source.reddit_ads.account": ["model.reddit_ads_source.stg_reddit_ads__account_tmp"], "source.reddit_ads_source.reddit_ads.account_report": ["model.reddit_ads_source.stg_reddit_ads__account_report_tmp"], "source.reddit_ads_source.reddit_ads.ad": ["model.reddit_ads_source.stg_reddit_ads__ad_tmp"], "source.reddit_ads_source.reddit_ads.ad_report": ["model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"], "source.reddit_ads_source.reddit_ads.ad_group": ["model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"], "source.reddit_ads_source.reddit_ads.ad_group_report": ["model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"], "source.reddit_ads_source.reddit_ads.campaign": ["model.reddit_ads_source.stg_reddit_ads__campaign_tmp"], "source.reddit_ads_source.reddit_ads.campaign_report": ["model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"], "source.amazon_ads_source.amazon_ads.ad_group_history": ["model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"], "source.amazon_ads_source.amazon_ads.ad_group_level_report": ["model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"], "source.amazon_ads_source.amazon_ads.advertised_product_report": ["model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"], "source.amazon_ads_source.amazon_ads.campaign_history": ["model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"], "source.amazon_ads_source.amazon_ads.campaign_level_report": ["model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"], "source.amazon_ads_source.amazon_ads.keyword_history": ["model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"], "source.amazon_ads_source.amazon_ads.portfolio_history": ["model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"], "source.amazon_ads_source.amazon_ads.product_ad_history": ["model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"], "source.amazon_ads_source.amazon_ads.profile": ["model.amazon_ads_source.stg_amazon_ads__profile_tmp"], "source.amazon_ads_source.amazon_ads.targeting_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"], "source.amazon_ads_source.amazon_ads.search_term_ad_keyword_report": ["model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"], "source.linkedin_source.linkedin.ad_analytics_by_creative": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"], "source.linkedin_source.linkedin.creative_history": ["model.linkedin_source.stg_linkedin_ads__creative_history_tmp"], "source.linkedin_source.linkedin.campaign_history": ["model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"], "source.linkedin_source.linkedin.campaign_group_history": ["model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"], "source.linkedin_source.linkedin.account_history": ["model.linkedin_source.stg_linkedin_ads__account_history_tmp"], "source.linkedin_source.linkedin.ad_analytics_by_campaign": ["model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"], "source.google_ads_source.google_ads.ad_stats": ["model.google_ads_source.stg_google_ads__ad_stats_tmp"], "source.google_ads_source.google_ads.ad_history": ["model.google_ads_source.stg_google_ads__ad_history_tmp"], "source.google_ads_source.google_ads.ad_group_history": ["model.google_ads_source.stg_google_ads__ad_group_history_tmp"], "source.google_ads_source.google_ads.campaign_history": ["model.google_ads_source.stg_google_ads__campaign_history_tmp"], "source.google_ads_source.google_ads.account_history": ["model.google_ads_source.stg_google_ads__account_history_tmp"], "source.google_ads_source.google_ads.ad_group_criterion_history": ["model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"], "source.google_ads_source.google_ads.ad_group_stats": ["model.google_ads_source.stg_google_ads__ad_group_stats_tmp"], "source.google_ads_source.google_ads.campaign_stats": ["model.google_ads_source.stg_google_ads__campaign_stats_tmp"], "source.google_ads_source.google_ads.keyword_stats": ["model.google_ads_source.stg_google_ads__keyword_stats_tmp"], "source.google_ads_source.google_ads.account_stats": ["model.google_ads_source.stg_google_ads__account_stats_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_group_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_group_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_history": ["model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"], "source.apple_search_ads_source.apple_search_ads.ad_level_report": ["model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"], "source.apple_search_ads_source.apple_search_ads.campaign_history": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"], "source.apple_search_ads_source.apple_search_ads.campaign_report": ["model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"], "source.apple_search_ads_source.apple_search_ads.keyword_history": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"], "source.apple_search_ads_source.apple_search_ads.keyword_report": ["model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"], "source.apple_search_ads_source.apple_search_ads.organization": ["model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"], "source.apple_search_ads_source.apple_search_ads.search_term_report": ["model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"], "source.pinterest_source.pinterest_ads.pin_promotion_report": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"], "source.pinterest_source.pinterest_ads.pin_promotion_history": ["model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"], "source.pinterest_source.pinterest_ads.campaign_history": ["model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"], "source.pinterest_source.pinterest_ads.ad_group_history": ["model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"], "source.pinterest_source.pinterest_ads.ad_group_report": ["model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"], "source.pinterest_source.pinterest_ads.advertiser_history": ["model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"], "source.pinterest_source.pinterest_ads.advertiser_report": ["model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"], "source.pinterest_source.pinterest_ads.campaign_report": ["model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"], "source.pinterest_source.pinterest_ads.keyword_history": ["model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"], "source.pinterest_source.pinterest_ads.keyword_report": ["model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"], "source.tiktok_ads_source.tiktok_ads.advertiser": ["model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"], "source.tiktok_ads_source.tiktok_ads.campaign_history": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"], "source.tiktok_ads_source.tiktok_ads.adgroup_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"], "source.tiktok_ads_source.tiktok_ads.ad_history": ["model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"], "source.tiktok_ads_source.tiktok_ads.ad_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"], "source.tiktok_ads_source.tiktok_ads.campaign_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"], "source.tiktok_ads_source.tiktok_ads.adgroup_report_hourly": ["model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"], "source.facebook_ads_source.facebook_ads.account_history": ["model.facebook_ads_source.stg_facebook_ads__account_history_tmp"], "source.facebook_ads_source.facebook_ads.ad_history": ["model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"], "source.facebook_ads_source.facebook_ads.ad_set_history": ["model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"], "source.facebook_ads_source.facebook_ads.basic_ad": ["model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"], "source.facebook_ads_source.facebook_ads.campaign_history": ["model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"], "source.facebook_ads_source.facebook_ads.creative_history": ["model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_account_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_squad_history": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"], "source.snapchat_ads_source.snapchat_ads.ad_squad_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"], "source.snapchat_ads_source.snapchat_ads.campaign_history": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"], "source.snapchat_ads_source.snapchat_ads.campaign_hourly_report": ["model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"], "source.snapchat_ads_source.snapchat_ads.creative_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"], "source.snapchat_ads_source.snapchat_ads.creative_url_tag_history": ["model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"], "source.twitter_ads_source.twitter_ads.account_history": ["model.twitter_ads_source.stg_twitter_ads__account_history_tmp"], "source.twitter_ads_source.twitter_ads.campaign_history": ["model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"], "source.twitter_ads_source.twitter_ads.line_item_history": ["model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"], "source.twitter_ads_source.twitter_ads.promoted_tweet_history": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"], "source.twitter_ads_source.twitter_ads.tweet_url": ["model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"], "source.twitter_ads_source.twitter_ads.promoted_tweet_report": ["model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"], "source.twitter_ads_source.twitter_ads.tweet": ["model.twitter_ads_source.stg_twitter_ads__tweet_tmp"], "source.twitter_ads_source.twitter_ads.campaign_report": ["model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"], "source.twitter_ads_source.twitter_ads.line_item_report": ["model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"], "metric.ad_reporting.spend": ["metric.ad_reporting.cost_per_click"], "metric.ad_reporting.clicks": ["metric.ad_reporting.bounce_rate", "metric.ad_reporting.clickthrough_rate", "metric.ad_reporting.cost_per_click"], "metric.ad_reporting.impressions": ["metric.ad_reporting.bounce_rate", "metric.ad_reporting.bounce_rate", "metric.ad_reporting.clickthrough_rate"], "metric.ad_reporting.cost_per_click": [], "metric.ad_reporting.bounce_rate": [], "metric.ad_reporting.clickthrough_rate": [], "metric.ad_reporting.active_ads": [], "metric.ad_reporting.avg_spend_nonzero": [], "metric.ad_reporting.avg_spend": []}} \ No newline at end of file diff --git a/docs/run_results.json b/docs/run_results.json index ae21e62..863d901 100644 --- a/docs/run_results.json +++ b/docs/run_results.json @@ -1 +1 @@ -{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/run-results/v4.json", "dbt_version": "1.4.5", "generated_at": "2023-03-21T19:13:18.209422Z", "invocation_id": "68c909e6-a9b9-43ee-8490-30580dd9d005", "env": {}}, "results": [{"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.346203Z", "completed_at": "2023-03-21T19:13:02.360885Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.363340Z", "completed_at": "2023-03-21T19:13:02.363373Z"}], "thread_id": "Thread-3", "execution_time": 0.03738689422607422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.353126Z", "completed_at": "2023-03-21T19:13:02.361250Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.363825Z", "completed_at": "2023-03-21T19:13:02.363835Z"}], "thread_id": "Thread-4", "execution_time": 0.038207054138183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.333261Z", "completed_at": "2023-03-21T19:13:02.361527Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.364102Z", "completed_at": "2023-03-21T19:13:02.364111Z"}], "thread_id": "Thread-1", "execution_time": 0.04182600975036621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.341628Z", "completed_at": "2023-03-21T19:13:02.373718Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.376927Z", "completed_at": "2023-03-21T19:13:02.376935Z"}], "thread_id": "Thread-2", "execution_time": 0.06248807907104492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.394574Z", "completed_at": "2023-03-21T19:13:02.401141Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.402226Z", "completed_at": "2023-03-21T19:13:02.402235Z"}], "thread_id": "Thread-2", "execution_time": 0.009665727615356445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.382539Z", "completed_at": "2023-03-21T19:13:02.401645Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.403820Z", "completed_at": "2023-03-21T19:13:02.403828Z"}], "thread_id": "Thread-4", "execution_time": 0.030536890029907227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.387337Z", "completed_at": "2023-03-21T19:13:02.401856Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.404066Z", "completed_at": "2023-03-21T19:13:02.404073Z"}], "thread_id": "Thread-1", "execution_time": 0.030690908432006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.377152Z", "completed_at": "2023-03-21T19:13:02.402052Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.404289Z", "completed_at": "2023-03-21T19:13:02.404296Z"}], "thread_id": "Thread-3", "execution_time": 0.03283500671386719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.423159Z", "completed_at": "2023-03-21T19:13:02.440038Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.442622Z", "completed_at": "2023-03-21T19:13:02.442632Z"}], "thread_id": "Thread-1", "execution_time": 0.03498101234436035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.411488Z", "completed_at": "2023-03-21T19:13:02.439286Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.441985Z", "completed_at": "2023-03-21T19:13:02.442001Z"}], "thread_id": "Thread-2", "execution_time": 0.037100791931152344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.430456Z", "completed_at": "2023-03-21T19:13:02.443039Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.448835Z", "completed_at": "2023-03-21T19:13:02.448848Z"}], "thread_id": "Thread-3", "execution_time": 0.04028797149658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.417540Z", "completed_at": "2023-03-21T19:13:02.440362Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.443311Z", "completed_at": "2023-03-21T19:13:02.443320Z"}], "thread_id": "Thread-4", "execution_time": 0.04222989082336426, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.453054Z", "completed_at": "2023-03-21T19:13:02.463614Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.481676Z", "completed_at": "2023-03-21T19:13:02.481690Z"}], "thread_id": "Thread-1", "execution_time": 0.03680586814880371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.470638Z", "completed_at": "2023-03-21T19:13:02.482409Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.486005Z", "completed_at": "2023-03-21T19:13:02.486016Z"}], "thread_id": "Thread-3", "execution_time": 0.025967121124267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.475978Z", "completed_at": "2023-03-21T19:13:02.482708Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.486471Z", "completed_at": "2023-03-21T19:13:02.486482Z"}], "thread_id": "Thread-4", "execution_time": 0.026163816452026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.464921Z", "completed_at": "2023-03-21T19:13:02.483863Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.487472Z", "completed_at": "2023-03-21T19:13:02.487484Z"}], "thread_id": "Thread-2", "execution_time": 0.02863907814025879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.493627Z", "completed_at": "2023-03-21T19:13:02.503635Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.521877Z", "completed_at": "2023-03-21T19:13:02.521892Z"}], "thread_id": "Thread-1", "execution_time": 0.035928964614868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.504241Z", "completed_at": "2023-03-21T19:13:02.523059Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.525774Z", "completed_at": "2023-03-21T19:13:02.525782Z"}], "thread_id": "Thread-3", "execution_time": 0.026068925857543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.509932Z", "completed_at": "2023-03-21T19:13:02.523715Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.526487Z", "completed_at": "2023-03-21T19:13:02.526494Z"}], "thread_id": "Thread-4", "execution_time": 0.03301095962524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.516260Z", "completed_at": "2023-03-21T19:13:02.525272Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.534051Z", "completed_at": "2023-03-21T19:13:02.534061Z"}], "thread_id": "Thread-2", "execution_time": 0.03383898735046387, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.527336Z", "completed_at": "2023-03-21T19:13:02.536943Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.540712Z", "completed_at": "2023-03-21T19:13:02.540722Z"}], "thread_id": "Thread-1", "execution_time": 0.028038740158081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.560694Z", "completed_at": "2023-03-21T19:13:02.566930Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.567455Z", "completed_at": "2023-03-21T19:13:02.567466Z"}], "thread_id": "Thread-1", "execution_time": 0.008323192596435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.540961Z", "completed_at": "2023-03-21T19:13:02.568319Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.571258Z", "completed_at": "2023-03-21T19:13:02.571267Z"}], "thread_id": "Thread-3", "execution_time": 0.03535008430480957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.547043Z", "completed_at": "2023-03-21T19:13:02.568823Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.571790Z", "completed_at": "2023-03-21T19:13:02.571797Z"}], "thread_id": "Thread-4", "execution_time": 0.040376901626586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.553278Z", "completed_at": "2023-03-21T19:13:02.569097Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.572034Z", "completed_at": "2023-03-21T19:13:02.572040Z"}], "thread_id": "Thread-2", "execution_time": 0.039901018142700195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.572881Z", "completed_at": "2023-03-21T19:13:02.584003Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.593041Z", "completed_at": "2023-03-21T19:13:02.593057Z"}], "thread_id": "Thread-1", "execution_time": 0.03576922416687012, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.587128Z", "completed_at": "2023-03-21T19:13:02.612639Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.614979Z", "completed_at": "2023-03-21T19:13:02.614988Z"}], "thread_id": "Thread-3", "execution_time": 0.03306007385253906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.593372Z", "completed_at": "2023-03-21T19:13:02.613752Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.615462Z", "completed_at": "2023-03-21T19:13:02.615469Z"}], "thread_id": "Thread-4", "execution_time": 0.032668113708496094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.599065Z", "completed_at": "2023-03-21T19:13:02.614233Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.616587Z", "completed_at": "2023-03-21T19:13:02.616593Z"}], "thread_id": "Thread-2", "execution_time": 0.033454179763793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.607670Z", "completed_at": "2023-03-21T19:13:02.614752Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.617534Z", "completed_at": "2023-03-21T19:13:02.617542Z"}], "thread_id": "Thread-1", "execution_time": 0.013152837753295898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.626122Z", "completed_at": "2023-03-21T19:13:02.648377Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.650592Z", "completed_at": "2023-03-21T19:13:02.650602Z"}], "thread_id": "Thread-3", "execution_time": 0.030946016311645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.632015Z", "completed_at": "2023-03-21T19:13:02.649167Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.651038Z", "completed_at": "2023-03-21T19:13:02.651046Z"}], "thread_id": "Thread-4", "execution_time": 0.030314207077026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.643648Z", "completed_at": "2023-03-21T19:13:02.650331Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.653392Z", "completed_at": "2023-03-21T19:13:02.653398Z"}], "thread_id": "Thread-1", "execution_time": 0.030599117279052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.637338Z", "completed_at": "2023-03-21T19:13:02.650794Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.654458Z", "completed_at": "2023-03-21T19:13:02.654467Z"}], "thread_id": "Thread-2", "execution_time": 0.03254103660583496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.660184Z", "completed_at": "2023-03-21T19:13:02.682355Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.683813Z", "completed_at": "2023-03-21T19:13:02.683823Z"}], "thread_id": "Thread-3", "execution_time": 0.028532028198242188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.666410Z", "completed_at": "2023-03-21T19:13:02.682760Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.684497Z", "completed_at": "2023-03-21T19:13:02.684503Z"}], "thread_id": "Thread-4", "execution_time": 0.028573989868164062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.671843Z", "completed_at": "2023-03-21T19:13:02.683333Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.685282Z", "completed_at": "2023-03-21T19:13:02.685288Z"}], "thread_id": "Thread-1", "execution_time": 0.027519941329956055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.677691Z", "completed_at": "2023-03-21T19:13:02.684307Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.687610Z", "completed_at": "2023-03-21T19:13:02.687616Z"}], "thread_id": "Thread-2", "execution_time": 0.023656845092773438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.692108Z", "completed_at": "2023-03-21T19:13:02.710419Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.716196Z", "completed_at": "2023-03-21T19:13:02.716207Z"}], "thread_id": "Thread-3", "execution_time": 0.02861809730529785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.699056Z", "completed_at": "2023-03-21T19:13:02.719870Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.726437Z", "completed_at": "2023-03-21T19:13:02.726449Z"}], "thread_id": "Thread-4", "execution_time": 0.0373690128326416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.704683Z", "completed_at": "2023-03-21T19:13:02.720122Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.726683Z", "completed_at": "2023-03-21T19:13:02.726690Z"}], "thread_id": "Thread-1", "execution_time": 0.037203073501586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.710733Z", "completed_at": "2023-03-21T19:13:02.721268Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.728371Z", "completed_at": "2023-03-21T19:13:02.728378Z"}], "thread_id": "Thread-2", "execution_time": 0.03200721740722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.721465Z", "completed_at": "2023-03-21T19:13:02.728627Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.732702Z", "completed_at": "2023-03-21T19:13:02.732710Z"}], "thread_id": "Thread-3", "execution_time": 0.015317201614379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.746712Z", "completed_at": "2023-03-21T19:13:02.759884Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.761786Z", "completed_at": "2023-03-21T19:13:02.761801Z"}], "thread_id": "Thread-2", "execution_time": 0.02950119972229004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.754119Z", "completed_at": "2023-03-21T19:13:02.760180Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.762037Z", "completed_at": "2023-03-21T19:13:02.762046Z"}], "thread_id": "Thread-3", "execution_time": 0.010759115219116211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.739920Z", "completed_at": "2023-03-21T19:13:02.760396Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.762266Z", "completed_at": "2023-03-21T19:13:02.762273Z"}], "thread_id": "Thread-1", "execution_time": 0.032839298248291016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.734792Z", "completed_at": "2023-03-21T19:13:02.760582Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.762491Z", "completed_at": "2023-03-21T19:13:02.762498Z"}], "thread_id": "Thread-4", "execution_time": 0.03392195701599121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.778022Z", "completed_at": "2023-03-21T19:13:02.794842Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.795378Z", "completed_at": "2023-03-21T19:13:02.795389Z"}], "thread_id": "Thread-3", "execution_time": 0.026559114456176758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.772116Z", "completed_at": "2023-03-21T19:13:02.802228Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.802744Z", "completed_at": "2023-03-21T19:13:02.802754Z"}], "thread_id": "Thread-2", "execution_time": 0.034919023513793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.789498Z", "completed_at": "2023-03-21T19:13:02.811263Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.812741Z", "completed_at": "2023-03-21T19:13:02.812753Z"}], "thread_id": "Thread-4", "execution_time": 0.0435028076171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.783374Z", "completed_at": "2023-03-21T19:13:02.811524Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.813202Z", "completed_at": "2023-03-21T19:13:02.813209Z"}], "thread_id": "Thread-1", "execution_time": 0.04502105712890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.797414Z", "completed_at": "2023-03-21T19:13:02.812462Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.815326Z", "completed_at": "2023-03-21T19:13:02.815335Z"}], "thread_id": "Thread-3", "execution_time": 0.02097177505493164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.804655Z", "completed_at": "2023-03-21T19:13:02.813005Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.816328Z", "completed_at": "2023-03-21T19:13:02.816336Z"}], "thread_id": "Thread-2", "execution_time": 0.014923095703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.822196Z", "completed_at": "2023-03-21T19:13:02.845341Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.847037Z", "completed_at": "2023-03-21T19:13:02.847050Z"}], "thread_id": "Thread-4", "execution_time": 0.03069019317626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.829636Z", "completed_at": "2023-03-21T19:13:02.846226Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.849392Z", "completed_at": "2023-03-21T19:13:02.849401Z"}], "thread_id": "Thread-1", "execution_time": 0.03256726264953613, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.835581Z", "completed_at": "2023-03-21T19:13:02.846671Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.849681Z", "completed_at": "2023-03-21T19:13:02.849689Z"}], "thread_id": "Thread-3", "execution_time": 0.03085637092590332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.840627Z", "completed_at": "2023-03-21T19:13:02.847437Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.851016Z", "completed_at": "2023-03-21T19:13:02.851024Z"}], "thread_id": "Thread-2", "execution_time": 0.024692058563232422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.857814Z", "completed_at": "2023-03-21T19:13:02.875908Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.881224Z", "completed_at": "2023-03-21T19:13:02.881235Z"}], "thread_id": "Thread-4", "execution_time": 0.029963016510009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.867380Z", "completed_at": "2023-03-21T19:13:02.880948Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.883250Z", "completed_at": "2023-03-21T19:13:02.883258Z"}], "thread_id": "Thread-1", "execution_time": 0.028294801712036133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.871750Z", "completed_at": "2023-03-21T19:13:02.881730Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.885269Z", "completed_at": "2023-03-21T19:13:02.885275Z"}], "thread_id": "Thread-3", "execution_time": 0.029633045196533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.876115Z", "completed_at": "2023-03-21T19:13:02.881969Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.885466Z", "completed_at": "2023-03-21T19:13:02.885472Z"}], "thread_id": "Thread-2", "execution_time": 0.02450108528137207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.889576Z", "completed_at": "2023-03-21T19:13:02.902710Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.913512Z", "completed_at": "2023-03-21T19:13:02.913524Z"}], "thread_id": "Thread-4", "execution_time": 0.028887033462524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.897074Z", "completed_at": "2023-03-21T19:13:02.912927Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.915161Z", "completed_at": "2023-03-21T19:13:02.915168Z"}], "thread_id": "Thread-1", "execution_time": 0.02903604507446289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.903045Z", "completed_at": "2023-03-21T19:13:02.913790Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.916469Z", "completed_at": "2023-03-21T19:13:02.916477Z"}], "thread_id": "Thread-3", "execution_time": 0.02232503890991211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.907721Z", "completed_at": "2023-03-21T19:13:02.915665Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.919300Z", "completed_at": "2023-03-21T19:13:02.919306Z"}], "thread_id": "Thread-2", "execution_time": 0.03096485137939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.920562Z", "completed_at": "2023-03-21T19:13:02.935863Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.948060Z", "completed_at": "2023-03-21T19:13:02.948074Z"}], "thread_id": "Thread-4", "execution_time": 0.03199887275695801, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.930586Z", "completed_at": "2023-03-21T19:13:02.947801Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.950168Z", "completed_at": "2023-03-21T19:13:02.950175Z"}], "thread_id": "Thread-1", "execution_time": 0.03202104568481445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.936066Z", "completed_at": "2023-03-21T19:13:02.948477Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.951496Z", "completed_at": "2023-03-21T19:13:02.951505Z"}], "thread_id": "Thread-3", "execution_time": 0.02563190460205078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.941977Z", "completed_at": "2023-03-21T19:13:02.949607Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.952983Z", "completed_at": "2023-03-21T19:13:02.952993Z"}], "thread_id": "Thread-2", "execution_time": 0.019948959350585938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.957002Z", "completed_at": "2023-03-21T19:13:02.971732Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.984293Z", "completed_at": "2023-03-21T19:13:02.984308Z"}], "thread_id": "Thread-4", "execution_time": 0.0330958366394043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.965828Z", "completed_at": "2023-03-21T19:13:02.984550Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.986846Z", "completed_at": "2023-03-21T19:13:02.986854Z"}], "thread_id": "Thread-1", "execution_time": 0.03256082534790039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.973118Z", "completed_at": "2023-03-21T19:13:02.984893Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.987630Z", "completed_at": "2023-03-21T19:13:02.987639Z"}], "thread_id": "Thread-3", "execution_time": 0.026180744171142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.978498Z", "completed_at": "2023-03-21T19:13:02.988437Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:02.998824Z", "completed_at": "2023-03-21T19:13:02.998845Z"}], "thread_id": "Thread-2", "execution_time": 0.03599810600280762, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:02.992059Z", "completed_at": "2023-03-21T19:13:03.001843Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.015329Z", "completed_at": "2023-03-21T19:13:03.015342Z"}], "thread_id": "Thread-4", "execution_time": 0.028786897659301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.008993Z", "completed_at": "2023-03-21T19:13:03.015715Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.023343Z", "completed_at": "2023-03-21T19:13:03.023354Z"}], "thread_id": "Thread-3", "execution_time": 0.02513885498046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.002474Z", "completed_at": "2023-03-21T19:13:03.016168Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.023772Z", "completed_at": "2023-03-21T19:13:03.023781Z"}], "thread_id": "Thread-1", "execution_time": 0.026439905166625977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.017313Z", "completed_at": "2023-03-21T19:13:03.024562Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.033209Z", "completed_at": "2023-03-21T19:13:03.033221Z"}], "thread_id": "Thread-2", "execution_time": 0.020381927490234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.027528Z", "completed_at": "2023-03-21T19:13:03.035765Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.048965Z", "completed_at": "2023-03-21T19:13:03.048978Z"}], "thread_id": "Thread-4", "execution_time": 0.026039838790893555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.036729Z", "completed_at": "2023-03-21T19:13:03.049535Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.056992Z", "completed_at": "2023-03-21T19:13:03.057000Z"}], "thread_id": "Thread-3", "execution_time": 0.025330781936645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.043020Z", "completed_at": "2023-03-21T19:13:03.055467Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.058136Z", "completed_at": "2023-03-21T19:13:03.058142Z"}], "thread_id": "Thread-1", "execution_time": 0.025981903076171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.050516Z", "completed_at": "2023-03-21T19:13:03.057843Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.066342Z", "completed_at": "2023-03-21T19:13:03.066354Z"}], "thread_id": "Thread-2", "execution_time": 0.02033209800720215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.061234Z", "completed_at": "2023-03-21T19:13:03.070783Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.083491Z", "completed_at": "2023-03-21T19:13:03.083503Z"}], "thread_id": "Thread-4", "execution_time": 0.03242778778076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.071041Z", "completed_at": "2023-03-21T19:13:03.083214Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.090112Z", "completed_at": "2023-03-21T19:13:03.090122Z"}], "thread_id": "Thread-3", "execution_time": 0.025012969970703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.077761Z", "completed_at": "2023-03-21T19:13:03.089103Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.092362Z", "completed_at": "2023-03-21T19:13:03.092369Z"}], "thread_id": "Thread-1", "execution_time": 0.025420188903808594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.083766Z", "completed_at": "2023-03-21T19:13:03.091094Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.094978Z", "completed_at": "2023-03-21T19:13:03.094985Z"}], "thread_id": "Thread-2", "execution_time": 0.024859905242919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.096477Z", "completed_at": "2023-03-21T19:13:03.109123Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.115016Z", "completed_at": "2023-03-21T19:13:03.115027Z"}], "thread_id": "Thread-4", "execution_time": 0.0279691219329834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.103883Z", "completed_at": "2023-03-21T19:13:03.114615Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.120926Z", "completed_at": "2023-03-21T19:13:03.120935Z"}], "thread_id": "Thread-3", "execution_time": 0.027528047561645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.110359Z", "completed_at": "2023-03-21T19:13:03.121162Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.124931Z", "completed_at": "2023-03-21T19:13:03.124970Z"}], "thread_id": "Thread-1", "execution_time": 0.024086952209472656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.115714Z", "completed_at": "2023-03-21T19:13:03.125364Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.133240Z", "completed_at": "2023-03-21T19:13:03.133250Z"}], "thread_id": "Thread-2", "execution_time": 0.03242087364196777, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.127319Z", "completed_at": "2023-03-21T19:13:03.141441Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.149156Z", "completed_at": "2023-03-21T19:13:03.149167Z"}], "thread_id": "Thread-4", "execution_time": 0.027004003524780273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.133955Z", "completed_at": "2023-03-21T19:13:03.148479Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.151391Z", "completed_at": "2023-03-21T19:13:03.151398Z"}], "thread_id": "Thread-3", "execution_time": 0.03221583366394043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.143379Z", "completed_at": "2023-03-21T19:13:03.150941Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.158944Z", "completed_at": "2023-03-21T19:13:03.158951Z"}], "thread_id": "Thread-1", "execution_time": 0.0199277400970459, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.152802Z", "completed_at": "2023-03-21T19:13:03.160021Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.167095Z", "completed_at": "2023-03-21T19:13:03.167103Z"}], "thread_id": "Thread-2", "execution_time": 0.024595022201538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.161743Z", "completed_at": "2023-03-21T19:13:03.174949Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.183754Z", "completed_at": "2023-03-21T19:13:03.183764Z"}], "thread_id": "Thread-4", "execution_time": 0.026423931121826172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.167937Z", "completed_at": "2023-03-21T19:13:03.182963Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.185293Z", "completed_at": "2023-03-21T19:13:03.185299Z"}], "thread_id": "Thread-3", "execution_time": 0.030400991439819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.175825Z", "completed_at": "2023-03-21T19:13:03.184430Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.192415Z", "completed_at": "2023-03-21T19:13:03.192423Z"}], "thread_id": "Thread-1", "execution_time": 0.026818037033081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.185493Z", "completed_at": "2023-03-21T19:13:03.193179Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.200705Z", "completed_at": "2023-03-21T19:13:03.200713Z"}], "thread_id": "Thread-2", "execution_time": 0.018739938735961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.202274Z", "completed_at": "2023-03-21T19:13:03.204659Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.210561Z", "completed_at": "2023-03-21T19:13:03.210570Z"}], "thread_id": "Thread-3", "execution_time": 0.0166778564453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.195837Z", "completed_at": "2023-03-21T19:13:03.204889Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.210785Z", "completed_at": "2023-03-21T19:13:03.210791Z"}], "thread_id": "Thread-4", "execution_time": 0.019671916961669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.206419Z", "completed_at": "2023-03-21T19:13:03.209695Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.212663Z", "completed_at": "2023-03-21T19:13:03.212669Z"}], "thread_id": "Thread-1", "execution_time": 0.016112804412841797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.ad_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.212886Z", "completed_at": "2023-03-21T19:13:03.215365Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.219509Z", "completed_at": "2023-03-21T19:13:03.219518Z"}], "thread_id": "Thread-2", "execution_time": 0.010996103286743164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.adgroup_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.221363Z", "completed_at": "2023-03-21T19:13:03.223858Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.231118Z", "completed_at": "2023-03-21T19:13:03.231125Z"}], "thread_id": "Thread-3", "execution_time": 0.11919713020324707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.adgroup_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.224084Z", "completed_at": "2023-03-21T19:13:03.226282Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.231320Z", "completed_at": "2023-03-21T19:13:03.231326Z"}], "thread_id": "Thread-4", "execution_time": 0.12008810043334961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.advertiser"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.227685Z", "completed_at": "2023-03-21T19:13:03.230474Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.351191Z", "completed_at": "2023-03-21T19:13:03.351206Z"}], "thread_id": "Thread-1", "execution_time": 0.1337270736694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.339377Z", "completed_at": "2023-03-21T19:13:03.343084Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.353209Z", "completed_at": "2023-03-21T19:13:03.353221Z"}], "thread_id": "Thread-2", "execution_time": 0.12492489814758301, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.my_new_project.campaign_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.363343Z", "completed_at": "2023-03-21T19:13:03.682827Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.691635Z", "completed_at": "2023-03-21T19:13:03.691652Z"}], "thread_id": "Thread-4", "execution_time": 0.3403747081756592, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.378342Z", "completed_at": "2023-03-21T19:13:03.684430Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.693253Z", "completed_at": "2023-03-21T19:13:03.693264Z"}], "thread_id": "Thread-1", "execution_time": 0.3226029872894287, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.356977Z", "completed_at": "2023-03-21T19:13:03.694017Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.697790Z", "completed_at": "2023-03-21T19:13:03.697802Z"}], "thread_id": "Thread-3", "execution_time": 0.35474705696105957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.385032Z", "completed_at": "2023-03-21T19:13:03.730423Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:03.731629Z", "completed_at": "2023-03-21T19:13:03.731643Z"}], "thread_id": "Thread-2", "execution_time": 0.3578159809112549, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.708819Z", "completed_at": "2023-03-21T19:13:04.062004Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.063119Z", "completed_at": "2023-03-21T19:13:04.063137Z"}], "thread_id": "Thread-1", "execution_time": 0.3658170700073242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.734221Z", "completed_at": "2023-03-21T19:13:04.065097Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.068983Z", "completed_at": "2023-03-21T19:13:04.068997Z"}], "thread_id": "Thread-2", "execution_time": 0.3451051712036133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.698740Z", "completed_at": "2023-03-21T19:13:04.067978Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.078884Z", "completed_at": "2023-03-21T19:13:04.078895Z"}], "thread_id": "Thread-4", "execution_time": 0.38715028762817383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:03.721706Z", "completed_at": "2023-03-21T19:13:04.068357Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.079176Z", "completed_at": "2023-03-21T19:13:04.079185Z"}], "thread_id": "Thread-3", "execution_time": 0.3679630756378174, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.070045Z", "completed_at": "2023-03-21T19:13:04.393870Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.394490Z", "completed_at": "2023-03-21T19:13:04.394504Z"}], "thread_id": "Thread-1", "execution_time": 0.3292369842529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.095986Z", "completed_at": "2023-03-21T19:13:04.437463Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.438046Z", "completed_at": "2023-03-21T19:13:04.438059Z"}], "thread_id": "Thread-4", "execution_time": 0.35086679458618164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.088971Z", "completed_at": "2023-03-21T19:13:04.454070Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.454580Z", "completed_at": "2023-03-21T19:13:04.454590Z"}], "thread_id": "Thread-2", "execution_time": 0.3704671859741211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.101707Z", "completed_at": "2023-03-21T19:13:04.472552Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.473044Z", "completed_at": "2023-03-21T19:13:04.473055Z"}], "thread_id": "Thread-3", "execution_time": 0.38515424728393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.440240Z", "completed_at": "2023-03-21T19:13:04.713619Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.714119Z", "completed_at": "2023-03-21T19:13:04.714130Z"}], "thread_id": "Thread-4", "execution_time": 0.2752411365509033, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.396868Z", "completed_at": "2023-03-21T19:13:04.730158Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.731062Z", "completed_at": "2023-03-21T19:13:04.731095Z"}], "thread_id": "Thread-1", "execution_time": 0.33593010902404785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.474971Z", "completed_at": "2023-03-21T19:13:04.806468Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.806986Z", "completed_at": "2023-03-21T19:13:04.806998Z"}], "thread_id": "Thread-3", "execution_time": 0.33330702781677246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.456946Z", "completed_at": "2023-03-21T19:13:04.882466Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:04.882929Z", "completed_at": "2023-03-21T19:13:04.882940Z"}], "thread_id": "Thread-2", "execution_time": 0.4277200698852539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.716907Z", "completed_at": "2023-03-21T19:13:05.036839Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.037423Z", "completed_at": "2023-03-21T19:13:05.037437Z"}], "thread_id": "Thread-4", "execution_time": 0.3223440647125244, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.809598Z", "completed_at": "2023-03-21T19:13:05.086323Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.086924Z", "completed_at": "2023-03-21T19:13:05.086938Z"}], "thread_id": "Thread-3", "execution_time": 0.2790510654449463, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.734255Z", "completed_at": "2023-03-21T19:13:05.110867Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.111383Z", "completed_at": "2023-03-21T19:13:05.111394Z"}], "thread_id": "Thread-1", "execution_time": 0.3792719841003418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:04.885796Z", "completed_at": "2023-03-21T19:13:05.194539Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.195596Z", "completed_at": "2023-03-21T19:13:05.195613Z"}], "thread_id": "Thread-2", "execution_time": 0.3117790222167969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.039738Z", "completed_at": "2023-03-21T19:13:05.370456Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.371063Z", "completed_at": "2023-03-21T19:13:05.371077Z"}], "thread_id": "Thread-4", "execution_time": 0.3328728675842285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.089247Z", "completed_at": "2023-03-21T19:13:05.430777Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.431366Z", "completed_at": "2023-03-21T19:13:05.431379Z"}], "thread_id": "Thread-3", "execution_time": 0.3437187671661377, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.113332Z", "completed_at": "2023-03-21T19:13:05.484760Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.485333Z", "completed_at": "2023-03-21T19:13:05.485346Z"}], "thread_id": "Thread-1", "execution_time": 0.3733501434326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.199083Z", "completed_at": "2023-03-21T19:13:05.551840Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.552437Z", "completed_at": "2023-03-21T19:13:05.552450Z"}], "thread_id": "Thread-2", "execution_time": 0.35512590408325195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.373421Z", "completed_at": "2023-03-21T19:13:05.713428Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.714067Z", "completed_at": "2023-03-21T19:13:05.714081Z"}], "thread_id": "Thread-4", "execution_time": 0.34218382835388184, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.487533Z", "completed_at": "2023-03-21T19:13:05.769904Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.770434Z", "completed_at": "2023-03-21T19:13:05.770445Z"}], "thread_id": "Thread-1", "execution_time": 0.28430795669555664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.434667Z", "completed_at": "2023-03-21T19:13:05.779469Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.780370Z", "completed_at": "2023-03-21T19:13:05.780383Z"}], "thread_id": "Thread-3", "execution_time": 0.3473799228668213, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.555258Z", "completed_at": "2023-03-21T19:13:05.871754Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:05.872348Z", "completed_at": "2023-03-21T19:13:05.872361Z"}], "thread_id": "Thread-2", "execution_time": 0.31920790672302246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.716339Z", "completed_at": "2023-03-21T19:13:06.050126Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.050763Z", "completed_at": "2023-03-21T19:13:06.050776Z"}], "thread_id": "Thread-4", "execution_time": 0.3359701633453369, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.772854Z", "completed_at": "2023-03-21T19:13:06.150675Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.151264Z", "completed_at": "2023-03-21T19:13:06.151278Z"}], "thread_id": "Thread-1", "execution_time": 0.38025903701782227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.782342Z", "completed_at": "2023-03-21T19:13:06.278349Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.279963Z", "completed_at": "2023-03-21T19:13:06.279977Z"}], "thread_id": "Thread-3", "execution_time": 0.5004510879516602, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:05.875253Z", "completed_at": "2023-03-21T19:13:06.279643Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.282895Z", "completed_at": "2023-03-21T19:13:06.282911Z"}], "thread_id": "Thread-2", "execution_time": 0.4112131595611572, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.053192Z", "completed_at": "2023-03-21T19:13:06.415040Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.415620Z", "completed_at": "2023-03-21T19:13:06.415634Z"}], "thread_id": "Thread-4", "execution_time": 0.36395978927612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.291941Z", "completed_at": "2023-03-21T19:13:06.608233Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.608838Z", "completed_at": "2023-03-21T19:13:06.608852Z"}], "thread_id": "Thread-3", "execution_time": 0.3228490352630615, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.300995Z", "completed_at": "2023-03-21T19:13:06.632282Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.632855Z", "completed_at": "2023-03-21T19:13:06.632868Z"}], "thread_id": "Thread-2", "execution_time": 0.34273600578308105, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.153568Z", "completed_at": "2023-03-21T19:13:06.687042Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.687544Z", "completed_at": "2023-03-21T19:13:06.687555Z"}], "thread_id": "Thread-1", "execution_time": 0.5353989601135254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.418550Z", "completed_at": "2023-03-21T19:13:06.797324Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.797921Z", "completed_at": "2023-03-21T19:13:06.797935Z"}], "thread_id": "Thread-4", "execution_time": 0.3811497688293457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.611253Z", "completed_at": "2023-03-21T19:13:06.915119Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.915714Z", "completed_at": "2023-03-21T19:13:06.915727Z"}], "thread_id": "Thread-3", "execution_time": 0.3060600757598877, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.634963Z", "completed_at": "2023-03-21T19:13:06.950724Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.951286Z", "completed_at": "2023-03-21T19:13:06.951298Z"}], "thread_id": "Thread-2", "execution_time": 0.31772875785827637, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.689458Z", "completed_at": "2023-03-21T19:13:06.969016Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:06.969537Z", "completed_at": "2023-03-21T19:13:06.969549Z"}], "thread_id": "Thread-1", "execution_time": 0.2816629409790039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.800301Z", "completed_at": "2023-03-21T19:13:07.196361Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.196973Z", "completed_at": "2023-03-21T19:13:07.196986Z"}], "thread_id": "Thread-4", "execution_time": 0.39824914932250977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.953850Z", "completed_at": "2023-03-21T19:13:07.245467Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.245974Z", "completed_at": "2023-03-21T19:13:07.245985Z"}], "thread_id": "Thread-2", "execution_time": 0.2938871383666992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.918108Z", "completed_at": "2023-03-21T19:13:07.279877Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.280388Z", "completed_at": "2023-03-21T19:13:07.280400Z"}], "thread_id": "Thread-3", "execution_time": 0.36374592781066895, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:06.971881Z", "completed_at": "2023-03-21T19:13:07.287379Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.287866Z", "completed_at": "2023-03-21T19:13:07.287875Z"}], "thread_id": "Thread-1", "execution_time": 0.31723594665527344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.199331Z", "completed_at": "2023-03-21T19:13:07.497798Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.498391Z", "completed_at": "2023-03-21T19:13:07.498404Z"}], "thread_id": "Thread-4", "execution_time": 0.30060601234436035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.248481Z", "completed_at": "2023-03-21T19:13:07.553226Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.553901Z", "completed_at": "2023-03-21T19:13:07.553917Z"}], "thread_id": "Thread-2", "execution_time": 0.3071129322052002, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.289712Z", "completed_at": "2023-03-21T19:13:07.588300Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.588973Z", "completed_at": "2023-03-21T19:13:07.588986Z"}], "thread_id": "Thread-1", "execution_time": 0.30057501792907715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.282260Z", "completed_at": "2023-03-21T19:13:07.632233Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.632890Z", "completed_at": "2023-03-21T19:13:07.632904Z"}], "thread_id": "Thread-3", "execution_time": 0.35190916061401367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.500701Z", "completed_at": "2023-03-21T19:13:07.795960Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.796574Z", "completed_at": "2023-03-21T19:13:07.796589Z"}], "thread_id": "Thread-4", "execution_time": 0.2974379062652588, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.556404Z", "completed_at": "2023-03-21T19:13:07.908800Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.909397Z", "completed_at": "2023-03-21T19:13:07.909411Z"}], "thread_id": "Thread-2", "execution_time": 0.35457420349121094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.591086Z", "completed_at": "2023-03-21T19:13:07.939258Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.939776Z", "completed_at": "2023-03-21T19:13:07.939788Z"}], "thread_id": "Thread-1", "execution_time": 0.3500337600708008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.635207Z", "completed_at": "2023-03-21T19:13:07.948871Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:07.949366Z", "completed_at": "2023-03-21T19:13:07.949376Z"}], "thread_id": "Thread-3", "execution_time": 0.3157792091369629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.798925Z", "completed_at": "2023-03-21T19:13:08.109602Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.110272Z", "completed_at": "2023-03-21T19:13:08.110286Z"}], "thread_id": "Thread-4", "execution_time": 0.31293392181396484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.912757Z", "completed_at": "2023-03-21T19:13:08.236429Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.237023Z", "completed_at": "2023-03-21T19:13:08.237036Z"}], "thread_id": "Thread-2", "execution_time": 0.3268439769744873, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.941688Z", "completed_at": "2023-03-21T19:13:08.260375Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.260907Z", "completed_at": "2023-03-21T19:13:08.260919Z"}], "thread_id": "Thread-1", "execution_time": 0.320523738861084, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:07.951238Z", "completed_at": "2023-03-21T19:13:08.271640Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.272519Z", "completed_at": "2023-03-21T19:13:08.272532Z"}], "thread_id": "Thread-3", "execution_time": 0.32289791107177734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.112663Z", "completed_at": "2023-03-21T19:13:08.438385Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.438991Z", "completed_at": "2023-03-21T19:13:08.439005Z"}], "thread_id": "Thread-4", "execution_time": 0.327866792678833, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.262880Z", "completed_at": "2023-03-21T19:13:08.597389Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.598044Z", "completed_at": "2023-03-21T19:13:08.598059Z"}], "thread_id": "Thread-1", "execution_time": 0.3365809917449951, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.239300Z", "completed_at": "2023-03-21T19:13:08.625149Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.625722Z", "completed_at": "2023-03-21T19:13:08.625735Z"}], "thread_id": "Thread-2", "execution_time": 0.3878750801086426, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.275727Z", "completed_at": "2023-03-21T19:13:08.638036Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.638545Z", "completed_at": "2023-03-21T19:13:08.638555Z"}], "thread_id": "Thread-3", "execution_time": 0.36450791358947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.441234Z", "completed_at": "2023-03-21T19:13:08.771704Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.772250Z", "completed_at": "2023-03-21T19:13:08.772262Z"}], "thread_id": "Thread-4", "execution_time": 0.3324580192565918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.640588Z", "completed_at": "2023-03-21T19:13:08.959619Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.960147Z", "completed_at": "2023-03-21T19:13:08.960159Z"}], "thread_id": "Thread-3", "execution_time": 0.32083916664123535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.627804Z", "completed_at": "2023-03-21T19:13:08.977030Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.977816Z", "completed_at": "2023-03-21T19:13:08.977827Z"}], "thread_id": "Thread-2", "execution_time": 0.3519711494445801, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.600843Z", "completed_at": "2023-03-21T19:13:08.977594Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:08.979422Z", "completed_at": "2023-03-21T19:13:08.979432Z"}], "thread_id": "Thread-1", "execution_time": 0.3811311721801758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.774377Z", "completed_at": "2023-03-21T19:13:09.166581Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.167157Z", "completed_at": "2023-03-21T19:13:09.167170Z"}], "thread_id": "Thread-4", "execution_time": 0.3942289352416992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.962074Z", "completed_at": "2023-03-21T19:13:09.355008Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.355637Z", "completed_at": "2023-03-21T19:13:09.355651Z"}], "thread_id": "Thread-3", "execution_time": 0.3950080871582031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.983102Z", "completed_at": "2023-03-21T19:13:09.405227Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.405772Z", "completed_at": "2023-03-21T19:13:09.405784Z"}], "thread_id": "Thread-2", "execution_time": 0.4252510070800781, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:08.990823Z", "completed_at": "2023-03-21T19:13:09.425228Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.425735Z", "completed_at": "2023-03-21T19:13:09.425746Z"}], "thread_id": "Thread-1", "execution_time": 0.44366979598999023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.169839Z", "completed_at": "2023-03-21T19:13:09.478522Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.479160Z", "completed_at": "2023-03-21T19:13:09.479173Z"}], "thread_id": "Thread-4", "execution_time": 0.31124186515808105, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.358079Z", "completed_at": "2023-03-21T19:13:09.646872Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.647491Z", "completed_at": "2023-03-21T19:13:09.647504Z"}], "thread_id": "Thread-3", "execution_time": 0.2909979820251465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.407888Z", "completed_at": "2023-03-21T19:13:09.717334Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.717935Z", "completed_at": "2023-03-21T19:13:09.717949Z"}], "thread_id": "Thread-2", "execution_time": 0.3114969730377197, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.427618Z", "completed_at": "2023-03-21T19:13:09.735326Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.735888Z", "completed_at": "2023-03-21T19:13:09.735901Z"}], "thread_id": "Thread-1", "execution_time": 0.3097269535064697, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.481436Z", "completed_at": "2023-03-21T19:13:09.792883Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.793657Z", "completed_at": "2023-03-21T19:13:09.793675Z"}], "thread_id": "Thread-4", "execution_time": 0.31386518478393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.649886Z", "completed_at": "2023-03-21T19:13:09.956969Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:09.957583Z", "completed_at": "2023-03-21T19:13:09.957596Z"}], "thread_id": "Thread-3", "execution_time": 0.30927300453186035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.738413Z", "completed_at": "2023-03-21T19:13:10.040049Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.040658Z", "completed_at": "2023-03-21T19:13:10.040672Z"}], "thread_id": "Thread-1", "execution_time": 0.30403566360473633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.720207Z", "completed_at": "2023-03-21T19:13:10.073220Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.073765Z", "completed_at": "2023-03-21T19:13:10.073777Z"}], "thread_id": "Thread-2", "execution_time": 0.35505008697509766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.797956Z", "completed_at": "2023-03-21T19:13:10.121477Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.122022Z", "completed_at": "2023-03-21T19:13:10.122035Z"}], "thread_id": "Thread-4", "execution_time": 0.3255748748779297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:09.959962Z", "completed_at": "2023-03-21T19:13:10.315917Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.316516Z", "completed_at": "2023-03-21T19:13:10.316529Z"}], "thread_id": "Thread-3", "execution_time": 0.3581209182739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.043030Z", "completed_at": "2023-03-21T19:13:10.369061Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.369631Z", "completed_at": "2023-03-21T19:13:10.369644Z"}], "thread_id": "Thread-1", "execution_time": 0.3281221389770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.076317Z", "completed_at": "2023-03-21T19:13:10.402018Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.402555Z", "completed_at": "2023-03-21T19:13:10.402567Z"}], "thread_id": "Thread-2", "execution_time": 0.32826900482177734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.124060Z", "completed_at": "2023-03-21T19:13:10.402781Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.404643Z", "completed_at": "2023-03-21T19:13:10.404651Z"}], "thread_id": "Thread-4", "execution_time": 0.28252196311950684, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.318837Z", "completed_at": "2023-03-21T19:13:10.690444Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.691118Z", "completed_at": "2023-03-21T19:13:10.691133Z"}], "thread_id": "Thread-3", "execution_time": 0.37379002571105957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.371817Z", "completed_at": "2023-03-21T19:13:10.700968Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.701876Z", "completed_at": "2023-03-21T19:13:10.701888Z"}], "thread_id": "Thread-1", "execution_time": 0.3318028450012207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.417444Z", "completed_at": "2023-03-21T19:13:10.773136Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.773652Z", "completed_at": "2023-03-21T19:13:10.773663Z"}], "thread_id": "Thread-4", "execution_time": 0.35843873023986816, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.406979Z", "completed_at": "2023-03-21T19:13:10.783179Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:10.783648Z", "completed_at": "2023-03-21T19:13:10.783657Z"}], "thread_id": "Thread-2", "execution_time": 0.379122257232666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.704159Z", "completed_at": "2023-03-21T19:13:11.009033Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.009669Z", "completed_at": "2023-03-21T19:13:11.009682Z"}], "thread_id": "Thread-1", "execution_time": 0.3069171905517578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.693285Z", "completed_at": "2023-03-21T19:13:11.042148Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.042698Z", "completed_at": "2023-03-21T19:13:11.042710Z"}], "thread_id": "Thread-3", "execution_time": 0.3508319854736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.785436Z", "completed_at": "2023-03-21T19:13:11.070865Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.071430Z", "completed_at": "2023-03-21T19:13:11.071443Z"}], "thread_id": "Thread-2", "execution_time": 0.2872929573059082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:10.775918Z", "completed_at": "2023-03-21T19:13:11.110468Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.110975Z", "completed_at": "2023-03-21T19:13:11.110986Z"}], "thread_id": "Thread-4", "execution_time": 0.33670496940612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.012075Z", "completed_at": "2023-03-21T19:13:11.303816Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.304442Z", "completed_at": "2023-03-21T19:13:11.304457Z"}], "thread_id": "Thread-1", "execution_time": 0.29395318031311035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.044757Z", "completed_at": "2023-03-21T19:13:11.399498Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.400064Z", "completed_at": "2023-03-21T19:13:11.400077Z"}], "thread_id": "Thread-3", "execution_time": 0.35666918754577637, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.073980Z", "completed_at": "2023-03-21T19:13:11.401947Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.409217Z", "completed_at": "2023-03-21T19:13:11.409228Z"}], "thread_id": "Thread-2", "execution_time": 0.33786797523498535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.112932Z", "completed_at": "2023-03-21T19:13:11.475601Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.476157Z", "completed_at": "2023-03-21T19:13:11.476171Z"}], "thread_id": "Thread-4", "execution_time": 0.3645670413970947, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_keywords_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.306848Z", "completed_at": "2023-03-21T19:13:11.637078Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.637623Z", "completed_at": "2023-03-21T19:13:11.637636Z"}], "thread_id": "Thread-1", "execution_time": 0.3322732448577881, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.413521Z", "completed_at": "2023-03-21T19:13:11.683818Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.684356Z", "completed_at": "2023-03-21T19:13:11.684369Z"}], "thread_id": "Thread-2", "execution_time": 0.27272820472717285, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.403278Z", "completed_at": "2023-03-21T19:13:11.790439Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.791042Z", "completed_at": "2023-03-21T19:13:11.791052Z"}], "thread_id": "Thread-3", "execution_time": 0.3901221752166748, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.478235Z", "completed_at": "2023-03-21T19:13:11.811105Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.811569Z", "completed_at": "2023-03-21T19:13:11.811580Z"}], "thread_id": "Thread-4", "execution_time": 0.334564208984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.793563Z", "completed_at": "2023-03-21T19:13:11.812463Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.815256Z", "completed_at": "2023-03-21T19:13:11.815263Z"}], "thread_id": "Thread-3", "execution_time": 0.024178266525268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.816642Z", "completed_at": "2023-03-21T19:13:11.830144Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.830557Z", "completed_at": "2023-03-21T19:13:11.830565Z"}], "thread_id": "Thread-4", "execution_time": 0.01636481285095215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.825222Z", "completed_at": "2023-03-21T19:13:11.838922Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.839444Z", "completed_at": "2023-03-21T19:13:11.839451Z"}], "thread_id": "Thread-3", "execution_time": 0.01527714729309082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.832104Z", "completed_at": "2023-03-21T19:13:11.845739Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.846142Z", "completed_at": "2023-03-21T19:13:11.846149Z"}], "thread_id": "Thread-4", "execution_time": 0.015062093734741211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.848012Z", "completed_at": "2023-03-21T19:13:11.855574Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.856894Z", "completed_at": "2023-03-21T19:13:11.856906Z"}], "thread_id": "Thread-4", "execution_time": 0.010985851287841797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.840986Z", "completed_at": "2023-03-21T19:13:11.856508Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.877999Z", "completed_at": "2023-03-21T19:13:11.878014Z"}], "thread_id": "Thread-3", "execution_time": 0.043753862380981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.686457Z", "completed_at": "2023-03-21T19:13:11.885976Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.891421Z", "completed_at": "2023-03-21T19:13:11.891431Z"}], "thread_id": "Thread-2", "execution_time": 0.21181988716125488, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.886554Z", "completed_at": "2023-03-21T19:13:11.897874Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.899457Z", "completed_at": "2023-03-21T19:13:11.899463Z"}], "thread_id": "Thread-4", "execution_time": 0.015520095825195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.891631Z", "completed_at": "2023-03-21T19:13:11.899267Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.905752Z", "completed_at": "2023-03-21T19:13:11.905760Z"}], "thread_id": "Thread-3", "execution_time": 0.020689725875854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.900517Z", "completed_at": "2023-03-21T19:13:11.908386Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.915411Z", "completed_at": "2023-03-21T19:13:11.915419Z"}], "thread_id": "Thread-2", "execution_time": 0.021914005279541016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.909687Z", "completed_at": "2023-03-21T19:13:11.921085Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.922809Z", "completed_at": "2023-03-21T19:13:11.922817Z"}], "thread_id": "Thread-4", "execution_time": 0.016437053680419922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.915685Z", "completed_at": "2023-03-21T19:13:11.922615Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.929787Z", "completed_at": "2023-03-21T19:13:11.929794Z"}], "thread_id": "Thread-3", "execution_time": 0.02174520492553711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.923913Z", "completed_at": "2023-03-21T19:13:11.931888Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.940135Z", "completed_at": "2023-03-21T19:13:11.940150Z"}], "thread_id": "Thread-2", "execution_time": 0.019103050231933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.933766Z", "completed_at": "2023-03-21T19:13:11.958665Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.959178Z", "completed_at": "2023-03-21T19:13:11.959189Z"}], "thread_id": "Thread-4", "execution_time": 0.028460025787353516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.951715Z", "completed_at": "2023-03-21T19:13:11.968030Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.968580Z", "completed_at": "2023-03-21T19:13:11.968592Z"}], "thread_id": "Thread-2", "execution_time": 0.018564224243164062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.961073Z", "completed_at": "2023-03-21T19:13:11.971634Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.980852Z", "completed_at": "2023-03-21T19:13:11.980866Z"}], "thread_id": "Thread-4", "execution_time": 0.02137589454650879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.941655Z", "completed_at": "2023-03-21T19:13:11.971847Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.981113Z", "completed_at": "2023-03-21T19:13:11.981121Z"}], "thread_id": "Thread-3", "execution_time": 0.04923510551452637, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.int_amazon_ads__portfolio_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.972036Z", "completed_at": "2023-03-21T19:13:11.982057Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:11.985127Z", "completed_at": "2023-03-21T19:13:11.985136Z"}], "thread_id": "Thread-2", "execution_time": 0.015858173370361328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.986970Z", "completed_at": "2023-03-21T19:13:12.008484Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.009047Z", "completed_at": "2023-03-21T19:13:12.009057Z"}], "thread_id": "Thread-4", "execution_time": 0.02531886100769043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.994078Z", "completed_at": "2023-03-21T19:13:12.022600Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.023221Z", "completed_at": "2023-03-21T19:13:12.023267Z"}], "thread_id": "Thread-3", "execution_time": 0.03910517692565918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.002637Z", "completed_at": "2023-03-21T19:13:12.023874Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.026538Z", "completed_at": "2023-03-21T19:13:12.026546Z"}], "thread_id": "Thread-2", "execution_time": 0.026168107986450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.011379Z", "completed_at": "2023-03-21T19:13:12.025085Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.028136Z", "completed_at": "2023-03-21T19:13:12.028143Z"}], "thread_id": "Thread-4", "execution_time": 0.018555879592895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.029765Z", "completed_at": "2023-03-21T19:13:12.054744Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.066974Z", "completed_at": "2023-03-21T19:13:12.067003Z"}], "thread_id": "Thread-3", "execution_time": 0.041042327880859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__portfolio_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:11.639726Z", "completed_at": "2023-03-21T19:13:12.060557Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.068655Z", "completed_at": "2023-03-21T19:13:12.068663Z"}], "thread_id": "Thread-1", "execution_time": 0.43126487731933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.054937Z", "completed_at": "2023-03-21T19:13:12.067288Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.069399Z", "completed_at": "2023-03-21T19:13:12.069430Z"}], "thread_id": "Thread-2", "execution_time": 0.03636598587036133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.060835Z", "completed_at": "2023-03-21T19:13:12.069214Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.073354Z", "completed_at": "2023-03-21T19:13:12.073361Z"}], "thread_id": "Thread-4", "execution_time": 0.027750015258789062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.074659Z", "completed_at": "2023-03-21T19:13:12.089850Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.098838Z", "completed_at": "2023-03-21T19:13:12.098852Z"}], "thread_id": "Thread-3", "execution_time": 0.03467273712158203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.084250Z", "completed_at": "2023-03-21T19:13:12.099072Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.107338Z", "completed_at": "2023-03-21T19:13:12.107345Z"}], "thread_id": "Thread-1", "execution_time": 0.03470206260681152, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.090632Z", "completed_at": "2023-03-21T19:13:12.105574Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.108063Z", "completed_at": "2023-03-21T19:13:12.108070Z"}], "thread_id": "Thread-2", "execution_time": 0.02720189094543457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.099298Z", "completed_at": "2023-03-21T19:13:12.107128Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.109962Z", "completed_at": "2023-03-21T19:13:12.109972Z"}], "thread_id": "Thread-4", "execution_time": 0.02972888946533203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.110868Z", "completed_at": "2023-03-21T19:13:12.122011Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.135017Z", "completed_at": "2023-03-21T19:13:12.135027Z"}], "thread_id": "Thread-3", "execution_time": 0.03309988975524902, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.123587Z", "completed_at": "2023-03-21T19:13:12.140922Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.142876Z", "completed_at": "2023-03-21T19:13:12.142883Z"}], "thread_id": "Thread-1", "execution_time": 0.023532867431640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.129181Z", "completed_at": "2023-03-21T19:13:12.141817Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.144143Z", "completed_at": "2023-03-21T19:13:12.144148Z"}], "thread_id": "Thread-2", "execution_time": 0.03069591522216797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.135432Z", "completed_at": "2023-03-21T19:13:12.142259Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.144324Z", "completed_at": "2023-03-21T19:13:12.144329Z"}], "thread_id": "Thread-4", "execution_time": 0.02983999252319336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.144502Z", "completed_at": "2023-03-21T19:13:12.154689Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.166589Z", "completed_at": "2023-03-21T19:13:12.166601Z"}], "thread_id": "Thread-3", "execution_time": 0.036045074462890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.157557Z", "completed_at": "2023-03-21T19:13:12.177940Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.180273Z", "completed_at": "2023-03-21T19:13:12.180282Z"}], "thread_id": "Thread-1", "execution_time": 0.028872013092041016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.166965Z", "completed_at": "2023-03-21T19:13:12.179748Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.182519Z", "completed_at": "2023-03-21T19:13:12.182525Z"}], "thread_id": "Thread-2", "execution_time": 0.03418707847595215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.172660Z", "completed_at": "2023-03-21T19:13:12.180481Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.183043Z", "completed_at": "2023-03-21T19:13:12.183050Z"}], "thread_id": "Thread-4", "execution_time": 0.035739898681640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.183508Z", "completed_at": "2023-03-21T19:13:12.195040Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.207634Z", "completed_at": "2023-03-21T19:13:12.207651Z"}], "thread_id": "Thread-3", "execution_time": 0.03491401672363281, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.195258Z", "completed_at": "2023-03-21T19:13:12.207907Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.217004Z", "completed_at": "2023-03-21T19:13:12.217012Z"}], "thread_id": "Thread-1", "execution_time": 0.02761220932006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.202123Z", "completed_at": "2023-03-21T19:13:12.216771Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.219742Z", "completed_at": "2023-03-21T19:13:12.219751Z"}], "thread_id": "Thread-2", "execution_time": 0.03341412544250488, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.208120Z", "completed_at": "2023-03-21T19:13:12.218085Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.225939Z", "completed_at": "2023-03-21T19:13:12.225951Z"}], "thread_id": "Thread-4", "execution_time": 0.028387069702148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.220621Z", "completed_at": "2023-03-21T19:13:12.230926Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.238848Z", "completed_at": "2023-03-21T19:13:12.238859Z"}], "thread_id": "Thread-3", "execution_time": 0.03335881233215332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.231879Z", "completed_at": "2023-03-21T19:13:12.239066Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.252279Z", "completed_at": "2023-03-21T19:13:12.252289Z"}], "thread_id": "Thread-1", "execution_time": 0.025197982788085938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.245608Z", "completed_at": "2023-03-21T19:13:12.252514Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.254961Z", "completed_at": "2023-03-21T19:13:12.254968Z"}], "thread_id": "Thread-4", "execution_time": 0.02430415153503418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.239297Z", "completed_at": "2023-03-21T19:13:12.253101Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.260828Z", "completed_at": "2023-03-21T19:13:12.260836Z"}], "thread_id": "Thread-2", "execution_time": 0.03109908103942871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.255176Z", "completed_at": "2023-03-21T19:13:12.263388Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.273430Z", "completed_at": "2023-03-21T19:13:12.273444Z"}], "thread_id": "Thread-3", "execution_time": 0.026510000228881836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.264466Z", "completed_at": "2023-03-21T19:13:12.278734Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.285438Z", "completed_at": "2023-03-21T19:13:12.285446Z"}], "thread_id": "Thread-1", "execution_time": 0.025738954544067383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.273945Z", "completed_at": "2023-03-21T19:13:12.285246Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.287495Z", "completed_at": "2023-03-21T19:13:12.287501Z"}], "thread_id": "Thread-4", "execution_time": 0.02850198745727539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.279495Z", "completed_at": "2023-03-21T19:13:12.286127Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.298071Z", "completed_at": "2023-03-21T19:13:12.298083Z"}], "thread_id": "Thread-2", "execution_time": 0.02722311019897461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.287983Z", "completed_at": "2023-03-21T19:13:12.302662Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.320264Z", "completed_at": "2023-03-21T19:13:12.320280Z"}], "thread_id": "Thread-3", "execution_time": 0.0499267578125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.302852Z", "completed_at": "2023-03-21T19:13:12.330650Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.337456Z", "completed_at": "2023-03-21T19:13:12.337467Z"}], "thread_id": "Thread-1", "execution_time": 0.040257930755615234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.314903Z", "completed_at": "2023-03-21T19:13:12.336900Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.339991Z", "completed_at": "2023-03-21T19:13:12.339999Z"}], "thread_id": "Thread-4", "execution_time": 0.04990100860595703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.324224Z", "completed_at": "2023-03-21T19:13:12.337864Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.340785Z", "completed_at": "2023-03-21T19:13:12.340793Z"}], "thread_id": "Thread-2", "execution_time": 0.043747901916503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.341118Z", "completed_at": "2023-03-21T19:13:12.354423Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.363626Z", "completed_at": "2023-03-21T19:13:12.363638Z"}], "thread_id": "Thread-3", "execution_time": 0.040590763092041016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__organization_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.355595Z", "completed_at": "2023-03-21T19:13:12.374748Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.381446Z", "completed_at": "2023-03-21T19:13:12.381476Z"}], "thread_id": "Thread-1", "execution_time": 0.03157806396484375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.363936Z", "completed_at": "2023-03-21T19:13:12.379805Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.383807Z", "completed_at": "2023-03-21T19:13:12.383813Z"}], "thread_id": "Thread-4", "execution_time": 0.03711199760437012, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.369289Z", "completed_at": "2023-03-21T19:13:12.380961Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.383990Z", "completed_at": "2023-03-21T19:13:12.383996Z"}], "thread_id": "Thread-2", "execution_time": 0.030359983444213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__search_term_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.384644Z", "completed_at": "2023-03-21T19:13:12.394916Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.401970Z", "completed_at": "2023-03-21T19:13:12.401983Z"}], "thread_id": "Thread-3", "execution_time": 0.03244185447692871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.396063Z", "completed_at": "2023-03-21T19:13:12.414792Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.417107Z", "completed_at": "2023-03-21T19:13:12.417115Z"}], "thread_id": "Thread-1", "execution_time": 0.02533102035522461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.402195Z", "completed_at": "2023-03-21T19:13:12.416823Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.425086Z", "completed_at": "2023-03-21T19:13:12.425098Z"}], "thread_id": "Thread-4", "execution_time": 0.03174901008605957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.407417Z", "completed_at": "2023-03-21T19:13:12.417288Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.426361Z", "completed_at": "2023-03-21T19:13:12.426371Z"}], "thread_id": "Thread-2", "execution_time": 0.03257870674133301, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.418756Z", "completed_at": "2023-03-21T19:13:12.429493Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.437866Z", "completed_at": "2023-03-21T19:13:12.437877Z"}], "thread_id": "Thread-3", "execution_time": 0.030369043350219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.430897Z", "completed_at": "2023-03-21T19:13:12.446950Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.455912Z", "completed_at": "2023-03-21T19:13:12.455924Z"}], "thread_id": "Thread-1", "execution_time": 0.02987813949584961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.447191Z", "completed_at": "2023-03-21T19:13:12.456309Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.465938Z", "completed_at": "2023-03-21T19:13:12.465952Z"}], "thread_id": "Thread-2", "execution_time": 0.03054523468017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.438497Z", "completed_at": "2023-03-21T19:13:12.456748Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.466214Z", "completed_at": "2023-03-21T19:13:12.466223Z"}], "thread_id": "Thread-4", "execution_time": 0.03800392150878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.457856Z", "completed_at": "2023-03-21T19:13:12.468992Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.477874Z", "completed_at": "2023-03-21T19:13:12.477886Z"}], "thread_id": "Thread-3", "execution_time": 0.023832082748413086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.470520Z", "completed_at": "2023-03-21T19:13:12.479467Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.494852Z", "completed_at": "2023-03-21T19:13:12.494862Z"}], "thread_id": "Thread-1", "execution_time": 0.029345035552978516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.479700Z", "completed_at": "2023-03-21T19:13:12.494575Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.503514Z", "completed_at": "2023-03-21T19:13:12.503524Z"}], "thread_id": "Thread-2", "execution_time": 0.028295040130615234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.484847Z", "completed_at": "2023-03-21T19:13:12.495047Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.504413Z", "completed_at": "2023-03-21T19:13:12.504422Z"}], "thread_id": "Thread-4", "execution_time": 0.029190778732299805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.496680Z", "completed_at": "2023-03-21T19:13:12.506035Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.516531Z", "completed_at": "2023-03-21T19:13:12.516544Z"}], "thread_id": "Thread-3", "execution_time": 0.02399611473083496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.509212Z", "completed_at": "2023-03-21T19:13:12.518679Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.531580Z", "completed_at": "2023-03-21T19:13:12.531592Z"}], "thread_id": "Thread-1", "execution_time": 0.027217864990234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.518886Z", "completed_at": "2023-03-21T19:13:12.531860Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.546112Z", "completed_at": "2023-03-21T19:13:12.546123Z"}], "thread_id": "Thread-2", "execution_time": 0.03918290138244629, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.525110Z", "completed_at": "2023-03-21T19:13:12.533022Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.547024Z", "completed_at": "2023-03-21T19:13:12.547032Z"}], "thread_id": "Thread-4", "execution_time": 0.03188490867614746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.533484Z", "completed_at": "2023-03-21T19:13:12.547976Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.561917Z", "completed_at": "2023-03-21T19:13:12.561928Z"}], "thread_id": "Thread-3", "execution_time": 0.03253602981567383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.549852Z", "completed_at": "2023-03-21T19:13:12.563766Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.580209Z", "completed_at": "2023-03-21T19:13:12.580219Z"}], "thread_id": "Thread-1", "execution_time": 0.034895896911621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__ad_set_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.564195Z", "completed_at": "2023-03-21T19:13:12.580601Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.589690Z", "completed_at": "2023-03-21T19:13:12.589699Z"}], "thread_id": "Thread-2", "execution_time": 0.029588937759399414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.574632Z", "completed_at": "2023-03-21T19:13:12.581653Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.590440Z", "completed_at": "2023-03-21T19:13:12.590449Z"}], "thread_id": "Thread-4", "execution_time": 0.03011798858642578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__url_tags"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.582053Z", "completed_at": "2023-03-21T19:13:12.591563Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.602318Z", "completed_at": "2023-03-21T19:13:12.602330Z"}], "thread_id": "Thread-3", "execution_time": 0.024247169494628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.593572Z", "completed_at": "2023-03-21T19:13:12.603368Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.615035Z", "completed_at": "2023-03-21T19:13:12.615066Z"}], "thread_id": "Thread-1", "execution_time": 0.027406692504882812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.604443Z", "completed_at": "2023-03-21T19:13:12.616855Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.626841Z", "completed_at": "2023-03-21T19:13:12.626850Z"}], "thread_id": "Thread-2", "execution_time": 0.02709817886352539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.610091Z", "completed_at": "2023-03-21T19:13:12.619412Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.629001Z", "completed_at": "2023-03-21T19:13:12.629009Z"}], "thread_id": "Thread-4", "execution_time": 0.032633066177368164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.619659Z", "completed_at": "2023-03-21T19:13:12.629175Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.636845Z", "completed_at": "2023-03-21T19:13:12.636853Z"}], "thread_id": "Thread-3", "execution_time": 0.02253890037536621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.629635Z", "completed_at": "2023-03-21T19:13:12.637017Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.645182Z", "completed_at": "2023-03-21T19:13:12.645206Z"}], "thread_id": "Thread-1", "execution_time": 0.024301767349243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.638476Z", "completed_at": "2023-03-21T19:13:12.652059Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.661997Z", "completed_at": "2023-03-21T19:13:12.662051Z"}], "thread_id": "Thread-2", "execution_time": 0.02768111228942871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.645725Z", "completed_at": "2023-03-21T19:13:12.660453Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.662657Z", "completed_at": "2023-03-21T19:13:12.662664Z"}], "thread_id": "Thread-4", "execution_time": 0.03540492057800293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.652783Z", "completed_at": "2023-03-21T19:13:12.673600Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.676908Z", "completed_at": "2023-03-21T19:13:12.676917Z"}], "thread_id": "Thread-3", "execution_time": 0.03296518325805664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.663808Z", "completed_at": "2023-03-21T19:13:12.675402Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.683151Z", "completed_at": "2023-03-21T19:13:12.683161Z"}], "thread_id": "Thread-1", "execution_time": 0.028971195220947266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.677406Z", "completed_at": "2023-03-21T19:13:12.691320Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.693987Z", "completed_at": "2023-03-21T19:13:12.693995Z"}], "thread_id": "Thread-2", "execution_time": 0.028594970703125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.684024Z", "completed_at": "2023-03-21T19:13:12.693015Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.704503Z", "completed_at": "2023-03-21T19:13:12.704513Z"}], "thread_id": "Thread-4", "execution_time": 0.037763118743896484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.694729Z", "completed_at": "2023-03-21T19:13:12.714439Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.717279Z", "completed_at": "2023-03-21T19:13:12.717288Z"}], "thread_id": "Thread-3", "execution_time": 0.03307390213012695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.704851Z", "completed_at": "2023-03-21T19:13:12.716104Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.725562Z", "completed_at": "2023-03-21T19:13:12.725570Z"}], "thread_id": "Thread-1", "execution_time": 0.039494991302490234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.717763Z", "completed_at": "2023-03-21T19:13:12.733028Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.736898Z", "completed_at": "2023-03-21T19:13:12.736906Z"}], "thread_id": "Thread-2", "execution_time": 0.03129696846008301, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.726081Z", "completed_at": "2023-03-21T19:13:12.735703Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.746499Z", "completed_at": "2023-03-21T19:13:12.746508Z"}], "thread_id": "Thread-4", "execution_time": 0.03655505180358887, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.737360Z", "completed_at": "2023-03-21T19:13:12.754265Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.761440Z", "completed_at": "2023-03-21T19:13:12.761448Z"}], "thread_id": "Thread-3", "execution_time": 0.029041290283203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.746742Z", "completed_at": "2023-03-21T19:13:12.755355Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.761952Z", "completed_at": "2023-03-21T19:13:12.761959Z"}], "thread_id": "Thread-1", "execution_time": 0.032846689224243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.756290Z", "completed_at": "2023-03-21T19:13:12.762763Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.775203Z", "completed_at": "2023-03-21T19:13:12.775214Z"}], "thread_id": "Thread-2", "execution_time": 0.0227358341217041, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.762950Z", "completed_at": "2023-03-21T19:13:12.775466Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.782273Z", "completed_at": "2023-03-21T19:13:12.782280Z"}], "thread_id": "Thread-4", "execution_time": 0.0322420597076416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.777206Z", "completed_at": "2023-03-21T19:13:12.788425Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.799492Z", "completed_at": "2023-03-21T19:13:12.799506Z"}], "thread_id": "Thread-3", "execution_time": 0.0263822078704834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.782639Z", "completed_at": "2023-03-21T19:13:12.790037Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.801590Z", "completed_at": "2023-03-21T19:13:12.801615Z"}], "thread_id": "Thread-1", "execution_time": 0.04866290092468262, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.790247Z", "completed_at": "2023-03-21T19:13:12.807974Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.827738Z", "completed_at": "2023-03-21T19:13:12.827753Z"}], "thread_id": "Thread-2", "execution_time": 0.042433738708496094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.801930Z", "completed_at": "2023-03-21T19:13:12.828043Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.838826Z", "completed_at": "2023-03-21T19:13:12.838841Z"}], "thread_id": "Thread-4", "execution_time": 0.052362918853759766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.830456Z", "completed_at": "2023-03-21T19:13:12.851297Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.861742Z", "completed_at": "2023-03-21T19:13:12.861754Z"}], "thread_id": "Thread-3", "execution_time": 0.037161827087402344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.839274Z", "completed_at": "2023-03-21T19:13:12.852496Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.862437Z", "completed_at": "2023-03-21T19:13:12.862446Z"}], "thread_id": "Thread-1", "execution_time": 0.04215884208679199, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.852966Z", "completed_at": "2023-03-21T19:13:12.862687Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.872587Z", "completed_at": "2023-03-21T19:13:12.872598Z"}], "thread_id": "Thread-2", "execution_time": 0.02496790885925293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.863543Z", "completed_at": "2023-03-21T19:13:12.874443Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.894419Z", "completed_at": "2023-03-21T19:13:12.894436Z"}], "thread_id": "Thread-4", "execution_time": 0.03606986999511719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.876564Z", "completed_at": "2023-03-21T19:13:12.897533Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.913940Z", "completed_at": "2023-03-21T19:13:12.913955Z"}], "thread_id": "Thread-3", "execution_time": 0.042009830474853516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.882891Z", "completed_at": "2023-03-21T19:13:12.898385Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.914573Z", "completed_at": "2023-03-21T19:13:12.914584Z"}], "thread_id": "Thread-1", "execution_time": 0.05106306076049805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.899135Z", "completed_at": "2023-03-21T19:13:12.920962Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.927824Z", "completed_at": "2023-03-21T19:13:12.927833Z"}], "thread_id": "Thread-2", "execution_time": 0.0335240364074707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.915526Z", "completed_at": "2023-03-21T19:13:12.927589Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.937538Z", "completed_at": "2023-03-21T19:13:12.937551Z"}], "thread_id": "Thread-4", "execution_time": 0.03258395195007324, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.930166Z", "completed_at": "2023-03-21T19:13:12.945754Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.958367Z", "completed_at": "2023-03-21T19:13:12.958378Z"}], "thread_id": "Thread-3", "execution_time": 0.040891170501708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.938407Z", "completed_at": "2023-03-21T19:13:12.946280Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.958579Z", "completed_at": "2023-03-21T19:13:12.958585Z"}], "thread_id": "Thread-1", "execution_time": 0.04060220718383789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.947714Z", "completed_at": "2023-03-21T19:13:12.968162Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.971322Z", "completed_at": "2023-03-21T19:13:12.971331Z"}], "thread_id": "Thread-2", "execution_time": 0.028043031692504883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.958896Z", "completed_at": "2023-03-21T19:13:12.970357Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.973334Z", "completed_at": "2023-03-21T19:13:12.973341Z"}], "thread_id": "Thread-4", "execution_time": 0.03874373435974121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.973550Z", "completed_at": "2023-03-21T19:13:12.987172Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:12.995086Z", "completed_at": "2023-03-21T19:13:12.995094Z"}], "thread_id": "Thread-3", "execution_time": 0.0314328670501709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.979804Z", "completed_at": "2023-03-21T19:13:12.994682Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.002662Z", "completed_at": "2023-03-21T19:13:13.002673Z"}], "thread_id": "Thread-1", "execution_time": 0.033035993576049805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.988142Z", "completed_at": "2023-03-21T19:13:13.003048Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.007441Z", "completed_at": "2023-03-21T19:13:13.007450Z"}], "thread_id": "Thread-2", "execution_time": 0.023120880126953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:12.995597Z", "completed_at": "2023-03-21T19:13:13.004841Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.008439Z", "completed_at": "2023-03-21T19:13:13.008447Z"}], "thread_id": "Thread-4", "execution_time": 0.027911901473999023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.009261Z", "completed_at": "2023-03-21T19:13:13.025966Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.038466Z", "completed_at": "2023-03-21T19:13:13.038481Z"}], "thread_id": "Thread-3", "execution_time": 0.03389406204223633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.016454Z", "completed_at": "2023-03-21T19:13:13.026229Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.038868Z", "completed_at": "2023-03-21T19:13:13.038878Z"}], "thread_id": "Thread-1", "execution_time": 0.03257608413696289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.026418Z", "completed_at": "2023-03-21T19:13:13.039805Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.043107Z", "completed_at": "2023-03-21T19:13:13.043114Z"}], "thread_id": "Thread-2", "execution_time": 0.020565032958984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.031736Z", "completed_at": "2023-03-21T19:13:13.040770Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.043814Z", "completed_at": "2023-03-21T19:13:13.043821Z"}], "thread_id": "Thread-4", "execution_time": 0.020514965057373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.045693Z", "completed_at": "2023-03-21T19:13:13.061035Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.075914Z", "completed_at": "2023-03-21T19:13:13.075926Z"}], "thread_id": "Thread-3", "execution_time": 0.03443622589111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.053482Z", "completed_at": "2023-03-21T19:13:13.061864Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.076383Z", "completed_at": "2023-03-21T19:13:13.076393Z"}], "thread_id": "Thread-1", "execution_time": 0.034394025802612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.062344Z", "completed_at": "2023-03-21T19:13:13.078492Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.081435Z", "completed_at": "2023-03-21T19:13:13.081442Z"}], "thread_id": "Thread-2", "execution_time": 0.028387069702148438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.067844Z", "completed_at": "2023-03-21T19:13:13.078711Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.081639Z", "completed_at": "2023-03-21T19:13:13.081645Z"}], "thread_id": "Thread-4", "execution_time": 0.028341054916381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.082069Z", "completed_at": "2023-03-21T19:13:13.097074Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.105859Z", "completed_at": "2023-03-21T19:13:13.105870Z"}], "thread_id": "Thread-3", "execution_time": 0.03438282012939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.089211Z", "completed_at": "2023-03-21T19:13:13.098087Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.113248Z", "completed_at": "2023-03-21T19:13:13.113265Z"}], "thread_id": "Thread-1", "execution_time": 0.03411507606506348, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.098760Z", "completed_at": "2023-03-21T19:13:13.115350Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.119096Z", "completed_at": "2023-03-21T19:13:13.119105Z"}], "thread_id": "Thread-2", "execution_time": 0.02378392219543457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__creative_history_version_tag__creative_id.cc02e6aa66"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.106086Z", "completed_at": "2023-03-21T19:13:13.115916Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.119582Z", "completed_at": "2023-03-21T19:13:13.119589Z"}], "thread_id": "Thread-4", "execution_time": 0.0296630859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.120667Z", "completed_at": "2023-03-21T19:13:13.138320Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.150170Z", "completed_at": "2023-03-21T19:13:13.150185Z"}], "thread_id": "Thread-3", "execution_time": 0.04503297805786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_version_tag.d3f8e73227"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.127335Z", "completed_at": "2023-03-21T19:13:13.161438Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.164505Z", "completed_at": "2023-03-21T19:13:13.164513Z"}], "thread_id": "Thread-1", "execution_time": 0.04765486717224121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.140241Z", "completed_at": "2023-03-21T19:13:13.163467Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.166566Z", "completed_at": "2023-03-21T19:13:13.166575Z"}], "thread_id": "Thread-2", "execution_time": 0.030907869338989258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__campaign_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.150505Z", "completed_at": "2023-03-21T19:13:13.165058Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.168837Z", "completed_at": "2023-03-21T19:13:13.168846Z"}], "thread_id": "Thread-4", "execution_time": 0.043260812759399414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.169095Z", "completed_at": "2023-03-21T19:13:13.183315Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.203477Z", "completed_at": "2023-03-21T19:13:13.203492Z"}], "thread_id": "Thread-3", "execution_time": 0.03922891616821289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__creative_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.183948Z", "completed_at": "2023-03-21T19:13:13.204037Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.368589Z", "completed_at": "2023-03-21T19:13:13.368615Z"}], "thread_id": "Thread-1", "execution_time": 0.19610810279846191, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.196732Z", "completed_at": "2023-03-21T19:13:13.337510Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.377191Z", "completed_at": "2023-03-21T19:13:13.377206Z"}], "thread_id": "Thread-2", "execution_time": 0.1967771053314209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.205014Z", "completed_at": "2023-03-21T19:13:13.378472Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.388933Z", "completed_at": "2023-03-21T19:13:13.388947Z"}], "thread_id": "Thread-4", "execution_time": 0.20696187019348145, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.380008Z", "completed_at": "2023-03-21T19:13:13.402173Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.414613Z", "completed_at": "2023-03-21T19:13:13.414626Z"}], "thread_id": "Thread-3", "execution_time": 0.040438175201416016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.389965Z", "completed_at": "2023-03-21T19:13:13.416389Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.433678Z", "completed_at": "2023-03-21T19:13:13.433690Z"}], "thread_id": "Thread-1", "execution_time": 0.04849410057067871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.408782Z", "completed_at": "2023-03-21T19:13:13.416944Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.433929Z", "completed_at": "2023-03-21T19:13:13.433937Z"}], "thread_id": "Thread-2", "execution_time": 0.04631304740905762, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.417997Z", "completed_at": "2023-03-21T19:13:13.441300Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.444781Z", "completed_at": "2023-03-21T19:13:13.444790Z"}], "thread_id": "Thread-4", "execution_time": 0.03118610382080078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.435989Z", "completed_at": "2023-03-21T19:13:13.445396Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.459560Z", "completed_at": "2023-03-21T19:13:13.459572Z"}], "thread_id": "Thread-3", "execution_time": 0.027971744537353516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.446460Z", "completed_at": "2023-03-21T19:13:13.459988Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.462770Z", "completed_at": "2023-03-21T19:13:13.462779Z"}], "thread_id": "Thread-1", "execution_time": 0.028578758239746094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.453593Z", "completed_at": "2023-03-21T19:13:13.461655Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.472598Z", "completed_at": "2023-03-21T19:13:13.472607Z"}], "thread_id": "Thread-2", "execution_time": 0.029618024826049805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.463291Z", "completed_at": "2023-03-21T19:13:13.480853Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.488313Z", "completed_at": "2023-03-21T19:13:13.488324Z"}], "thread_id": "Thread-4", "execution_time": 0.03125619888305664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.474456Z", "completed_at": "2023-03-21T19:13:13.488066Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.501777Z", "completed_at": "2023-03-21T19:13:13.501787Z"}], "thread_id": "Thread-3", "execution_time": 0.034071922302246094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.482910Z", "completed_at": "2023-03-21T19:13:13.502727Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.505595Z", "completed_at": "2023-03-21T19:13:13.505601Z"}], "thread_id": "Thread-1", "execution_time": 0.03214406967163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.491935Z", "completed_at": "2023-03-21T19:13:13.504751Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.512787Z", "completed_at": "2023-03-21T19:13:13.512794Z"}], "thread_id": "Thread-2", "execution_time": 0.0326390266418457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.506405Z", "completed_at": "2023-03-21T19:13:13.515630Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.524858Z", "completed_at": "2023-03-21T19:13:13.524870Z"}], "thread_id": "Thread-4", "execution_time": 0.02738213539123535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.516019Z", "completed_at": "2023-03-21T19:13:13.530632Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.544638Z", "completed_at": "2023-03-21T19:13:13.544652Z"}], "thread_id": "Thread-3", "execution_time": 0.041967153549194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.525198Z", "completed_at": "2023-03-21T19:13:13.543749Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.548575Z", "completed_at": "2023-03-21T19:13:13.548582Z"}], "thread_id": "Thread-1", "execution_time": 0.027514219284057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.532107Z", "completed_at": "2023-03-21T19:13:13.548339Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.561439Z", "completed_at": "2023-03-21T19:13:13.561448Z"}], "thread_id": "Thread-2", "execution_time": 0.03854990005493164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.550460Z", "completed_at": "2023-03-21T19:13:13.568965Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.594386Z", "completed_at": "2023-03-21T19:13:13.594400Z"}], "thread_id": "Thread-4", "execution_time": 0.04988217353820801, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.563776Z", "completed_at": "2023-03-21T19:13:13.595574Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.621923Z", "completed_at": "2023-03-21T19:13:13.621937Z"}], "thread_id": "Thread-3", "execution_time": 0.06257104873657227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.588246Z", "completed_at": "2023-03-21T19:13:13.620685Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.623841Z", "completed_at": "2023-03-21T19:13:13.623849Z"}], "thread_id": "Thread-1", "execution_time": 0.07111310958862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.595766Z", "completed_at": "2023-03-21T19:13:13.622608Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.634855Z", "completed_at": "2023-03-21T19:13:13.634866Z"}], "thread_id": "Thread-2", "execution_time": 0.048708200454711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.624365Z", "completed_at": "2023-03-21T19:13:13.638198Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.657949Z", "completed_at": "2023-03-21T19:13:13.657960Z"}], "thread_id": "Thread-4", "execution_time": 0.04872608184814453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.638426Z", "completed_at": "2023-03-21T19:13:13.669311Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.674500Z", "completed_at": "2023-03-21T19:13:13.674511Z"}], "thread_id": "Thread-3", "execution_time": 0.04097914695739746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.652254Z", "completed_at": "2023-03-21T19:13:13.673666Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.676491Z", "completed_at": "2023-03-21T19:13:13.676521Z"}], "thread_id": "Thread-1", "execution_time": 0.040888071060180664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.658355Z", "completed_at": "2023-03-21T19:13:13.675681Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.683297Z", "completed_at": "2023-03-21T19:13:13.683305Z"}], "thread_id": "Thread-2", "execution_time": 0.03362321853637695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.678563Z", "completed_at": "2023-03-21T19:13:13.686201Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.702880Z", "completed_at": "2023-03-21T19:13:13.702889Z"}], "thread_id": "Thread-4", "execution_time": 0.03442788124084473, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.688342Z", "completed_at": "2023-03-21T19:13:13.710010Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.717604Z", "completed_at": "2023-03-21T19:13:13.717612Z"}], "thread_id": "Thread-3", "execution_time": 0.035126686096191406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.703144Z", "completed_at": "2023-03-21T19:13:13.716193Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.717990Z", "completed_at": "2023-03-21T19:13:13.717996Z"}], "thread_id": "Thread-1", "execution_time": 0.039011240005493164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.710270Z", "completed_at": "2023-03-21T19:13:13.717418Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.731931Z", "completed_at": "2023-03-21T19:13:13.731942Z"}], "thread_id": "Thread-2", "execution_time": 0.031083106994628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.718886Z", "completed_at": "2023-03-21T19:13:13.734747Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.753570Z", "completed_at": "2023-03-21T19:13:13.753581Z"}], "thread_id": "Thread-4", "execution_time": 0.03781485557556152, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__search_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.736447Z", "completed_at": "2023-03-21T19:13:13.760813Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.763065Z", "completed_at": "2023-03-21T19:13:13.763091Z"}], "thread_id": "Thread-3", "execution_time": 0.04973721504211426, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.742838Z", "completed_at": "2023-03-21T19:13:13.761910Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.787165Z", "completed_at": "2023-03-21T19:13:13.787183Z"}], "thread_id": "Thread-1", "execution_time": 0.11304688453674316, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.754874Z", "completed_at": "2023-03-21T19:13:13.764363Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.848385Z", "completed_at": "2023-03-21T19:13:13.848407Z"}], "thread_id": "Thread-2", "execution_time": 0.11537718772888184, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.806881Z", "completed_at": "2023-03-21T19:13:13.850405Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.863057Z", "completed_at": "2023-03-21T19:13:13.863068Z"}], "thread_id": "Thread-4", "execution_time": 0.10840106010437012, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.853810Z", "completed_at": "2023-03-21T19:13:13.871704Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.879085Z", "completed_at": "2023-03-21T19:13:13.879099Z"}], "thread_id": "Thread-3", "execution_time": 0.03150582313537598, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.863931Z", "completed_at": "2023-03-21T19:13:13.879310Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.888724Z", "completed_at": "2023-03-21T19:13:13.888735Z"}], "thread_id": "Thread-1", "execution_time": 0.03797292709350586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.872511Z", "completed_at": "2023-03-21T19:13:13.879903Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.888985Z", "completed_at": "2023-03-21T19:13:13.888992Z"}], "thread_id": "Thread-2", "execution_time": 0.027529001235961914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.880980Z", "completed_at": "2023-03-21T19:13:13.891507Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.900112Z", "completed_at": "2023-03-21T19:13:13.900125Z"}], "thread_id": "Thread-4", "execution_time": 0.022878408432006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.892784Z", "completed_at": "2023-03-21T19:13:13.901537Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.921284Z", "completed_at": "2023-03-21T19:13:13.921295Z"}], "thread_id": "Thread-3", "execution_time": 0.033204078674316406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.901757Z", "completed_at": "2023-03-21T19:13:13.921989Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.929833Z", "completed_at": "2023-03-21T19:13:13.929842Z"}], "thread_id": "Thread-1", "execution_time": 0.03251004219055176, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.907514Z", "completed_at": "2023-03-21T19:13:13.922851Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.930747Z", "completed_at": "2023-03-21T19:13:13.930757Z"}], "thread_id": "Thread-2", "execution_time": 0.032868146896362305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.923120Z", "completed_at": "2023-03-21T19:13:13.930994Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.942808Z", "completed_at": "2023-03-21T19:13:13.942821Z"}], "thread_id": "Thread-4", "execution_time": 0.024065017700195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.933571Z", "completed_at": "2023-03-21T19:13:13.945257Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.960362Z", "completed_at": "2023-03-21T19:13:13.960375Z"}], "thread_id": "Thread-3", "execution_time": 0.03163886070251465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__advertiser_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.946080Z", "completed_at": "2023-03-21T19:13:13.961066Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.968630Z", "completed_at": "2023-03-21T19:13:13.968639Z"}], "thread_id": "Thread-1", "execution_time": 0.027220964431762695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.954476Z", "completed_at": "2023-03-21T19:13:13.961335Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.969009Z", "completed_at": "2023-03-21T19:13:13.969017Z"}], "thread_id": "Thread-2", "execution_time": 0.027109146118164062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.962142Z", "completed_at": "2023-03-21T19:13:13.969328Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.972865Z", "completed_at": "2023-03-21T19:13:13.972873Z"}], "thread_id": "Thread-4", "execution_time": 0.022695302963256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.973094Z", "completed_at": "2023-03-21T19:13:13.983525Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:13.997951Z", "completed_at": "2023-03-21T19:13:13.997961Z"}], "thread_id": "Thread-3", "execution_time": 0.033518075942993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.983714Z", "completed_at": "2023-03-21T19:13:13.997486Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.003699Z", "completed_at": "2023-03-21T19:13:14.003706Z"}], "thread_id": "Thread-1", "execution_time": 0.02372002601623535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.990963Z", "completed_at": "2023-03-21T19:13:14.002450Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.004386Z", "completed_at": "2023-03-21T19:13:14.004391Z"}], "thread_id": "Thread-2", "execution_time": 0.02523970603942871, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:13.998150Z", "completed_at": "2023-03-21T19:13:14.004203Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.007839Z", "completed_at": "2023-03-21T19:13:14.007845Z"}], "thread_id": "Thread-4", "execution_time": 0.022680044174194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.009648Z", "completed_at": "2023-03-21T19:13:14.026988Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.036095Z", "completed_at": "2023-03-21T19:13:14.036107Z"}], "thread_id": "Thread-3", "execution_time": 0.03662300109863281, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.020725Z", "completed_at": "2023-03-21T19:13:14.040870Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.043332Z", "completed_at": "2023-03-21T19:13:14.043338Z"}], "thread_id": "Thread-1", "execution_time": 0.03579282760620117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.027725Z", "completed_at": "2023-03-21T19:13:14.041558Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.043694Z", "completed_at": "2023-03-21T19:13:14.043699Z"}], "thread_id": "Thread-2", "execution_time": 0.026686906814575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.036368Z", "completed_at": "2023-03-21T19:13:14.042856Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.045573Z", "completed_at": "2023-03-21T19:13:14.045578Z"}], "thread_id": "Thread-4", "execution_time": 0.019999980926513672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.047521Z", "completed_at": "2023-03-21T19:13:14.057831Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.080402Z", "completed_at": "2023-03-21T19:13:14.080415Z"}], "thread_id": "Thread-3", "execution_time": 0.042852163314819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.058511Z", "completed_at": "2023-03-21T19:13:14.080699Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.088615Z", "completed_at": "2023-03-21T19:13:14.088621Z"}], "thread_id": "Thread-1", "execution_time": 0.03416609764099121, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__pin_promotion_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.063862Z", "completed_at": "2023-03-21T19:13:14.087170Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.089427Z", "completed_at": "2023-03-21T19:13:14.089435Z"}], "thread_id": "Thread-2", "execution_time": 0.03469371795654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.080951Z", "completed_at": "2023-03-21T19:13:14.088243Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.090327Z", "completed_at": "2023-03-21T19:13:14.090332Z"}], "thread_id": "Thread-4", "execution_time": 0.039689064025878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.091898Z", "completed_at": "2023-03-21T19:13:14.100918Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.122048Z", "completed_at": "2023-03-21T19:13:14.122062Z"}], "thread_id": "Thread-3", "execution_time": 0.0390169620513916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.102657Z", "completed_at": "2023-03-21T19:13:14.128129Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.130593Z", "completed_at": "2023-03-21T19:13:14.130600Z"}], "thread_id": "Thread-1", "execution_time": 0.032917022705078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.113829Z", "completed_at": "2023-03-21T19:13:14.128921Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.131339Z", "completed_at": "2023-03-21T19:13:14.131346Z"}], "thread_id": "Thread-2", "execution_time": 0.03793787956237793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.122389Z", "completed_at": "2023-03-21T19:13:14.129631Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.132130Z", "completed_at": "2023-03-21T19:13:14.132137Z"}], "thread_id": "Thread-4", "execution_time": 0.03746604919433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.132357Z", "completed_at": "2023-03-21T19:13:14.140828Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.149412Z", "completed_at": "2023-03-21T19:13:14.149423Z"}], "thread_id": "Thread-3", "execution_time": 0.028009891510009766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.143990Z", "completed_at": "2023-03-21T19:13:14.165782Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.167594Z", "completed_at": "2023-03-21T19:13:14.167604Z"}], "thread_id": "Thread-1", "execution_time": 0.03348207473754883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.152414Z", "completed_at": "2023-03-21T19:13:14.166043Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.167807Z", "completed_at": "2023-03-21T19:13:14.167813Z"}], "thread_id": "Thread-2", "execution_time": 0.03296780586242676, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.158336Z", "completed_at": "2023-03-21T19:13:14.167965Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.176709Z", "completed_at": "2023-03-21T19:13:14.176721Z"}], "thread_id": "Thread-4", "execution_time": 0.03525400161743164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.168144Z", "completed_at": "2023-03-21T19:13:14.176965Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.180059Z", "completed_at": "2023-03-21T19:13:14.180065Z"}], "thread_id": "Thread-3", "execution_time": 0.031158924102783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.180467Z", "completed_at": "2023-03-21T19:13:14.198663Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.206366Z", "completed_at": "2023-03-21T19:13:14.206391Z"}], "thread_id": "Thread-1", "execution_time": 0.03523516654968262, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.189984Z", "completed_at": "2023-03-21T19:13:14.204218Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.206745Z", "completed_at": "2023-03-21T19:13:14.206753Z"}], "thread_id": "Thread-2", "execution_time": 0.03527116775512695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.198920Z", "completed_at": "2023-03-21T19:13:14.206003Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.213398Z", "completed_at": "2023-03-21T19:13:14.213408Z"}], "thread_id": "Thread-4", "execution_time": 0.018655061721801758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.206957Z", "completed_at": "2023-03-21T19:13:14.214626Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.217704Z", "completed_at": "2023-03-21T19:13:14.217711Z"}], "thread_id": "Thread-3", "execution_time": 0.027730226516723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.218497Z", "completed_at": "2023-03-21T19:13:14.233455Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.240927Z", "completed_at": "2023-03-21T19:13:14.240938Z"}], "thread_id": "Thread-1", "execution_time": 0.0313568115234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.224788Z", "completed_at": "2023-03-21T19:13:14.239022Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.241360Z", "completed_at": "2023-03-21T19:13:14.241367Z"}], "thread_id": "Thread-2", "execution_time": 0.0318751335144043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.233675Z", "completed_at": "2023-03-21T19:13:14.241136Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.248951Z", "completed_at": "2023-03-21T19:13:14.248961Z"}], "thread_id": "Thread-4", "execution_time": 0.03284192085266113, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.241573Z", "completed_at": "2023-03-21T19:13:14.250315Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.259430Z", "completed_at": "2023-03-21T19:13:14.259441Z"}], "thread_id": "Thread-3", "execution_time": 0.02838611602783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.252955Z", "completed_at": "2023-03-21T19:13:14.269091Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.278138Z", "completed_at": "2023-03-21T19:13:14.278153Z"}], "thread_id": "Thread-1", "execution_time": 0.04077005386352539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.260193Z", "completed_at": "2023-03-21T19:13:14.277448Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.291047Z", "completed_at": "2023-03-21T19:13:14.291060Z"}], "thread_id": "Thread-2", "execution_time": 0.041320085525512695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.269581Z", "completed_at": "2023-03-21T19:13:14.278736Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.292942Z", "completed_at": "2023-03-21T19:13:14.292950Z"}], "thread_id": "Thread-4", "execution_time": 0.03513789176940918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.278995Z", "completed_at": "2023-03-21T19:13:14.293809Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.302980Z", "completed_at": "2023-03-21T19:13:14.302992Z"}], "thread_id": "Thread-3", "execution_time": 0.03345894813537598, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.296633Z", "completed_at": "2023-03-21T19:13:14.319682Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.344765Z", "completed_at": "2023-03-21T19:13:14.344777Z"}], "thread_id": "Thread-1", "execution_time": 0.05693507194519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.310375Z", "completed_at": "2023-03-21T19:13:14.344477Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.350543Z", "completed_at": "2023-03-21T19:13:14.350552Z"}], "thread_id": "Thread-2", "execution_time": 0.05603504180908203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.320046Z", "completed_at": "2023-03-21T19:13:14.349764Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.352109Z", "completed_at": "2023-03-21T19:13:14.352116Z"}], "thread_id": "Thread-4", "execution_time": 0.04438185691833496, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.344975Z", "completed_at": "2023-03-21T19:13:14.351269Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.354220Z", "completed_at": "2023-03-21T19:13:14.354226Z"}], "thread_id": "Thread-3", "execution_time": 0.01943802833557129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.357103Z", "completed_at": "2023-03-21T19:13:14.374010Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.381540Z", "completed_at": "2023-03-21T19:13:14.381554Z"}], "thread_id": "Thread-1", "execution_time": 0.03697681427001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.365567Z", "completed_at": "2023-03-21T19:13:14.388841Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.391472Z", "completed_at": "2023-03-21T19:13:14.391482Z"}], "thread_id": "Thread-2", "execution_time": 0.03852105140686035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.374875Z", "completed_at": "2023-03-21T19:13:14.389750Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.392263Z", "completed_at": "2023-03-21T19:13:14.392271Z"}], "thread_id": "Thread-4", "execution_time": 0.030246734619140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.381898Z", "completed_at": "2023-03-21T19:13:14.391230Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.394269Z", "completed_at": "2023-03-21T19:13:14.394277Z"}], "thread_id": "Thread-3", "execution_time": 0.02921605110168457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.395056Z", "completed_at": "2023-03-21T19:13:14.405824Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.417868Z", "completed_at": "2023-03-21T19:13:14.417880Z"}], "thread_id": "Thread-1", "execution_time": 0.03480076789855957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.406774Z", "completed_at": "2023-03-21T19:13:14.426017Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.428301Z", "completed_at": "2023-03-21T19:13:14.428308Z"}], "thread_id": "Thread-2", "execution_time": 0.026081085205078125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.412416Z", "completed_at": "2023-03-21T19:13:14.426887Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.429035Z", "completed_at": "2023-03-21T19:13:14.429041Z"}], "thread_id": "Thread-4", "execution_time": 0.026186227798461914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.418361Z", "completed_at": "2023-03-21T19:13:14.428106Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.430963Z", "completed_at": "2023-03-21T19:13:14.430969Z"}], "thread_id": "Thread-3", "execution_time": 0.0318140983581543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.431687Z", "completed_at": "2023-03-21T19:13:14.440215Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.453390Z", "completed_at": "2023-03-21T19:13:14.453404Z"}], "thread_id": "Thread-1", "execution_time": 0.031538963317871094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.441147Z", "completed_at": "2023-03-21T19:13:14.459499Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.462230Z", "completed_at": "2023-03-21T19:13:14.462238Z"}], "thread_id": "Thread-2", "execution_time": 0.02510976791381836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.446862Z", "completed_at": "2023-03-21T19:13:14.460389Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.463082Z", "completed_at": "2023-03-21T19:13:14.463089Z"}], "thread_id": "Thread-4", "execution_time": 0.025664091110229492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.453745Z", "completed_at": "2023-03-21T19:13:14.461425Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.464084Z", "completed_at": "2023-03-21T19:13:14.464090Z"}], "thread_id": "Thread-3", "execution_time": 0.030646085739135742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.465478Z", "completed_at": "2023-03-21T19:13:14.474529Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.486410Z", "completed_at": "2023-03-21T19:13:14.486419Z"}], "thread_id": "Thread-1", "execution_time": 0.03036808967590332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.475375Z", "completed_at": "2023-03-21T19:13:14.493152Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.495193Z", "completed_at": "2023-03-21T19:13:14.495200Z"}], "thread_id": "Thread-2", "execution_time": 0.02394866943359375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.481851Z", "completed_at": "2023-03-21T19:13:14.493796Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.495787Z", "completed_at": "2023-03-21T19:13:14.495792Z"}], "thread_id": "Thread-4", "execution_time": 0.03315305709838867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.486702Z", "completed_at": "2023-03-21T19:13:14.494352Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.496502Z", "completed_at": "2023-03-21T19:13:14.496509Z"}], "thread_id": "Thread-3", "execution_time": 0.03319501876831055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.496713Z", "completed_at": "2023-03-21T19:13:14.511448Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.533282Z", "completed_at": "2023-03-21T19:13:14.533295Z"}], "thread_id": "Thread-1", "execution_time": 0.03967714309692383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.511638Z", "completed_at": "2023-03-21T19:13:14.533598Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.535724Z", "completed_at": "2023-03-21T19:13:14.535732Z"}], "thread_id": "Thread-2", "execution_time": 0.02846693992614746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__ad_squad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.520225Z", "completed_at": "2023-03-21T19:13:14.533771Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.536071Z", "completed_at": "2023-03-21T19:13:14.536077Z"}], "thread_id": "Thread-4", "execution_time": 0.02805304527282715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.527346Z", "completed_at": "2023-03-21T19:13:14.535351Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.538080Z", "completed_at": "2023-03-21T19:13:14.538086Z"}], "thread_id": "Thread-3", "execution_time": 0.034024953842163086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.539102Z", "completed_at": "2023-03-21T19:13:14.548005Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.563273Z", "completed_at": "2023-03-21T19:13:14.563285Z"}], "thread_id": "Thread-1", "execution_time": 0.03393292427062988, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.548698Z", "completed_at": "2023-03-21T19:13:14.568996Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.571902Z", "completed_at": "2023-03-21T19:13:14.571911Z"}], "thread_id": "Thread-2", "execution_time": 0.027920961380004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.556795Z", "completed_at": "2023-03-21T19:13:14.570559Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.572861Z", "completed_at": "2023-03-21T19:13:14.572868Z"}], "thread_id": "Thread-4", "execution_time": 0.028450965881347656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.563746Z", "completed_at": "2023-03-21T19:13:14.572144Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.575202Z", "completed_at": "2023-03-21T19:13:14.575209Z"}], "thread_id": "Thread-3", "execution_time": 0.03492593765258789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.575636Z", "completed_at": "2023-03-21T19:13:14.585230Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.598300Z", "completed_at": "2023-03-21T19:13:14.598310Z"}], "thread_id": "Thread-1", "execution_time": 0.03203415870666504, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.585455Z", "completed_at": "2023-03-21T19:13:14.598479Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.605894Z", "completed_at": "2023-03-21T19:13:14.605902Z"}], "thread_id": "Thread-2", "execution_time": 0.024775981903076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.592790Z", "completed_at": "2023-03-21T19:13:14.604642Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.606669Z", "completed_at": "2023-03-21T19:13:14.606675Z"}], "thread_id": "Thread-4", "execution_time": 0.02437114715576172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.598659Z", "completed_at": "2023-03-21T19:13:14.606062Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.608917Z", "completed_at": "2023-03-21T19:13:14.608924Z"}], "thread_id": "Thread-3", "execution_time": 0.03622078895568848, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.630441Z", "completed_at": "2023-03-21T19:13:14.643842Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.654886Z", "completed_at": "2023-03-21T19:13:14.654925Z"}], "thread_id": "Thread-2", "execution_time": 0.02853083610534668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.637863Z", "completed_at": "2023-03-21T19:13:14.651171Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.655700Z", "completed_at": "2023-03-21T19:13:14.655708Z"}], "thread_id": "Thread-4", "execution_time": 0.03606986999511719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.644494Z", "completed_at": "2023-03-21T19:13:14.665525Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.668896Z", "completed_at": "2023-03-21T19:13:14.668926Z"}], "thread_id": "Thread-3", "execution_time": 0.03908085823059082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.656945Z", "completed_at": "2023-03-21T19:13:14.666845Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.669430Z", "completed_at": "2023-03-21T19:13:14.669436Z"}], "thread_id": "Thread-1", "execution_time": 0.028228044509887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.669617Z", "completed_at": "2023-03-21T19:13:14.684361Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.690975Z", "completed_at": "2023-03-21T19:13:14.690984Z"}], "thread_id": "Thread-2", "execution_time": 0.03158712387084961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.677110Z", "completed_at": "2023-03-21T19:13:14.684518Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.691650Z", "completed_at": "2023-03-21T19:13:14.691656Z"}], "thread_id": "Thread-4", "execution_time": 0.03144407272338867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.685903Z", "completed_at": "2023-03-21T19:13:14.699860Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.702598Z", "completed_at": "2023-03-21T19:13:14.702607Z"}], "thread_id": "Thread-3", "execution_time": 0.01997208595275879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.691834Z", "completed_at": "2023-03-21T19:13:14.701250Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.704177Z", "completed_at": "2023-03-21T19:13:14.704184Z"}], "thread_id": "Thread-1", "execution_time": 0.03036022186279297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.709147Z", "completed_at": "2023-03-21T19:13:14.717545Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.727755Z", "completed_at": "2023-03-21T19:13:14.727769Z"}], "thread_id": "Thread-4", "execution_time": 0.032768964767456055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.704381Z", "completed_at": "2023-03-21T19:13:14.717814Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.728123Z", "completed_at": "2023-03-21T19:13:14.728132Z"}], "thread_id": "Thread-2", "execution_time": 0.0340580940246582, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.718746Z", "completed_at": "2023-03-21T19:13:14.734990Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.738058Z", "completed_at": "2023-03-21T19:13:14.738066Z"}], "thread_id": "Thread-3", "execution_time": 0.0237886905670166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.728388Z", "completed_at": "2023-03-21T19:13:14.737177Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:14.740113Z", "completed_at": "2023-03-21T19:13:14.740119Z"}], "thread_id": "Thread-1", "execution_time": 0.03566384315490723, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.740338Z", "completed_at": "2023-03-21T19:13:14.755803Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.160423Z", "completed_at": "2023-03-21T19:13:15.160437Z"}], "thread_id": "Thread-4", "execution_time": 0.4342610836029053, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.748082Z", "completed_at": "2023-03-21T19:13:14.756509Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.171155Z", "completed_at": "2023-03-21T19:13:15.171167Z"}], "thread_id": "Thread-2", "execution_time": 0.43447279930114746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:14.756723Z", "completed_at": "2023-03-21T19:13:15.172163Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.175558Z", "completed_at": "2023-03-21T19:13:15.175574Z"}], "thread_id": "Thread-3", "execution_time": 0.4234647750854492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.160703Z", "completed_at": "2023-03-21T19:13:15.174435Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.178447Z", "completed_at": "2023-03-21T19:13:15.178459Z"}], "thread_id": "Thread-1", "execution_time": 0.44564366340637207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.178727Z", "completed_at": "2023-03-21T19:13:15.203698Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.212147Z", "completed_at": "2023-03-21T19:13:15.212158Z"}], "thread_id": "Thread-4", "execution_time": 0.04327702522277832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__advertiser_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.189623Z", "completed_at": "2023-03-21T19:13:15.204546Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.217579Z", "completed_at": "2023-03-21T19:13:15.217590Z"}], "thread_id": "Thread-2", "execution_time": 0.04314708709716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.204792Z", "completed_at": "2023-03-21T19:13:15.218427Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.221543Z", "completed_at": "2023-03-21T19:13:15.221550Z"}], "thread_id": "Thread-3", "execution_time": 0.020772933959960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.212461Z", "completed_at": "2023-03-21T19:13:15.220271Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.223217Z", "completed_at": "2023-03-21T19:13:15.223223Z"}], "thread_id": "Thread-1", "execution_time": 0.026224136352539062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.223648Z", "completed_at": "2023-03-21T19:13:15.238067Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.252392Z", "completed_at": "2023-03-21T19:13:15.252403Z"}], "thread_id": "Thread-4", "execution_time": 0.03243613243103027, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.230583Z", "completed_at": "2023-03-21T19:13:15.244402Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.252825Z", "completed_at": "2023-03-21T19:13:15.252830Z"}], "thread_id": "Thread-2", "execution_time": 0.03232598304748535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.238273Z", "completed_at": "2023-03-21T19:13:15.252660Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.254852Z", "completed_at": "2023-03-21T19:13:15.254858Z"}], "thread_id": "Thread-3", "execution_time": 0.0203549861907959, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.246889Z", "completed_at": "2023-03-21T19:13:15.253902Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.256665Z", "completed_at": "2023-03-21T19:13:15.256671Z"}], "thread_id": "Thread-1", "execution_time": 0.020253896713256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.258614Z", "completed_at": "2023-03-21T19:13:15.268947Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.280812Z", "completed_at": "2023-03-21T19:13:15.280823Z"}], "thread_id": "Thread-4", "execution_time": 0.027009963989257812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.263810Z", "completed_at": "2023-03-21T19:13:15.276050Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.283515Z", "completed_at": "2023-03-21T19:13:15.283521Z"}], "thread_id": "Thread-2", "execution_time": 0.02799201011657715, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.269235Z", "completed_at": "2023-03-21T19:13:15.281097Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.284097Z", "completed_at": "2023-03-21T19:13:15.284104Z"}], "thread_id": "Thread-3", "execution_time": 0.022634029388427734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.276319Z", "completed_at": "2023-03-21T19:13:15.284267Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.287065Z", "completed_at": "2023-03-21T19:13:15.287070Z"}], "thread_id": "Thread-1", "execution_time": 0.029541730880737305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.287865Z", "completed_at": "2023-03-21T19:13:15.311449Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.319815Z", "completed_at": "2023-03-21T19:13:15.319825Z"}], "thread_id": "Thread-4", "execution_time": 0.035711050033569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.305132Z", "completed_at": "2023-03-21T19:13:15.313257Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.321200Z", "completed_at": "2023-03-21T19:13:15.321209Z"}], "thread_id": "Thread-3", "execution_time": 0.02985405921936035, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.299752Z", "completed_at": "2023-03-21T19:13:15.319618Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.321965Z", "completed_at": "2023-03-21T19:13:15.321974Z"}], "thread_id": "Thread-2", "execution_time": 0.03757500648498535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.313760Z", "completed_at": "2023-03-21T19:13:15.321602Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.326395Z", "completed_at": "2023-03-21T19:13:15.326404Z"}], "thread_id": "Thread-1", "execution_time": 0.01852893829345703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.330777Z", "completed_at": "2023-03-21T19:13:15.350104Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.359975Z", "completed_at": "2023-03-21T19:13:15.359985Z"}], "thread_id": "Thread-4", "execution_time": 0.035858869552612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.344707Z", "completed_at": "2023-03-21T19:13:15.351325Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.361761Z", "completed_at": "2023-03-21T19:13:15.361769Z"}], "thread_id": "Thread-2", "execution_time": 0.0330810546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.338626Z", "completed_at": "2023-03-21T19:13:15.357904Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.362338Z", "completed_at": "2023-03-21T19:13:15.362343Z"}], "thread_id": "Thread-3", "execution_time": 0.035778045654296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.351560Z", "completed_at": "2023-03-21T19:13:15.362149Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.365005Z", "completed_at": "2023-03-21T19:13:15.365011Z"}], "thread_id": "Thread-1", "execution_time": 0.022333860397338867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.367228Z", "completed_at": "2023-03-21T19:13:15.385798Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.392886Z", "completed_at": "2023-03-21T19:13:15.392899Z"}], "thread_id": "Thread-4", "execution_time": 0.033255815505981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_keywords_report_date_day__keyword_id.fbb70cacf6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.374432Z", "completed_at": "2023-03-21T19:13:15.386952Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.398342Z", "completed_at": "2023-03-21T19:13:15.398365Z"}], "thread_id": "Thread-2", "execution_time": 0.03439784049987793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_date_day.c7e7155b13"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.380156Z", "completed_at": "2023-03-21T19:13:15.396796Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.399091Z", "completed_at": "2023-03-21T19:13:15.399098Z"}], "thread_id": "Thread-3", "execution_time": 0.034542083740234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_keywords_report_keyword_id.e5f015e9ec"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.387433Z", "completed_at": "2023-03-21T19:13:15.399274Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.403714Z", "completed_at": "2023-03-21T19:13:15.403723Z"}], "thread_id": "Thread-1", "execution_time": 0.033522844314575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__line_item_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.404477Z", "completed_at": "2023-03-21T19:13:15.420307Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.428276Z", "completed_at": "2023-03-21T19:13:15.428286Z"}], "thread_id": "Thread-4", "execution_time": 0.03395700454711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.414833Z", "completed_at": "2023-03-21T19:13:15.428030Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.435259Z", "completed_at": "2023-03-21T19:13:15.435270Z"}], "thread_id": "Thread-2", "execution_time": 0.03282928466796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.420552Z", "completed_at": "2023-03-21T19:13:15.433622Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.436115Z", "completed_at": "2023-03-21T19:13:15.436122Z"}], "thread_id": "Thread-3", "execution_time": 0.0281369686126709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.428554Z", "completed_at": "2023-03-21T19:13:15.436326Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.440120Z", "completed_at": "2023-03-21T19:13:15.440146Z"}], "thread_id": "Thread-1", "execution_time": 0.023630857467651367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.441026Z", "completed_at": "2023-03-21T19:13:15.464292Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.465918Z", "completed_at": "2023-03-21T19:13:15.465928Z"}], "thread_id": "Thread-4", "execution_time": 0.034387826919555664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.457598Z", "completed_at": "2023-03-21T19:13:15.465724Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.472141Z", "completed_at": "2023-03-21T19:13:15.472150Z"}], "thread_id": "Thread-3", "execution_time": 0.026099205017089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.451566Z", "completed_at": "2023-03-21T19:13:15.466079Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.472901Z", "completed_at": "2023-03-21T19:13:15.472907Z"}], "thread_id": "Thread-2", "execution_time": 0.0346980094909668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.466268Z", "completed_at": "2023-03-21T19:13:15.472697Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.476239Z", "completed_at": "2023-03-21T19:13:15.476267Z"}], "thread_id": "Thread-1", "execution_time": 0.018646955490112305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.477431Z", "completed_at": "2023-03-21T19:13:15.491074Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.498205Z", "completed_at": "2023-03-21T19:13:15.498213Z"}], "thread_id": "Thread-4", "execution_time": 0.03619885444641113, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.485187Z", "completed_at": "2023-03-21T19:13:15.498002Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.510545Z", "completed_at": "2023-03-21T19:13:15.510552Z"}], "thread_id": "Thread-3", "execution_time": 0.035047054290771484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.491697Z", "completed_at": "2023-03-21T19:13:15.509684Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.512285Z", "completed_at": "2023-03-21T19:13:15.512292Z"}], "thread_id": "Thread-2", "execution_time": 0.029904842376708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.498448Z", "completed_at": "2023-03-21T19:13:15.511552Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.514277Z", "completed_at": "2023-03-21T19:13:15.514283Z"}], "thread_id": "Thread-1", "execution_time": 0.029547929763793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__promoted_tweet_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.515210Z", "completed_at": "2023-03-21T19:13:15.528018Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.540294Z", "completed_at": "2023-03-21T19:13:15.540306Z"}], "thread_id": "Thread-4", "execution_time": 0.03921985626220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.522424Z", "completed_at": "2023-03-21T19:13:15.540067Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.552182Z", "completed_at": "2023-03-21T19:13:15.552192Z"}], "thread_id": "Thread-3", "execution_time": 0.03884482383728027, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.528911Z", "completed_at": "2023-03-21T19:13:15.552389Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.555288Z", "completed_at": "2023-03-21T19:13:15.555295Z"}], "thread_id": "Thread-2", "execution_time": 0.03524494171142578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.540606Z", "completed_at": "2023-03-21T19:13:15.553832Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.556122Z", "completed_at": "2023-03-21T19:13:15.556129Z"}], "thread_id": "Thread-1", "execution_time": 0.03684091567993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.556833Z", "completed_at": "2023-03-21T19:13:15.577235Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.584247Z", "completed_at": "2023-03-21T19:13:15.584259Z"}], "thread_id": "Thread-4", "execution_time": 0.041893959045410156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.565906Z", "completed_at": "2023-03-21T19:13:15.578839Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.596706Z", "completed_at": "2023-03-21T19:13:15.596715Z"}], "thread_id": "Thread-3", "execution_time": 0.042549848556518555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.579027Z", "completed_at": "2023-03-21T19:13:15.597261Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.600113Z", "completed_at": "2023-03-21T19:13:15.600120Z"}], "thread_id": "Thread-2", "execution_time": 0.029093027114868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__search_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.589895Z", "completed_at": "2023-03-21T19:13:15.597806Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.600319Z", "completed_at": "2023-03-21T19:13:15.600325Z"}], "thread_id": "Thread-1", "execution_time": 0.02889084815979004, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.600942Z", "completed_at": "2023-03-21T19:13:15.614597Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.624313Z", "completed_at": "2023-03-21T19:13:15.624324Z"}], "thread_id": "Thread-4", "execution_time": 0.03244805335998535, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.608289Z", "completed_at": "2023-03-21T19:13:15.616657Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.631403Z", "completed_at": "2023-03-21T19:13:15.631413Z"}], "thread_id": "Thread-3", "execution_time": 0.03286886215209961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.616931Z", "completed_at": "2023-03-21T19:13:15.632369Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.635328Z", "completed_at": "2023-03-21T19:13:15.635337Z"}], "thread_id": "Thread-2", "execution_time": 0.022712230682373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.624530Z", "completed_at": "2023-03-21T19:13:15.634672Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.648519Z", "completed_at": "2023-03-21T19:13:15.648538Z"}], "thread_id": "Thread-1", "execution_time": 0.03730320930480957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.637099Z", "completed_at": "2023-03-21T19:13:15.661365Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.668982Z", "completed_at": "2023-03-21T19:13:15.668994Z"}], "thread_id": "Thread-4", "execution_time": 0.04128694534301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.652582Z", "completed_at": "2023-03-21T19:13:15.668457Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.676034Z", "completed_at": "2023-03-21T19:13:15.676041Z"}], "thread_id": "Thread-3", "execution_time": 0.0415186882019043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.662909Z", "completed_at": "2023-03-21T19:13:15.675841Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.678755Z", "completed_at": "2023-03-21T19:13:15.678763Z"}], "thread_id": "Thread-2", "execution_time": 0.019743919372558594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.669590Z", "completed_at": "2023-03-21T19:13:15.678500Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.689037Z", "completed_at": "2023-03-21T19:13:15.689049Z"}], "thread_id": "Thread-1", "execution_time": 0.028490781784057617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.681004Z", "completed_at": "2023-03-21T19:13:15.698858Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.706173Z", "completed_at": "2023-03-21T19:13:15.706186Z"}], "thread_id": "Thread-4", "execution_time": 0.03778886795043945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.691475Z", "completed_at": "2023-03-21T19:13:15.705019Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.715278Z", "completed_at": "2023-03-21T19:13:15.715290Z"}], "thread_id": "Thread-3", "execution_time": 0.03626441955566406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.699754Z", "completed_at": "2023-03-21T19:13:15.711539Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.717768Z", "completed_at": "2023-03-21T19:13:15.717775Z"}], "thread_id": "Thread-2", "execution_time": 0.02874016761779785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.706466Z", "completed_at": "2023-03-21T19:13:15.717554Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.720714Z", "completed_at": "2023-03-21T19:13:15.720721Z"}], "thread_id": "Thread-1", "execution_time": 0.028561830520629883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.721649Z", "completed_at": "2023-03-21T19:13:15.736863Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.751358Z", "completed_at": "2023-03-21T19:13:15.751370Z"}], "thread_id": "Thread-4", "execution_time": 0.03465390205383301, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.728685Z", "completed_at": "2023-03-21T19:13:15.744122Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.751779Z", "completed_at": "2023-03-21T19:13:15.751808Z"}], "thread_id": "Thread-3", "execution_time": 0.03391885757446289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.737114Z", "completed_at": "2023-03-21T19:13:15.751049Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.754417Z", "completed_at": "2023-03-21T19:13:15.754424Z"}], "thread_id": "Thread-2", "execution_time": 0.027806997299194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.745177Z", "completed_at": "2023-03-21T19:13:15.754192Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.757347Z", "completed_at": "2023-03-21T19:13:15.757357Z"}], "thread_id": "Thread-1", "execution_time": 0.022762060165405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.760125Z", "completed_at": "2023-03-21T19:13:15.785585Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.792502Z", "completed_at": "2023-03-21T19:13:15.792514Z"}], "thread_id": "Thread-4", "execution_time": 0.037503957748413086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.766822Z", "completed_at": "2023-03-21T19:13:15.786202Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.793115Z", "completed_at": "2023-03-21T19:13:15.793125Z"}], "thread_id": "Thread-3", "execution_time": 0.038088083267211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.780222Z", "completed_at": "2023-03-21T19:13:15.786782Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.794361Z", "completed_at": "2023-03-21T19:13:15.794367Z"}], "thread_id": "Thread-2", "execution_time": 0.03678584098815918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.787008Z", "completed_at": "2023-03-21T19:13:15.794158Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.797606Z", "completed_at": "2023-03-21T19:13:15.797615Z"}], "thread_id": "Thread-1", "execution_time": 0.019865751266479492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.800445Z", "completed_at": "2023-03-21T19:13:15.821317Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.829578Z", "completed_at": "2023-03-21T19:13:15.829589Z"}], "thread_id": "Thread-4", "execution_time": 0.033830881118774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.808345Z", "completed_at": "2023-03-21T19:13:15.828392Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.830325Z", "completed_at": "2023-03-21T19:13:15.830332Z"}], "thread_id": "Thread-3", "execution_time": 0.03377199172973633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.815596Z", "completed_at": "2023-03-21T19:13:15.829057Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.831222Z", "completed_at": "2023-03-21T19:13:15.831229Z"}], "thread_id": "Thread-2", "execution_time": 0.03337597846984863, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.821637Z", "completed_at": "2023-03-21T19:13:15.830117Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.833400Z", "completed_at": "2023-03-21T19:13:15.833407Z"}], "thread_id": "Thread-1", "execution_time": 0.020498991012573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.837632Z", "completed_at": "2023-03-21T19:13:15.857407Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.864371Z", "completed_at": "2023-03-21T19:13:15.864383Z"}], "thread_id": "Thread-4", "execution_time": 0.031822919845581055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.844248Z", "completed_at": "2023-03-21T19:13:15.862670Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.865274Z", "completed_at": "2023-03-21T19:13:15.865296Z"}], "thread_id": "Thread-3", "execution_time": 0.03138303756713867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.850770Z", "completed_at": "2023-03-21T19:13:15.863526Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.866488Z", "completed_at": "2023-03-21T19:13:15.866494Z"}], "thread_id": "Thread-2", "execution_time": 0.0323641300201416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.857915Z", "completed_at": "2023-03-21T19:13:15.864721Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.868179Z", "completed_at": "2023-03-21T19:13:15.868187Z"}], "thread_id": "Thread-1", "execution_time": 0.026710033416748047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.873789Z", "completed_at": "2023-03-21T19:13:15.895881Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.902034Z", "completed_at": "2023-03-21T19:13:15.902058Z"}], "thread_id": "Thread-4", "execution_time": 0.0338129997253418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.883415Z", "completed_at": "2023-03-21T19:13:15.900611Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.902893Z", "completed_at": "2023-03-21T19:13:15.902899Z"}], "thread_id": "Thread-3", "execution_time": 0.033274173736572266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.889475Z", "completed_at": "2023-03-21T19:13:15.901353Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.903607Z", "completed_at": "2023-03-21T19:13:15.903613Z"}], "thread_id": "Thread-2", "execution_time": 0.032910823822021484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.896089Z", "completed_at": "2023-03-21T19:13:15.902689Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.906127Z", "completed_at": "2023-03-21T19:13:15.906134Z"}], "thread_id": "Thread-1", "execution_time": 0.02532505989074707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.910673Z", "completed_at": "2023-03-21T19:13:15.949108Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.949601Z", "completed_at": "2023-03-21T19:13:15.949635Z"}], "thread_id": "Thread-4", "execution_time": 0.04334616661071777, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.919972Z", "completed_at": "2023-03-21T19:13:15.957112Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.957798Z", "completed_at": "2023-03-21T19:13:15.957836Z"}], "thread_id": "Thread-3", "execution_time": 0.05076718330383301, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.942008Z", "completed_at": "2023-03-21T19:13:15.958199Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.961607Z", "completed_at": "2023-03-21T19:13:15.961634Z"}], "thread_id": "Thread-1", "execution_time": 0.04357099533081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.926384Z", "completed_at": "2023-03-21T19:13:15.959538Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.962593Z", "completed_at": "2023-03-21T19:13:15.962600Z"}], "thread_id": "Thread-2", "execution_time": 0.054865121841430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.int_facebook_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.952129Z", "completed_at": "2023-03-21T19:13:15.960872Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.963494Z", "completed_at": "2023-03-21T19:13:15.963501Z"}], "thread_id": "Thread-4", "execution_time": 0.022674083709716797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.964727Z", "completed_at": "2023-03-21T19:13:15.977248Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.994845Z", "completed_at": "2023-03-21T19:13:15.994858Z"}], "thread_id": "Thread-3", "execution_time": 0.033976078033447266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.977524Z", "completed_at": "2023-03-21T19:13:15.995240Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.997213Z", "completed_at": "2023-03-21T19:13:15.997220Z"}], "thread_id": "Thread-1", "execution_time": 0.024226903915405273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.989711Z", "completed_at": "2023-03-21T19:13:15.996546Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.998921Z", "completed_at": "2023-03-21T19:13:15.998927Z"}], "thread_id": "Thread-4", "execution_time": 0.023841142654418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:15.983219Z", "completed_at": "2023-03-21T19:13:15.996770Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:15.999106Z", "completed_at": "2023-03-21T19:13:15.999111Z"}], "thread_id": "Thread-2", "execution_time": 0.02565288543701172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.001697Z", "completed_at": "2023-03-21T19:13:16.014488Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.034099Z", "completed_at": "2023-03-21T19:13:16.034113Z"}], "thread_id": "Thread-3", "execution_time": 0.037229061126708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.014688Z", "completed_at": "2023-03-21T19:13:16.033856Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.035875Z", "completed_at": "2023-03-21T19:13:16.035881Z"}], "thread_id": "Thread-1", "execution_time": 0.025763988494873047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.020775Z", "completed_at": "2023-03-21T19:13:16.035676Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.038262Z", "completed_at": "2023-03-21T19:13:16.038269Z"}], "thread_id": "Thread-4", "execution_time": 0.026361942291259766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.027596Z", "completed_at": "2023-03-21T19:13:16.036930Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.040084Z", "completed_at": "2023-03-21T19:13:16.040091Z"}], "thread_id": "Thread-2", "execution_time": 0.03671407699584961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.040833Z", "completed_at": "2023-03-21T19:13:16.057982Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.066870Z", "completed_at": "2023-03-21T19:13:16.066882Z"}], "thread_id": "Thread-3", "execution_time": 0.03540802001953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.052357Z", "completed_at": "2023-03-21T19:13:16.065575Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.073588Z", "completed_at": "2023-03-21T19:13:16.073598Z"}], "thread_id": "Thread-1", "execution_time": 0.03449821472167969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.059376Z", "completed_at": "2023-03-21T19:13:16.073837Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.076753Z", "completed_at": "2023-03-21T19:13:16.076761Z"}], "thread_id": "Thread-4", "execution_time": 0.02688002586364746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.067409Z", "completed_at": "2023-03-21T19:13:16.076113Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.086587Z", "completed_at": "2023-03-21T19:13:16.086597Z"}], "thread_id": "Thread-2", "execution_time": 0.029521942138671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.078576Z", "completed_at": "2023-03-21T19:13:16.093838Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.100640Z", "completed_at": "2023-03-21T19:13:16.100649Z"}], "thread_id": "Thread-3", "execution_time": 0.0334930419921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.088234Z", "completed_at": "2023-03-21T19:13:16.100042Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.109618Z", "completed_at": "2023-03-21T19:13:16.109624Z"}], "thread_id": "Thread-1", "execution_time": 0.033342838287353516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.095159Z", "completed_at": "2023-03-21T19:13:16.109441Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.112018Z", "completed_at": "2023-03-21T19:13:16.112025Z"}], "thread_id": "Thread-4", "execution_time": 0.02120494842529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.101397Z", "completed_at": "2023-03-21T19:13:16.111104Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.115347Z", "completed_at": "2023-03-21T19:13:16.115355Z"}], "thread_id": "Thread-2", "execution_time": 0.028486967086791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.115551Z", "completed_at": "2023-03-21T19:13:16.129357Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.138589Z", "completed_at": "2023-03-21T19:13:16.138601Z"}], "thread_id": "Thread-3", "execution_time": 0.033383846282958984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.123876Z", "completed_at": "2023-03-21T19:13:16.130726Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.145041Z", "completed_at": "2023-03-21T19:13:16.145049Z"}], "thread_id": "Thread-1", "execution_time": 0.03164792060852051, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.130919Z", "completed_at": "2023-03-21T19:13:16.145756Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.148623Z", "completed_at": "2023-03-21T19:13:16.148630Z"}], "thread_id": "Thread-4", "execution_time": 0.0329289436340332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.139017Z", "completed_at": "2023-03-21T19:13:16.146724Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.149308Z", "completed_at": "2023-03-21T19:13:16.149314Z"}], "thread_id": "Thread-2", "execution_time": 0.02713775634765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.149511Z", "completed_at": "2023-03-21T19:13:16.166988Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.175864Z", "completed_at": "2023-03-21T19:13:16.175876Z"}], "thread_id": "Thread-3", "execution_time": 0.03516697883605957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.157840Z", "completed_at": "2023-03-21T19:13:16.168058Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.181548Z", "completed_at": "2023-03-21T19:13:16.181561Z"}], "thread_id": "Thread-1", "execution_time": 0.03408002853393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.169466Z", "completed_at": "2023-03-21T19:13:16.183305Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.186068Z", "completed_at": "2023-03-21T19:13:16.186075Z"}], "thread_id": "Thread-4", "execution_time": 0.021040916442871094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.176105Z", "completed_at": "2023-03-21T19:13:16.183815Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.186528Z", "completed_at": "2023-03-21T19:13:16.186534Z"}], "thread_id": "Thread-2", "execution_time": 0.02990889549255371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.187575Z", "completed_at": "2023-03-21T19:13:16.204614Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.214557Z", "completed_at": "2023-03-21T19:13:16.214566Z"}], "thread_id": "Thread-3", "execution_time": 0.030888795852661133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.197427Z", "completed_at": "2023-03-21T19:13:16.204832Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.214745Z", "completed_at": "2023-03-21T19:13:16.214751Z"}], "thread_id": "Thread-1", "execution_time": 0.03101205825805664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.205779Z", "completed_at": "2023-03-21T19:13:16.217400Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.219666Z", "completed_at": "2023-03-21T19:13:16.219688Z"}], "thread_id": "Thread-4", "execution_time": 0.027905941009521484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.210295Z", "completed_at": "2023-03-21T19:13:16.217575Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.219867Z", "completed_at": "2023-03-21T19:13:16.219873Z"}], "thread_id": "Thread-2", "execution_time": 0.027938127517700195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.232396Z", "completed_at": "2023-03-21T19:13:16.239555Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.255283Z", "completed_at": "2023-03-21T19:13:16.255321Z"}], "thread_id": "Thread-1", "execution_time": 0.03774523735046387, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.220237Z", "completed_at": "2023-03-21T19:13:16.239769Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.255798Z", "completed_at": "2023-03-21T19:13:16.255808Z"}], "thread_id": "Thread-3", "execution_time": 0.03936481475830078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.240142Z", "completed_at": "2023-03-21T19:13:16.257776Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.261442Z", "completed_at": "2023-03-21T19:13:16.261450Z"}], "thread_id": "Thread-4", "execution_time": 0.02414083480834961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.248767Z", "completed_at": "2023-03-21T19:13:16.258530Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.261851Z", "completed_at": "2023-03-21T19:13:16.261858Z"}], "thread_id": "Thread-2", "execution_time": 0.036065101623535156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.262762Z", "completed_at": "2023-03-21T19:13:16.283505Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.301293Z", "completed_at": "2023-03-21T19:13:16.301307Z"}], "thread_id": "Thread-1", "execution_time": 0.04233908653259277, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.275830Z", "completed_at": "2023-03-21T19:13:16.284013Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.301554Z", "completed_at": "2023-03-21T19:13:16.301561Z"}], "thread_id": "Thread-3", "execution_time": 0.04229593276977539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.284721Z", "completed_at": "2023-03-21T19:13:16.302651Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.305366Z", "completed_at": "2023-03-21T19:13:16.305373Z"}], "thread_id": "Thread-4", "execution_time": 0.024265050888061523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.295993Z", "completed_at": "2023-03-21T19:13:16.303467Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.305984Z", "completed_at": "2023-03-21T19:13:16.305991Z"}], "thread_id": "Thread-2", "execution_time": 0.02437877655029297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.307593Z", "completed_at": "2023-03-21T19:13:16.324923Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.342948Z", "completed_at": "2023-03-21T19:13:16.342963Z"}], "thread_id": "Thread-1", "execution_time": 0.03907465934753418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.317892Z", "completed_at": "2023-03-21T19:13:16.331380Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.344427Z", "completed_at": "2023-03-21T19:13:16.344436Z"}], "thread_id": "Thread-3", "execution_time": 0.0399632453918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.337115Z", "completed_at": "2023-03-21T19:13:16.344638Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.347623Z", "completed_at": "2023-03-21T19:13:16.347630Z"}], "thread_id": "Thread-2", "execution_time": 0.026343822479248047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.326157Z", "completed_at": "2023-03-21T19:13:16.346007Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.348584Z", "completed_at": "2023-03-21T19:13:16.348591Z"}], "thread_id": "Thread-4", "execution_time": 0.1441507339477539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.351008Z", "completed_at": "2023-03-21T19:13:16.476638Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.487373Z", "completed_at": "2023-03-21T19:13:16.487383Z"}], "thread_id": "Thread-1", "execution_time": 0.1473860740661621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.468771Z", "completed_at": "2023-03-21T19:13:16.477908Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.493190Z", "completed_at": "2023-03-21T19:13:16.493205Z"}], "thread_id": "Thread-3", "execution_time": 0.1466081142425537, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.487605Z", "completed_at": "2023-03-21T19:13:16.495048Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.497969Z", "completed_at": "2023-03-21T19:13:16.497976Z"}], "thread_id": "Thread-4", "execution_time": 0.02367401123046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.478707Z", "completed_at": "2023-03-21T19:13:16.495576Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.498435Z", "completed_at": "2023-03-21T19:13:16.498441Z"}], "thread_id": "Thread-2", "execution_time": 0.030768156051635742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.500915Z", "completed_at": "2023-03-21T19:13:16.515989Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.523451Z", "completed_at": "2023-03-21T19:13:16.523461Z"}], "thread_id": "Thread-1", "execution_time": 0.03439807891845703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.507013Z", "completed_at": "2023-03-21T19:13:16.517057Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.530411Z", "completed_at": "2023-03-21T19:13:16.530427Z"}], "thread_id": "Thread-3", "execution_time": 0.03458285331726074, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.517750Z", "completed_at": "2023-03-21T19:13:16.531449Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.534350Z", "completed_at": "2023-03-21T19:13:16.534357Z"}], "thread_id": "Thread-4", "execution_time": 0.020593881607055664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.523674Z", "completed_at": "2023-03-21T19:13:16.533041Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.536183Z", "completed_at": "2023-03-21T19:13:16.536191Z"}], "thread_id": "Thread-2", "execution_time": 0.028889179229736328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.536659Z", "completed_at": "2023-03-21T19:13:16.553627Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.571010Z", "completed_at": "2023-03-21T19:13:16.571022Z"}], "thread_id": "Thread-1", "execution_time": 0.03853178024291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.545464Z", "completed_at": "2023-03-21T19:13:16.559776Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.571346Z", "completed_at": "2023-03-21T19:13:16.571355Z"}], "thread_id": "Thread-3", "execution_time": 0.03815793991088867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.553943Z", "completed_at": "2023-03-21T19:13:16.570779Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.573520Z", "completed_at": "2023-03-21T19:13:16.573527Z"}], "thread_id": "Thread-4", "execution_time": 0.0245969295501709, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.560376Z", "completed_at": "2023-03-21T19:13:16.573302Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.576608Z", "completed_at": "2023-03-21T19:13:16.576616Z"}], "thread_id": "Thread-2", "execution_time": 0.024946212768554688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.578863Z", "completed_at": "2023-03-21T19:13:16.603045Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.603565Z", "completed_at": "2023-03-21T19:13:16.603605Z"}], "thread_id": "Thread-1", "execution_time": 0.028499126434326172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.584540Z", "completed_at": "2023-03-21T19:13:16.613153Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.613746Z", "completed_at": "2023-03-21T19:13:16.613756Z"}], "thread_id": "Thread-3", "execution_time": 0.038272857666015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.597608Z", "completed_at": "2023-03-21T19:13:16.621394Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.622128Z", "completed_at": "2023-03-21T19:13:16.622155Z"}], "thread_id": "Thread-2", "execution_time": 0.03206896781921387, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.605364Z", "completed_at": "2023-03-21T19:13:16.622887Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.624764Z", "completed_at": "2023-03-21T19:13:16.624770Z"}], "thread_id": "Thread-1", "execution_time": 0.021070241928100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.615762Z", "completed_at": "2023-03-21T19:13:16.623056Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.625146Z", "completed_at": "2023-03-21T19:13:16.625152Z"}], "thread_id": "Thread-3", "execution_time": 0.011406183242797852, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.591141Z", "completed_at": "2023-03-21T19:13:16.623927Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.626020Z", "completed_at": "2023-03-21T19:13:16.626026Z"}], "thread_id": "Thread-4", "execution_time": 0.0574030876159668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.626704Z", "completed_at": "2023-03-21T19:13:16.638055Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.649735Z", "completed_at": "2023-03-21T19:13:16.649749Z"}], "thread_id": "Thread-2", "execution_time": 0.033821821212768555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.638869Z", "completed_at": "2023-03-21T19:13:16.658667Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.661044Z", "completed_at": "2023-03-21T19:13:16.661074Z"}], "thread_id": "Thread-1", "execution_time": 0.026273012161254883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.645161Z", "completed_at": "2023-03-21T19:13:16.658843Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.661474Z", "completed_at": "2023-03-21T19:13:16.661480Z"}], "thread_id": "Thread-3", "execution_time": 0.02593517303466797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.649971Z", "completed_at": "2023-03-21T19:13:16.660051Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.663750Z", "completed_at": "2023-03-21T19:13:16.663757Z"}], "thread_id": "Thread-4", "execution_time": 0.0330660343170166, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.664034Z", "completed_at": "2023-03-21T19:13:16.673106Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.687060Z", "completed_at": "2023-03-21T19:13:16.687069Z"}], "thread_id": "Thread-2", "execution_time": 0.03225207328796387, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.680066Z", "completed_at": "2023-03-21T19:13:16.693755Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.696737Z", "completed_at": "2023-03-21T19:13:16.696744Z"}], "thread_id": "Thread-3", "execution_time": 0.03083014488220215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.674351Z", "completed_at": "2023-03-21T19:13:16.694014Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.697107Z", "completed_at": "2023-03-21T19:13:16.697112Z"}], "thread_id": "Thread-1", "execution_time": 0.03209710121154785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.687341Z", "completed_at": "2023-03-21T19:13:16.696074Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.703535Z", "completed_at": "2023-03-21T19:13:16.703543Z"}], "thread_id": "Thread-4", "execution_time": 0.03178596496582031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.697295Z", "completed_at": "2023-03-21T19:13:16.706395Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.710267Z", "completed_at": "2023-03-21T19:13:16.710275Z"}], "thread_id": "Thread-2", "execution_time": 0.03050088882446289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.710454Z", "completed_at": "2023-03-21T19:13:16.730785Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.732485Z", "completed_at": "2023-03-21T19:13:16.732492Z"}], "thread_id": "Thread-3", "execution_time": 0.034149169921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.720151Z", "completed_at": "2023-03-21T19:13:16.731029Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.732876Z", "completed_at": "2023-03-21T19:13:16.732883Z"}], "thread_id": "Thread-1", "execution_time": 0.033396005630493164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.725681Z", "completed_at": "2023-03-21T19:13:16.731912Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.741081Z", "completed_at": "2023-03-21T19:13:16.741089Z"}], "thread_id": "Thread-4", "execution_time": 0.0339510440826416, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.733080Z", "completed_at": "2023-03-21T19:13:16.744851Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.753433Z", "completed_at": "2023-03-21T19:13:16.753445Z"}], "thread_id": "Thread-2", "execution_time": 0.029145002365112305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.754444Z", "completed_at": "2023-03-21T19:13:16.771467Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.773644Z", "completed_at": "2023-03-21T19:13:16.773654Z"}], "thread_id": "Thread-1", "execution_time": 0.034423112869262695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.747540Z", "completed_at": "2023-03-21T19:13:16.771681Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.773862Z", "completed_at": "2023-03-21T19:13:16.773869Z"}], "thread_id": "Thread-3", "execution_time": 0.036273956298828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.760808Z", "completed_at": "2023-03-21T19:13:16.773429Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.780986Z", "completed_at": "2023-03-21T19:13:16.780998Z"}], "thread_id": "Thread-4", "execution_time": 0.03596186637878418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.774073Z", "completed_at": "2023-03-21T19:13:16.782217Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.785249Z", "completed_at": "2023-03-21T19:13:16.785259Z"}], "thread_id": "Thread-2", "execution_time": 0.02657485008239746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.786379Z", "completed_at": "2023-03-21T19:13:16.806393Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.808559Z", "completed_at": "2023-03-21T19:13:16.808572Z"}], "thread_id": "Thread-1", "execution_time": 0.032156944274902344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.793102Z", "completed_at": "2023-03-21T19:13:16.807939Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.815552Z", "completed_at": "2023-03-21T19:13:16.815561Z"}], "thread_id": "Thread-3", "execution_time": 0.03345203399658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.799936Z", "completed_at": "2023-03-21T19:13:16.814629Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.817371Z", "completed_at": "2023-03-21T19:13:16.817379Z"}], "thread_id": "Thread-4", "execution_time": 0.03301119804382324, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.809216Z", "completed_at": "2023-03-21T19:13:16.817572Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.821879Z", "completed_at": "2023-03-21T19:13:16.821889Z"}], "thread_id": "Thread-2", "execution_time": 0.02301168441772461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.822138Z", "completed_at": "2023-03-21T19:13:16.837924Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.844991Z", "completed_at": "2023-03-21T19:13:16.845002Z"}], "thread_id": "Thread-1", "execution_time": 0.0285189151763916, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.830594Z", "completed_at": "2023-03-21T19:13:16.844756Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.852215Z", "completed_at": "2023-03-21T19:13:16.852224Z"}], "thread_id": "Thread-3", "execution_time": 0.03317093849182129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.838574Z", "completed_at": "2023-03-21T19:13:16.845511Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.852880Z", "completed_at": "2023-03-21T19:13:16.852888Z"}], "thread_id": "Thread-4", "execution_time": 0.02532505989074707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.846628Z", "completed_at": "2023-03-21T19:13:16.854972Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.866140Z", "completed_at": "2023-03-21T19:13:16.866152Z"}], "thread_id": "Thread-2", "execution_time": 0.023190975189208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.857131Z", "completed_at": "2023-03-21T19:13:16.877967Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.881057Z", "completed_at": "2023-03-21T19:13:16.881065Z"}], "thread_id": "Thread-1", "execution_time": 0.028234004974365234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.867697Z", "completed_at": "2023-03-21T19:13:16.879424Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.881654Z", "completed_at": "2023-03-21T19:13:16.881660Z"}], "thread_id": "Thread-3", "execution_time": 0.0325779914855957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.873043Z", "completed_at": "2023-03-21T19:13:16.879884Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.882347Z", "completed_at": "2023-03-21T19:13:16.882353Z"}], "thread_id": "Thread-4", "execution_time": 0.0370938777923584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.882531Z", "completed_at": "2023-03-21T19:13:16.904688Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.942019Z", "completed_at": "2023-03-21T19:13:16.942030Z"}], "thread_id": "Thread-2", "execution_time": 0.06703710556030273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.942299Z", "completed_at": "2023-03-21T19:13:16.955207Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.955670Z", "completed_at": "2023-03-21T19:13:16.955678Z"}], "thread_id": "Thread-4", "execution_time": 0.05100393295288086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.905887Z", "completed_at": "2023-03-21T19:13:16.957611Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.969710Z", "completed_at": "2023-03-21T19:13:16.969748Z"}], "thread_id": "Thread-1", "execution_time": 0.06797909736633301, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.949118Z", "completed_at": "2023-03-21T19:13:16.957959Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.970181Z", "completed_at": "2023-03-21T19:13:16.970190Z"}], "thread_id": "Thread-2", "execution_time": 0.023454904556274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.923906Z", "completed_at": "2023-03-21T19:13:16.963986Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.970583Z", "completed_at": "2023-03-21T19:13:16.970590Z"}], "thread_id": "Thread-3", "execution_time": 0.06818985939025879, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.958412Z", "completed_at": "2023-03-21T19:13:16.970867Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:16.974000Z", "completed_at": "2023-03-21T19:13:16.974006Z"}], "thread_id": "Thread-4", "execution_time": 0.019073009490966797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.976820Z", "completed_at": "2023-03-21T19:13:16.994406Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.000042Z", "completed_at": "2023-03-21T19:13:17.000054Z"}], "thread_id": "Thread-1", "execution_time": 0.026891708374023438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.981813Z", "completed_at": "2023-03-21T19:13:16.994622Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.000248Z", "completed_at": "2023-03-21T19:13:17.000254Z"}], "thread_id": "Thread-2", "execution_time": 0.026958227157592773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.987053Z", "completed_at": "2023-03-21T19:13:16.999770Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.001860Z", "completed_at": "2023-03-21T19:13:17.001865Z"}], "thread_id": "Thread-3", "execution_time": 0.02803778648376465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:16.994846Z", "completed_at": "2023-03-21T19:13:17.000683Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.003355Z", "completed_at": "2023-03-21T19:13:17.003360Z"}], "thread_id": "Thread-4", "execution_time": 0.012290000915527344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.014365Z", "completed_at": "2023-03-21T19:13:17.028202Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.034131Z", "completed_at": "2023-03-21T19:13:17.034140Z"}], "thread_id": "Thread-2", "execution_time": 0.03176593780517578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.007623Z", "completed_at": "2023-03-21T19:13:17.028427Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.034502Z", "completed_at": "2023-03-21T19:13:17.034508Z"}], "thread_id": "Thread-1", "execution_time": 0.03314614295959473, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.022871Z", "completed_at": "2023-03-21T19:13:17.029332Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.037222Z", "completed_at": "2023-03-21T19:13:17.037231Z"}], "thread_id": "Thread-3", "execution_time": 0.032234907150268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.029511Z", "completed_at": "2023-03-21T19:13:17.037620Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.040937Z", "completed_at": "2023-03-21T19:13:17.040946Z"}], "thread_id": "Thread-4", "execution_time": 0.02035999298095703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.042925Z", "completed_at": "2023-03-21T19:13:17.061635Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.063593Z", "completed_at": "2023-03-21T19:13:17.063601Z"}], "thread_id": "Thread-2", "execution_time": 0.03009510040283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.049090Z", "completed_at": "2023-03-21T19:13:17.062426Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.068536Z", "completed_at": "2023-03-21T19:13:17.068548Z"}], "thread_id": "Thread-1", "execution_time": 0.03080129623413086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.056316Z", "completed_at": "2023-03-21T19:13:17.063408Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.071260Z", "completed_at": "2023-03-21T19:13:17.071267Z"}], "thread_id": "Thread-3", "execution_time": 0.031397104263305664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.063779Z", "completed_at": "2023-03-21T19:13:17.072129Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.075101Z", "completed_at": "2023-03-21T19:13:17.075108Z"}], "thread_id": "Thread-4", "execution_time": 0.020623207092285156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.084336Z", "completed_at": "2023-03-21T19:13:17.095874Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.101722Z", "completed_at": "2023-03-21T19:13:17.101732Z"}], "thread_id": "Thread-1", "execution_time": 0.02895808219909668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.075917Z", "completed_at": "2023-03-21T19:13:17.096302Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.102403Z", "completed_at": "2023-03-21T19:13:17.102413Z"}], "thread_id": "Thread-2", "execution_time": 0.030655860900878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.089930Z", "completed_at": "2023-03-21T19:13:17.096734Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.103408Z", "completed_at": "2023-03-21T19:13:17.103414Z"}], "thread_id": "Thread-3", "execution_time": 0.029719114303588867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.096913Z", "completed_at": "2023-03-21T19:13:17.103623Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.107505Z", "completed_at": "2023-03-21T19:13:17.107538Z"}], "thread_id": "Thread-4", "execution_time": 0.014374971389770508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.110314Z", "completed_at": "2023-03-21T19:13:17.130134Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.138712Z", "completed_at": "2023-03-21T19:13:17.138724Z"}], "thread_id": "Thread-1", "execution_time": 0.033844947814941406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__keyword_report_date_day__keyword_id__campaign_id.bb43190c39"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.118964Z", "completed_at": "2023-03-21T19:13:17.137745Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.139567Z", "completed_at": "2023-03-21T19:13:17.139600Z"}], "thread_id": "Thread-2", "execution_time": 0.03373408317565918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__keyword_report_date_day.e0ce90c1ec"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.123713Z", "completed_at": "2023-03-21T19:13:17.138192Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.140774Z", "completed_at": "2023-03-21T19:13:17.140780Z"}], "thread_id": "Thread-3", "execution_time": 0.034204959869384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__keyword_report_keyword_id.91efa0a538"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.130627Z", "completed_at": "2023-03-21T19:13:17.139204Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.143384Z", "completed_at": "2023-03-21T19:13:17.143392Z"}], "thread_id": "Thread-4", "execution_time": 0.016974210739135742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.148980Z", "completed_at": "2023-03-21T19:13:17.165411Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.202492Z", "completed_at": "2023-03-21T19:13:17.202502Z"}], "thread_id": "Thread-1", "execution_time": 0.05915689468383789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.155614Z", "completed_at": "2023-03-21T19:13:17.176922Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.202881Z", "completed_at": "2023-03-21T19:13:17.202887Z"}], "thread_id": "Thread-2", "execution_time": 0.05785083770751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.159906Z", "completed_at": "2023-03-21T19:13:17.200954Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.203757Z", "completed_at": "2023-03-21T19:13:17.203765Z"}], "thread_id": "Thread-3", "execution_time": 0.058152198791503906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.209500Z", "completed_at": "2023-03-21T19:13:17.230147Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.236272Z", "completed_at": "2023-03-21T19:13:17.236306Z"}], "thread_id": "Thread-1", "execution_time": 0.03178906440734863, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.217225Z", "completed_at": "2023-03-21T19:13:17.230842Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.237020Z", "completed_at": "2023-03-21T19:13:17.237053Z"}], "thread_id": "Thread-2", "execution_time": 0.03228902816772461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.224635Z", "completed_at": "2023-03-21T19:13:17.231300Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.238596Z", "completed_at": "2023-03-21T19:13:17.238621Z"}], "thread_id": "Thread-3", "execution_time": 0.033325910568237305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.231471Z", "completed_at": "2023-03-21T19:13:17.240268Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.244000Z", "completed_at": "2023-03-21T19:13:17.244008Z"}], "thread_id": "Thread-4", "execution_time": 0.015703916549682617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.245592Z", "completed_at": "2023-03-21T19:13:17.266354Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.310939Z", "completed_at": "2023-03-21T19:13:17.310956Z"}], "thread_id": "Thread-1", "execution_time": 0.09023904800415039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.254138Z", "completed_at": "2023-03-21T19:13:17.266955Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.326388Z", "completed_at": "2023-03-21T19:13:17.326416Z"}], "thread_id": "Thread-2", "execution_time": 0.09027600288391113, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.260728Z", "completed_at": "2023-03-21T19:13:17.267365Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.331995Z", "completed_at": "2023-03-21T19:13:17.332006Z"}], "thread_id": "Thread-3", "execution_time": 0.09034395217895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.346795Z", "completed_at": "2023-03-21T19:13:17.366514Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.370848Z", "completed_at": "2023-03-21T19:13:17.370861Z"}], "thread_id": "Thread-2", "execution_time": 0.03552412986755371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.339955Z", "completed_at": "2023-03-21T19:13:17.369673Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.371850Z", "completed_at": "2023-03-21T19:13:17.371863Z"}], "thread_id": "Thread-1", "execution_time": 0.03872990608215332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.352883Z", "completed_at": "2023-03-21T19:13:17.370279Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.373133Z", "completed_at": "2023-03-21T19:13:17.373150Z"}], "thread_id": "Thread-3", "execution_time": 0.040190935134887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.361230Z", "completed_at": "2023-03-21T19:13:17.371500Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.378997Z", "completed_at": "2023-03-21T19:13:17.379010Z"}], "thread_id": "Thread-4", "execution_time": 0.028995037078857422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.431796Z", "completed_at": "2023-03-21T19:13:17.461546Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.495310Z", "completed_at": "2023-03-21T19:13:17.495322Z"}], "thread_id": "Thread-1", "execution_time": 0.11502218246459961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.442352Z", "completed_at": "2023-03-21T19:13:17.484022Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.496973Z", "completed_at": "2023-03-21T19:13:17.496981Z"}], "thread_id": "Thread-3", "execution_time": 0.1234130859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.497392Z", "completed_at": "2023-03-21T19:13:17.508291Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.516452Z", "completed_at": "2023-03-21T19:13:17.516465Z"}], "thread_id": "Thread-2", "execution_time": 0.05792713165283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.510193Z", "completed_at": "2023-03-21T19:13:17.552906Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.555171Z", "completed_at": "2023-03-21T19:13:17.555181Z"}], "thread_id": "Thread-1", "execution_time": 0.04992103576660156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.532224Z", "completed_at": "2023-03-21T19:13:17.554162Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.557161Z", "completed_at": "2023-03-21T19:13:17.557170Z"}], "thread_id": "Thread-4", "execution_time": 0.0551600456237793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.557401Z", "completed_at": "2023-03-21T19:13:17.566390Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.583966Z", "completed_at": "2023-03-21T19:13:17.583999Z"}], "thread_id": "Thread-2", "execution_time": 0.0373377799987793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.577173Z", "completed_at": "2023-03-21T19:13:17.592105Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.594225Z", "completed_at": "2023-03-21T19:13:17.594233Z"}], "thread_id": "Thread-1", "execution_time": 0.02990412712097168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.567871Z", "completed_at": "2023-03-21T19:13:17.592310Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.594450Z", "completed_at": "2023-03-21T19:13:17.594457Z"}], "thread_id": "Thread-3", "execution_time": 0.031054258346557617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.584543Z", "completed_at": "2023-03-21T19:13:17.593530Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.596353Z", "completed_at": "2023-03-21T19:13:17.596361Z"}], "thread_id": "Thread-4", "execution_time": 0.036566972732543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.596590Z", "completed_at": "2023-03-21T19:13:17.605582Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.625507Z", "completed_at": "2023-03-21T19:13:17.625520Z"}], "thread_id": "Thread-2", "execution_time": 0.07454609870910645, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.607113Z", "completed_at": "2023-03-21T19:13:17.647252Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.698375Z", "completed_at": "2023-03-21T19:13:17.698385Z"}], "thread_id": "Thread-1", "execution_time": 0.0959310531616211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.612832Z", "completed_at": "2023-03-21T19:13:17.678073Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.699440Z", "completed_at": "2023-03-21T19:13:17.699470Z"}], "thread_id": "Thread-3", "execution_time": 0.09647178649902344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.702433Z", "completed_at": "2023-03-21T19:13:17.712504Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.732677Z", "completed_at": "2023-03-21T19:13:17.732690Z"}], "thread_id": "Thread-2", "execution_time": 0.03525996208190918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.712746Z", "completed_at": "2023-03-21T19:13:17.732371Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.734478Z", "completed_at": "2023-03-21T19:13:17.734484Z"}], "thread_id": "Thread-1", "execution_time": 0.025957107543945312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.719263Z", "completed_at": "2023-03-21T19:13:17.733509Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.736493Z", "completed_at": "2023-03-21T19:13:17.736501Z"}], "thread_id": "Thread-3", "execution_time": 0.027225971221923828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.725573Z", "completed_at": "2023-03-21T19:13:17.734708Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.737681Z", "completed_at": "2023-03-21T19:13:17.737691Z"}], "thread_id": "Thread-4", "execution_time": 0.027901172637939453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.740528Z", "completed_at": "2023-03-21T19:13:17.756474Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.775078Z", "completed_at": "2023-03-21T19:13:17.775111Z"}], "thread_id": "Thread-2", "execution_time": 0.040307044982910156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.748179Z", "completed_at": "2023-03-21T19:13:17.763342Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.777533Z", "completed_at": "2023-03-21T19:13:17.777542Z"}], "thread_id": "Thread-1", "execution_time": 0.040199995040893555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.757905Z", "completed_at": "2023-03-21T19:13:17.777817Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.781109Z", "completed_at": "2023-03-21T19:13:17.781117Z"}], "thread_id": "Thread-3", "execution_time": 0.03519725799560547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.764328Z", "completed_at": "2023-03-21T19:13:17.778560Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.781617Z", "completed_at": "2023-03-21T19:13:17.781624Z"}], "thread_id": "Thread-4", "execution_time": 0.03853011131286621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.782910Z", "completed_at": "2023-03-21T19:13:17.811265Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.838976Z", "completed_at": "2023-03-21T19:13:17.838990Z"}], "thread_id": "Thread-2", "execution_time": 0.0621488094329834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.798978Z", "completed_at": "2023-03-21T19:13:17.818361Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.842334Z", "completed_at": "2023-03-21T19:13:17.842342Z"}], "thread_id": "Thread-1", "execution_time": 0.061737060546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.812326Z", "completed_at": "2023-03-21T19:13:17.843125Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.845591Z", "completed_at": "2023-03-21T19:13:17.845599Z"}], "thread_id": "Thread-3", "execution_time": 0.15444302558898926, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:17.824213Z", "completed_at": "2023-03-21T19:13:17.843880Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:17.846236Z", "completed_at": "2023-03-21T19:13:17.846243Z"}], "thread_id": "Thread-4", "execution_time": 0.18005824089050293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__search_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.014964Z", "completed_at": "2023-03-21T19:13:18.039946Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.058249Z", "completed_at": "2023-03-21T19:13:18.058259Z"}], "thread_id": "Thread-1", "execution_time": 0.2139270305633545, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.040205Z", "completed_at": "2023-03-21T19:13:18.058602Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.062027Z", "completed_at": "2023-03-21T19:13:18.062036Z"}], "thread_id": "Thread-3", "execution_time": 0.026019811630249023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.045052Z", "completed_at": "2023-03-21T19:13:18.061052Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.070653Z", "completed_at": "2023-03-21T19:13:18.070665Z"}], "thread_id": "Thread-4", "execution_time": 0.034336090087890625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.064912Z", "completed_at": "2023-03-21T19:13:18.081112Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.091255Z", "completed_at": "2023-03-21T19:13:18.091265Z"}], "thread_id": "Thread-2", "execution_time": 0.03609514236450195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.073699Z", "completed_at": "2023-03-21T19:13:18.082650Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.096939Z", "completed_at": "2023-03-21T19:13:18.096947Z"}], "thread_id": "Thread-1", "execution_time": 0.03476595878601074, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.082848Z", "completed_at": "2023-03-21T19:13:18.097239Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.099443Z", "completed_at": "2023-03-21T19:13:18.099450Z"}], "thread_id": "Thread-3", "execution_time": 0.020902156829833984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.091779Z", "completed_at": "2023-03-21T19:13:18.098583Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.101068Z", "completed_at": "2023-03-21T19:13:18.101074Z"}], "thread_id": "Thread-4", "execution_time": 0.027129173278808594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.101260Z", "completed_at": "2023-03-21T19:13:18.115210Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.126316Z", "completed_at": "2023-03-21T19:13:18.126326Z"}], "thread_id": "Thread-2", "execution_time": 0.032929182052612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.109148Z", "completed_at": "2023-03-21T19:13:18.116233Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.131173Z", "completed_at": "2023-03-21T19:13:18.131182Z"}], "thread_id": "Thread-1", "execution_time": 0.03234291076660156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.116626Z", "completed_at": "2023-03-21T19:13:18.131932Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.134375Z", "completed_at": "2023-03-21T19:13:18.134381Z"}], "thread_id": "Thread-3", "execution_time": 0.021057844161987305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.126618Z", "completed_at": "2023-03-21T19:13:18.133033Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.135187Z", "completed_at": "2023-03-21T19:13:18.135194Z"}], "thread_id": "Thread-4", "execution_time": 0.02602076530456543, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.136065Z", "completed_at": "2023-03-21T19:13:18.153353Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.167253Z", "completed_at": "2023-03-21T19:13:18.167264Z"}], "thread_id": "Thread-2", "execution_time": 0.04187178611755371, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.146914Z", "completed_at": "2023-03-21T19:13:18.154236Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.173779Z", "completed_at": "2023-03-21T19:13:18.173789Z"}], "thread_id": "Thread-1", "execution_time": 0.041561126708984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.154813Z", "completed_at": "2023-03-21T19:13:18.176553Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.178028Z", "completed_at": "2023-03-21T19:13:18.178035Z"}], "thread_id": "Thread-3", "execution_time": 0.02609705924987793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.167460Z", "completed_at": "2023-03-21T19:13:18.177436Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.179077Z", "completed_at": "2023-03-21T19:13:18.179082Z"}], "thread_id": "Thread-4", "execution_time": 0.030397891998291016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.179255Z", "completed_at": "2023-03-21T19:13:18.185433Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.199745Z", "completed_at": "2023-03-21T19:13:18.199756Z"}], "thread_id": "Thread-2", "execution_time": 0.02735114097595215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.187836Z", "completed_at": "2023-03-21T19:13:18.205453Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.205855Z", "completed_at": "2023-03-21T19:13:18.205861Z"}], "thread_id": "Thread-1", "execution_time": 0.021272897720336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-21T19:13:18.199959Z", "completed_at": "2023-03-21T19:13:18.206714Z"}, {"name": "execute", "started_at": "2023-03-21T19:13:18.207092Z", "completed_at": "2023-03-21T19:13:18.207097Z"}], "thread_id": "Thread-3", "execution_time": 0.021761178970336914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6"}], "elapsed_time": 20.129616022109985, "args": {"write_json": true, "use_colors": true, "printer_width": 80, "version_check": true, "partial_parse": true, "static_parser": true, "profiles_dir": "/Users/renee.li/.dbt", "send_anonymous_usage_stats": true, "quiet": false, "no_print": false, "cache_selected_only": false, "compile": true, "which": "generate", "rpc_method": "docs.generate", "indirect_selection": "eager"}} \ No newline at end of file +{"metadata": {"dbt_schema_version": "https://schemas.getdbt.com/dbt/run-results/v4.json", "dbt_version": "1.4.0", "generated_at": "2023-03-23T17:42:08.774713Z", "invocation_id": "16c91677-8cb5-48b5-8ba8-f2cc539bf5d3", "env": {}}, "results": [{"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.729760Z", "completed_at": "2023-03-23T17:41:22.738876Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.739663Z", "completed_at": "2023-03-23T17:41:22.739691Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012037038803100586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.745270Z", "completed_at": "2023-03-23T17:41:22.752825Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.753554Z", "completed_at": "2023-03-23T17:41:22.753567Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01014399528503418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.757097Z", "completed_at": "2023-03-23T17:41:22.764911Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.765590Z", "completed_at": "2023-03-23T17:41:22.765601Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01056981086730957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.768910Z", "completed_at": "2023-03-23T17:41:22.775237Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.775905Z", "completed_at": "2023-03-23T17:41:22.775916Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.008750677108764648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.779132Z", "completed_at": "2023-03-23T17:41:22.785449Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.786125Z", "completed_at": "2023-03-23T17:41:22.786135Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.008880138397216797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.789347Z", "completed_at": "2023-03-23T17:41:22.795870Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.796591Z", "completed_at": "2023-03-23T17:41:22.796602Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009198904037475586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.800007Z", "completed_at": "2023-03-23T17:41:22.811416Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.812112Z", "completed_at": "2023-03-23T17:41:22.812124Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013892173767089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.815439Z", "completed_at": "2023-03-23T17:41:22.821886Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.822586Z", "completed_at": "2023-03-23T17:41:22.822597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009057044982910156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.825871Z", "completed_at": "2023-03-23T17:41:22.832289Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.832992Z", "completed_at": "2023-03-23T17:41:22.833003Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009042024612426758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.836312Z", "completed_at": "2023-03-23T17:41:22.842917Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.843622Z", "completed_at": "2023-03-23T17:41:22.843635Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00923299789428711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.846940Z", "completed_at": "2023-03-23T17:41:22.854857Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.855534Z", "completed_at": "2023-03-23T17:41:22.855547Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010545730590820312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.858736Z", "completed_at": "2023-03-23T17:41:22.865818Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.866707Z", "completed_at": "2023-03-23T17:41:22.866721Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0099029541015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.870151Z", "completed_at": "2023-03-23T17:41:22.876739Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.877417Z", "completed_at": "2023-03-23T17:41:22.877428Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009174108505249023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.880695Z", "completed_at": "2023-03-23T17:41:22.887874Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.888747Z", "completed_at": "2023-03-23T17:41:22.888761Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010102987289428711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.892200Z", "completed_at": "2023-03-23T17:41:22.900560Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.901259Z", "completed_at": "2023-03-23T17:41:22.901271Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010992765426635742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.904585Z", "completed_at": "2023-03-23T17:41:22.911080Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.911787Z", "completed_at": "2023-03-23T17:41:22.911798Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009131193161010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.915094Z", "completed_at": "2023-03-23T17:41:22.921553Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.922256Z", "completed_at": "2023-03-23T17:41:22.922268Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.008955001831054688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.925547Z", "completed_at": "2023-03-23T17:41:22.931954Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.932646Z", "completed_at": "2023-03-23T17:41:22.932657Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009032249450683594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.935974Z", "completed_at": "2023-03-23T17:41:22.944856Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.945593Z", "completed_at": "2023-03-23T17:41:22.945606Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011570215225219727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.949257Z", "completed_at": "2023-03-23T17:41:22.956022Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.956744Z", "completed_at": "2023-03-23T17:41:22.956757Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00961923599243164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.960414Z", "completed_at": "2023-03-23T17:41:22.967744Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.968482Z", "completed_at": "2023-03-23T17:41:22.968496Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010501861572265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.972163Z", "completed_at": "2023-03-23T17:41:22.979153Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.979904Z", "completed_at": "2023-03-23T17:41:22.979926Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009688138961791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.983214Z", "completed_at": "2023-03-23T17:41:22.992385Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:22.993127Z", "completed_at": "2023-03-23T17:41:22.993140Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012235879898071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:22.996570Z", "completed_at": "2023-03-23T17:41:23.003394Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.004105Z", "completed_at": "2023-03-23T17:41:23.004118Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009546995162963867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.007540Z", "completed_at": "2023-03-23T17:41:23.014552Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.015273Z", "completed_at": "2023-03-23T17:41:23.015286Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009741783142089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.018755Z", "completed_at": "2023-03-23T17:41:23.025442Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.026145Z", "completed_at": "2023-03-23T17:41:23.026157Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009389162063598633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.029492Z", "completed_at": "2023-03-23T17:41:23.037945Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.038669Z", "completed_at": "2023-03-23T17:41:23.038682Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011149168014526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.042104Z", "completed_at": "2023-03-23T17:41:23.048827Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.049537Z", "completed_at": "2023-03-23T17:41:23.049550Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009426116943359375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.053127Z", "completed_at": "2023-03-23T17:41:23.060379Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.061134Z", "completed_at": "2023-03-23T17:41:23.061147Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010644197463989258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.064771Z", "completed_at": "2023-03-23T17:41:23.071577Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.072286Z", "completed_at": "2023-03-23T17:41:23.072298Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009498834609985352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.075654Z", "completed_at": "2023-03-23T17:41:23.084284Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.084998Z", "completed_at": "2023-03-23T17:41:23.085011Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011832952499389648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.088423Z", "completed_at": "2023-03-23T17:41:23.094968Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.095669Z", "completed_at": "2023-03-23T17:41:23.095682Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009222269058227539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.099292Z", "completed_at": "2023-03-23T17:41:23.106156Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.106878Z", "completed_at": "2023-03-23T17:41:23.106892Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009584903717041016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.110308Z", "completed_at": "2023-03-23T17:41:23.117257Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.118006Z", "completed_at": "2023-03-23T17:41:23.118020Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009778022766113281, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.121495Z", "completed_at": "2023-03-23T17:41:23.130087Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.130787Z", "completed_at": "2023-03-23T17:41:23.130800Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011275053024291992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.134163Z", "completed_at": "2023-03-23T17:41:23.140701Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.141392Z", "completed_at": "2023-03-23T17:41:23.141405Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009177207946777344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.145016Z", "completed_at": "2023-03-23T17:41:23.152050Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.152772Z", "completed_at": "2023-03-23T17:41:23.152786Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009775638580322266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.156189Z", "completed_at": "2023-03-23T17:41:23.162830Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.163514Z", "completed_at": "2023-03-23T17:41:23.163525Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009295940399169922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.166818Z", "completed_at": "2023-03-23T17:41:23.175419Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.176123Z", "completed_at": "2023-03-23T17:41:23.176136Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011259794235229492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.179504Z", "completed_at": "2023-03-23T17:41:23.185966Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.186668Z", "completed_at": "2023-03-23T17:41:23.186681Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009130001068115234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.190208Z", "completed_at": "2023-03-23T17:41:23.197254Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.197992Z", "completed_at": "2023-03-23T17:41:23.198006Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009805917739868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.201482Z", "completed_at": "2023-03-23T17:41:23.208290Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.208996Z", "completed_at": "2023-03-23T17:41:23.209008Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009454965591430664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.212438Z", "completed_at": "2023-03-23T17:41:23.221454Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.222178Z", "completed_at": "2023-03-23T17:41:23.222193Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01177215576171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.225546Z", "completed_at": "2023-03-23T17:41:23.231966Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.232651Z", "completed_at": "2023-03-23T17:41:23.232663Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009034156799316406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.236112Z", "completed_at": "2023-03-23T17:41:23.243463Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.244228Z", "completed_at": "2023-03-23T17:41:23.244242Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009990930557250977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.247678Z", "completed_at": "2023-03-23T17:41:23.254522Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.255216Z", "completed_at": "2023-03-23T17:41:23.255229Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009489297866821289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.258608Z", "completed_at": "2023-03-23T17:41:23.267456Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.268164Z", "completed_at": "2023-03-23T17:41:23.268178Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011549949645996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.271550Z", "completed_at": "2023-03-23T17:41:23.278154Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.278874Z", "completed_at": "2023-03-23T17:41:23.278886Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009307146072387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.282494Z", "completed_at": "2023-03-23T17:41:23.289272Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.289991Z", "completed_at": "2023-03-23T17:41:23.290004Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009474039077758789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.293405Z", "completed_at": "2023-03-23T17:41:23.300879Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.301620Z", "completed_at": "2023-03-23T17:41:23.301633Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010221004486083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.305026Z", "completed_at": "2023-03-23T17:41:23.313816Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.314530Z", "completed_at": "2023-03-23T17:41:23.314543Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011971235275268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.317918Z", "completed_at": "2023-03-23T17:41:23.443003Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.443781Z", "completed_at": "2023-03-23T17:41:23.443795Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.12787985801696777, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.447445Z", "completed_at": "2023-03-23T17:41:23.454666Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.455449Z", "completed_at": "2023-03-23T17:41:23.455464Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010699033737182617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.459099Z", "completed_at": "2023-03-23T17:41:23.465975Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.466695Z", "completed_at": "2023-03-23T17:41:23.466708Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009669065475463867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.470122Z", "completed_at": "2023-03-23T17:41:23.478615Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.479336Z", "completed_at": "2023-03-23T17:41:23.479349Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011088132858276367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.482770Z", "completed_at": "2023-03-23T17:41:23.491387Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.492113Z", "completed_at": "2023-03-23T17:41:23.492125Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011313915252685547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.495669Z", "completed_at": "2023-03-23T17:41:23.502251Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.502970Z", "completed_at": "2023-03-23T17:41:23.502984Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009469985961914062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.506543Z", "completed_at": "2023-03-23T17:41:23.512918Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.513622Z", "completed_at": "2023-03-23T17:41:23.513635Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009293794631958008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.520355Z", "completed_at": "2023-03-23T17:41:23.527471Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.528215Z", "completed_at": "2023-03-23T17:41:23.528229Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009803056716918945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.531671Z", "completed_at": "2023-03-23T17:41:23.540167Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.540874Z", "completed_at": "2023-03-23T17:41:23.540887Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01117396354675293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.544287Z", "completed_at": "2023-03-23T17:41:23.551281Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.551990Z", "completed_at": "2023-03-23T17:41:23.552003Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009697914123535156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.555413Z", "completed_at": "2023-03-23T17:41:23.562970Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.563722Z", "completed_at": "2023-03-23T17:41:23.563734Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010226249694824219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.567067Z", "completed_at": "2023-03-23T17:41:23.573837Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.574551Z", "completed_at": "2023-03-23T17:41:23.574565Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009474992752075195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.577997Z", "completed_at": "2023-03-23T17:41:23.586638Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.587349Z", "completed_at": "2023-03-23T17:41:23.587362Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01140284538269043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.590771Z", "completed_at": "2023-03-23T17:41:23.597721Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.598491Z", "completed_at": "2023-03-23T17:41:23.598504Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009734869003295898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.601880Z", "completed_at": "2023-03-23T17:41:23.609044Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.609774Z", "completed_at": "2023-03-23T17:41:23.609787Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009853839874267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.613183Z", "completed_at": "2023-03-23T17:41:23.619966Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.620682Z", "completed_at": "2023-03-23T17:41:23.620696Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009491205215454102, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.624078Z", "completed_at": "2023-03-23T17:41:23.632539Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.633255Z", "completed_at": "2023-03-23T17:41:23.633268Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011176824569702148, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.636681Z", "completed_at": "2023-03-23T17:41:23.643419Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.644129Z", "completed_at": "2023-03-23T17:41:23.644142Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009441137313842773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.647559Z", "completed_at": "2023-03-23T17:41:23.654380Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.655094Z", "completed_at": "2023-03-23T17:41:23.655107Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009546041488647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.658498Z", "completed_at": "2023-03-23T17:41:23.665171Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.665880Z", "completed_at": "2023-03-23T17:41:23.665893Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009363889694213867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.669248Z", "completed_at": "2023-03-23T17:41:23.677813Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.678510Z", "completed_at": "2023-03-23T17:41:23.678523Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011202812194824219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.681865Z", "completed_at": "2023-03-23T17:41:23.688713Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.689430Z", "completed_at": "2023-03-23T17:41:23.689443Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009399890899658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.692874Z", "completed_at": "2023-03-23T17:41:23.700155Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.700917Z", "completed_at": "2023-03-23T17:41:23.700931Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010064125061035156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.704440Z", "completed_at": "2023-03-23T17:41:23.711485Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.712226Z", "completed_at": "2023-03-23T17:41:23.712240Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009675979614257812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.715756Z", "completed_at": "2023-03-23T17:41:23.724499Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.725243Z", "completed_at": "2023-03-23T17:41:23.725257Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011549949645996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.728717Z", "completed_at": "2023-03-23T17:41:23.735591Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.736319Z", "completed_at": "2023-03-23T17:41:23.736333Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009490013122558594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.740060Z", "completed_at": "2023-03-23T17:41:23.746746Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.747495Z", "completed_at": "2023-03-23T17:41:23.747509Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010230064392089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.751106Z", "completed_at": "2023-03-23T17:41:23.758033Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.758750Z", "completed_at": "2023-03-23T17:41:23.758764Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010169029235839844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.762142Z", "completed_at": "2023-03-23T17:41:23.768960Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.769695Z", "completed_at": "2023-03-23T17:41:23.769709Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010036230087280273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.773129Z", "completed_at": "2023-03-23T17:41:23.782248Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.782997Z", "completed_at": "2023-03-23T17:41:23.783010Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011745929718017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.786495Z", "completed_at": "2023-03-23T17:41:23.793326Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.794039Z", "completed_at": "2023-03-23T17:41:23.794052Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01006007194519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.797532Z", "completed_at": "2023-03-23T17:41:23.804942Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.805734Z", "completed_at": "2023-03-23T17:41:23.805749Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010264158248901367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.809253Z", "completed_at": "2023-03-23T17:41:23.816328Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.817067Z", "completed_at": "2023-03-23T17:41:23.817080Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009721040725708008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.820629Z", "completed_at": "2023-03-23T17:41:23.829392Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.830116Z", "completed_at": "2023-03-23T17:41:23.830136Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011558771133422852, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.833528Z", "completed_at": "2023-03-23T17:41:23.840261Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.840965Z", "completed_at": "2023-03-23T17:41:23.840979Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009407997131347656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.844336Z", "completed_at": "2023-03-23T17:41:23.851128Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.851850Z", "completed_at": "2023-03-23T17:41:23.851863Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009498834609985352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.855266Z", "completed_at": "2023-03-23T17:41:23.862226Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.862958Z", "completed_at": "2023-03-23T17:41:23.862972Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00975799560546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.866397Z", "completed_at": "2023-03-23T17:41:23.875152Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.875880Z", "completed_at": "2023-03-23T17:41:23.875893Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011412858963012695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.879403Z", "completed_at": "2023-03-23T17:41:23.886038Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.886758Z", "completed_at": "2023-03-23T17:41:23.886773Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009480953216552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.890331Z", "completed_at": "2023-03-23T17:41:23.897018Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.897751Z", "completed_at": "2023-03-23T17:41:23.897765Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00963592529296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.901185Z", "completed_at": "2023-03-23T17:41:23.907956Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.908659Z", "completed_at": "2023-03-23T17:41:23.908672Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009453773498535156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.912052Z", "completed_at": "2023-03-23T17:41:23.920674Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.921385Z", "completed_at": "2023-03-23T17:41:23.921397Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011358022689819336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.924756Z", "completed_at": "2023-03-23T17:41:23.931403Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.932107Z", "completed_at": "2023-03-23T17:41:23.932120Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009306907653808594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.935425Z", "completed_at": "2023-03-23T17:41:23.942132Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.942842Z", "completed_at": "2023-03-23T17:41:23.942857Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009241819381713867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.946255Z", "completed_at": "2023-03-23T17:41:23.953137Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.953853Z", "completed_at": "2023-03-23T17:41:23.953866Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009581804275512695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.957246Z", "completed_at": "2023-03-23T17:41:23.966051Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.966767Z", "completed_at": "2023-03-23T17:41:23.966781Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01151895523071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url_tmp"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.970150Z", "completed_at": "2023-03-23T17:41:23.973156Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.973841Z", "completed_at": "2023-03-23T17:41:23.973853Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005651235580444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_ad_group_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.976927Z", "completed_at": "2023-03-23T17:41:23.979792Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.980467Z", "completed_at": "2023-03-23T17:41:23.980479Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005295991897583008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_ad_group_level_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.983554Z", "completed_at": "2023-03-23T17:41:23.986370Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.987053Z", "completed_at": "2023-03-23T17:41:23.987065Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0052928924560546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_advertised_product_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.990152Z", "completed_at": "2023-03-23T17:41:23.994574Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:23.995256Z", "completed_at": "2023-03-23T17:41:23.995268Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006865978240966797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:23.998467Z", "completed_at": "2023-03-23T17:41:24.001343Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.002028Z", "completed_at": "2023-03-23T17:41:24.002039Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005462169647216797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_campaign_level_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.005078Z", "completed_at": "2023-03-23T17:41:24.007790Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.008466Z", "completed_at": "2023-03-23T17:41:24.008478Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005141019821166992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_keyword_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.011494Z", "completed_at": "2023-03-23T17:41:24.014271Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.014956Z", "completed_at": "2023-03-23T17:41:24.014967Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005220890045166016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_portfolio_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.017948Z", "completed_at": "2023-03-23T17:41:24.020664Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.021347Z", "completed_at": "2023-03-23T17:41:24.021358Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00762176513671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_product_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.027084Z", "completed_at": "2023-03-23T17:41:24.031868Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.032547Z", "completed_at": "2023-03-23T17:41:24.032559Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0072400569915771484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_profile_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.035843Z", "completed_at": "2023-03-23T17:41:24.039098Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.039971Z", "completed_at": "2023-03-23T17:41:24.040010Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0061092376708984375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_search_term_ad_keyword_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.043357Z", "completed_at": "2023-03-23T17:41:24.046364Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.047126Z", "completed_at": "2023-03-23T17:41:24.047140Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005630970001220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.amazon_ads_targeting_keyword_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.050381Z", "completed_at": "2023-03-23T17:41:24.053290Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.053982Z", "completed_at": "2023-03-23T17:41:24.053994Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005377769470214844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_group_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.057057Z", "completed_at": "2023-03-23T17:41:24.061562Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.062237Z", "completed_at": "2023-03-23T17:41:24.062248Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006925106048583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_group_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.065287Z", "completed_at": "2023-03-23T17:41:24.068055Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.068710Z", "completed_at": "2023-03-23T17:41:24.068721Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0051441192626953125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.071729Z", "completed_at": "2023-03-23T17:41:24.074509Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.075176Z", "completed_at": "2023-03-23T17:41:24.075188Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005198240280151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_ad_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.078210Z", "completed_at": "2023-03-23T17:41:24.080927Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.081593Z", "completed_at": "2023-03-23T17:41:24.081604Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0051250457763671875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.084591Z", "completed_at": "2023-03-23T17:41:24.088767Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.089440Z", "completed_at": "2023-03-23T17:41:24.089452Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006598949432373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_campaign_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.092437Z", "completed_at": "2023-03-23T17:41:24.095146Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.095822Z", "completed_at": "2023-03-23T17:41:24.095834Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00513005256652832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_keyword_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.098885Z", "completed_at": "2023-03-23T17:41:24.101691Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.102360Z", "completed_at": "2023-03-23T17:41:24.102371Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005290985107421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_keyword_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.105410Z", "completed_at": "2023-03-23T17:41:24.108194Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.108858Z", "completed_at": "2023-03-23T17:41:24.108869Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005215883255004883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_organization_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.111876Z", "completed_at": "2023-03-23T17:41:24.114645Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.115333Z", "completed_at": "2023-03-23T17:41:24.115344Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005222320556640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.apple_search_search_term_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.118320Z", "completed_at": "2023-03-23T17:41:24.122716Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.123375Z", "completed_at": "2023-03-23T17:41:24.123386Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006780147552490234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_account_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.126359Z", "completed_at": "2023-03-23T17:41:24.129110Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.129780Z", "completed_at": "2023-03-23T17:41:24.129800Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005192995071411133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.132791Z", "completed_at": "2023-03-23T17:41:24.135491Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.136162Z", "completed_at": "2023-03-23T17:41:24.136173Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005093812942504883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_ad_set_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.139153Z", "completed_at": "2023-03-23T17:41:24.141845Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.142514Z", "completed_at": "2023-03-23T17:41:24.142525Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00510406494140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_basic_ad_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.145511Z", "completed_at": "2023-03-23T17:41:24.149638Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.150316Z", "completed_at": "2023-03-23T17:41:24.150327Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006544828414916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.153278Z", "completed_at": "2023-03-23T17:41:24.156028Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.156674Z", "completed_at": "2023-03-23T17:41:24.156685Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005113840103149414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.facebook_ads_creative_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.159656Z", "completed_at": "2023-03-23T17:41:24.162370Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.163039Z", "completed_at": "2023-03-23T17:41:24.163050Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005163908004760742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_account_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.166039Z", "completed_at": "2023-03-23T17:41:24.168786Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.169446Z", "completed_at": "2023-03-23T17:41:24.169457Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005130290985107422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_account_stats_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.172371Z", "completed_at": "2023-03-23T17:41:24.176396Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.177046Z", "completed_at": "2023-03-23T17:41:24.177057Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006368875503540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_criterion_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.180139Z", "completed_at": "2023-03-23T17:41:24.182722Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.183375Z", "completed_at": "2023-03-23T17:41:24.183385Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005507230758666992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.186344Z", "completed_at": "2023-03-23T17:41:24.189128Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.189794Z", "completed_at": "2023-03-23T17:41:24.189806Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005182981491088867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_group_stats_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.192759Z", "completed_at": "2023-03-23T17:41:24.195470Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.196129Z", "completed_at": "2023-03-23T17:41:24.196141Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005119800567626953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.199231Z", "completed_at": "2023-03-23T17:41:24.203382Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.204020Z", "completed_at": "2023-03-23T17:41:24.204032Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006501913070678711, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_ad_stats_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.206959Z", "completed_at": "2023-03-23T17:41:24.209643Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.210320Z", "completed_at": "2023-03-23T17:41:24.210332Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005101203918457031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.213518Z", "completed_at": "2023-03-23T17:41:24.216107Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.216764Z", "completed_at": "2023-03-23T17:41:24.216775Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0051877498626708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_campaign_stats_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.219737Z", "completed_at": "2023-03-23T17:41:24.222468Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.223129Z", "completed_at": "2023-03-23T17:41:24.223141Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0051267147064208984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.google_ads_keyword_stats_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.226131Z", "completed_at": "2023-03-23T17:41:24.228922Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.229572Z", "completed_at": "2023-03-23T17:41:24.229584Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005179166793823242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_account_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.232583Z", "completed_at": "2023-03-23T17:41:24.236960Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.237640Z", "completed_at": "2023-03-23T17:41:24.237651Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006814002990722656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_campaign_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.240579Z", "completed_at": "2023-03-23T17:41:24.243217Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.243866Z", "completed_at": "2023-03-23T17:41:24.243877Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.004986763000488281, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_analytics_by_creative_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.246940Z", "completed_at": "2023-03-23T17:41:24.249622Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.250277Z", "completed_at": "2023-03-23T17:41:24.250288Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005468130111694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_campaign_group_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.253310Z", "completed_at": "2023-03-23T17:41:24.256022Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.256682Z", "completed_at": "2023-03-23T17:41:24.256693Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005532979965209961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.259684Z", "completed_at": "2023-03-23T17:41:24.263850Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.264489Z", "completed_at": "2023-03-23T17:41:24.264500Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006536960601806641, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.linkedin_ad_creative_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.267431Z", "completed_at": "2023-03-23T17:41:24.270161Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.270822Z", "completed_at": "2023-03-23T17:41:24.270833Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005139827728271484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_account_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.273785Z", "completed_at": "2023-03-23T17:41:24.276468Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.277121Z", "completed_at": "2023-03-23T17:41:24.277132Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005154132843017578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_account_performance_daily_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.280149Z", "completed_at": "2023-03-23T17:41:24.282765Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.283420Z", "completed_at": "2023-03-23T17:41:24.283431Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.004969120025634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.286380Z", "completed_at": "2023-03-23T17:41:24.290559Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.291220Z", "completed_at": "2023-03-23T17:41:24.291232Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006567955017089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_group_performance_daily_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.294163Z", "completed_at": "2023-03-23T17:41:24.296885Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.297543Z", "completed_at": "2023-03-23T17:41:24.297555Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005163669586181641, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.300619Z", "completed_at": "2023-03-23T17:41:24.303411Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.304076Z", "completed_at": "2023-03-23T17:41:24.304088Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005197763442993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_ad_performance_daily_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.307042Z", "completed_at": "2023-03-23T17:41:24.309722Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.310396Z", "completed_at": "2023-03-23T17:41:24.310407Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005148887634277344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.313485Z", "completed_at": "2023-03-23T17:41:24.316273Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.316943Z", "completed_at": "2023-03-23T17:41:24.316954Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00523066520690918, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_campaign_performance_daily_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.319927Z", "completed_at": "2023-03-23T17:41:24.324235Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.324893Z", "completed_at": "2023-03-23T17:41:24.324904Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0067098140716552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_keyword_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.327828Z", "completed_at": "2023-03-23T17:41:24.330568Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.331230Z", "completed_at": "2023-03-23T17:41:24.331242Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005128145217895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_keyword_performance_daily_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.334202Z", "completed_at": "2023-03-23T17:41:24.336971Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.337625Z", "completed_at": "2023-03-23T17:41:24.337637Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005170106887817383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.microsoft_ads_search_performance_daily_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.340576Z", "completed_at": "2023-03-23T17:41:24.343284Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.343930Z", "completed_at": "2023-03-23T17:41:24.343941Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005079984664916992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.346922Z", "completed_at": "2023-03-23T17:41:24.351137Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.351800Z", "completed_at": "2023-03-23T17:41:24.351811Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006988048553466797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_ad_group_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.354725Z", "completed_at": "2023-03-23T17:41:24.357500Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.358157Z", "completed_at": "2023-03-23T17:41:24.358168Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005175113677978516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.361124Z", "completed_at": "2023-03-23T17:41:24.363871Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.364529Z", "completed_at": "2023-03-23T17:41:24.364540Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005128383636474609, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_advertiser_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.367470Z", "completed_at": "2023-03-23T17:41:24.370232Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.370898Z", "completed_at": "2023-03-23T17:41:24.370909Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005156755447387695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.373849Z", "completed_at": "2023-03-23T17:41:24.377893Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.378559Z", "completed_at": "2023-03-23T17:41:24.378570Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006429195404052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_campaign_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.381493Z", "completed_at": "2023-03-23T17:41:24.384222Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.384905Z", "completed_at": "2023-03-23T17:41:24.384917Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005148172378540039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_keyword_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.387848Z", "completed_at": "2023-03-23T17:41:24.390574Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.391223Z", "completed_at": "2023-03-23T17:41:24.391235Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005123138427734375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_keyword_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.394224Z", "completed_at": "2023-03-23T17:41:24.397048Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.397710Z", "completed_at": "2023-03-23T17:41:24.397722Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0053098201751708984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.400764Z", "completed_at": "2023-03-23T17:41:24.405066Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.405723Z", "completed_at": "2023-03-23T17:41:24.405734Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0066928863525390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.pinterest_ads_pin_promotion_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.408665Z", "completed_at": "2023-03-23T17:41:24.411349Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.412007Z", "completed_at": "2023-03-23T17:41:24.412018Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005072116851806641, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_account_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.414998Z", "completed_at": "2023-03-23T17:41:24.417743Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.418403Z", "completed_at": "2023-03-23T17:41:24.418414Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005129814147949219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_account_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.421336Z", "completed_at": "2023-03-23T17:41:24.424039Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.424688Z", "completed_at": "2023-03-23T17:41:24.424700Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005101203918457031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.427726Z", "completed_at": "2023-03-23T17:41:24.430593Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.431261Z", "completed_at": "2023-03-23T17:41:24.431272Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005640745162963867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_group_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.434309Z", "completed_at": "2023-03-23T17:41:24.438636Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.439314Z", "completed_at": "2023-03-23T17:41:24.439325Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.007140159606933594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_group_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.442237Z", "completed_at": "2023-03-23T17:41:24.444902Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.445559Z", "completed_at": "2023-03-23T17:41:24.445571Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005040884017944336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_ad_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.448570Z", "completed_at": "2023-03-23T17:41:24.451316Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.451966Z", "completed_at": "2023-03-23T17:41:24.451977Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005113124847412109, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_campaign_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.454904Z", "completed_at": "2023-03-23T17:41:24.457667Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.458324Z", "completed_at": "2023-03-23T17:41:24.458335Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0051479339599609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.reddit_ads_campaign_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.461284Z", "completed_at": "2023-03-23T17:41:24.465454Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.466111Z", "completed_at": "2023-03-23T17:41:24.466123Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006566762924194336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_account_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.469088Z", "completed_at": "2023-03-23T17:41:24.471908Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.472582Z", "completed_at": "2023-03-23T17:41:24.472594Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005240917205810547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.475566Z", "completed_at": "2023-03-23T17:41:24.478355Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.479036Z", "completed_at": "2023-03-23T17:41:24.479048Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00520014762878418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_hourly_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.482073Z", "completed_at": "2023-03-23T17:41:24.484971Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.485652Z", "completed_at": "2023-03-23T17:41:24.485664Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005373954772949219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_squad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.488745Z", "completed_at": "2023-03-23T17:41:24.493087Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.493756Z", "completed_at": "2023-03-23T17:41:24.493768Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006761074066162109, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_ad_squad_hourly_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.496768Z", "completed_at": "2023-03-23T17:41:24.499670Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.500369Z", "completed_at": "2023-03-23T17:41:24.500382Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0053920745849609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.503538Z", "completed_at": "2023-03-23T17:41:24.506529Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.507201Z", "completed_at": "2023-03-23T17:41:24.507214Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0059239864349365234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_campaign_hourly_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.510315Z", "completed_at": "2023-03-23T17:41:24.513293Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.514076Z", "completed_at": "2023-03-23T17:41:24.514090Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00565028190612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_creative_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.517480Z", "completed_at": "2023-03-23T17:41:24.520517Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.521169Z", "completed_at": "2023-03-23T17:41:24.521180Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005958080291748047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.snapchat_creative_url_tag_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.524183Z", "completed_at": "2023-03-23T17:41:24.528716Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.529388Z", "completed_at": "2023-03-23T17:41:24.529400Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0070421695709228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_ad_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.532654Z", "completed_at": "2023-03-23T17:41:24.535694Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.536371Z", "completed_at": "2023-03-23T17:41:24.536383Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0055789947509765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_ad_report_hourly_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.539463Z", "completed_at": "2023-03-23T17:41:24.542283Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.542936Z", "completed_at": "2023-03-23T17:41:24.542946Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005629301071166992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_adgroup_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.545916Z", "completed_at": "2023-03-23T17:41:24.548914Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.549637Z", "completed_at": "2023-03-23T17:41:24.549650Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005496978759765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_adgroup_report_hourly_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.552697Z", "completed_at": "2023-03-23T17:41:24.557089Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.557751Z", "completed_at": "2023-03-23T17:41:24.557762Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006842851638793945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_advertiser_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.560785Z", "completed_at": "2023-03-23T17:41:24.563687Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.564447Z", "completed_at": "2023-03-23T17:41:24.564460Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005464076995849609, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.567699Z", "completed_at": "2023-03-23T17:41:24.570724Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.571417Z", "completed_at": "2023-03-23T17:41:24.571430Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005537986755371094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.tiktok_campaign_report_hourly_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.574610Z", "completed_at": "2023-03-23T17:41:24.577797Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.578637Z", "completed_at": "2023-03-23T17:41:24.578652Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0059659481048583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_account_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.582376Z", "completed_at": "2023-03-23T17:41:24.587218Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.588010Z", "completed_at": "2023-03-23T17:41:24.588025Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.007637977600097656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_account_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.591173Z", "completed_at": "2023-03-23T17:41:24.594191Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.594970Z", "completed_at": "2023-03-23T17:41:24.594986Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005721092224121094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_campaign_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.598698Z", "completed_at": "2023-03-23T17:41:24.601962Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.602718Z", "completed_at": "2023-03-23T17:41:24.602731Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006000041961669922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_campaign_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.605949Z", "completed_at": "2023-03-23T17:41:24.609085Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.609988Z", "completed_at": "2023-03-23T17:41:24.610001Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.006387948989868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.613267Z", "completed_at": "2023-03-23T17:41:24.618226Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.619031Z", "completed_at": "2023-03-23T17:41:24.619045Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.007696866989135742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_keywords_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.622424Z", "completed_at": "2023-03-23T17:41:24.625439Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.626159Z", "completed_at": "2023-03-23T17:41:24.626172Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0056400299072265625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_line_item_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.629542Z", "completed_at": "2023-03-23T17:41:24.633010Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.633868Z", "completed_at": "2023-03-23T17:41:24.633884Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00633692741394043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_promoted_tweet_history_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.637261Z", "completed_at": "2023-03-23T17:41:24.640289Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.640983Z", "completed_at": "2023-03-23T17:41:24.640996Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.005586862564086914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_promoted_tweet_report_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.644093Z", "completed_at": "2023-03-23T17:41:24.647189Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.647952Z", "completed_at": "2023-03-23T17:41:24.647965Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00617671012878418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_tweet_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.651194Z", "completed_at": "2023-03-23T17:41:24.655714Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:24.656378Z", "completed_at": "2023-03-23T17:41:24.656391Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.007077932357788086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "seed.ad_reporting_integration_tests.twitter_tweet_url_data"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:24.659538Z", "completed_at": "2023-03-23T17:41:25.017134Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:25.017854Z", "completed_at": "2023-03-23T17:41:25.017868Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3601388931274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:25.021257Z", "completed_at": "2023-03-23T17:41:25.389714Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:25.390426Z", "completed_at": "2023-03-23T17:41:25.390441Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3711891174316406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__ad_group_level_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:25.393800Z", "completed_at": "2023-03-23T17:41:25.789773Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:25.790493Z", "completed_at": "2023-03-23T17:41:25.790507Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3987109661102295, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__advertised_product_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:25.793875Z", "completed_at": "2023-03-23T17:41:26.141233Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:26.141937Z", "completed_at": "2023-03-23T17:41:26.141952Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35009193420410156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:26.145358Z", "completed_at": "2023-03-23T17:41:26.497064Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:26.497784Z", "completed_at": "2023-03-23T17:41:26.497799Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3545067310333252, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__campaign_level_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:26.501144Z", "completed_at": "2023-03-23T17:41:26.846449Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:26.847179Z", "completed_at": "2023-03-23T17:41:26.847193Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.34801673889160156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:26.850707Z", "completed_at": "2023-03-23T17:41:27.229604Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:27.230342Z", "completed_at": "2023-03-23T17:41:27.230355Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3820948600769043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__portfolio_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:27.233702Z", "completed_at": "2023-03-23T17:41:27.595730Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:27.596490Z", "completed_at": "2023-03-23T17:41:27.596505Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3648521900177002, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__product_ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:27.599922Z", "completed_at": "2023-03-23T17:41:27.983157Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:27.983894Z", "completed_at": "2023-03-23T17:41:27.983908Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.38599181175231934, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__profile"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:27.987326Z", "completed_at": "2023-03-23T17:41:28.350804Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:28.351589Z", "completed_at": "2023-03-23T17:41:28.351605Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3664219379425049, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__search_term_ad_keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:28.355071Z", "completed_at": "2023-03-23T17:41:28.709534Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:28.710277Z", "completed_at": "2023-03-23T17:41:28.710293Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3572549819946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads_source.stg_amazon_ads__targeting_keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:28.713760Z", "completed_at": "2023-03-23T17:41:29.073223Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:29.073936Z", "completed_at": "2023-03-23T17:41:29.073951Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36210179328918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:29.077369Z", "completed_at": "2023-03-23T17:41:29.568336Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:29.569160Z", "completed_at": "2023-03-23T17:41:29.569174Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.49387407302856445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:29.572556Z", "completed_at": "2023-03-23T17:41:29.940258Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:29.940982Z", "completed_at": "2023-03-23T17:41:29.940997Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3704380989074707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:29.944289Z", "completed_at": "2023-03-23T17:41:30.289899Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:30.290601Z", "completed_at": "2023-03-23T17:41:30.290615Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3482639789581299, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:30.293915Z", "completed_at": "2023-03-23T17:41:30.727738Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:30.728665Z", "completed_at": "2023-03-23T17:41:30.728680Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.436784029006958, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:30.732164Z", "completed_at": "2023-03-23T17:41:31.087922Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:31.088634Z", "completed_at": "2023-03-23T17:41:31.088648Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35889101028442383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:31.091958Z", "completed_at": "2023-03-23T17:41:31.500538Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:31.501268Z", "completed_at": "2023-03-23T17:41:31.501282Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.4112989902496338, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:31.504599Z", "completed_at": "2023-03-23T17:41:31.943195Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:31.944098Z", "completed_at": "2023-03-23T17:41:31.944113Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.44161391258239746, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:31.947601Z", "completed_at": "2023-03-23T17:41:32.267754Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:32.268465Z", "completed_at": "2023-03-23T17:41:32.268479Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.32281494140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__organization"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:32.271852Z", "completed_at": "2023-03-23T17:41:32.777533Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:32.778241Z", "completed_at": "2023-03-23T17:41:32.778255Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.5084547996520996, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads_source.stg_apple_search_ads__search_term_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:32.781597Z", "completed_at": "2023-03-23T17:41:33.143711Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:33.144603Z", "completed_at": "2023-03-23T17:41:33.144618Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36511921882629395, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:33.148130Z", "completed_at": "2023-03-23T17:41:33.459181Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:33.459885Z", "completed_at": "2023-03-23T17:41:33.459900Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3136298656463623, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:33.463253Z", "completed_at": "2023-03-23T17:41:33.816025Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:33.816740Z", "completed_at": "2023-03-23T17:41:33.816754Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35592007637023926, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__ad_set_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:33.820060Z", "completed_at": "2023-03-23T17:41:34.172492Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:34.173355Z", "completed_at": "2023-03-23T17:41:34.173370Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3553311824798584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__basic_ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:34.176775Z", "completed_at": "2023-03-23T17:41:34.503753Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:34.504461Z", "completed_at": "2023-03-23T17:41:34.504476Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3296959400177002, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:34.507877Z", "completed_at": "2023-03-23T17:41:34.893249Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:34.893953Z", "completed_at": "2023-03-23T17:41:34.893967Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3881828784942627, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads_source.stg_facebook_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:34.897354Z", "completed_at": "2023-03-23T17:41:35.267599Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:35.268311Z", "completed_at": "2023-03-23T17:41:35.268325Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.37299609184265137, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:35.271637Z", "completed_at": "2023-03-23T17:41:35.614274Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:35.615001Z", "completed_at": "2023-03-23T17:41:35.615015Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.34538984298706055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__account_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:35.618498Z", "completed_at": "2023-03-23T17:41:35.970328Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:35.971032Z", "completed_at": "2023-03-23T17:41:35.971046Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3546760082244873, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_criterion_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:35.974369Z", "completed_at": "2023-03-23T17:41:36.311542Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:36.312242Z", "completed_at": "2023-03-23T17:41:36.312255Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3399209976196289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:36.315535Z", "completed_at": "2023-03-23T17:41:36.700680Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:36.701398Z", "completed_at": "2023-03-23T17:41:36.701411Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3881490230560303, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_group_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:36.704765Z", "completed_at": "2023-03-23T17:41:37.143379Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:37.144107Z", "completed_at": "2023-03-23T17:41:37.144122Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.4413928985595703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:37.147293Z", "completed_at": "2023-03-23T17:41:37.508554Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:37.509426Z", "completed_at": "2023-03-23T17:41:37.509441Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36445188522338867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__ad_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:37.512850Z", "completed_at": "2023-03-23T17:41:37.898404Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:37.899163Z", "completed_at": "2023-03-23T17:41:37.899178Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3883397579193115, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:37.902704Z", "completed_at": "2023-03-23T17:41:38.265102Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:38.265852Z", "completed_at": "2023-03-23T17:41:38.265866Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36522698402404785, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__campaign_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:38.269342Z", "completed_at": "2023-03-23T17:41:38.635379Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:38.636095Z", "completed_at": "2023-03-23T17:41:38.636109Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36885881423950195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads_source.stg_google_ads__keyword_stats"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:38.639414Z", "completed_at": "2023-03-23T17:41:39.127880Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:39.128601Z", "completed_at": "2023-03-23T17:41:39.128615Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.49116992950439453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:39.131934Z", "completed_at": "2023-03-23T17:41:39.588802Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:39.589549Z", "completed_at": "2023-03-23T17:41:39.589564Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.4596590995788574, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_campaign"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:39.592977Z", "completed_at": "2023-03-23T17:41:39.946108Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:39.946819Z", "completed_at": "2023-03-23T17:41:39.946834Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.355877161026001, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__ad_analytics_by_creative"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:39.950180Z", "completed_at": "2023-03-23T17:41:40.300642Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:40.301366Z", "completed_at": "2023-03-23T17:41:40.301381Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3531637191772461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:40.304717Z", "completed_at": "2023-03-23T17:41:40.656881Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:40.657578Z", "completed_at": "2023-03-23T17:41:40.657591Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.354870080947876, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:40.660949Z", "completed_at": "2023-03-23T17:41:41.007642Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:41.008348Z", "completed_at": "2023-03-23T17:41:41.008362Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3494420051574707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin_source.stg_linkedin_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:41.011731Z", "completed_at": "2023-03-23T17:41:41.375532Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:41.376242Z", "completed_at": "2023-03-23T17:41:41.376257Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36657214164733887, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:41.379539Z", "completed_at": "2023-03-23T17:41:41.714223Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:41.715074Z", "completed_at": "2023-03-23T17:41:41.715089Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3375539779663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:41.718432Z", "completed_at": "2023-03-23T17:41:42.068329Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:42.069035Z", "completed_at": "2023-03-23T17:41:42.069048Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35257601737976074, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:42.072304Z", "completed_at": "2023-03-23T17:41:42.463273Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:42.464039Z", "completed_at": "2023-03-23T17:41:42.464055Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3937201499938965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:42.467311Z", "completed_at": "2023-03-23T17:41:42.891094Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:42.891799Z", "completed_at": "2023-03-23T17:41:42.891813Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.42644405364990234, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:42.895189Z", "completed_at": "2023-03-23T17:41:43.242900Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:43.243597Z", "completed_at": "2023-03-23T17:41:43.243613Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35047388076782227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:43.246901Z", "completed_at": "2023-03-23T17:41:43.641971Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:43.642703Z", "completed_at": "2023-03-23T17:41:43.642717Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.39782094955444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:43.646075Z", "completed_at": "2023-03-23T17:41:43.929990Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:43.930761Z", "completed_at": "2023-03-23T17:41:43.930775Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.2867457866668701, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:43.934112Z", "completed_at": "2023-03-23T17:41:44.247887Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:44.248604Z", "completed_at": "2023-03-23T17:41:44.248620Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.316605806350708, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:44.251965Z", "completed_at": "2023-03-23T17:41:44.628722Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:44.629444Z", "completed_at": "2023-03-23T17:41:44.629458Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3794569969177246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:44.632787Z", "completed_at": "2023-03-23T17:41:45.004265Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:45.004993Z", "completed_at": "2023-03-23T17:41:45.005007Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.374269962310791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads_source.stg_microsoft_ads__search_daily_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:45.008331Z", "completed_at": "2023-03-23T17:41:45.410757Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:45.411466Z", "completed_at": "2023-03-23T17:41:45.411480Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.40512514114379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:45.414778Z", "completed_at": "2023-03-23T17:41:45.724390Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:45.725090Z", "completed_at": "2023-03-23T17:41:45.725105Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.31231093406677246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:45.728443Z", "completed_at": "2023-03-23T17:41:46.088032Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:46.088747Z", "completed_at": "2023-03-23T17:41:46.088761Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36232614517211914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:46.092063Z", "completed_at": "2023-03-23T17:41:46.458763Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:46.459457Z", "completed_at": "2023-03-23T17:41:46.459470Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36936402320861816, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__advertiser_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:46.462759Z", "completed_at": "2023-03-23T17:41:46.807600Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:46.808319Z", "completed_at": "2023-03-23T17:41:46.808333Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3473978042602539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:46.811654Z", "completed_at": "2023-03-23T17:41:47.195943Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:47.196649Z", "completed_at": "2023-03-23T17:41:47.196663Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.387052059173584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:47.200062Z", "completed_at": "2023-03-23T17:41:47.581961Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:47.582680Z", "completed_at": "2023-03-23T17:41:47.582694Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3844001293182373, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:47.585972Z", "completed_at": "2023-03-23T17:41:47.975797Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:47.976484Z", "completed_at": "2023-03-23T17:41:47.976497Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.39247632026672363, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:47.979800Z", "completed_at": "2023-03-23T17:41:48.344640Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:48.345330Z", "completed_at": "2023-03-23T17:41:48.345344Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36792588233947754, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:48.348628Z", "completed_at": "2023-03-23T17:41:48.723478Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:48.724195Z", "completed_at": "2023-03-23T17:41:48.724209Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.377413272857666, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest_source.stg_pinterest_ads__pin_promotion_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:48.727494Z", "completed_at": "2023-03-23T17:41:49.067233Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:49.067935Z", "completed_at": "2023-03-23T17:41:49.067951Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.34244608879089355, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:49.071182Z", "completed_at": "2023-03-23T17:41:49.489896Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:49.490596Z", "completed_at": "2023-03-23T17:41:49.490613Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.42136502265930176, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__account"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:49.493892Z", "completed_at": "2023-03-23T17:41:49.878256Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:49.878943Z", "completed_at": "2023-03-23T17:41:49.878957Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.38703107833862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:49.882157Z", "completed_at": "2023-03-23T17:41:50.228682Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:50.229382Z", "completed_at": "2023-03-23T17:41:50.229397Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3492240905761719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_group"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:50.232687Z", "completed_at": "2023-03-23T17:41:50.603035Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:50.603738Z", "completed_at": "2023-03-23T17:41:50.603752Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3730039596557617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:50.606972Z", "completed_at": "2023-03-23T17:41:50.974029Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:50.974738Z", "completed_at": "2023-03-23T17:41:50.974753Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3697221279144287, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:50.978042Z", "completed_at": "2023-03-23T17:41:51.293639Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:51.294358Z", "completed_at": "2023-03-23T17:41:51.294372Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.31835412979125977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:51.297757Z", "completed_at": "2023-03-23T17:41:51.630423Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:51.631125Z", "completed_at": "2023-03-23T17:41:51.631140Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3354198932647705, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads_source.stg_reddit_ads__campaign"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:51.634444Z", "completed_at": "2023-03-23T17:41:51.988454Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:51.989159Z", "completed_at": "2023-03-23T17:41:51.989173Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35673999786376953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:51.992397Z", "completed_at": "2023-03-23T17:41:52.307989Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:52.308693Z", "completed_at": "2023-03-23T17:41:52.308707Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.31825995445251465, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:52.311968Z", "completed_at": "2023-03-23T17:41:52.671728Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:52.672411Z", "completed_at": "2023-03-23T17:41:52.672424Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3623979091644287, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_hourly_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:52.675673Z", "completed_at": "2023-03-23T17:41:53.014445Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:53.015141Z", "completed_at": "2023-03-23T17:41:53.015156Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.34146881103515625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:53.018417Z", "completed_at": "2023-03-23T17:41:53.418757Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:53.419456Z", "completed_at": "2023-03-23T17:41:53.419469Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.40305280685424805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__ad_squad_hourly_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:53.422758Z", "completed_at": "2023-03-23T17:41:53.805485Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:53.806184Z", "completed_at": "2023-03-23T17:41:53.806199Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3854494094848633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:53.809445Z", "completed_at": "2023-03-23T17:41:54.159603Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:54.160300Z", "completed_at": "2023-03-23T17:41:54.160314Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35286521911621094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__campaign_hourly_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:54.163662Z", "completed_at": "2023-03-23T17:41:54.475602Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:54.476292Z", "completed_at": "2023-03-23T17:41:54.476306Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3146970272064209, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:54.479514Z", "completed_at": "2023-03-23T17:41:54.884643Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:54.885343Z", "completed_at": "2023-03-23T17:41:54.885356Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.4077770709991455, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads_source.stg_snapchat_ads__creative_url_tag_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:54.888621Z", "completed_at": "2023-03-23T17:41:55.247441Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:55.248141Z", "completed_at": "2023-03-23T17:41:55.248155Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3616292476654053, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:55.251545Z", "completed_at": "2023-03-23T17:41:55.618431Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:55.619140Z", "completed_at": "2023-03-23T17:41:55.619154Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3696110248565674, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_group_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:55.622326Z", "completed_at": "2023-03-23T17:41:56.003186Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:56.003891Z", "completed_at": "2023-03-23T17:41:56.003904Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3834497928619385, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:56.007188Z", "completed_at": "2023-03-23T17:41:56.398303Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:56.399180Z", "completed_at": "2023-03-23T17:41:56.399194Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3940260410308838, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__ad_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:56.402510Z", "completed_at": "2023-03-23T17:41:56.715873Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:56.716573Z", "completed_at": "2023-03-23T17:41:56.716587Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3159348964691162, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__advertiser"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:56.719868Z", "completed_at": "2023-03-23T17:41:57.026277Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:57.026984Z", "completed_at": "2023-03-23T17:41:57.026998Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.30913591384887695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:57.030291Z", "completed_at": "2023-03-23T17:41:57.370913Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:57.371616Z", "completed_at": "2023-03-23T17:41:57.371631Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.343350887298584, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads_source.stg_tiktok_ads__campaign_report_hourly"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:57.374979Z", "completed_at": "2023-03-23T17:41:57.715765Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:57.716456Z", "completed_at": "2023-03-23T17:41:57.716470Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3435521125793457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__account_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:57.719724Z", "completed_at": "2023-03-23T17:41:58.072918Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:58.073632Z", "completed_at": "2023-03-23T17:41:58.073645Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.35590314865112305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:58.076881Z", "completed_at": "2023-03-23T17:41:58.375465Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:58.376173Z", "completed_at": "2023-03-23T17:41:58.376187Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.301271915435791, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:58.379495Z", "completed_at": "2023-03-23T17:41:58.748052Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:58.748768Z", "completed_at": "2023-03-23T17:41:58.748782Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3714590072631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:58.752292Z", "completed_at": "2023-03-23T17:41:59.142959Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:59.143665Z", "completed_at": "2023-03-23T17:41:59.143679Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.39342474937438965, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__line_item_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:59.147093Z", "completed_at": "2023-03-23T17:41:59.518647Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:59.519365Z", "completed_at": "2023-03-23T17:41:59.519379Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3744010925292969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:59.522669Z", "completed_at": "2023-03-23T17:41:59.893813Z"}, {"name": "execute", "started_at": "2023-03-23T17:41:59.894535Z", "completed_at": "2023-03-23T17:41:59.894549Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3739039897918701, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__promoted_tweet_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:41:59.897909Z", "completed_at": "2023-03-23T17:42:00.249021Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.249836Z", "completed_at": "2023-03-23T17:42:00.249850Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.3537569046020508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.253103Z", "completed_at": "2023-03-23T17:42:00.619819Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.620544Z", "completed_at": "2023-03-23T17:42:00.620559Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.36941981315612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads_source.stg_twitter_ads__tweet_url"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.623861Z", "completed_at": "2023-03-23T17:42:00.644973Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.645684Z", "completed_at": "2023-03-23T17:42:00.645699Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023888349533081055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_history_ad_group_id__last_updated_date.9d2ad05ee9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.648958Z", "completed_at": "2023-03-23T17:42:00.663173Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.663881Z", "completed_at": "2023-03-23T17:42:00.663896Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016805171966552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_history_ad_group_id.6b524b990b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.666976Z", "completed_at": "2023-03-23T17:42:00.678059Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.678760Z", "completed_at": "2023-03-23T17:42:00.678775Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013582229614257812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__ad_group_level_report_ad_group_id__date_day.f014d2ad94"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.681794Z", "completed_at": "2023-03-23T17:42:00.838808Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.839524Z", "completed_at": "2023-03-23T17:42:00.839538Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.15987515449523926, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__ad_group_level_report_ad_group_id.ee4ef641c3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.842530Z", "completed_at": "2023-03-23T17:42:00.851365Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.852108Z", "completed_at": "2023-03-23T17:42:00.852122Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01134490966796875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__advertised_product_report_ad_id__date_day.866a51d99d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.855393Z", "completed_at": "2023-03-23T17:42:00.862529Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.863218Z", "completed_at": "2023-03-23T17:42:00.863230Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009860754013061523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__advertised_product_report_ad_id.307c6bc8d4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.866291Z", "completed_at": "2023-03-23T17:42:00.876190Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.876872Z", "completed_at": "2023-03-23T17:42:00.876885Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012336015701293945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_history_campaign_id__last_updated_date.3a70468382"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.879798Z", "completed_at": "2023-03-23T17:42:00.886730Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.887387Z", "completed_at": "2023-03-23T17:42:00.887399Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009317874908447266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_history_campaign_id.49e395897c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.890287Z", "completed_at": "2023-03-23T17:42:00.898765Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.899456Z", "completed_at": "2023-03-23T17:42:00.899468Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010930776596069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__campaign_level_report_campaign_id__date_day.8e5392b313"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.902494Z", "completed_at": "2023-03-23T17:42:00.909510Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.910175Z", "completed_at": "2023-03-23T17:42:00.910186Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009783029556274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__campaign_level_report_campaign_id.1efec68194"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.913096Z", "completed_at": "2023-03-23T17:42:00.923013Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.923673Z", "completed_at": "2023-03-23T17:42:00.923684Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012330055236816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__keyword_history_keyword_id__last_updated_date.fcd76c3197"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.926575Z", "completed_at": "2023-03-23T17:42:00.933575Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.934250Z", "completed_at": "2023-03-23T17:42:00.934262Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009416818618774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__keyword_history_keyword_id.f21f6add6e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.937236Z", "completed_at": "2023-03-23T17:42:00.947589Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.948278Z", "completed_at": "2023-03-23T17:42:00.948293Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012850046157836914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.int_amazon_ads__portfolio_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.951763Z", "completed_at": "2023-03-23T17:42:00.960582Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.961261Z", "completed_at": "2023-03-23T17:42:00.961274Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011383056640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__portfolio_history_portfolio_id__last_updated_date.72b1221050"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.964289Z", "completed_at": "2023-03-23T17:42:00.973973Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.974660Z", "completed_at": "2023-03-23T17:42:00.974673Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012174129486083984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__portfolio_history_portfolio_id.e22bb2ba02"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.977660Z", "completed_at": "2023-03-23T17:42:00.986438Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.987120Z", "completed_at": "2023-03-23T17:42:00.987133Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011206865310668945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__product_ad_history_ad_id__last_updated_date.b0106257b4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:00.990127Z", "completed_at": "2023-03-23T17:42:00.997714Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:00.998423Z", "completed_at": "2023-03-23T17:42:00.998438Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01015925407409668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__product_ad_history_ad_id.8744ab1cd8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.001564Z", "completed_at": "2023-03-23T17:42:01.021190Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.021887Z", "completed_at": "2023-03-23T17:42:01.021900Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022114992141723633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.025146Z", "completed_at": "2023-03-23T17:42:01.039082Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.039739Z", "completed_at": "2023-03-23T17:42:01.039751Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016566038131713867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__portfolio_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.042855Z", "completed_at": "2023-03-23T17:42:01.050044Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.050720Z", "completed_at": "2023-03-23T17:42:01.050733Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009793996810913086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__profile_profile_id.bd192c102b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.053681Z", "completed_at": "2023-03-23T17:42:01.063145Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.063848Z", "completed_at": "2023-03-23T17:42:01.063861Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012011051177978516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__search_term_ad_keyword_report_search_term__keyword_id__date_day.fb8ba99693"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.067219Z", "completed_at": "2023-03-23T17:42:01.074911Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.075603Z", "completed_at": "2023-03-23T17:42:01.075616Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010513067245483398, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__search_term_ad_keyword_report_search_term.ef04af3b06"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.078754Z", "completed_at": "2023-03-23T17:42:01.089341Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.090023Z", "completed_at": "2023-03-23T17:42:01.090035Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013397932052612305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.dbt_utils_unique_combination_of_columns_stg_amazon_ads__targeting_keyword_report_keyword_id__date_day.cc516f7bcb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.092993Z", "completed_at": "2023-03-23T17:42:01.100632Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.101335Z", "completed_at": "2023-03-23T17:42:01.101349Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010220050811767578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads_source.not_null_stg_amazon_ads__targeting_keyword_report_keyword_id.101a3299d7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.104474Z", "completed_at": "2023-03-23T17:42:01.113639Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.114335Z", "completed_at": "2023-03-23T17:42:01.114349Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011641263961791992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_history_ad_group_id__modified_at.84af14c83b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.117369Z", "completed_at": "2023-03-23T17:42:01.124835Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.125521Z", "completed_at": "2023-03-23T17:42:01.125534Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009935855865478516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_ad_group_id.dc128eecb7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.128558Z", "completed_at": "2023-03-23T17:42:01.137708Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.138399Z", "completed_at": "2023-03-23T17:42:01.138413Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011612176895141602, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_history_modified_at.e5d65fa28f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.141424Z", "completed_at": "2023-03-23T17:42:01.150556Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.151260Z", "completed_at": "2023-03-23T17:42:01.151274Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011619091033935547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_group_report_ad_group_id__date_day.a0fcc4e33c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.154296Z", "completed_at": "2023-03-23T17:42:01.161698Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.162378Z", "completed_at": "2023-03-23T17:42:01.162391Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009862899780273438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_ad_group_id.a115f9cfc1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.165478Z", "completed_at": "2023-03-23T17:42:01.172805Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.173492Z", "completed_at": "2023-03-23T17:42:01.173505Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009830951690673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_group_report_date_day.4dfd46a43b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.176524Z", "completed_at": "2023-03-23T17:42:01.187585Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.188271Z", "completed_at": "2023-03-23T17:42:01.188285Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013538122177124023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_history_ad_id__modified_at.38599b8cba"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.191239Z", "completed_at": "2023-03-23T17:42:01.198607Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.199311Z", "completed_at": "2023-03-23T17:42:01.199325Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009857892990112305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_ad_id.4ad3bde32a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.202346Z", "completed_at": "2023-03-23T17:42:01.209704Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.210380Z", "completed_at": "2023-03-23T17:42:01.210393Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00983119010925293, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_history_modified_at.2eea7e006d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.213433Z", "completed_at": "2023-03-23T17:42:01.223241Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.223943Z", "completed_at": "2023-03-23T17:42:01.223957Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012300729751586914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__ad_report_ad_id__date_day__ad_group_id.0d8d23c516"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.226953Z", "completed_at": "2023-03-23T17:42:01.236050Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.236740Z", "completed_at": "2023-03-23T17:42:01.236753Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011562824249267578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_group_id.a397755e9f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.239750Z", "completed_at": "2023-03-23T17:42:01.247334Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.248092Z", "completed_at": "2023-03-23T17:42:01.248136Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01027989387512207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_ad_id.d08e760c58"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.251295Z", "completed_at": "2023-03-23T17:42:01.258615Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.259293Z", "completed_at": "2023-03-23T17:42:01.259306Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009776830673217773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__ad_report_date_day.e6252346d8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.262296Z", "completed_at": "2023-03-23T17:42:01.271651Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.272354Z", "completed_at": "2023-03-23T17:42:01.272368Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011862039566040039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_history_campaign_id__modified_at.317f970af9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.275314Z", "completed_at": "2023-03-23T17:42:01.284495Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.285175Z", "completed_at": "2023-03-23T17:42:01.285189Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01159811019897461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_campaign_id.3f0f7502b8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.288144Z", "completed_at": "2023-03-23T17:42:01.295494Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.296193Z", "completed_at": "2023-03-23T17:42:01.296207Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009843826293945312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_history_modified_at.f34a7a97c9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.299381Z", "completed_at": "2023-03-23T17:42:01.308462Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.309158Z", "completed_at": "2023-03-23T17:42:01.309171Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011697053909301758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__campaign_report_campaign_id__date_day.bad41b0481"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.312121Z", "completed_at": "2023-03-23T17:42:01.319494Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.320170Z", "completed_at": "2023-03-23T17:42:01.320183Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009816884994506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_campaign_id.b83941e728"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.323162Z", "completed_at": "2023-03-23T17:42:01.332490Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.333188Z", "completed_at": "2023-03-23T17:42:01.333200Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011807918548583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__campaign_report_date_day.c8dc10a6f3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.336191Z", "completed_at": "2023-03-23T17:42:01.345095Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.345859Z", "completed_at": "2023-03-23T17:42:01.345874Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011448144912719727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_history_keyword_id__modified_at.7b06162d24"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.348969Z", "completed_at": "2023-03-23T17:42:01.356361Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.357045Z", "completed_at": "2023-03-23T17:42:01.357058Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00988912582397461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_keyword_id.889f83cfd2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.360038Z", "completed_at": "2023-03-23T17:42:01.367409Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.368097Z", "completed_at": "2023-03-23T17:42:01.368112Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01015615463256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_history_modified_at.42fde5a287"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.371077Z", "completed_at": "2023-03-23T17:42:01.381774Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.382455Z", "completed_at": "2023-03-23T17:42:01.382468Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013134241104125977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__keyword_report_keyword_id__date_day.9f0099cff8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.385421Z", "completed_at": "2023-03-23T17:42:01.392704Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.393382Z", "completed_at": "2023-03-23T17:42:01.393395Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009737014770507812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_date_day.16098db928"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.396407Z", "completed_at": "2023-03-23T17:42:01.403985Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.404661Z", "completed_at": "2023-03-23T17:42:01.404674Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01005101203918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__keyword_report_keyword_id.501725b09e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.407668Z", "completed_at": "2023-03-23T17:42:01.420164Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.420853Z", "completed_at": "2023-03-23T17:42:01.420867Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014968156814575195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.424061Z", "completed_at": "2023-03-23T17:42:01.439912Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.440601Z", "completed_at": "2023-03-23T17:42:01.440614Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018514156341552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.443940Z", "completed_at": "2023-03-23T17:42:01.455335Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.456049Z", "completed_at": "2023-03-23T17:42:01.456063Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014183759689331055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.459330Z", "completed_at": "2023-03-23T17:42:01.473356Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.474041Z", "completed_at": "2023-03-23T17:42:01.474054Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016720294952392578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.477258Z", "completed_at": "2023-03-23T17:42:01.488371Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.489049Z", "completed_at": "2023-03-23T17:42:01.489061Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013761043548583984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__organization_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.492270Z", "completed_at": "2023-03-23T17:42:01.502858Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.503541Z", "completed_at": "2023-03-23T17:42:01.503554Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013267993927001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__organization_organization_id.8647048f7a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.507225Z", "completed_at": "2023-03-23T17:42:01.514949Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.515644Z", "completed_at": "2023-03-23T17:42:01.515658Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010874748229980469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__organization_organization_id.b013ce33cb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.518650Z", "completed_at": "2023-03-23T17:42:01.530244Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.530934Z", "completed_at": "2023-03-23T17:42:01.530948Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01406717300415039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.apple_search_ads.apple_search_ads__search_term_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.534184Z", "completed_at": "2023-03-23T17:42:01.543170Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.543880Z", "completed_at": "2023-03-23T17:42:01.543901Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01173090934753418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.dbt_utils_unique_combination_of_columns_stg_apple_search_ads__search_term_report__fivetran_id__date_day.aad2a48344"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.547004Z", "completed_at": "2023-03-23T17:42:01.556506Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.557209Z", "completed_at": "2023-03-23T17:42:01.557223Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01205897331237793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report__fivetran_id.aa430d1dad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.560213Z", "completed_at": "2023-03-23T17:42:01.567538Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.568253Z", "completed_at": "2023-03-23T17:42:01.568267Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00985407829284668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads_source.not_null_stg_apple_search_ads__search_term_report_date_day.fd93df3302"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.571371Z", "completed_at": "2023-03-23T17:42:01.580634Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.581328Z", "completed_at": "2023-03-23T17:42:01.581342Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011758804321289062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__account_history_account_id___fivetran_synced.f9b4d28fa2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.584349Z", "completed_at": "2023-03-23T17:42:01.591739Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.592432Z", "completed_at": "2023-03-23T17:42:01.592445Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009875059127807617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history__fivetran_synced.0570e35e1f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.595487Z", "completed_at": "2023-03-23T17:42:01.605061Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.605774Z", "completed_at": "2023-03-23T17:42:01.605788Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012135028839111328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__account_history_account_id.f1cf38c40f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.608805Z", "completed_at": "2023-03-23T17:42:01.617865Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.618554Z", "completed_at": "2023-03-23T17:42:01.618567Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011552095413208008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_history_ad_id__updated_at.2922c18b58"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.621554Z", "completed_at": "2023-03-23T17:42:01.628785Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.629462Z", "completed_at": "2023-03-23T17:42:01.629475Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009680986404418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_ad_id.11429d3064"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.632457Z", "completed_at": "2023-03-23T17:42:01.639923Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.640627Z", "completed_at": "2023-03-23T17:42:01.640641Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009978055953979492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_history_updated_at.250a5a84e4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.643652Z", "completed_at": "2023-03-23T17:42:01.654437Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.655125Z", "completed_at": "2023-03-23T17:42:01.655138Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013235807418823242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__ad_set_history_ad_set_id__updated_at.0a60ad0fef"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.658069Z", "completed_at": "2023-03-23T17:42:01.665418Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.666099Z", "completed_at": "2023-03-23T17:42:01.666112Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009783029556274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_ad_set_id.e19a1df1bb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.669055Z", "completed_at": "2023-03-23T17:42:01.676592Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.677284Z", "completed_at": "2023-03-23T17:42:01.677297Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009997129440307617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__ad_set_history_updated_at.ef7fafe0fa"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.680362Z", "completed_at": "2023-03-23T17:42:01.690046Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.690736Z", "completed_at": "2023-03-23T17:42:01.690750Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01218414306640625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.693944Z", "completed_at": "2023-03-23T17:42:01.705722Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.706398Z", "completed_at": "2023-03-23T17:42:01.706412Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014430999755859375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__basic_ad_date_day__ad_id__account_id.bd909529e7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.709360Z", "completed_at": "2023-03-23T17:42:01.716725Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.717403Z", "completed_at": "2023-03-23T17:42:01.717415Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00981283187866211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_account_id.d06f6d861b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.720646Z", "completed_at": "2023-03-23T17:42:01.728061Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.728743Z", "completed_at": "2023-03-23T17:42:01.728756Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010153055191040039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__basic_ad_ad_id.2611b250fc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.731847Z", "completed_at": "2023-03-23T17:42:01.747715Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.748426Z", "completed_at": "2023-03-23T17:42:01.748440Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01842212677001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.751636Z", "completed_at": "2023-03-23T17:42:01.765815Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.766532Z", "completed_at": "2023-03-23T17:42:01.766547Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016871929168701172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__ad_set_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.769802Z", "completed_at": "2023-03-23T17:42:01.782500Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.783196Z", "completed_at": "2023-03-23T17:42:01.783209Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015400886535644531, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.786444Z", "completed_at": "2023-03-23T17:42:01.795383Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.796185Z", "completed_at": "2023-03-23T17:42:01.796201Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011839866638183594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__campaign_history_campaign_id__updated_at.7437b392c2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.799296Z", "completed_at": "2023-03-23T17:42:01.808260Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.808930Z", "completed_at": "2023-03-23T17:42:01.808943Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011467933654785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_campaign_id.1ca7a83852"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.811855Z", "completed_at": "2023-03-23T17:42:01.819145Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.819837Z", "completed_at": "2023-03-23T17:42:01.819850Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009758949279785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__campaign_history_updated_at.9e59f99270"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.822846Z", "completed_at": "2023-03-23T17:42:01.832827Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.833515Z", "completed_at": "2023-03-23T17:42:01.833529Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012455224990844727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__url_tags"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.836784Z", "completed_at": "2023-03-23T17:42:01.846075Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.846782Z", "completed_at": "2023-03-23T17:42:01.846795Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01205301284790039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.dbt_utils_unique_combination_of_columns_stg_facebook_ads__creative_history_creative_id___fivetran_synced.69ddc26562"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.849866Z", "completed_at": "2023-03-23T17:42:01.859154Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.859865Z", "completed_at": "2023-03-23T17:42:01.859879Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012170076370239258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history__fivetran_synced.3b0593cb4f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.862826Z", "completed_at": "2023-03-23T17:42:01.870056Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.870722Z", "completed_at": "2023-03-23T17:42:01.870734Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009640932083129883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads_source.not_null_stg_facebook_ads__creative_history_creative_id.eb4d804261"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.873665Z", "completed_at": "2023-03-23T17:42:01.882875Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.883576Z", "completed_at": "2023-03-23T17:42:01.883590Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011696100234985352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_history_account_id__updated_at.19f35742f1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.886536Z", "completed_at": "2023-03-23T17:42:01.893896Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.894565Z", "completed_at": "2023-03-23T17:42:01.894578Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009804964065551758, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_history_account_id.5ca373f51f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.897590Z", "completed_at": "2023-03-23T17:42:01.909236Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.909946Z", "completed_at": "2023-03-23T17:42:01.909961Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014144182205200195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.913202Z", "completed_at": "2023-03-23T17:42:01.923720Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.924397Z", "completed_at": "2023-03-23T17:42:01.924410Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013190984725952148, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__account_stats_account_id__device__ad_network_type__date_day.3019f8a860"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.927430Z", "completed_at": "2023-03-23T17:42:01.935277Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.935968Z", "completed_at": "2023-03-23T17:42:01.935982Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010380029678344727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_account_id.2a9da5417b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.938995Z", "completed_at": "2023-03-23T17:42:01.946381Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.947093Z", "completed_at": "2023-03-23T17:42:01.947107Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009937047958374023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__account_stats_date_day.57ac8772d5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.950223Z", "completed_at": "2023-03-23T17:42:01.961928Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.962616Z", "completed_at": "2023-03-23T17:42:01.962630Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014201164245605469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_criterion_history_criterion_id__ad_group_id__updated_at.197bbc6816"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.965610Z", "completed_at": "2023-03-23T17:42:01.973336Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.974035Z", "completed_at": "2023-03-23T17:42:01.974048Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010534048080444336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_criterion_history_criterion_id.7a0a8b8476"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.977027Z", "completed_at": "2023-03-23T17:42:01.986079Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.986785Z", "completed_at": "2023-03-23T17:42:01.986798Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011546134948730469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_history_ad_group_id__updated_at.096e8da5fd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:01.990017Z", "completed_at": "2023-03-23T17:42:01.997328Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:01.998012Z", "completed_at": "2023-03-23T17:42:01.998026Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009818315505981445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_history_ad_group_id.f6c7c939be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.001122Z", "completed_at": "2023-03-23T17:42:02.013439Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.014124Z", "completed_at": "2023-03-23T17:42:02.014138Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014832019805908203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_group_stats_ad_group_id__device__ad_network_type__date_day.ed55af6020"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.017125Z", "completed_at": "2023-03-23T17:42:02.024635Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.025319Z", "completed_at": "2023-03-23T17:42:02.025332Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009994029998779297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_ad_group_id.a8d430f077"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.028259Z", "completed_at": "2023-03-23T17:42:02.035424Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.036090Z", "completed_at": "2023-03-23T17:42:02.036101Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009581804275512695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_group_stats_date_day.3c6a221786"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.039059Z", "completed_at": "2023-03-23T17:42:02.069362Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.070056Z", "completed_at": "2023-03-23T17:42:02.070070Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03276991844177246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_expectations_expect_column_values_to_not_match_regex_list_stg_google_ads__ad_history_source_final_urls__any___.7dddbd81e7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.073036Z", "completed_at": "2023-03-23T17:42:02.084800Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.085497Z", "completed_at": "2023-03-23T17:42:02.085510Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014250993728637695, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_history_ad_id__ad_group_id__updated_at.0c065b0a0b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.088481Z", "completed_at": "2023-03-23T17:42:02.095935Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.096621Z", "completed_at": "2023-03-23T17:42:02.096634Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009915828704833984, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_history_ad_id.8c23c38248"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.099612Z", "completed_at": "2023-03-23T17:42:02.111391Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.112091Z", "completed_at": "2023-03-23T17:42:02.112105Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014277935028076172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__ad_stats_ad_id__ad_network_type__device__ad_group_id__keyword_ad_group_criterion__date_day.968b016451"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.115237Z", "completed_at": "2023-03-23T17:42:02.122489Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.123165Z", "completed_at": "2023-03-23T17:42:02.123177Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010148763656616211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_ad_id.2612d83cc8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.126130Z", "completed_at": "2023-03-23T17:42:02.135901Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.136632Z", "completed_at": "2023-03-23T17:42:02.136646Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012346982955932617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__ad_stats_date_day.9a43c0fce4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.139875Z", "completed_at": "2023-03-23T17:42:02.154613Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.155338Z", "completed_at": "2023-03-23T17:42:02.155352Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017672061920166016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.158449Z", "completed_at": "2023-03-23T17:42:02.176565Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.177296Z", "completed_at": "2023-03-23T17:42:02.177310Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021643877029418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.182121Z", "completed_at": "2023-03-23T17:42:02.205470Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.206212Z", "completed_at": "2023-03-23T17:42:02.206226Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.026165008544921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.209788Z", "completed_at": "2023-03-23T17:42:02.221237Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.221977Z", "completed_at": "2023-03-23T17:42:02.221992Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0142059326171875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_history_campaign_id__updated_at.8bf2733e86"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.225210Z", "completed_at": "2023-03-23T17:42:02.234103Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.234814Z", "completed_at": "2023-03-23T17:42:02.234829Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01185297966003418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_history_campaign_id.fa0c825e75"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.237608Z", "completed_at": "2023-03-23T17:42:02.250007Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.250754Z", "completed_at": "2023-03-23T17:42:02.250769Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01508474349975586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.254386Z", "completed_at": "2023-03-23T17:42:02.268312Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.269043Z", "completed_at": "2023-03-23T17:42:02.269057Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01681208610534668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__campaign_stats_campaign_id__ad_network_type__device__date_day.69600f7d45"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.272469Z", "completed_at": "2023-03-23T17:42:02.280914Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.281714Z", "completed_at": "2023-03-23T17:42:02.281730Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01126408576965332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_campaign_id.11587fa10f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.284888Z", "completed_at": "2023-03-23T17:42:02.293612Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.294492Z", "completed_at": "2023-03-23T17:42:02.294508Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01213693618774414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__campaign_stats_date_day.dc097fd76b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.298822Z", "completed_at": "2023-03-23T17:42:02.314320Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.315039Z", "completed_at": "2023-03-23T17:42:02.315054Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018385887145996094, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.google_ads.google_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.318358Z", "completed_at": "2023-03-23T17:42:02.329515Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.330209Z", "completed_at": "2023-03-23T17:42:02.330224Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01377415657043457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.dbt_utils_unique_combination_of_columns_stg_google_ads__keyword_stats_keyword_id__date_day.8f15198e68"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.333199Z", "completed_at": "2023-03-23T17:42:02.341008Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.341725Z", "completed_at": "2023-03-23T17:42:02.341739Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01032400131225586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_date_day.a9da72f74d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.344771Z", "completed_at": "2023-03-23T17:42:02.352613Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.353329Z", "completed_at": "2023-03-23T17:42:02.353344Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010401725769042969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads_source.not_null_stg_google_ads__keyword_stats_keyword_id.f0945d6cf0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.356375Z", "completed_at": "2023-03-23T17:42:02.365550Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.366258Z", "completed_at": "2023-03-23T17:42:02.366272Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011693000793457031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__account_history_account_id__version_tag.9a655993ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.369225Z", "completed_at": "2023-03-23T17:42:02.378353Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.379045Z", "completed_at": "2023-03-23T17:42:02.379059Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011620759963989258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_account_id.a9fa7f93c0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.382315Z", "completed_at": "2023-03-23T17:42:02.389877Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.390593Z", "completed_at": "2023-03-23T17:42:02.390607Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010478019714355469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__account_history_version_tag.58c46c5d81"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.393575Z", "completed_at": "2023-03-23T17:42:02.402653Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.403343Z", "completed_at": "2023-03-23T17:42:02.403357Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011542081832885742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_campaign_date_day__campaign_id.b03f3dc81d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.406303Z", "completed_at": "2023-03-23T17:42:02.413731Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.414491Z", "completed_at": "2023-03-23T17:42:02.414506Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010031700134277344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_campaign_id.d6ae242f1a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.417498Z", "completed_at": "2023-03-23T17:42:02.426571Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.427279Z", "completed_at": "2023-03-23T17:42:02.427295Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01155996322631836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_campaign_date_day.ef97bed766"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.430299Z", "completed_at": "2023-03-23T17:42:02.439376Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.440082Z", "completed_at": "2023-03-23T17:42:02.440096Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011608123779296875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__ad_analytics_by_creative_date_day__creative_id.973a01e410"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.443113Z", "completed_at": "2023-03-23T17:42:02.450912Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.451608Z", "completed_at": "2023-03-23T17:42:02.451621Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010306835174560547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_creative_id.062abfe14b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.454584Z", "completed_at": "2023-03-23T17:42:02.461814Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.462501Z", "completed_at": "2023-03-23T17:42:02.462513Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009694099426269531, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__ad_analytics_by_creative_date_day.cb81bc4766"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.465537Z", "completed_at": "2023-03-23T17:42:02.476471Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.477162Z", "completed_at": "2023-03-23T17:42:02.477176Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013428926467895508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_group_history_last_modified_at__campaign_group_id.e761ddb4da"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.480083Z", "completed_at": "2023-03-23T17:42:02.487646Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.488320Z", "completed_at": "2023-03-23T17:42:02.488332Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010000944137573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_campaign_group_id.3888f3777d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.491249Z", "completed_at": "2023-03-23T17:42:02.498871Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.499689Z", "completed_at": "2023-03-23T17:42:02.499704Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010547876358032227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_group_history_last_modified_at.a716e2a7ea"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.502756Z", "completed_at": "2023-03-23T17:42:02.514025Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.514722Z", "completed_at": "2023-03-23T17:42:02.514736Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013767719268798828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.517950Z", "completed_at": "2023-03-23T17:42:02.532373Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.533070Z", "completed_at": "2023-03-23T17:42:02.533084Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017122983932495117, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__campaign_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.536571Z", "completed_at": "2023-03-23T17:42:02.550255Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.550954Z", "completed_at": "2023-03-23T17:42:02.550967Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016559123992919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.554128Z", "completed_at": "2023-03-23T17:42:02.563245Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.563959Z", "completed_at": "2023-03-23T17:42:02.563973Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011818885803222656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.dbt_utils_unique_combination_of_columns_stg_linkedin_ads__campaign_history_version_tag__campaign_id.2d20780793"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.566935Z", "completed_at": "2023-03-23T17:42:02.574329Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.575018Z", "completed_at": "2023-03-23T17:42:02.575032Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009853124618530273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_campaign_id.b026971ca2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.577967Z", "completed_at": "2023-03-23T17:42:02.587156Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.587845Z", "completed_at": "2023-03-23T17:42:02.587858Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011934280395507812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__campaign_history_version_tag.64954cc469"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.590780Z", "completed_at": "2023-03-23T17:42:02.605386Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.606130Z", "completed_at": "2023-03-23T17:42:02.606144Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01716303825378418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__creative_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.609364Z", "completed_at": "2023-03-23T17:42:02.624210Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.624927Z", "completed_at": "2023-03-23T17:42:02.624940Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017353057861328125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.linkedin.linkedin_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.628150Z", "completed_at": "2023-03-23T17:42:02.635688Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.636370Z", "completed_at": "2023-03-23T17:42:02.636384Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010076284408569336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin_source.not_null_stg_linkedin_ads__creative_history_creative_id.4d51d55474"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.639331Z", "completed_at": "2023-03-23T17:42:02.656442Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.657155Z", "completed_at": "2023-03-23T17:42:02.657169Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019608020782470703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_daily_report_date_day__account_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.85ae65d69a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.660120Z", "completed_at": "2023-03-23T17:42:02.667501Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.668202Z", "completed_at": "2023-03-23T17:42:02.668216Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009885072708129883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_daily_report_account_id.b17f45fe79"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.671241Z", "completed_at": "2023-03-23T17:42:02.681122Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.681833Z", "completed_at": "2023-03-23T17:42:02.681847Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012404918670654297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.685039Z", "completed_at": "2023-03-23T17:42:02.694103Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.694804Z", "completed_at": "2023-03-23T17:42:02.694818Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01206207275390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__account_history_account_id__modified_at.5975327479"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.697796Z", "completed_at": "2023-03-23T17:42:02.707305Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.707999Z", "completed_at": "2023-03-23T17:42:02.708013Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012001752853393555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__account_history_account_id.cc273ee54e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.710971Z", "completed_at": "2023-03-23T17:42:02.728893Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.729619Z", "completed_at": "2023-03-23T17:42:02.729634Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020473241806030273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.80e8146841"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.732634Z", "completed_at": "2023-03-23T17:42:02.740282Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.740981Z", "completed_at": "2023-03-23T17:42:02.740994Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010162830352783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_daily_report_ad_id.1ed6689aa8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.743972Z", "completed_at": "2023-03-23T17:42:02.762675Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.763387Z", "completed_at": "2023-03-23T17:42:02.763402Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021197795867919922, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_daily_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.8792b4adf4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.766380Z", "completed_at": "2023-03-23T17:42:02.773985Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.774698Z", "completed_at": "2023-03-23T17:42:02.774712Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010139942169189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_daily_report_ad_group_id.3e03e6eff7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.777696Z", "completed_at": "2023-03-23T17:42:02.786943Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.787724Z", "completed_at": "2023-03-23T17:42:02.787739Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011838912963867188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_group_history_ad_group_id__modified_at.12004c9de0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.790695Z", "completed_at": "2023-03-23T17:42:02.798408Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.799134Z", "completed_at": "2023-03-23T17:42:02.799148Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010239839553833008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_group_history_ad_group_id.c8353342b7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.802070Z", "completed_at": "2023-03-23T17:42:02.812719Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.813409Z", "completed_at": "2023-03-23T17:42:02.813423Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013113021850585938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__ad_history_ad_id__modified_at.1f05b4ee6f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.816457Z", "completed_at": "2023-03-23T17:42:02.824069Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.824763Z", "completed_at": "2023-03-23T17:42:02.824777Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010133981704711914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__ad_history_ad_id.6d02c26574"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.827721Z", "completed_at": "2023-03-23T17:42:02.844528Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.845232Z", "completed_at": "2023-03-23T17:42:02.845246Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019324064254760742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_daily_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other__budget_association_status.6f2312e762"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.848218Z", "completed_at": "2023-03-23T17:42:02.855899Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.856602Z", "completed_at": "2023-03-23T17:42:02.856617Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010196924209594727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_daily_report_campaign_id.8ac0418e84"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.859587Z", "completed_at": "2023-03-23T17:42:02.875480Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.876226Z", "completed_at": "2023-03-23T17:42:02.876241Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018475055694580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.879027Z", "completed_at": "2023-03-23T17:42:02.967288Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.968046Z", "completed_at": "2023-03-23T17:42:02.968062Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.09091782569885254, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.971572Z", "completed_at": "2023-03-23T17:42:02.983513Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:02.984241Z", "completed_at": "2023-03-23T17:42:02.984255Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01479792594909668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:02.987505Z", "completed_at": "2023-03-23T17:42:03.024089Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.024804Z", "completed_at": "2023-03-23T17:42:03.024820Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03935098648071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.028014Z", "completed_at": "2023-03-23T17:42:03.160776Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.161492Z", "completed_at": "2023-03-23T17:42:03.161507Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.13546276092529297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__campaign_history_campaign_id__modified_at.d2a9279427"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.164153Z", "completed_at": "2023-03-23T17:42:03.171437Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.172166Z", "completed_at": "2023-03-23T17:42:03.172182Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009835004806518555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__campaign_history_campaign_id.ee080a2122"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.175455Z", "completed_at": "2023-03-23T17:42:03.194033Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.194735Z", "completed_at": "2023-03-23T17:42:03.194749Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.021347999572753906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__language__currency_code__ad_distribution__bid_match_type__delivered_match_type__top_vs_other.c6f46d202a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.197773Z", "completed_at": "2023-03-23T17:42:03.206330Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.206998Z", "completed_at": "2023-03-23T17:42:03.207010Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011031866073608398, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_daily_report_keyword_id.e16b8c5047"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.209852Z", "completed_at": "2023-03-23T17:42:03.225227Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.225915Z", "completed_at": "2023-03-23T17:42:03.225929Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017827987670898438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.229027Z", "completed_at": "2023-03-23T17:42:03.237702Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.238365Z", "completed_at": "2023-03-23T17:42:03.238377Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01111912727355957, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__keyword_history_keyword_id__modified_at.e1c525286c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.241213Z", "completed_at": "2023-03-23T17:42:03.248191Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.248848Z", "completed_at": "2023-03-23T17:42:03.248859Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009362936019897461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__keyword_history_keyword_id.19164a6209"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.251852Z", "completed_at": "2023-03-23T17:42:03.268565Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.269272Z", "completed_at": "2023-03-23T17:42:03.269286Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019477128982543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.microsoft_ads.microsoft_ads__search_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.272428Z", "completed_at": "2023-03-23T17:42:03.290105Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.290792Z", "completed_at": "2023-03-23T17:42:03.290806Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020328998565673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.dbt_utils_unique_combination_of_columns_stg_microsoft_ads__search_daily_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__language__bid_match_type__delivered_match_type__top_vs_other.03cf031d0c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.293774Z", "completed_at": "2023-03-23T17:42:03.301223Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.301906Z", "completed_at": "2023-03-23T17:42:03.301919Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009949207305908203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads_source.not_null_stg_microsoft_ads__search_daily_report_search_query.57f687adcc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.304854Z", "completed_at": "2023-03-23T17:42:03.313959Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.314640Z", "completed_at": "2023-03-23T17:42:03.314653Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011528968811035156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_history_ad_group_id___fivetran_synced.1132e1f339"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.317540Z", "completed_at": "2023-03-23T17:42:03.326399Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.327103Z", "completed_at": "2023-03-23T17:42:03.327116Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01133108139038086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_history_ad_group_id.220c6220be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.330009Z", "completed_at": "2023-03-23T17:42:03.340124Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.340792Z", "completed_at": "2023-03-23T17:42:03.340805Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01250910758972168, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__ad_group_report_date_day__ad_group_id__campaign_id__advertiser_id.3800c02b0e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.343682Z", "completed_at": "2023-03-23T17:42:03.351436Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.352155Z", "completed_at": "2023-03-23T17:42:03.352169Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01030588150024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_ad_group_id.bb8cf3c471"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.355149Z", "completed_at": "2023-03-23T17:42:03.363510Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.364238Z", "completed_at": "2023-03-23T17:42:03.364303Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011466026306152344, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__ad_group_report_date_day.80e8904c4c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.367894Z", "completed_at": "2023-03-23T17:42:03.378789Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.379479Z", "completed_at": "2023-03-23T17:42:03.379493Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013416290283203125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_history_updated_at__advertiser_id.94e8f4de4b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.382399Z", "completed_at": "2023-03-23T17:42:03.389496Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.390170Z", "completed_at": "2023-03-23T17:42:03.390182Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009527921676635742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_history_advertiser_id.7d24f665fb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.393058Z", "completed_at": "2023-03-23T17:42:03.402772Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.403464Z", "completed_at": "2023-03-23T17:42:03.403477Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012172937393188477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__advertiser_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.406610Z", "completed_at": "2023-03-23T17:42:03.415389Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.416052Z", "completed_at": "2023-03-23T17:42:03.416065Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011399030685424805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__advertiser_report_date_day__advertiser_id.e92ce8a9c0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.418928Z", "completed_at": "2023-03-23T17:42:03.428023Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.428724Z", "completed_at": "2023-03-23T17:42:03.428738Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011592864990234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_advertiser_id.1b16ed73ff"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.431663Z", "completed_at": "2023-03-23T17:42:03.439327Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.440046Z", "completed_at": "2023-03-23T17:42:03.440061Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010200023651123047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__advertiser_report_date_day.153bd03c95"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.443079Z", "completed_at": "2023-03-23T17:42:03.456273Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.456966Z", "completed_at": "2023-03-23T17:42:03.456980Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015707015991210938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.460155Z", "completed_at": "2023-03-23T17:42:03.470951Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.471644Z", "completed_at": "2023-03-23T17:42:03.471657Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013499021530151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_history_campaign_id___fivetran_synced.eff7196b87"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.474578Z", "completed_at": "2023-03-23T17:42:03.481885Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.482570Z", "completed_at": "2023-03-23T17:42:03.482583Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009763956069946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_history_campaign_id.60cb10d341"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.485505Z", "completed_at": "2023-03-23T17:42:03.496574Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.497274Z", "completed_at": "2023-03-23T17:42:03.497289Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013541936874389648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.500595Z", "completed_at": "2023-03-23T17:42:03.510296Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.510988Z", "completed_at": "2023-03-23T17:42:03.511001Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012440204620361328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__campaign_report_date_day__campaign_id__advertiser_id.ff47cb8abc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.513903Z", "completed_at": "2023-03-23T17:42:03.522975Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.523652Z", "completed_at": "2023-03-23T17:42:03.523664Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011513710021972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_campaign_id.a287eba0fc"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.526539Z", "completed_at": "2023-03-23T17:42:03.533691Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.534366Z", "completed_at": "2023-03-23T17:42:03.534377Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009583711624145508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__campaign_report_date_day.7ef5fb1238"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.537260Z", "completed_at": "2023-03-23T17:42:03.547142Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.547883Z", "completed_at": "2023-03-23T17:42:03.547898Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012431144714355469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_history_keyword_id__ad_group_id___fivetran_synced.d122faa877"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.550952Z", "completed_at": "2023-03-23T17:42:03.558296Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.558983Z", "completed_at": "2023-03-23T17:42:03.558995Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009830951690673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_history_keyword_id.246889377a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.562057Z", "completed_at": "2023-03-23T17:42:03.577812Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.578504Z", "completed_at": "2023-03-23T17:42:03.578518Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01824188232421875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.581709Z", "completed_at": "2023-03-23T17:42:03.593368Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.594056Z", "completed_at": "2023-03-23T17:42:03.594069Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014393806457519531, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__keyword_report_date_day__keyword_id__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.9504d17df6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.597074Z", "completed_at": "2023-03-23T17:42:03.604723Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.605418Z", "completed_at": "2023-03-23T17:42:03.605432Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010471105575561523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_date_day.9937216300"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.608377Z", "completed_at": "2023-03-23T17:42:03.615837Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.616544Z", "completed_at": "2023-03-23T17:42:03.616558Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010230064392089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__keyword_report_keyword_id.5f00679c48"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.619505Z", "completed_at": "2023-03-23T17:42:03.630152Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.630833Z", "completed_at": "2023-03-23T17:42:03.630846Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01308584213256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_history__fivetran_synced__pin_promotion_id.8e9ab31ea9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.633764Z", "completed_at": "2023-03-23T17:42:03.641472Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.642158Z", "completed_at": "2023-03-23T17:42:03.642171Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01019430160522461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_history_pin_promotion_id.171995cd34"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.645106Z", "completed_at": "2023-03-23T17:42:03.659488Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.660199Z", "completed_at": "2023-03-23T17:42:03.660214Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01689600944519043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__pin_promotion_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.663372Z", "completed_at": "2023-03-23T17:42:03.677969Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.678677Z", "completed_at": "2023-03-23T17:42:03.678690Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017279863357543945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.pinterest.pinterest_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.681851Z", "completed_at": "2023-03-23T17:42:03.694929Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.695613Z", "completed_at": "2023-03-23T17:42:03.695626Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015753984451293945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.dbt_utils_unique_combination_of_columns_stg_pinterest_ads__pin_promotion_report_date_day__pin_promotion_id__ad_group_id__campaign_id__advertiser_id.7ea04e6024"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.698587Z", "completed_at": "2023-03-23T17:42:03.706120Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.706811Z", "completed_at": "2023-03-23T17:42:03.706824Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010053157806396484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_date_day.ed272212a1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.709711Z", "completed_at": "2023-03-23T17:42:03.717319Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.717999Z", "completed_at": "2023-03-23T17:42:03.718013Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01004791259765625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest_source.not_null_stg_pinterest_ads__pin_promotion_report_pin_promotion_id.9c3c9f71ab"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.720958Z", "completed_at": "2023-03-23T17:42:03.730319Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.731085Z", "completed_at": "2023-03-23T17:42:03.731099Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011930227279663086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__account_report_account_id__date_day.74570496be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.733994Z", "completed_at": "2023-03-23T17:42:03.743061Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.743744Z", "completed_at": "2023-03-23T17:42:03.743757Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011497974395751953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_report_account_id.1f2a0195de"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.746662Z", "completed_at": "2023-03-23T17:42:03.756609Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.757315Z", "completed_at": "2023-03-23T17:42:03.757329Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012451887130737305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.760499Z", "completed_at": "2023-03-23T17:42:03.767841Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.768516Z", "completed_at": "2023-03-23T17:42:03.768528Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010017633438110352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__account_account_id.512f0b8078"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.771404Z", "completed_at": "2023-03-23T17:42:03.782044Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.782751Z", "completed_at": "2023-03-23T17:42:03.782764Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013131141662597656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__account_account_id.0c6fcb698e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.785682Z", "completed_at": "2023-03-23T17:42:03.796554Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.797251Z", "completed_at": "2023-03-23T17:42:03.797265Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013351917266845703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_group_report_ad_group_id__date_day.19b8b9b788"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.800276Z", "completed_at": "2023-03-23T17:42:03.807829Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.808523Z", "completed_at": "2023-03-23T17:42:03.808537Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010087013244628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_report_ad_group_id.9836cd084d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.811433Z", "completed_at": "2023-03-23T17:42:03.819173Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.819888Z", "completed_at": "2023-03-23T17:42:03.819902Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010261058807373047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_group_ad_group_id.65795d8dc2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.822832Z", "completed_at": "2023-03-23T17:42:03.830122Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.830802Z", "completed_at": "2023-03-23T17:42:03.830816Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009740114212036133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_group_ad_group_id.d3dc0d7503"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.833797Z", "completed_at": "2023-03-23T17:42:03.844715Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.845419Z", "completed_at": "2023-03-23T17:42:03.845434Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013444900512695312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__ad_report_ad_id__date_day.ce868b0b1a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.848373Z", "completed_at": "2023-03-23T17:42:03.855791Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.856477Z", "completed_at": "2023-03-23T17:42:03.856491Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009884834289550781, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_report_ad_id.c4af84b857"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.859424Z", "completed_at": "2023-03-23T17:42:03.866994Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.867676Z", "completed_at": "2023-03-23T17:42:03.867689Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01004481315612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__ad_ad_id.40188b63dd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.870565Z", "completed_at": "2023-03-23T17:42:03.877679Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.878352Z", "completed_at": "2023-03-23T17:42:03.878366Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009537220001220703, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__ad_ad_id.3d62901652"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.881302Z", "completed_at": "2023-03-23T17:42:03.892235Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.892933Z", "completed_at": "2023-03-23T17:42:03.892947Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013393878936767578, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.dbt_utils_unique_combination_of_columns_stg_reddit_ads__campaign_report_campaign_id__date_day.9b02fea13d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.895900Z", "completed_at": "2023-03-23T17:42:03.903319Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.904020Z", "completed_at": "2023-03-23T17:42:03.904033Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009929895401000977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_report_campaign_id.c717612b4f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.906979Z", "completed_at": "2023-03-23T17:42:03.919559Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.920264Z", "completed_at": "2023-03-23T17:42:03.920277Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01506805419921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.923365Z", "completed_at": "2023-03-23T17:42:03.937197Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.937883Z", "completed_at": "2023-03-23T17:42:03.937896Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016436100006103516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.940987Z", "completed_at": "2023-03-23T17:42:03.953808Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.954520Z", "completed_at": "2023-03-23T17:42:03.954533Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015521049499511719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.957718Z", "completed_at": "2023-03-23T17:42:03.988386Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:03.989092Z", "completed_at": "2023-03-23T17:42:03.989106Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.03340315818786621, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.reddit_ads.reddit_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:03.992242Z", "completed_at": "2023-03-23T17:42:03.999927Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.000632Z", "completed_at": "2023-03-23T17:42:04.000645Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010387897491455078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.not_null_stg_reddit_ads__campaign_campaign_id.f3f24e4682"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.003580Z", "completed_at": "2023-03-23T17:42:04.012492Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.013221Z", "completed_at": "2023-03-23T17:42:04.013236Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011468887329101562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads_source.unique_stg_reddit_ads__campaign_campaign_id.3c4fccf1e4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.016224Z", "completed_at": "2023-03-23T17:42:04.025382Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.026077Z", "completed_at": "2023-03-23T17:42:04.026091Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011592864990234375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_account_history_ad_account_id___fivetran_synced.cd4fd6b0be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.028971Z", "completed_at": "2023-03-23T17:42:04.036477Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.037193Z", "completed_at": "2023-03-23T17:42:04.037207Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010057926177978516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history__fivetran_synced.2d5dd77824"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.040169Z", "completed_at": "2023-03-23T17:42:04.047535Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.048229Z", "completed_at": "2023-03-23T17:42:04.048243Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009869813919067383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_account_history_ad_account_id.426d71d605"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.051252Z", "completed_at": "2023-03-23T17:42:04.061892Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.062575Z", "completed_at": "2023-03-23T17:42:04.062589Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013131141662597656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_history_ad_id___fivetran_synced.f84924f13b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.065557Z", "completed_at": "2023-03-23T17:42:04.073057Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.073760Z", "completed_at": "2023-03-23T17:42:04.073774Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010040998458862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history__fivetran_synced.1607c70fda"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.076709Z", "completed_at": "2023-03-23T17:42:04.084102Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.084792Z", "completed_at": "2023-03-23T17:42:04.084806Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009877920150756836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_history_ad_id.e9d367fd15"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.087698Z", "completed_at": "2023-03-23T17:42:04.096661Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.097409Z", "completed_at": "2023-03-23T17:42:04.097422Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01150202751159668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_hourly_report_ad_id__date_hour.1a4ef6182a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.100392Z", "completed_at": "2023-03-23T17:42:04.109502Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.110186Z", "completed_at": "2023-03-23T17:42:04.110199Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011575937271118164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_ad_id.7e763de19d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.113106Z", "completed_at": "2023-03-23T17:42:04.120548Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.121245Z", "completed_at": "2023-03-23T17:42:04.121258Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009942054748535156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_hourly_report_date_hour.666cda1cd7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.124165Z", "completed_at": "2023-03-23T17:42:04.133088Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.133789Z", "completed_at": "2023-03-23T17:42:04.133803Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011399269104003906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_history_ad_squad_id___fivetran_synced.200b225a27"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.136698Z", "completed_at": "2023-03-23T17:42:04.143992Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.144679Z", "completed_at": "2023-03-23T17:42:04.144691Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009773969650268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history__fivetran_synced.7ed7d105ae"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.147623Z", "completed_at": "2023-03-23T17:42:04.157013Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.157698Z", "completed_at": "2023-03-23T17:42:04.157711Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01186990737915039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_history_ad_squad_id.71c7122278"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.160621Z", "completed_at": "2023-03-23T17:42:04.169487Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.170179Z", "completed_at": "2023-03-23T17:42:04.170192Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011346817016601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id__date_hour.774a407e69"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.173087Z", "completed_at": "2023-03-23T17:42:04.180569Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.181338Z", "completed_at": "2023-03-23T17:42:04.181351Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01007986068725586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_ad_squad_id.ab16aa72c9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.184298Z", "completed_at": "2023-03-23T17:42:04.191739Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.192425Z", "completed_at": "2023-03-23T17:42:04.192438Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009923219680786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__ad_squad_hourly_report_date_hour.6f0b63a9cb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.195375Z", "completed_at": "2023-03-23T17:42:04.211531Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.212244Z", "completed_at": "2023-03-23T17:42:04.212257Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018692970275878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.215425Z", "completed_at": "2023-03-23T17:42:04.227685Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.228358Z", "completed_at": "2023-03-23T17:42:04.228370Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01491689682006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__ad_squad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.231439Z", "completed_at": "2023-03-23T17:42:04.240156Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.240843Z", "completed_at": "2023-03-23T17:42:04.240855Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011387825012207031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_history_campaign_id___fivetran_synced.31b9fb6777"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.243686Z", "completed_at": "2023-03-23T17:42:04.251223Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.251952Z", "completed_at": "2023-03-23T17:42:04.251965Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01004481315612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history__fivetran_synced.55bc48b3ec"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.254670Z", "completed_at": "2023-03-23T17:42:04.264319Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.265001Z", "completed_at": "2023-03-23T17:42:04.265013Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012094974517822266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_history_campaign_id.f74a0fb8c0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.267862Z", "completed_at": "2023-03-23T17:42:04.278903Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.279595Z", "completed_at": "2023-03-23T17:42:04.279608Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013495922088623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.282707Z", "completed_at": "2023-03-23T17:42:04.291645Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.292330Z", "completed_at": "2023-03-23T17:42:04.292343Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011600017547607422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__campaign_hourly_report_campaign_id__date_hour.64293afa9c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.295204Z", "completed_at": "2023-03-23T17:42:04.302692Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.303386Z", "completed_at": "2023-03-23T17:42:04.303399Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00995182991027832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_campaign_id.f255c38a3e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.306264Z", "completed_at": "2023-03-23T17:42:04.315360Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.316046Z", "completed_at": "2023-03-23T17:42:04.316060Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011526823043823242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__campaign_hourly_report_date_hour.0bc4218ac8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.318927Z", "completed_at": "2023-03-23T17:42:04.327864Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.328563Z", "completed_at": "2023-03-23T17:42:04.328576Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011420011520385742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_history_creative_id___fivetran_synced.c6f6c78b99"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.331454Z", "completed_at": "2023-03-23T17:42:04.338877Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.339568Z", "completed_at": "2023-03-23T17:42:04.339581Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00989675521850586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history__fivetran_synced.b9c95b4380"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.342455Z", "completed_at": "2023-03-23T17:42:04.350012Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.350733Z", "completed_at": "2023-03-23T17:42:04.350746Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010079145431518555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_history_creative_id.09c83690f4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.383432Z", "completed_at": "2023-03-23T17:42:04.393204Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.393901Z", "completed_at": "2023-03-23T17:42:04.393915Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012418985366821289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.dbt_utils_unique_combination_of_columns_stg_snapchat_ads__creative_url_tag_history_creative_id__param_key__updated_at.cc3fa6acbe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.396838Z", "completed_at": "2023-03-23T17:42:04.404534Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.405236Z", "completed_at": "2023-03-23T17:42:04.405250Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010208845138549805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads_source.not_null_stg_snapchat_ads__creative_url_tag_history_creative_id.7ff6bb9c1b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.408137Z", "completed_at": "2023-03-23T17:42:04.417331Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.418021Z", "completed_at": "2023-03-23T17:42:04.418035Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011655092239379883, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_history_ad_group_id__updated_at.cec78c01de"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.420892Z", "completed_at": "2023-03-23T17:42:04.429989Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.430663Z", "completed_at": "2023-03-23T17:42:04.430676Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01151895523071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_history_ad_group_id.04778d7fad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.433518Z", "completed_at": "2023-03-23T17:42:04.442585Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.443282Z", "completed_at": "2023-03-23T17:42:04.443296Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011525869369506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_group_report_hourly_ad_group_id__stat_time_hour.1aeaeb71ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.446263Z", "completed_at": "2023-03-23T17:42:04.453820Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.454514Z", "completed_at": "2023-03-23T17:42:04.454528Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01031494140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_ad_group_id.8da17119f1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.457398Z", "completed_at": "2023-03-23T17:42:04.464730Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.465433Z", "completed_at": "2023-03-23T17:42:04.465447Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009818792343139648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_group_report_hourly_stat_time_hour.ca4b495127"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.468429Z", "completed_at": "2023-03-23T17:42:04.479282Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.479957Z", "completed_at": "2023-03-23T17:42:04.479971Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013542890548706055, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_history_ad_id__updated_at.66b86b4dd1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.482807Z", "completed_at": "2023-03-23T17:42:04.490147Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.490829Z", "completed_at": "2023-03-23T17:42:04.490842Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009790182113647461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_history_ad_id.4ffd05b23a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.493711Z", "completed_at": "2023-03-23T17:42:04.502882Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.503563Z", "completed_at": "2023-03-23T17:42:04.503576Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01161503791809082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__ad_report_hourly_ad_id__stat_time_hour.e70f8cef6d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.506447Z", "completed_at": "2023-03-23T17:42:04.513597Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.514258Z", "completed_at": "2023-03-23T17:42:04.514270Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009694337844848633, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_ad_id.ee84d783ed"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.517241Z", "completed_at": "2023-03-23T17:42:04.526507Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.527215Z", "completed_at": "2023-03-23T17:42:04.527230Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011759042739868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__ad_report_hourly_stat_time_hour.9e2a2dca81"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.530087Z", "completed_at": "2023-03-23T17:42:04.541097Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.541771Z", "completed_at": "2023-03-23T17:42:04.541785Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013422727584838867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__advertiser_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.544865Z", "completed_at": "2023-03-23T17:42:04.552330Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.553027Z", "completed_at": "2023-03-23T17:42:04.553041Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010161876678466797, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__advertiser_advertiser_id.5deab92def"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.555902Z", "completed_at": "2023-03-23T17:42:04.563107Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.563779Z", "completed_at": "2023-03-23T17:42:04.563792Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009694814682006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.unique_stg_tiktok_ads__advertiser_advertiser_id.078391ba66"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.566814Z", "completed_at": "2023-03-23T17:42:04.581674Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.582380Z", "completed_at": "2023-03-23T17:42:04.582395Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017332077026367188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.585500Z", "completed_at": "2023-03-23T17:42:04.599549Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.600261Z", "completed_at": "2023-03-23T17:42:04.600275Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016739845275878906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.603310Z", "completed_at": "2023-03-23T17:42:04.618410Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.619100Z", "completed_at": "2023-03-23T17:42:04.619113Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01792287826538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.622324Z", "completed_at": "2023-03-23T17:42:04.633173Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.633838Z", "completed_at": "2023-03-23T17:42:04.633850Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013775110244750977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_history_campaign_id__updated_at.72bf07011b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.636603Z", "completed_at": "2023-03-23T17:42:04.643578Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.644242Z", "completed_at": "2023-03-23T17:42:04.644254Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009370088577270508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_history_campaign_id.7f9147d1e1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.647160Z", "completed_at": "2023-03-23T17:42:04.659114Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.659869Z", "completed_at": "2023-03-23T17:42:04.659883Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014526844024658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.tiktok_ads.tiktok_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.663052Z", "completed_at": "2023-03-23T17:42:04.672046Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.672719Z", "completed_at": "2023-03-23T17:42:04.672733Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011639118194580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.dbt_utils_unique_combination_of_columns_stg_tiktok_ads__campaign_report_hourly_campaign_id__stat_time_hour.8e4a1e4b34"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.675538Z", "completed_at": "2023-03-23T17:42:04.684992Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.685706Z", "completed_at": "2023-03-23T17:42:04.685720Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011941909790039062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_campaign_id.ef898379fb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.688645Z", "completed_at": "2023-03-23T17:42:04.696156Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.696870Z", "completed_at": "2023-03-23T17:42:04.696883Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010061979293823242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads_source.not_null_stg_tiktok_ads__campaign_report_hourly_stat_time_hour.e75e13184c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.699855Z", "completed_at": "2023-03-23T17:42:04.709026Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.709723Z", "completed_at": "2023-03-23T17:42:04.709736Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011652946472167969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__account_history_account_id__updated_timestamp.2725b1ff40"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.712639Z", "completed_at": "2023-03-23T17:42:04.720181Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.720885Z", "completed_at": "2023-03-23T17:42:04.720898Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01005101203918457, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__account_history_account_id.66fb3601e2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.723752Z", "completed_at": "2023-03-23T17:42:04.734676Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.735359Z", "completed_at": "2023-03-23T17:42:04.735372Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013358831405639648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_history_campaign_id__updated_timestamp.c7054e5b55"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.738259Z", "completed_at": "2023-03-23T17:42:04.745671Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.746368Z", "completed_at": "2023-03-23T17:42:04.746381Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009923219680786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_history_campaign_id.51218487ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.749339Z", "completed_at": "2023-03-23T17:42:04.760996Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.761719Z", "completed_at": "2023-03-23T17:42:04.761733Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014247894287109375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.768180Z", "completed_at": "2023-03-23T17:42:04.777896Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.778589Z", "completed_at": "2023-03-23T17:42:04.778602Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01242685317993164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__campaign_report_date_day__campaign_id__placement.71102d8fdb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.781520Z", "completed_at": "2023-03-23T17:42:04.790742Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.791445Z", "completed_at": "2023-03-23T17:42:04.791459Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011749982833862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_campaign_id.a63b62981f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.794309Z", "completed_at": "2023-03-23T17:42:04.801659Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.802352Z", "completed_at": "2023-03-23T17:42:04.802366Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009816884994506836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_date_day.053c09786c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.805328Z", "completed_at": "2023-03-23T17:42:04.812987Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.813693Z", "completed_at": "2023-03-23T17:42:04.813708Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010232925415039062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__campaign_report_placement.5067d8c4f4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.816680Z", "completed_at": "2023-03-23T17:42:04.825794Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.826497Z", "completed_at": "2023-03-23T17:42:04.826511Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011620044708251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_history_line_item_id__updated_timestamp.b12672e022"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.829361Z", "completed_at": "2023-03-23T17:42:04.838471Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.839149Z", "completed_at": "2023-03-23T17:42:04.839162Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011538982391357422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_history_line_item_id.2cef040809"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.842010Z", "completed_at": "2023-03-23T17:42:04.855118Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.855833Z", "completed_at": "2023-03-23T17:42:04.855847Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__line_item_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.859020Z", "completed_at": "2023-03-23T17:42:04.869047Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.869760Z", "completed_at": "2023-03-23T17:42:04.869774Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012804746627807617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__line_item_report_date_day__line_item_id__placement.251e077e6b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.872945Z", "completed_at": "2023-03-23T17:42:04.880063Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.880732Z", "completed_at": "2023-03-23T17:42:04.880745Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00983881950378418, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_date_day.0f4d8cc8fe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.883787Z", "completed_at": "2023-03-23T17:42:04.892988Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.893671Z", "completed_at": "2023-03-23T17:42:04.893684Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011669158935546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_line_item_id.9f5a4860b7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.896731Z", "completed_at": "2023-03-23T17:42:04.903872Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.904544Z", "completed_at": "2023-03-23T17:42:04.904556Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009999990463256836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__line_item_report_placement.cd7e77e0eb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.907402Z", "completed_at": "2023-03-23T17:42:04.916524Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.917222Z", "completed_at": "2023-03-23T17:42:04.917235Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011630058288574219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id__updated_timestamp.dddc4a21ef"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.920148Z", "completed_at": "2023-03-23T17:42:04.927715Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.928388Z", "completed_at": "2023-03-23T17:42:04.928399Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010014057159423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_history_promoted_tweet_id.f447a1cd09"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.931250Z", "completed_at": "2023-03-23T17:42:04.943625Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.944315Z", "completed_at": "2023-03-23T17:42:04.944331Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014840841293334961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.947576Z", "completed_at": "2023-03-23T17:42:04.957249Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.957949Z", "completed_at": "2023-03-23T17:42:04.957962Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012269020080566406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement.7028206273"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.960891Z", "completed_at": "2023-03-23T17:42:04.968261Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.968940Z", "completed_at": "2023-03-23T17:42:04.968955Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010087013244628906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_date_day.c4c46a5894"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.971880Z", "completed_at": "2023-03-23T17:42:04.979286Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.979977Z", "completed_at": "2023-03-23T17:42:04.979991Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009911060333251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_placement.c1b1f648b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.982926Z", "completed_at": "2023-03-23T17:42:04.992517Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:04.993199Z", "completed_at": "2023-03-23T17:42:04.993213Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012034177780151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__promoted_tweet_report_promoted_tweet_id.6028694598"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:04.996111Z", "completed_at": "2023-03-23T17:42:05.011938Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.012662Z", "completed_at": "2023-03-23T17:42:05.012677Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01835489273071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__promoted_tweet_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.015899Z", "completed_at": "2023-03-23T17:42:05.023222Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.023887Z", "completed_at": "2023-03-23T17:42:05.023899Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010008096694946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_tweet_id.a0427f37cd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.026759Z", "completed_at": "2023-03-23T17:42:05.033937Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.034618Z", "completed_at": "2023-03-23T17:42:05.034631Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009628057479858398, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.unique_stg_twitter_ads__tweet_tweet_id.7e44536c95"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.037620Z", "completed_at": "2023-03-23T17:42:05.057329Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.058022Z", "completed_at": "2023-03-23T17:42:05.058035Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.022181034088134766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.twitter_ads.twitter_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.061179Z", "completed_at": "2023-03-23T17:42:05.070275Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.070965Z", "completed_at": "2023-03-23T17:42:05.070977Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011815786361694336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.dbt_utils_unique_combination_of_columns_stg_twitter_ads__tweet_url_index__tweet_id.eab5b85d74"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.073808Z", "completed_at": "2023-03-23T17:42:05.081149Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.081837Z", "completed_at": "2023-03-23T17:42:05.081850Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009801149368286133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_index.e998fb67be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.084740Z", "completed_at": "2023-03-23T17:42:05.092034Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.092705Z", "completed_at": "2023-03-23T17:42:05.092718Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00973200798034668, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads_source.not_null_stg_twitter_ads__tweet_url_tweet_id.f7e1670218"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.095570Z", "completed_at": "2023-03-23T17:42:05.110577Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.111265Z", "completed_at": "2023-03-23T17:42:05.111279Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017464160919189453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.114325Z", "completed_at": "2023-03-23T17:42:05.128503Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.129205Z", "completed_at": "2023-03-23T17:42:05.129219Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01685309410095215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.132298Z", "completed_at": "2023-03-23T17:42:05.143642Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.144316Z", "completed_at": "2023-03-23T17:42:05.144328Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013962984085083008, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.147330Z", "completed_at": "2023-03-23T17:42:05.163917Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.164732Z", "completed_at": "2023-03-23T17:42:05.164746Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019278287887573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.167865Z", "completed_at": "2023-03-23T17:42:05.182199Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.182910Z", "completed_at": "2023-03-23T17:42:05.182923Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01689004898071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.amazon_ads.amazon_ads__search_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.186030Z", "completed_at": "2023-03-23T17:42:05.194904Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.195580Z", "completed_at": "2023-03-23T17:42:05.195592Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011553049087524414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__account_report_date_day__profile_id.3d2673ade2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.198411Z", "completed_at": "2023-03-23T17:42:05.205799Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.206485Z", "completed_at": "2023-03-23T17:42:05.206498Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0098419189453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_account_id.83adef7061"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.209440Z", "completed_at": "2023-03-23T17:42:05.218931Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.219608Z", "completed_at": "2023-03-23T17:42:05.219622Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011982202529907227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__account_report_profile_id.87fb8dbe66"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.222456Z", "completed_at": "2023-03-23T17:42:05.349749Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.350470Z", "completed_at": "2023-03-23T17:42:05.350483Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.12981605529785156, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__portfolio_report_date_day__portfolio_id.1a53f40fd6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.353332Z", "completed_at": "2023-03-23T17:42:05.360229Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.360892Z", "completed_at": "2023-03-23T17:42:05.360904Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009278059005737305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__portfolio_report_profile_id.1a910441c6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.363731Z", "completed_at": "2023-03-23T17:42:05.374516Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.375203Z", "completed_at": "2023-03-23T17:42:05.375216Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013255119323730469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_group_report_organization_id__campaign_id__ad_group_id__date_day.19d180bab9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.378092Z", "completed_at": "2023-03-23T17:42:05.386845Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.387539Z", "completed_at": "2023-03-23T17:42:05.387552Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011247873306274414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_ad_group_id.60febec6b5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.390399Z", "completed_at": "2023-03-23T17:42:05.397793Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.398487Z", "completed_at": "2023-03-23T17:42:05.398501Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009902238845825195, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_group_report_date_day.e6ffb30b3c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.401525Z", "completed_at": "2023-03-23T17:42:05.412656Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.413341Z", "completed_at": "2023-03-23T17:42:05.413355Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013633012771606445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__ad_report_organization_id__campaign_id__ad_group_id__ad_id__date_day.54e27817a1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.416178Z", "completed_at": "2023-03-23T17:42:05.423301Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.423962Z", "completed_at": "2023-03-23T17:42:05.423973Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009710073471069336, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_ad_id.0ab2c5075c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.426732Z", "completed_at": "2023-03-23T17:42:05.435398Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.436078Z", "completed_at": "2023-03-23T17:42:05.436091Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011096000671386719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__ad_report_date_day.b86c049e17"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.438916Z", "completed_at": "2023-03-23T17:42:05.448422Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.449173Z", "completed_at": "2023-03-23T17:42:05.449187Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012343883514404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__campaign_report_organization_id__campaign_id__date_day.647e56213f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.452188Z", "completed_at": "2023-03-23T17:42:05.459467Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.460147Z", "completed_at": "2023-03-23T17:42:05.460160Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009725093841552734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_campaign_id.e26ed1e146"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.462985Z", "completed_at": "2023-03-23T17:42:05.470309Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.470984Z", "completed_at": "2023-03-23T17:42:05.470998Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009763956069946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__campaign_report_date_day.35652b8d1a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.473849Z", "completed_at": "2023-03-23T17:42:05.486711Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.487423Z", "completed_at": "2023-03-23T17:42:05.487436Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015372037887573242, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__keyword_report_organization_id__campaign_id__ad_group_id__keyword_id__date_day.78fb033a13"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.490273Z", "completed_at": "2023-03-23T17:42:05.497384Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.498069Z", "completed_at": "2023-03-23T17:42:05.498081Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009564876556396484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_date_day.3dec8d0e82"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.500975Z", "completed_at": "2023-03-23T17:42:05.508308Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.508991Z", "completed_at": "2023-03-23T17:42:05.509004Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009796857833862305, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__keyword_report_keyword_id.ea493710db"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.511874Z", "completed_at": "2023-03-23T17:42:05.520607Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.521281Z", "completed_at": "2023-03-23T17:42:05.521293Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01141214370727539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__organization_report_organization_id__date_day.8bc84fccc3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.524123Z", "completed_at": "2023-03-23T17:42:05.533124Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.533832Z", "completed_at": "2023-03-23T17:42:05.533845Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011503934860229492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_date_day.5784fed523"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.536703Z", "completed_at": "2023-03-23T17:42:05.543984Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.544670Z", "completed_at": "2023-03-23T17:42:05.544683Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009759902954101562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__organization_report_organization_id.b6cf7d69f8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.547552Z", "completed_at": "2023-03-23T17:42:05.556591Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.557274Z", "completed_at": "2023-03-23T17:42:05.557287Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011497020721435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.dbt_utils_unique_combination_of_columns_apple_search_ads__search_term_report_search_term_text__date_day.e60fe79ec4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.560101Z", "completed_at": "2023-03-23T17:42:05.567242Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.567920Z", "completed_at": "2023-03-23T17:42:05.567932Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009601831436157227, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_date_day.1bc3b0d57c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.570800Z", "completed_at": "2023-03-23T17:42:05.579893Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.580630Z", "completed_at": "2023-03-23T17:42:05.580644Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011635065078735352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.apple_search_ads.not_null_apple_search_ads__search_term_report_search_term_text.aecc7447f7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.583499Z", "completed_at": "2023-03-23T17:42:05.592344Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.593085Z", "completed_at": "2023-03-23T17:42:05.593097Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01134800910949707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__account_report_date_day__account_id.5a94423e40"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.595923Z", "completed_at": "2023-03-23T17:42:05.603275Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.603973Z", "completed_at": "2023-03-23T17:42:05.603987Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009861946105957031, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__account_report_account_id.9be02b4024"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.606873Z", "completed_at": "2023-03-23T17:42:05.618427Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.619142Z", "completed_at": "2023-03-23T17:42:05.619156Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014086008071899414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_report_date_day__account_id__campaign_id__ad_set_id__ad_id.0a25b64738"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.622014Z", "completed_at": "2023-03-23T17:42:05.630804Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.631502Z", "completed_at": "2023-03-23T17:42:05.631514Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011252880096435547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_report_ad_id.3811d9c238"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.634326Z", "completed_at": "2023-03-23T17:42:05.644554Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.645270Z", "completed_at": "2023-03-23T17:42:05.645284Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012736082077026367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__ad_set_report_date_day__account_id__campaign_id__ad_set_id.3dd4da872f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.648138Z", "completed_at": "2023-03-23T17:42:05.655532Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.656220Z", "completed_at": "2023-03-23T17:42:05.656233Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009875059127807617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__ad_set_report_ad_set_id.1ac870f5e4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.659089Z", "completed_at": "2023-03-23T17:42:05.668858Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.669545Z", "completed_at": "2023-03-23T17:42:05.669557Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012228012084960938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__campaign_report_date_day__account_id__campaign_id.7cd75107e6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.672387Z", "completed_at": "2023-03-23T17:42:05.681328Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.682019Z", "completed_at": "2023-03-23T17:42:05.682032Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011426925659179688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__campaign_report_campaign_id.d4f96d8d21"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.684879Z", "completed_at": "2023-03-23T17:42:05.709686Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.710398Z", "completed_at": "2023-03-23T17:42:05.710413Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.027342796325683594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.int_facebook_ads__creative_history"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.713452Z", "completed_at": "2023-03-23T17:42:05.723073Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.723744Z", "completed_at": "2023-03-23T17:42:05.723756Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012396812438964844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_tags__fivetran_id__key__type.ba044777d3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.726757Z", "completed_at": "2023-03-23T17:42:05.733914Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.734615Z", "completed_at": "2023-03-23T17:42:05.734628Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009637832641601562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__url_tags__fivetran_id.151d9515f3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.737512Z", "completed_at": "2023-03-23T17:42:05.748883Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.749644Z", "completed_at": "2023-03-23T17:42:05.749659Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013940095901489258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__account_report_account_id__date_day.c52089771e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.752511Z", "completed_at": "2023-03-23T17:42:05.759661Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.760344Z", "completed_at": "2023-03-23T17:42:05.760356Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009608983993530273, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__account_report_account_id.abb0985422"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.763217Z", "completed_at": "2023-03-23T17:42:05.772336Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.773030Z", "completed_at": "2023-03-23T17:42:05.773044Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011640071868896484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_group_report_ad_group_id__date_day.7c8e1c1a2f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.775875Z", "completed_at": "2023-03-23T17:42:05.783074Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.783738Z", "completed_at": "2023-03-23T17:42:05.783751Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009623050689697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__ad_group_report_ad_group_id.c186523c0c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.786550Z", "completed_at": "2023-03-23T17:42:05.797988Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.798687Z", "completed_at": "2023-03-23T17:42:05.798701Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01394033432006836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__ad_report_ad_id__ad_group_id__date_day.fe37ea1a7b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.801557Z", "completed_at": "2023-03-23T17:42:05.808782Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.809462Z", "completed_at": "2023-03-23T17:42:05.809474Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009673118591308594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__ad_report_ad_id.7bd6a287ad"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.812322Z", "completed_at": "2023-03-23T17:42:05.822403Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.823157Z", "completed_at": "2023-03-23T17:42:05.823171Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012651920318603516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__url_report_ad_id__ad_group_id__date_day.a59b8e007f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.826001Z", "completed_at": "2023-03-23T17:42:05.833480Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.834148Z", "completed_at": "2023-03-23T17:42:05.834160Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009905815124511719, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__url_report_base_url.e3578c0f72"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.836984Z", "completed_at": "2023-03-23T17:42:05.849309Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.850013Z", "completed_at": "2023-03-23T17:42:05.850026Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014813899993896484, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__campaign_report_campaign_id__advertising_channel_type__advertising_channel_subtype__date_day.f735cda469"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.852919Z", "completed_at": "2023-03-23T17:42:05.860628Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.861374Z", "completed_at": "2023-03-23T17:42:05.861390Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01038503646850586, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__campaign_report_campaign_id.cc6694fa0e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.864382Z", "completed_at": "2023-03-23T17:42:05.874236Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.874951Z", "completed_at": "2023-03-23T17:42:05.874966Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012402057647705078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.dbt_utils_unique_combination_of_columns_google_ads__keyword_report_ad_group_id__criterion_id__date_day.214ff3497d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.877843Z", "completed_at": "2023-03-23T17:42:05.885546Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.886278Z", "completed_at": "2023-03-23T17:42:05.886293Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010295867919921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.google_ads.not_null_google_ads__keyword_report_criterion_id.4cab66a055"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.889460Z", "completed_at": "2023-03-23T17:42:05.900726Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.901444Z", "completed_at": "2023-03-23T17:42:05.901458Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014191150665283203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__account_report_date_day__account_id.a2dcede91c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.904298Z", "completed_at": "2023-03-23T17:42:05.913679Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.914605Z", "completed_at": "2023-03-23T17:42:05.914620Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0121307373046875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_account_id.0c34ea1842"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.917543Z", "completed_at": "2023-03-23T17:42:05.925215Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.925940Z", "completed_at": "2023-03-23T17:42:05.925955Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013694047927856445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__account_report_date_day.c4b33f8f53"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:05.952107Z", "completed_at": "2023-03-23T17:42:05.996013Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:05.997739Z", "completed_at": "2023-03-23T17:42:05.997756Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.04780888557434082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_group_report_date_day__campaign_group_id__account_id.f60989a7a6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.020324Z", "completed_at": "2023-03-23T17:42:06.028111Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.028802Z", "completed_at": "2023-03-23T17:42:06.028815Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010651111602783203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_campaign_group_id.39b448cdaf"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.031708Z", "completed_at": "2023-03-23T17:42:06.055837Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.075183Z", "completed_at": "2023-03-23T17:42:06.075203Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.04561805725097656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_group_report_date_day.2676a1f76b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.097100Z", "completed_at": "2023-03-23T17:42:06.107747Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.108428Z", "completed_at": "2023-03-23T17:42:06.108440Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013835668563842773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__campaign_report_date_day__campaign_id__account_id__campaign_group_id.0b09b4b3f3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.111244Z", "completed_at": "2023-03-23T17:42:06.120183Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.120868Z", "completed_at": "2023-03-23T17:42:06.120881Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011399030685424805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_campaign_id.bf43964b15"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.123695Z", "completed_at": "2023-03-23T17:42:06.130885Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.131574Z", "completed_at": "2023-03-23T17:42:06.131588Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009663105010986328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__campaign_report_date_day.8d320b88b1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.134625Z", "completed_at": "2023-03-23T17:42:06.145772Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.146499Z", "completed_at": "2023-03-23T17:42:06.146513Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013914108276367188, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__creative_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.5c000e925f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.149511Z", "completed_at": "2023-03-23T17:42:06.156949Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.157646Z", "completed_at": "2023-03-23T17:42:06.157658Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01016998291015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_creative_id.096d93f889"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.160478Z", "completed_at": "2023-03-23T17:42:06.169406Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.170101Z", "completed_at": "2023-03-23T17:42:06.170114Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011375904083251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__creative_report_date_day.0c6338b020"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.172917Z", "completed_at": "2023-03-23T17:42:06.184192Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.184883Z", "completed_at": "2023-03-23T17:42:06.184896Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013736963272094727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.dbt_utils_unique_combination_of_columns_linkedin_ads__url_report_date_day__creative_id__campaign_id__campaign_group_id__account_id.d00d4a104d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.187714Z", "completed_at": "2023-03-23T17:42:06.195184Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.195874Z", "completed_at": "2023-03-23T17:42:06.195887Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009964942932128906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_click_uri.81534087cb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.198780Z", "completed_at": "2023-03-23T17:42:06.206108Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.206796Z", "completed_at": "2023-03-23T17:42:06.206809Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009806156158447266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_creative_id.83967fe9d2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.209684Z", "completed_at": "2023-03-23T17:42:06.219331Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.220040Z", "completed_at": "2023-03-23T17:42:06.220054Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012171030044555664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.linkedin.not_null_linkedin_ads__url_report_date_day.48b540f315"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.222885Z", "completed_at": "2023-03-23T17:42:06.234878Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.235585Z", "completed_at": "2023-03-23T17:42:06.235599Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01464080810546875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__account_report_date_day__account_id__device_os__device_type__network__currency_code.2d5faac68f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.238416Z", "completed_at": "2023-03-23T17:42:06.245541Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.246226Z", "completed_at": "2023-03-23T17:42:06.246238Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00958395004272461, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__account_report_account_id.f88e46157e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.249153Z", "completed_at": "2023-03-23T17:42:06.262451Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.263141Z", "completed_at": "2023-03-23T17:42:06.263154Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01583695411682129, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_group_report_date_day__account_id__campaign_id__ad_group_id__device_os__device_type__network__currency_code.87353ef6b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.265994Z", "completed_at": "2023-03-23T17:42:06.275070Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.275773Z", "completed_at": "2023-03-23T17:42:06.275786Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01158285140991211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_group_report_ad_group_id.1974ec5ab9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.278619Z", "completed_at": "2023-03-23T17:42:06.293137Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.293827Z", "completed_at": "2023-03-23T17:42:06.293840Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016992807388305664, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__ad_report_date_day__account_id__campaign_id__ad_group_id__ad_id__ad_type__device_os__device_type__network__currency_code.4b91f31686"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.296665Z", "completed_at": "2023-03-23T17:42:06.304036Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.304726Z", "completed_at": "2023-03-23T17:42:06.304739Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009847164154052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__ad_report_ad_id.b089709125"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.307579Z", "completed_at": "2023-03-23T17:42:06.320078Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.320772Z", "completed_at": "2023-03-23T17:42:06.320785Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014994144439697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__campaign_report_date_day__account_id__campaign_id__device_os__device_type__network__currency_code.d7e35aaa9b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.323612Z", "completed_at": "2023-03-23T17:42:06.332807Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.333500Z", "completed_at": "2023-03-23T17:42:06.333512Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011654138565063477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__campaign_report_campaign_id.67aa50e1f8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.336316Z", "completed_at": "2023-03-23T17:42:06.350498Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.351188Z", "completed_at": "2023-03-23T17:42:06.351201Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01663494110107422, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__url_report_date_day__account_id__campaign_id__ad_group_id__ad_id__device_os__device_type__network__currency_code.070da99eb7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.354029Z", "completed_at": "2023-03-23T17:42:06.361725Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.362411Z", "completed_at": "2023-03-23T17:42:06.362424Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010191917419433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__url_report_base_url.c1af50307a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.365222Z", "completed_at": "2023-03-23T17:42:06.379875Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.380569Z", "completed_at": "2023-03-23T17:42:06.380583Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.017126798629760742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__keyword_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__device_os__device_type__network__currency_code.9ddafdcbe9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.383386Z", "completed_at": "2023-03-23T17:42:06.392454Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.393134Z", "completed_at": "2023-03-23T17:42:06.393148Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011500120162963867, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__keyword_report_keyword_id.da1d648d3b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.396004Z", "completed_at": "2023-03-23T17:42:06.411953Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.412652Z", "completed_at": "2023-03-23T17:42:06.412665Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.018470048904418945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.dbt_utils_unique_combination_of_columns_microsoft_ads__search_report_date_day__account_id__campaign_id__ad_group_id__ad_id__keyword_id__search_query__device_os__device_type__network__match_type.8b1ebd50a3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.415633Z", "completed_at": "2023-03-23T17:42:06.422999Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.423686Z", "completed_at": "2023-03-23T17:42:06.423699Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010142803192138672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.microsoft_ads.not_null_microsoft_ads__search_report_search_query.fa3625d66d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.426543Z", "completed_at": "2023-03-23T17:42:06.437260Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.437940Z", "completed_at": "2023-03-23T17:42:06.437954Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013156890869140625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__advertiser_report_advertiser_id__date_day.990badbc11"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.440755Z", "completed_at": "2023-03-23T17:42:06.448213Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.448927Z", "completed_at": "2023-03-23T17:42:06.448941Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010107755661010742, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_advertiser_id.13380f0672"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.451904Z", "completed_at": "2023-03-23T17:42:06.459270Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.459957Z", "completed_at": "2023-03-23T17:42:06.459970Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009836673736572266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__advertiser_report_date_day.aedeceeeca"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.462834Z", "completed_at": "2023-03-23T17:42:06.473112Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.473798Z", "completed_at": "2023-03-23T17:42:06.473811Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012742996215820312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__ad_group_report_ad_group_id__advertiser_id__campaign_id__date_day.d207b7d69d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.476602Z", "completed_at": "2023-03-23T17:42:06.485812Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.486493Z", "completed_at": "2023-03-23T17:42:06.486506Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01164698600769043, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_ad_group_id.134f9ac6c2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.489274Z", "completed_at": "2023-03-23T17:42:06.496527Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.497222Z", "completed_at": "2023-03-23T17:42:06.497235Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009769916534423828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__ad_group_report_date_day.ed7c27b8a7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.500253Z", "completed_at": "2023-03-23T17:42:06.509843Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.510530Z", "completed_at": "2023-03-23T17:42:06.510543Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012067079544067383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__campaign_report_campaign_id__advertiser_id__date_day.b5752d5279"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.513359Z", "completed_at": "2023-03-23T17:42:06.520807Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.521495Z", "completed_at": "2023-03-23T17:42:06.521508Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010071039199829102, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_campaign_id.8001ea60f2"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.524330Z", "completed_at": "2023-03-23T17:42:06.533864Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.534556Z", "completed_at": "2023-03-23T17:42:06.534570Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012019157409667969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__campaign_report_date_day.10ac8272bf"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.537359Z", "completed_at": "2023-03-23T17:42:06.548314Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.549011Z", "completed_at": "2023-03-23T17:42:06.549026Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013443946838378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__keyword_report_keyword_id__ad_group_id__campaign_id__advertiser_id__date_day.b7517b039d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.551859Z", "completed_at": "2023-03-23T17:42:06.559303Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.559992Z", "completed_at": "2023-03-23T17:42:06.560005Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009913921356201172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_date_day.23130e9fba"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.562825Z", "completed_at": "2023-03-23T17:42:06.570161Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.570839Z", "completed_at": "2023-03-23T17:42:06.570852Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00977325439453125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__keyword_report_keyword_id.0d73460198"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.573617Z", "completed_at": "2023-03-23T17:42:06.586440Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.587119Z", "completed_at": "2023-03-23T17:42:06.587132Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015255928039550781, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__pin_promotion_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.1db3ffb1b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.589924Z", "completed_at": "2023-03-23T17:42:06.597272Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.598007Z", "completed_at": "2023-03-23T17:42:06.598020Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009906768798828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_date_day.3128d28cfd"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.600946Z", "completed_at": "2023-03-23T17:42:06.608322Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.609009Z", "completed_at": "2023-03-23T17:42:06.609022Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009859085083007812, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__pin_promotion_report_pin_promotion_id.2540e0a561"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.611842Z", "completed_at": "2023-03-23T17:42:06.623131Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.623837Z", "completed_at": "2023-03-23T17:42:06.623851Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013785839080810547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.dbt_utils_unique_combination_of_columns_pinterest_ads__url_report_pin_promotion_id__ad_group_id__campaign_id__advertiser_id__date_day.bd87b032c8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.626661Z", "completed_at": "2023-03-23T17:42:06.635714Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.636391Z", "completed_at": "2023-03-23T17:42:06.636404Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011496782302856445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_date_day.b09048037e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.639189Z", "completed_at": "2023-03-23T17:42:06.646661Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.647362Z", "completed_at": "2023-03-23T17:42:06.647375Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009971141815185547, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_destination_url.0bb7f30502"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.650303Z", "completed_at": "2023-03-23T17:42:06.657862Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.658560Z", "completed_at": "2023-03-23T17:42:06.658573Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010043859481811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.pinterest.not_null_pinterest_ads__url_report_pin_promotion_id.0da711ad6a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.661375Z", "completed_at": "2023-03-23T17:42:06.673247Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.673932Z", "completed_at": "2023-03-23T17:42:06.673946Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014321088790893555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__account_report_date_day__account_id__attribution_type__currency__status__time_zone_id.3cf3359ef6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.676971Z", "completed_at": "2023-03-23T17:42:06.686074Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.686759Z", "completed_at": "2023-03-23T17:42:06.686773Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011573076248168945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_account_id.16f11188c5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.689614Z", "completed_at": "2023-03-23T17:42:06.697175Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.697955Z", "completed_at": "2023-03-23T17:42:06.697969Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010216951370239258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__account_report_date_day.7b43e6cb90"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.700951Z", "completed_at": "2023-03-23T17:42:06.712069Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.712755Z", "completed_at": "2023-03-23T17:42:06.712769Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013580083847045898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_group_report_date_day__account_id__ad_group_id__campaign_id__currency.dfbea50191"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.715584Z", "completed_at": "2023-03-23T17:42:06.722975Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.723663Z", "completed_at": "2023-03-23T17:42:06.723676Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010023832321166992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_ad_group_id.057bd60604"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.726520Z", "completed_at": "2023-03-23T17:42:06.735979Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.736677Z", "completed_at": "2023-03-23T17:42:06.736691Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011928081512451172, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_group_report_date_day.6463e6f6f7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.739495Z", "completed_at": "2023-03-23T17:42:06.752216Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.752916Z", "completed_at": "2023-03-23T17:42:06.752931Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01519775390625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__ad_report_date_day__ad_id__post_id__account_id__ad_group_id__campaign_id__currency.a428678f1d"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.755715Z", "completed_at": "2023-03-23T17:42:06.762952Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.763622Z", "completed_at": "2023-03-23T17:42:06.763635Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009673833847045898, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_ad_id.1da054a14e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.766525Z", "completed_at": "2023-03-23T17:42:06.773910Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.774601Z", "completed_at": "2023-03-23T17:42:06.774615Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009865045547485352, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__ad_report_date_day.608b21c69a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.777424Z", "completed_at": "2023-03-23T17:42:06.789440Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.790118Z", "completed_at": "2023-03-23T17:42:06.790131Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014438867568969727, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__campaign_report_date_day__account_id__campaign_id__currency.aec7cd25af"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.792918Z", "completed_at": "2023-03-23T17:42:06.800237Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.800919Z", "completed_at": "2023-03-23T17:42:06.800933Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009765863418579102, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_campaign_id.f5491a0b49"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.803743Z", "completed_at": "2023-03-23T17:42:06.811273Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.811977Z", "completed_at": "2023-03-23T17:42:06.811990Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010048866271972656, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__campaign_report_date_day.f79cca4131"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.814848Z", "completed_at": "2023-03-23T17:42:06.827772Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.828449Z", "completed_at": "2023-03-23T17:42:06.828462Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015369176864624023, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.dbt_utils_unique_combination_of_columns_reddit_ads__url_report_date_day__click_url__ad_id__account_id__ad_group_id__campaign_id__post_id__currency.b14eb4e958"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.831512Z", "completed_at": "2023-03-23T17:42:06.840489Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.841169Z", "completed_at": "2023-03-23T17:42:06.841182Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011430978775024414, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_ad_id.8ff83da2b0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.843968Z", "completed_at": "2023-03-23T17:42:06.851860Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.852567Z", "completed_at": "2023-03-23T17:42:06.852581Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010393142700195312, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_base_url.2f585bebcb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.855410Z", "completed_at": "2023-03-23T17:42:06.862773Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.863466Z", "completed_at": "2023-03-23T17:42:06.863480Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009836912155151367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.reddit_ads.not_null_reddit_ads__url_report_date_day.4b0f6363da"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.866370Z", "completed_at": "2023-03-23T17:42:06.875593Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.876302Z", "completed_at": "2023-03-23T17:42:06.876315Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011759042739868164, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__account_report_ad_account_id__date_day.da5545b8e6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.879156Z", "completed_at": "2023-03-23T17:42:06.888241Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.888917Z", "completed_at": "2023-03-23T17:42:06.888930Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01151895523071289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_ad_account_id.589c81966b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.891717Z", "completed_at": "2023-03-23T17:42:06.899396Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.900122Z", "completed_at": "2023-03-23T17:42:06.900137Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010230064392089844, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__account_report_date_day.688d7ed260"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.902982Z", "completed_at": "2023-03-23T17:42:06.911956Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.912641Z", "completed_at": "2023-03-23T17:42:06.912654Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011436223983764648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_squad_report_ad_squad_id__date_day.027a518f3c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.915467Z", "completed_at": "2023-03-23T17:42:06.922833Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.923520Z", "completed_at": "2023-03-23T17:42:06.923533Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00984501838684082, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_ad_squad_id.424c0bbffe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.926323Z", "completed_at": "2023-03-23T17:42:06.935581Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.936262Z", "completed_at": "2023-03-23T17:42:06.936276Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011699914932250977, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_squad_report_date_day.39118ca639"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.939034Z", "completed_at": "2023-03-23T17:42:06.947863Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.948585Z", "completed_at": "2023-03-23T17:42:06.948597Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011375904083251953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__campaign_report_campaign_id__date_day.dfc5f7da4e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.951462Z", "completed_at": "2023-03-23T17:42:06.958876Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.959564Z", "completed_at": "2023-03-23T17:42:06.959577Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009895086288452148, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_campaign_id.19fd7135ac"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.962447Z", "completed_at": "2023-03-23T17:42:06.969760Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:06.970443Z", "completed_at": "2023-03-23T17:42:06.970457Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009790897369384766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__campaign_report_date_day.4e4e31223b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:06.973249Z", "completed_at": "2023-03-23T17:42:07.013346Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.014056Z", "completed_at": "2023-03-23T17:42:07.014070Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.04262185096740723, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.017161Z", "completed_at": "2023-03-23T17:42:07.062479Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.063168Z", "completed_at": "2023-03-23T17:42:07.063181Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.04801583290100098, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.snapchat_ads.snapchat_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.066261Z", "completed_at": "2023-03-23T17:42:07.076681Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.077364Z", "completed_at": "2023-03-23T17:42:07.077377Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013133764266967773, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__advertiser_report_advertiser_id__date_day.d298bb3cf9"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.080140Z", "completed_at": "2023-03-23T17:42:07.087499Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.088184Z", "completed_at": "2023-03-23T17:42:07.088197Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00982213020324707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_advertiser_id.f956c568ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.090980Z", "completed_at": "2023-03-23T17:42:07.098544Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.099245Z", "completed_at": "2023-03-23T17:42:07.099259Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010043859481811523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__advertiser_report_date_day.1276998c99"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.102033Z", "completed_at": "2023-03-23T17:42:07.112191Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.112871Z", "completed_at": "2023-03-23T17:42:07.112884Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012588024139404297, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_group_report_ad_group_id__campaign_id__advertiser_id__date_day.ecd611f27e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.115645Z", "completed_at": "2023-03-23T17:42:07.124827Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.125504Z", "completed_at": "2023-03-23T17:42:07.125517Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011632204055786133, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_ad_group_id.17fb8710f4"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.128247Z", "completed_at": "2023-03-23T17:42:07.135179Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.135839Z", "completed_at": "2023-03-23T17:42:07.135851Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009337186813354492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_group_report_date_day.e39164964e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.138594Z", "completed_at": "2023-03-23T17:42:07.149900Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.150598Z", "completed_at": "2023-03-23T17:42:07.150611Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013781070709228516, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__ad_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.3a887710fb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.153370Z", "completed_at": "2023-03-23T17:42:07.160621Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.161302Z", "completed_at": "2023-03-23T17:42:07.161313Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009685993194580078, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_ad_id.2d8166e707"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.164051Z", "completed_at": "2023-03-23T17:42:07.173282Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.173968Z", "completed_at": "2023-03-23T17:42:07.173981Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011671066284179688, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__ad_report_date_day.d61ee4a5ed"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.176719Z", "completed_at": "2023-03-23T17:42:07.187480Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.188143Z", "completed_at": "2023-03-23T17:42:07.188155Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013159990310668945, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__url_report_ad_id__ad_group_id__campaign_id__advertiser_id__date_day.cf95489e47"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.190867Z", "completed_at": "2023-03-23T17:42:07.198244Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.198915Z", "completed_at": "2023-03-23T17:42:07.198927Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009813070297241211, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_ad_id.6c41067bd0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.201783Z", "completed_at": "2023-03-23T17:42:07.209670Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.210370Z", "completed_at": "2023-03-23T17:42:07.210383Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010457754135131836, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_base_url.37afef2e1b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.213254Z", "completed_at": "2023-03-23T17:42:07.222597Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.223279Z", "completed_at": "2023-03-23T17:42:07.223291Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011805057525634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__url_report_date_day.d593573eff"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.226034Z", "completed_at": "2023-03-23T17:42:07.235520Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.236213Z", "completed_at": "2023-03-23T17:42:07.236226Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011941909790039062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.dbt_utils_unique_combination_of_columns_tiktok_ads__campaign_report_campaign_id__advertiser_id__date_day.03c4f86b19"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.239005Z", "completed_at": "2023-03-23T17:42:07.246489Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.247193Z", "completed_at": "2023-03-23T17:42:07.247207Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010092973709106445, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_campaign_id.8a2b0c8ef8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.250178Z", "completed_at": "2023-03-23T17:42:07.257466Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.258141Z", "completed_at": "2023-03-23T17:42:07.258155Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009737968444824219, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.tiktok_ads.not_null_tiktok_ads__campaign_report_date_day.3807b0e836"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.260889Z", "completed_at": "2023-03-23T17:42:07.273076Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.273752Z", "completed_at": "2023-03-23T17:42:07.273765Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014599800109863281, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__campaign_report_date_day__campaign_id__placement__account_id.2b09fa5421"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.276511Z", "completed_at": "2023-03-23T17:42:07.283747Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.284425Z", "completed_at": "2023-03-23T17:42:07.284437Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009694099426269531, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_campaign_id.03b1c451b8"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.287275Z", "completed_at": "2023-03-23T17:42:07.294849Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.295543Z", "completed_at": "2023-03-23T17:42:07.295557Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010094165802001953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_date_day.2b30b279b0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.298749Z", "completed_at": "2023-03-23T17:42:07.306072Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.306739Z", "completed_at": "2023-03-23T17:42:07.306752Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00997018814086914, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__campaign_report_placement.c66d252e82"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.309498Z", "completed_at": "2023-03-23T17:42:07.322496Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.323200Z", "completed_at": "2023-03-23T17:42:07.323214Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015482902526855469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__line_item_report_date_day__line_item_id__placement__campaign_id__account_id.0e972e010a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.325984Z", "completed_at": "2023-03-23T17:42:07.333266Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.333933Z", "completed_at": "2023-03-23T17:42:07.333946Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009708881378173828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_date_day.86c934e8ce"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.336710Z", "completed_at": "2023-03-23T17:42:07.344114Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.344792Z", "completed_at": "2023-03-23T17:42:07.344806Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009851932525634766, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_line_item_id.0462d58211"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.347651Z", "completed_at": "2023-03-23T17:42:07.354863Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.355539Z", "completed_at": "2023-03-23T17:42:07.355552Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009639978408813477, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__line_item_report_placement.f103369312"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.460687Z", "completed_at": "2023-03-23T17:42:07.470375Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.471052Z", "completed_at": "2023-03-23T17:42:07.471066Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012292146682739258, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__account_report_date_day__account_id__placement.a29cf85a4f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.473802Z", "completed_at": "2023-03-23T17:42:07.482240Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.482944Z", "completed_at": "2023-03-23T17:42:07.482958Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010927677154541016, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_account_id.90d5808908"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.485735Z", "completed_at": "2023-03-23T17:42:07.493131Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.493825Z", "completed_at": "2023-03-23T17:42:07.493838Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009878158569335938, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_date_day.84896c5846"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.496643Z", "completed_at": "2023-03-23T17:42:07.504135Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.504842Z", "completed_at": "2023-03-23T17:42:07.504856Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010001897811889648, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__account_report_placement.157dcb6194"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.507646Z", "completed_at": "2023-03-23T17:42:07.519489Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.520169Z", "completed_at": "2023-03-23T17:42:07.520183Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01430511474609375, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__promoted_tweet_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.a46b1b4082"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.522932Z", "completed_at": "2023-03-23T17:42:07.532038Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.532729Z", "completed_at": "2023-03-23T17:42:07.532743Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011558771133422852, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_placement.d89c9b27e5"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.535474Z", "completed_at": "2023-03-23T17:42:07.542646Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.543315Z", "completed_at": "2023-03-23T17:42:07.543327Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009586811065673828, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__promoted_tweet_report_promoted_tweet_id.5df08e154e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.546110Z", "completed_at": "2023-03-23T17:42:07.557985Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.558664Z", "completed_at": "2023-03-23T17:42:07.558677Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01431417465209961, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.dbt_utils_unique_combination_of_columns_twitter_ads__url_report_date_day__promoted_tweet_id__placement__line_item_id__campaign_id__account_id.30b826d8ff"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.561427Z", "completed_at": "2023-03-23T17:42:07.568989Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.569658Z", "completed_at": "2023-03-23T17:42:07.569670Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01001286506652832, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_base_url.dfd7ab549e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.572415Z", "completed_at": "2023-03-23T17:42:07.581480Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.582179Z", "completed_at": "2023-03-23T17:42:07.582193Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011535882949829102, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_date_day.33fcb7e04b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.584966Z", "completed_at": "2023-03-23T17:42:07.592257Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.592938Z", "completed_at": "2023-03-23T17:42:07.592951Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00974893569946289, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_placement.92ca3b192e"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.595766Z", "completed_at": "2023-03-23T17:42:07.603365Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.604056Z", "completed_at": "2023-03-23T17:42:07.604069Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010077953338623047, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.twitter_ads.not_null_twitter_ads__url_report_promoted_tweet_id.d690f99143"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.815909Z", "completed_at": "2023-03-23T17:42:07.824985Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.825703Z", "completed_at": "2023-03-23T17:42:07.825717Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011761903762817383, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_group_report_date_day__ad_group_id.e2963c59e1"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.828557Z", "completed_at": "2023-03-23T17:42:07.836632Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.837461Z", "completed_at": "2023-03-23T17:42:07.837478Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010784149169921875, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_group_report_ad_group_id.8a23dc123a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.840440Z", "completed_at": "2023-03-23T17:42:07.850907Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.851626Z", "completed_at": "2023-03-23T17:42:07.851640Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013020992279052734, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__ad_report_date_day__ad_id.cb64b8d0f7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.854416Z", "completed_at": "2023-03-23T17:42:07.861750Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.862429Z", "completed_at": "2023-03-23T17:42:07.862442Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009773969650268555, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__ad_report_ad_id.93728159b3"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.935815Z", "completed_at": "2023-03-23T17:42:07.944484Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.945170Z", "completed_at": "2023-03-23T17:42:07.945185Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01128697395324707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__campaign_report_date_day__campaign_id.32a2e699e0"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:07.947983Z", "completed_at": "2023-03-23T17:42:07.955635Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:07.956343Z", "completed_at": "2023-03-23T17:42:07.956357Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010150909423828125, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__campaign_report_campaign_id.a9cabadd7c"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.015815Z", "completed_at": "2023-03-23T17:42:08.024789Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.025465Z", "completed_at": "2023-03-23T17:42:08.025478Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011398077011108398, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__keyword_report_date_day__keyword_id.2f70b31a80"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.028143Z", "completed_at": "2023-03-23T17:42:08.035038Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.035688Z", "completed_at": "2023-03-23T17:42:08.035700Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009254932403564453, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__keyword_report_keyword_id.303f680e4a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.076955Z", "completed_at": "2023-03-23T17:42:08.086487Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.087164Z", "completed_at": "2023-03-23T17:42:08.087177Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01217508316040039, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.dbt_utils_unique_combination_of_columns_amazon_ads__search_report_date_day__search_term__keyword_id.be92659f9f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.089875Z", "completed_at": "2023-03-23T17:42:08.096931Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.097646Z", "completed_at": "2023-03-23T17:42:08.097659Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00961613655090332, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.amazon_ads.not_null_amazon_ads__search_report_search_term.3c23d4658a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.100614Z", "completed_at": "2023-03-23T17:42:08.115064Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.115723Z", "completed_at": "2023-03-23T17:42:08.115735Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01684117317199707, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.facebook_ads.facebook_ads__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.214682Z", "completed_at": "2023-03-23T17:42:08.224192Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.224900Z", "completed_at": "2023-03-23T17:42:08.224914Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.012145042419433594, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__ad_report_ad_id__date_day.68c2c0de57"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.227716Z", "completed_at": "2023-03-23T17:42:08.235566Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.236277Z", "completed_at": "2023-03-23T17:42:08.236292Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010381937026977539, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_ad_id.9000850744"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.239071Z", "completed_at": "2023-03-23T17:42:08.246251Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.246921Z", "completed_at": "2023-03-23T17:42:08.246933Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.00962209701538086, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__ad_report_date_day.7c5350c8fe"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.249721Z", "completed_at": "2023-03-23T17:42:08.258796Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.259501Z", "completed_at": "2023-03-23T17:42:08.259514Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011582136154174805, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.dbt_utils_unique_combination_of_columns_snapchat_ads__url_report_ad_id__date_day.54edc1b2be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.262268Z", "completed_at": "2023-03-23T17:42:08.271162Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.271854Z", "completed_at": "2023-03-23T17:42:08.271867Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.011366128921508789, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_ad_id.ecbdfc0d78"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.274586Z", "completed_at": "2023-03-23T17:42:08.282218Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.282894Z", "completed_at": "2023-03-23T17:42:08.282908Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010058164596557617, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_base_url.15676dc1de"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.285624Z", "completed_at": "2023-03-23T17:42:08.292842Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.293516Z", "completed_at": "2023-03-23T17:42:08.293528Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009644031524658203, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.snapchat_ads.not_null_snapchat_ads__url_report_date_day.bcbe87a7f6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.296247Z", "completed_at": "2023-03-23T17:42:08.311162Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.311850Z", "completed_at": "2023-03-23T17:42:08.311863Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01736903190612793, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__account_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.314825Z", "completed_at": "2023-03-23T17:42:08.332956Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.333621Z", "completed_at": "2023-03-23T17:42:08.333634Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0206451416015625, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__ad_group_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.336567Z", "completed_at": "2023-03-23T17:42:08.352368Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.353107Z", "completed_at": "2023-03-23T17:42:08.353122Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01844000816345215, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__campaign_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.356184Z", "completed_at": "2023-03-23T17:42:08.376419Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.377117Z", "completed_at": "2023-03-23T17:42:08.377131Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.02282118797302246, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__keyword_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.380133Z", "completed_at": "2023-03-23T17:42:08.401916Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.402611Z", "completed_at": "2023-03-23T17:42:08.402625Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.024354219436645508, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__search_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.510882Z", "completed_at": "2023-03-23T17:42:08.522115Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.522791Z", "completed_at": "2023-03-23T17:42:08.522804Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.013685941696166992, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.dbt_utils_unique_combination_of_columns_facebook_ads__url_report_date_day__account_id__campaign_id__ad_set_id__ad_id.03a7e82eb7"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.525539Z", "completed_at": "2023-03-23T17:42:08.533194Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.533881Z", "completed_at": "2023-03-23T17:42:08.533894Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010132789611816406, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.facebook_ads.not_null_facebook_ads__url_report_base_url.b7757e50be"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.536638Z", "completed_at": "2023-03-23T17:42:08.554413Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.555113Z", "completed_at": "2023-03-23T17:42:08.555127Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.020279884338378906, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__ad_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.558151Z", "completed_at": "2023-03-23T17:42:08.569846Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.570554Z", "completed_at": "2023-03-23T17:42:08.570569Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014275074005126953, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__account_report_platform__date_day__account_id.1cadcf1583"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.573325Z", "completed_at": "2023-03-23T17:42:08.580688Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.581365Z", "completed_at": "2023-03-23T17:42:08.581379Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009805679321289062, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__account_report_account_id.316a64c022"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.584117Z", "completed_at": "2023-03-23T17:42:08.595541Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.596252Z", "completed_at": "2023-03-23T17:42:08.596265Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.01394200325012207, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_group_report_platform__date_day__ad_group_id__campaign_id__account_id.2116e5a78a"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.599098Z", "completed_at": "2023-03-23T17:42:08.606507Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.607182Z", "completed_at": "2023-03-23T17:42:08.607195Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009855985641479492, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_group_report_ad_group_id.963e17e842"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.609967Z", "completed_at": "2023-03-23T17:42:08.622580Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.623254Z", "completed_at": "2023-03-23T17:42:08.623267Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.015069961547851562, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__campaign_report_platform__date_day__campaign_id__account_id.4b3426da0f"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.625964Z", "completed_at": "2023-03-23T17:42:08.633190Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.633867Z", "completed_at": "2023-03-23T17:42:08.633879Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009654045104980469, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__campaign_report_campaign_id.1cfaa7698b"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.636556Z", "completed_at": "2023-03-23T17:42:08.648713Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.649394Z", "completed_at": "2023-03-23T17:42:08.649408Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.014580011367797852, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__keyword_report_platform__date_day__keyword_id__keyword_match_type__ad_group_id__campaign_id__account_id.49b7b978b6"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.652093Z", "completed_at": "2023-03-23T17:42:08.659218Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.659871Z", "completed_at": "2023-03-23T17:42:08.659882Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009479999542236328, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__keyword_report_keyword_id.51a45fb334"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.662562Z", "completed_at": "2023-03-23T17:42:08.677255Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.677928Z", "completed_at": "2023-03-23T17:42:08.677941Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.0171048641204834, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__search_report_platform__date_day__search_query__search_match_type__keyword_id__ad_group_id__campaign_id__account_id.4efd457bbf"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.680974Z", "completed_at": "2023-03-23T17:42:08.688036Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.688711Z", "completed_at": "2023-03-23T17:42:08.688724Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009821891784667969, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__search_report_search_query.ee2f0fcafb"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.691417Z", "completed_at": "2023-03-23T17:42:08.712223Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.712913Z", "completed_at": "2023-03-23T17:42:08.712927Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.023257970809936523, "adapter_response": {}, "message": null, "failures": null, "unique_id": "model.ad_reporting.ad_reporting__url_report"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.715924Z", "completed_at": "2023-03-23T17:42:08.729463Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.730145Z", "completed_at": "2023-03-23T17:42:08.730158Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.016276121139526367, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__ad_report_platform__date_day__ad_id__ad_group_id__campaign_id__account_id.3c5bc5ae55"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.732866Z", "completed_at": "2023-03-23T17:42:08.740096Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.740755Z", "completed_at": "2023-03-23T17:42:08.740767Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.009623050689697266, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__ad_report_ad_id.f3eb210152"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.743455Z", "completed_at": "2023-03-23T17:42:08.760124Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.760816Z", "completed_at": "2023-03-23T17:42:08.760831Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.019140243530273438, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.dbt_utils_unique_combination_of_columns_ad_reporting__url_report_platform__date_day__ad_group_id__campaign_id__account_id__base_url__url_host__url_path__utm_campaign__utm_content__utm_medium__utm_source__utm_term.cd216b1424"}, {"status": "success", "timing": [{"name": "compile", "started_at": "2023-03-23T17:42:08.763573Z", "completed_at": "2023-03-23T17:42:08.771314Z"}, {"name": "execute", "started_at": "2023-03-23T17:42:08.771990Z", "completed_at": "2023-03-23T17:42:08.772002Z"}], "thread_id": "Thread-1 (worker)", "execution_time": 0.010264873504638672, "adapter_response": {}, "message": null, "failures": null, "unique_id": "test.ad_reporting.not_null_ad_reporting__url_report_base_url.a29864e5b6"}], "elapsed_time": 57.58945083618164, "args": {"write_json": true, "use_colors": true, "printer_width": 80, "version_check": true, "partial_parse": true, "static_parser": true, "profiles_dir": "/Users/sheri.nguyen/.dbt", "send_anonymous_usage_stats": true, "quiet": false, "no_print": false, "cache_selected_only": false, "compile": true, "which": "generate", "rpc_method": "docs.generate", "indirect_selection": "eager"}} \ No newline at end of file diff --git a/packages.yml b/packages.yml index 006c469..3fa10e9 100644 --- a/packages.yml +++ b/packages.yml @@ -14,8 +14,11 @@ packages: - package: fivetran/pinterest version: [">=0.7.0", "<0.8.0"] - - package: fivetran/linkedin - version: [">=0.7.0", "<0.8.0"] + # - package: fivetran/linkedin + # version: [">=0.7.0", "<0.8.0"] + - git: https://github.com/fivetran/dbt_linkedin.git + revision: feature/linkedin-api-updates-2023 + warn-unpinned: false - package: fivetran/microsoft_ads version: [">=0.6.0", "<0.7.0"] From 7a13d7bb818fea50d3f312af6bd9b44ae202290f Mon Sep 17 00:00:00 2001 From: fivetran-sheringuyen <94874400+fivetran-sheringuyen@users.noreply.github.com> Date: Thu, 23 Mar 2023 10:22:03 -0800 Subject: [PATCH 4/5] merging dependencies on readme --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 50ede7c..dbf8a52 100644 --- a/README.md +++ b/README.md @@ -364,15 +364,12 @@ packages: - package: fivetran/tiktok_ads_source version: [">=0.3.0", "<0.4.0"] -<<<<<<< HEAD -======= - package: fivetran/reddit_ads version: [">=0.1.0", "<0.2.0"] - package: fivetran/reddit_ads_source version: [">=0.1.0", "<0.2.0"] ->>>>>>> main ``` # 🙌 How is this package maintained and can I contribute? ## Package Maintenance From e00f1da60acbcf15ebef75595631d898e4c878c5 Mon Sep 17 00:00:00 2001 From: fivetran-sheringuyen <94874400+fivetran-sheringuyen@users.noreply.github.com> Date: Thu, 23 Mar 2023 12:27:43 -0800 Subject: [PATCH 5/5] updating linkedin reference in packages.yml --- packages.yml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/packages.yml b/packages.yml index 3fa10e9..006c469 100644 --- a/packages.yml +++ b/packages.yml @@ -14,11 +14,8 @@ packages: - package: fivetran/pinterest version: [">=0.7.0", "<0.8.0"] - # - package: fivetran/linkedin - # version: [">=0.7.0", "<0.8.0"] - - git: https://github.com/fivetran/dbt_linkedin.git - revision: feature/linkedin-api-updates-2023 - warn-unpinned: false + - package: fivetran/linkedin + version: [">=0.7.0", "<0.8.0"] - package: fivetran/microsoft_ads version: [">=0.6.0", "<0.7.0"]